ruby-jss 2.0.0a11 → 2.0.0b5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (498) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +1 -0
  3. data/README-2.0.0.md +59 -35
  4. data/README.md +227 -172
  5. data/lib/jamf/api/classic/api_objects/computer.rb +18 -15
  6. data/lib/jamf/api/classic/api_objects/computer_group.rb +1 -0
  7. data/lib/jamf/api/classic/api_objects/criteriable.rb +1 -1
  8. data/lib/jamf/api/classic/api_objects/distribution_point.rb +12 -50
  9. data/lib/jamf/api/classic/api_objects/mdm.rb +40 -24
  10. data/lib/jamf/api/classic/api_objects/mobile_device.rb +8 -12
  11. data/lib/jamf/api/classic/api_objects/mobile_device_application.rb +35 -6
  12. data/lib/jamf/api/classic/api_objects/patch_title.rb +14 -9
  13. data/lib/jamf/api/classic/api_objects/policy.rb +8 -17
  14. data/lib/jamf/api/classic/api_objects/script.rb +1 -1
  15. data/lib/jamf/api/classic/base_classes/advanced_search.rb +4 -4
  16. data/lib/jamf/api/classic/base_classes/api_object.rb +94 -35
  17. data/lib/jamf/api/classic/base_classes/extension_attribute.rb +2 -2
  18. data/lib/jamf/api/classic/base_classes/group.rb +57 -40
  19. data/lib/jamf/api/classic/base_classes/patch_source.rb +10 -5
  20. data/lib/jamf/api/connection/attributes.rb +51 -4
  21. data/lib/jamf/api/connection/classic_api.rb +2 -1
  22. data/lib/jamf/api/connection/connect.rb +49 -2
  23. data/lib/jamf/api/connection/constants.rb +6 -0
  24. data/lib/jamf/api/connection/jamf_pro_api.rb +6 -2
  25. data/lib/jamf/api/connection/token.rb +10 -3
  26. data/lib/jamf/api/connection.rb +1 -1
  27. data/lib/jamf/api/jamf_pro/api_objects/inventory_preload_record.rb +9 -1
  28. data/lib/jamf/api/jamf_pro/base_classes/oapi_object.rb +15 -9
  29. data/lib/jamf/api/jamf_pro/mixins/collection_resource.rb +8 -12
  30. data/lib/jamf/api/jamf_pro/mixins/macos_managed_updates.rb +178 -0
  31. data/lib/jamf/api/jamf_pro/oapi_schemas/access_groups_preview_search_results.rb +2 -3
  32. data/lib/jamf/api/jamf_pro/oapi_schemas/access_groups_v2_search_results.rb +1 -2
  33. data/lib/jamf/api/jamf_pro/oapi_schemas/account.rb +1 -2
  34. data/lib/jamf/api/jamf_pro/oapi_schemas/{access_groups_search_results.rb → account_driven_user_enrollment_session_token_settings.rb} +14 -14
  35. data/lib/jamf/api/jamf_pro/oapi_schemas/account_group.rb +1 -2
  36. data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences.rb +1 -2
  37. data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v1.rb +1 -2
  38. data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v4.rb +1 -2
  39. data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_history.rb +1 -2
  40. data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_history_search_results.rb +1 -2
  41. data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_summary.rb +1 -2
  42. data/lib/jamf/api/jamf_pro/oapi_schemas/admin_account.rb +1 -2
  43. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search.rb +1 -2
  44. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search_criteria_choices.rb +1 -2
  45. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search_search_results.rb +1 -2
  46. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_user_content_search.rb +1 -2
  47. data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_user_content_search_search_results.rb +1 -2
  48. data/lib/jamf/api/jamf_pro/oapi_schemas/android_details.rb +1 -2
  49. data/lib/jamf/api/jamf_pro/oapi_schemas/api_error.rb +1 -2
  50. data/lib/jamf/api/jamf_pro/oapi_schemas/api_error_cause.rb +1 -2
  51. data/lib/jamf/api/jamf_pro/oapi_schemas/app_analytics_setting.rb +1 -2
  52. data/lib/jamf/api/jamf_pro/oapi_schemas/app_dynamics_config.rb +1 -2
  53. data/lib/jamf/api/jamf_pro/oapi_schemas/app_path.rb +1 -2
  54. data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_form_input_field.rb +1 -2
  55. data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_form_input_field_search_results.rb +1 -2
  56. data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_settings.rb +1 -2
  57. data/lib/jamf/api/jamf_pro/oapi_schemas/apple_tv_details.rb +1 -2
  58. data/lib/jamf/api/jamf_pro/oapi_schemas/application_attributes.rb +1 -2
  59. data/lib/jamf/api/jamf_pro/oapi_schemas/application_configuration.rb +1 -2
  60. data/lib/jamf/api/jamf_pro/oapi_schemas/assign_remove_profile_response_sync_state.rb +1 -2
  61. data/lib/jamf/api/jamf_pro/oapi_schemas/attributes.rb +1 -2
  62. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account.rb +1 -2
  63. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account_v1.rb +1 -2
  64. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_token.rb +1 -2
  65. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_token_v1.rb +1 -2
  66. data/lib/jamf/api/jamf_pro/oapi_schemas/authorization.rb +1 -2
  67. data/lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb +1 -2
  68. data/lib/jamf/api/jamf_pro/oapi_schemas/{deprecated_configuration_search_results.rb → available_updates.rb} +12 -20
  69. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_process_status.rb +1 -2
  70. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_request.rb +1 -2
  71. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration.rb +1 -2
  72. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration_request.rb +1 -2
  73. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration_update.rb +1 -2
  74. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_mappings.rb +1 -2
  75. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration.rb +1 -2
  76. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration_request.rb +1 -2
  77. data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration_update.rb +1 -2
  78. data/lib/jamf/api/jamf_pro/oapi_schemas/branding_image_url.rb +1 -2
  79. data/lib/jamf/api/jamf_pro/oapi_schemas/building.rb +1 -2
  80. data/lib/jamf/api/jamf_pro/oapi_schemas/building_search_results.rb +1 -2
  81. data/lib/jamf/api/jamf_pro/oapi_schemas/cache_settings.rb +1 -2
  82. data/lib/jamf/api/jamf_pro/oapi_schemas/categories_search_results.rb +1 -2
  83. data/lib/jamf/api/jamf_pro/oapi_schemas/category.rb +1 -2
  84. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_details.rb +1 -4
  85. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v2.rb +1 -2
  86. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_key.rb +1 -2
  87. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb +1 -2
  88. data/lib/jamf/api/jamf_pro/oapi_schemas/classic_ldap_mappings.rb +1 -2
  89. data/lib/jamf/api/jamf_pro/oapi_schemas/client_check_in_v2.rb +1 -2
  90. data/lib/jamf/api/jamf_pro/oapi_schemas/client_check_in_v3.rb +1 -2
  91. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common.rb +1 -2
  92. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common_request.rb +1 -2
  93. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common_response.rb +1 -2
  94. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_connection_pool_statistics.rb +1 -6
  95. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_connection_status.rb +1 -2
  96. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_keystore.rb +1 -3
  97. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_keystore_file.rb +1 -4
  98. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_mappings_request.rb +1 -6
  99. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_mappings_response.rb +1 -9
  100. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_request.rb +1 -2
  101. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_response.rb +1 -2
  102. data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_update.rb +1 -2
  103. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_application.rb +2 -3
  104. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_attachment.rb +2 -3
  105. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb +26 -3
  106. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_configuration_profile.rb +2 -3
  107. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching.rb +2 -3
  108. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_alert.rb +1 -2
  109. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_cache_detail.rb +1 -2
  110. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error.rb +1 -2
  111. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error_user_info.rb +1 -2
  112. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent.rb +1 -2
  113. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_alert.rb +1 -2
  114. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_capabilities.rb +1 -2
  115. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_details.rb +1 -2
  116. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_local_network.rb +1 -2
  117. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb +1 -2
  118. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk_encryption.rb +2 -3
  119. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute.rb +2 -3
  120. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb +2 -3
  121. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb +2 -3
  122. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general_update.rb +1 -2
  123. data/lib/jamf/api/jamf_pro/oapi_schemas/{mdm_signing_certificate.rb → computer_group.rb} +18 -24
  124. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb +2 -3
  125. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware_update.rb +1 -2
  126. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_ibeacon.rb +2 -3
  127. data/lib/jamf/api/jamf_pro/oapi_schemas/{computer_inventory_response.rb → computer_inventory.rb} +4 -5
  128. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_preferences.rb +1 -2
  129. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_settings.rb +1 -2
  130. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_recovery_lock_password_response.rb +1 -2
  131. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_search_results.rb +4 -5
  132. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_update_request.rb +1 -2
  133. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_licensed_software.rb +2 -3
  134. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_local_user_account.rb +2 -3
  135. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_location.rb +1 -2
  136. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_mdm_capability.rb +1 -2
  137. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system.rb +2 -3
  138. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system_update.rb +1 -2
  139. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_overview.rb +1 -2
  140. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_package_receipts.rb +2 -3
  141. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition.rb +1 -2
  142. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_encryption.rb +1 -2
  143. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_file_vault2_state.rb +1 -2
  144. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_plugin.rb +2 -3
  145. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage.rb +1 -2
  146. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results.rb +1 -2
  147. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results_v2.rb +1 -2
  148. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_v2.rb +1 -2
  149. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_printer.rb +2 -3
  150. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb +2 -3
  151. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_remote_management.rb +1 -2
  152. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_section.rb +1 -2
  153. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_security.rb +2 -3
  154. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_service.rb +2 -3
  155. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_software_update.rb +2 -3
  156. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_storage.rb +2 -3
  157. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_user_and_location.rb +2 -3
  158. data/lib/jamf/api/jamf_pro/oapi_schemas/computers_search_results.rb +1 -2
  159. data/lib/jamf/api/jamf_pro/oapi_schemas/configuration_profile.rb +1 -2
  160. data/lib/jamf/api/jamf_pro/oapi_schemas/configuration_search_results.rb +1 -2
  161. data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_candidate_request.rb +1 -2
  162. data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_response.rb +1 -2
  163. data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_status_response.rb +1 -2
  164. data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_update_request.rb +1 -2
  165. data/lib/jamf/api/jamf_pro/oapi_schemas/country.rb +1 -2
  166. data/lib/jamf/api/jamf_pro/oapi_schemas/country_codes.rb +1 -2
  167. data/lib/jamf/api/jamf_pro/oapi_schemas/create_path.rb +1 -2
  168. data/lib/jamf/api/jamf_pro/oapi_schemas/csa_token.rb +1 -2
  169. data/lib/jamf/api/jamf_pro/oapi_schemas/current_account.rb +1 -2
  170. data/lib/jamf/api/jamf_pro/oapi_schemas/current_authorization.rb +1 -2
  171. data/lib/jamf/api/jamf_pro/oapi_schemas/data_roaming_setting.rb +1 -2
  172. data/lib/jamf/api/jamf_pro/oapi_schemas/database_password.rb +1 -2
  173. data/lib/jamf/api/jamf_pro/oapi_schemas/day_of_week.rb +1 -2
  174. data/lib/jamf/api/jamf_pro/oapi_schemas/delete_user_command.rb +1 -2
  175. data/lib/jamf/api/jamf_pro/oapi_schemas/department.rb +1 -2
  176. data/lib/jamf/api/jamf_pro/oapi_schemas/departments_search_results.rb +1 -2
  177. data/lib/jamf/api/jamf_pro/oapi_schemas/deployment_task.rb +1 -2
  178. data/lib/jamf/api/jamf_pro/oapi_schemas/deployment_task_search_results.rb +1 -2
  179. data/lib/jamf/api/jamf_pro/oapi_schemas/device_communication_settings.rb +1 -2
  180. data/lib/jamf/api/jamf_pro/oapi_schemas/device_compliance_information.rb +1 -2
  181. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device.rb +1 -2
  182. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device_search_results.rb +1 -2
  183. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_body.rb +1 -2
  184. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_response.rb +1 -2
  185. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance.rb +1 -2
  186. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_search_results.rb +1 -2
  187. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_sync_status.rb +1 -2
  188. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage.rb +1 -2
  189. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage_v2.rb +1 -2
  190. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_token.rb +1 -2
  191. data/lib/jamf/api/jamf_pro/oapi_schemas/diagnostic_submission_setting.rb +1 -2
  192. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook.rb +1 -2
  193. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_exclusions.rb +1 -2
  194. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_limitations.rb +1 -2
  195. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb +1 -2
  196. data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_search_results.rb +1 -2
  197. data/lib/jamf/api/jamf_pro/oapi_schemas/enable_lost_mode_command.rb +1 -2
  198. data/lib/jamf/api/jamf_pro/oapi_schemas/engage.rb +1 -2
  199. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_preview.rb +12 -6
  200. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_v2.rb +1 -2
  201. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization.rb +1 -2
  202. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_branding_settings.rb +1 -2
  203. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_dependencies.rb +1 -2
  204. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_dependency.rb +1 -2
  205. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_ldap_group_access.rb +1 -2
  206. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel.rb +1 -2
  207. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_ldap_auth.rb +1 -2
  208. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_list.rb +1 -2
  209. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_sso_auth.rb +1 -2
  210. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_text.rb +1 -2
  211. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_search_results.rb +1 -2
  212. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_search_results_v2.rb +1 -2
  213. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_v2.rb +3 -3
  214. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb +1 -2
  215. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_process_text_object.rb +5 -6
  216. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings_v2.rb +1 -2
  217. data/lib/jamf/api/jamf_pro/oapi_schemas/export_field.rb +1 -2
  218. data/lib/jamf/api/jamf_pro/oapi_schemas/export_parameters.rb +5 -2
  219. data/lib/jamf/api/jamf_pro/oapi_schemas/extension_attribute.rb +1 -2
  220. data/lib/jamf/api/jamf_pro/oapi_schemas/extension_attribute_v2.rb +1 -2
  221. data/lib/jamf/api/jamf_pro/oapi_schemas/external_recipient.rb +1 -2
  222. data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment.rb +1 -2
  223. data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment_delete.rb +1 -2
  224. data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment_v2.rb +1 -2
  225. data/lib/jamf/api/jamf_pro/oapi_schemas/filter.rb +1 -2
  226. data/lib/jamf/api/jamf_pro/oapi_schemas/font_path.rb +1 -2
  227. data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage.rb +1 -2
  228. data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage_v2.rb +1 -2
  229. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization.rb +1 -2
  230. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel.rb +1 -2
  231. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_ldap_auth.rb +1 -2
  232. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_sso_auth.rb +1 -2
  233. data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_text.rb +1 -2
  234. data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage.rb +1 -2
  235. data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage_v2.rb +1 -2
  236. data/lib/jamf/api/jamf_pro/oapi_schemas/group_mappings.rb +1 -2
  237. data/lib/jamf/api/jamf_pro/oapi_schemas/group_membership.rb +2 -3
  238. data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search.rb +1 -2
  239. data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search_request.rb +1 -4
  240. data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search_response.rb +1 -4
  241. data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results.rb +1 -6
  242. data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results_v1.rb +1 -2
  243. data/lib/jamf/api/jamf_pro/oapi_schemas/href_response.rb +3 -4
  244. data/lib/jamf/api/jamf_pro/oapi_schemas/icon_response.rb +1 -2
  245. data/lib/jamf/api/jamf_pro/oapi_schemas/id_and_name.rb +1 -2
  246. data/lib/jamf/api/jamf_pro/oapi_schemas/id_and_name_v2.rb +1 -2
  247. data/lib/jamf/api/jamf_pro/oapi_schemas/ids.rb +5 -2
  248. data/lib/jamf/api/jamf_pro/oapi_schemas/initialize.rb +1 -2
  249. data/lib/jamf/api/jamf_pro/oapi_schemas/initialize_v1.rb +1 -2
  250. data/lib/jamf/api/jamf_pro/oapi_schemas/install_package.rb +1 -2
  251. data/lib/jamf/api/jamf_pro/oapi_schemas/integer_wrapper.rb +1 -2
  252. data/lib/jamf/api/jamf_pro/oapi_schemas/internal_recipient.rb +1 -2
  253. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_information.rb +1 -2
  254. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_error.rb +1 -2
  255. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_error.rb +1 -2
  256. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_error_cause.rb +1 -2
  257. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_success.rb +1 -2
  258. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute.rb +1 -2
  259. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute_column.rb +1 -2
  260. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute_column_result.rb +1 -2
  261. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_invalid_csv_response.rb +1 -2
  262. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb +1 -2
  263. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results.rb +1 -2
  264. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results_v2.rb +1 -2
  265. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb +1 -2
  266. data/lib/jamf/api/jamf_pro/oapi_schemas/ios_branding_configuration.rb +1 -2
  267. data/lib/jamf/api/jamf_pro/oapi_schemas/ios_branding_search_results.rb +1 -2
  268. data/lib/jamf/api/jamf_pro/oapi_schemas/ios_details.rb +1 -2
  269. data/lib/jamf/api/jamf_pro/oapi_schemas/ios_details_v2.rb +1 -2
  270. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_application_response.rb +1 -2
  271. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_nation_credentials.rb +1 -2
  272. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_package_response.rb +1 -2
  273. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information.rb +1 -2
  274. data/lib/jamf/api/jamf_pro/oapi_schemas/{enrollment_access_group.rb → jamf_pro_information_v2.rb} +35 -34
  275. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_server_url.rb +1 -2
  276. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_version.rb +1 -2
  277. data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_protect_plan.rb +1 -2
  278. data/lib/jamf/api/jamf_pro/oapi_schemas/language_code.rb +5 -6
  279. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_request.rb +1 -2
  280. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_response.rb +1 -2
  281. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_update.rb +1 -2
  282. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_group.rb +1 -2
  283. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_group_search_results.rb +1 -2
  284. data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_server.rb +1 -2
  285. data/lib/jamf/api/jamf_pro/oapi_schemas/linked_connect_profile.rb +1 -2
  286. data/lib/jamf/api/jamf_pro/oapi_schemas/linked_connect_profile_search_results.rb +1 -2
  287. data/lib/jamf/api/jamf_pro/oapi_schemas/locale.rb +1 -2
  288. data/lib/jamf/api/jamf_pro/oapi_schemas/location.rb +1 -2
  289. data/lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb +1 -2
  290. data/lib/jamf/api/jamf_pro/oapi_schemas/location_information_v2.rb +1 -2
  291. data/lib/jamf/api/jamf_pro/oapi_schemas/location_v2.rb +1 -2
  292. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_branding_configuration.rb +1 -2
  293. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_branding_search_results.rb +1 -2
  294. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update.rb +28 -3
  295. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update_response.rb +1 -4
  296. data/lib/jamf/api/jamf_pro/oapi_schemas/markdown.rb +1 -2
  297. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_client_type.rb +1 -2
  298. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command.rb +1 -2
  299. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_client.rb +1 -2
  300. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_request.rb +1 -2
  301. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_state.rb +1 -2
  302. data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_type.rb +1 -2
  303. data/lib/jamf/api/jamf_pro/oapi_schemas/membership_mappings.rb +1 -2
  304. data/lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_request.rb +1 -4
  305. data/lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_response.rb +1 -4
  306. data/lib/jamf/api/jamf_pro/oapi_schemas/memcached_endpoints.rb +1 -2
  307. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device.rb +1 -2
  308. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_application.rb +1 -2
  309. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_attachment.rb +1 -2
  310. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_attachment_v2.rb +1 -2
  311. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v1.rb +1 -2
  312. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb +61 -3
  313. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb +1 -2
  314. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_get_v2.rb +1 -2
  315. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb +7 -2
  316. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_ebook.rb +1 -2
  317. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute_results.rb +1 -2
  318. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_group.rb +1 -2
  319. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage.rb +1 -2
  320. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name.rb +1 -2
  321. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name_v2.rb +1 -2
  322. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names.rb +1 -2
  323. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names_v2.rb +1 -2
  324. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results.rb +1 -2
  325. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results_v2.rb +1 -2
  326. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_v2.rb +1 -2
  327. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_params.rb +1 -2
  328. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_results.rb +1 -2
  329. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_results_v2.rb +1 -2
  330. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_v2.rb +1 -2
  331. data/lib/jamf/api/jamf_pro/oapi_schemas/network.rb +1 -2
  332. data/lib/jamf/api/jamf_pro/oapi_schemas/network_v2.rb +1 -2
  333. data/lib/jamf/api/jamf_pro/oapi_schemas/notification.rb +1 -2
  334. data/lib/jamf/api/jamf_pro/oapi_schemas/notification_type.rb +3 -3
  335. data/lib/jamf/api/jamf_pro/oapi_schemas/notification_v1.rb +1 -2
  336. data/lib/jamf/api/jamf_pro/oapi_schemas/object_history.rb +1 -6
  337. data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_note.rb +1 -6
  338. data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_v1.rb +1 -2
  339. data/lib/jamf/api/jamf_pro/oapi_schemas/order_by.rb +1 -2
  340. data/lib/jamf/api/jamf_pro/oapi_schemas/package_manifest.rb +1 -2
  341. data/lib/jamf/api/jamf_pro/oapi_schemas/parent_app.rb +5 -5
  342. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_ids_on_dashboard.rb +1 -2
  343. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_attempt.rb +1 -2
  344. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_attempt_action.rb +1 -2
  345. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log.rb +1 -2
  346. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_search_results.rb +1 -2
  347. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_on_dashboard.rb +1 -2
  348. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_summary.rb +1 -2
  349. data/lib/jamf/api/jamf_pro/oapi_schemas/patch_version.rb +1 -2
  350. data/lib/jamf/api/jamf_pro/oapi_schemas/personal_hotspot_setting.rb +1 -2
  351. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_search_results.rb +1 -2
  352. data/lib/jamf/api/jamf_pro/oapi_schemas/plugin_path.rb +1 -2
  353. data/lib/jamf/api/jamf_pro/oapi_schemas/policy_properties.rb +1 -2
  354. data/lib/jamf/api/jamf_pro/oapi_schemas/policy_properties_v1.rb +1 -2
  355. data/lib/jamf/api/jamf_pro/oapi_schemas/post_computer_prestage_v2.rb +1 -2
  356. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_dependencies.rb +1 -2
  357. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_dependency.rb +1 -2
  358. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_file_attachment.rb +1 -2
  359. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_file_attachment_v2.rb +1 -2
  360. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb +1 -2
  361. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information_v2.rb +1 -2
  362. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope.rb +1 -2
  363. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment.rb +1 -2
  364. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment_v2.rb +1 -2
  365. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response.rb +1 -2
  366. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response_v2.rb +1 -2
  367. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_update.rb +1 -2
  368. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_v2.rb +1 -2
  369. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_sync_status.rb +1 -2
  370. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_sync_status_v2.rb +1 -2
  371. data/lib/jamf/api/jamf_pro/oapi_schemas/process_texts_search_results.rb +3 -4
  372. data/lib/jamf/api/jamf_pro/oapi_schemas/protect_registration_request.rb +1 -2
  373. data/lib/jamf/api/jamf_pro/oapi_schemas/protect_settings_response.rb +1 -2
  374. data/lib/jamf/api/jamf_pro/oapi_schemas/protect_updatable_settings_request.rb +1 -2
  375. data/lib/jamf/api/jamf_pro/oapi_schemas/provisioning_profile.rb +1 -2
  376. data/lib/jamf/api/jamf_pro/oapi_schemas/purchasing.rb +1 -2
  377. data/lib/jamf/api/jamf_pro/oapi_schemas/purchasing_v2.rb +1 -2
  378. data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage.rb +1 -2
  379. data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage_v2.rb +1 -2
  380. data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage.rb +1 -2
  381. data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage_v2.rb +1 -2
  382. data/lib/jamf/api/jamf_pro/oapi_schemas/recalculation_results.rb +1 -2
  383. data/lib/jamf/api/jamf_pro/oapi_schemas/recipient.rb +1 -2
  384. data/lib/jamf/api/jamf_pro/oapi_schemas/recipients.rb +1 -2
  385. data/lib/jamf/api/jamf_pro/oapi_schemas/redeploy_jamf_management_framework_response.rb +1 -2
  386. data/lib/jamf/api/jamf_pro/oapi_schemas/reenrollment.rb +1 -2
  387. data/lib/jamf/api/jamf_pro/oapi_schemas/remote_administration_response.rb +1 -2
  388. data/lib/jamf/api/jamf_pro/oapi_schemas/remote_administration_search_results.rb +1 -2
  389. data/lib/jamf/api/jamf_pro/oapi_schemas/renew_mdm_profile_response.rb +1 -2
  390. data/lib/jamf/api/jamf_pro/oapi_schemas/restart_device_command.rb +1 -2
  391. data/lib/jamf/api/jamf_pro/oapi_schemas/retry_patch_policy_params.rb +1 -2
  392. data/lib/jamf/api/jamf_pro/oapi_schemas/{safelisted_apps.rb → safelisted_app.rb} +15 -11
  393. data/lib/jamf/api/jamf_pro/oapi_schemas/script.rb +1 -2
  394. data/lib/jamf/api/jamf_pro/oapi_schemas/scripts_search_results.rb +1 -2
  395. data/lib/jamf/api/jamf_pro/oapi_schemas/search_active_patch_history_params.rb +1 -2
  396. data/lib/jamf/api/jamf_pro/oapi_schemas/search_patch_policy_log_params.rb +1 -2
  397. data/lib/jamf/api/jamf_pro/oapi_schemas/security.rb +1 -2
  398. data/lib/jamf/api/jamf_pro/oapi_schemas/security_v2.rb +1 -2
  399. data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_install_settings.rb +1 -2
  400. data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_interaction_settings.rb +1 -2
  401. data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_login_settings.rb +1 -2
  402. data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_settings.rb +1 -2
  403. data/lib/jamf/api/jamf_pro/oapi_schemas/session.rb +1 -2
  404. data/lib/jamf/api/jamf_pro/oapi_schemas/session_candidate_request.rb +1 -2
  405. data/lib/jamf/api/jamf_pro/oapi_schemas/session_details.rb +1 -2
  406. data/lib/jamf/api/jamf_pro/oapi_schemas/session_details_search_results.rb +1 -2
  407. data/lib/jamf/api/jamf_pro/oapi_schemas/session_status.rb +1 -2
  408. data/lib/jamf/api/jamf_pro/oapi_schemas/set_recovery_lock_command.rb +1 -2
  409. data/lib/jamf/api/jamf_pro/oapi_schemas/settings_command.rb +1 -2
  410. data/lib/jamf/api/jamf_pro/oapi_schemas/shared_device_configuration.rb +1 -2
  411. data/lib/jamf/api/jamf_pro/oapi_schemas/signature.rb +1 -2
  412. data/lib/jamf/api/jamf_pro/oapi_schemas/site.rb +1 -2
  413. data/lib/jamf/api/jamf_pro/oapi_schemas/smart_search_criterion.rb +1 -2
  414. data/lib/jamf/api/jamf_pro/oapi_schemas/software_title_configuration.rb +1 -2
  415. data/lib/jamf/api/jamf_pro/oapi_schemas/software_title_patch_policy_summaries.rb +1 -2
  416. data/lib/jamf/api/jamf_pro/oapi_schemas/software_update_settings.rb +1 -2
  417. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore.rb +1 -2
  418. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_cert_parse_response.rb +1 -2
  419. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_details.rb +1 -2
  420. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_parse.rb +1 -2
  421. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_response.rb +1 -2
  422. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_response_with_details.rb +1 -2
  423. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_with_details.rb +1 -2
  424. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_metadata_url.rb +1 -2
  425. data/lib/jamf/api/jamf_pro/oapi_schemas/sso_settings.rb +1 -2
  426. data/lib/jamf/api/jamf_pro/oapi_schemas/startup_status.rb +1 -2
  427. data/lib/jamf/api/jamf_pro/oapi_schemas/static_user_group.rb +1 -2
  428. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity.rb +1 -2
  429. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_certificate_upload.rb +1 -2
  430. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_create.rb +1 -2
  431. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_search_results.rb +1 -2
  432. data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_update.rb +1 -2
  433. data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_features.rb +1 -2
  434. data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_settings_request.rb +5 -5
  435. data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_settings_response.rb +5 -5
  436. data/lib/jamf/api/jamf_pro/oapi_schemas/time_frame.rb +1 -2
  437. data/lib/jamf/api/jamf_pro/oapi_schemas/time_zone.rb +1 -2
  438. data/lib/jamf/api/jamf_pro/oapi_schemas/tv_os_details.rb +9 -2
  439. data/lib/jamf/api/jamf_pro/oapi_schemas/udids.rb +1 -2
  440. data/lib/jamf/api/jamf_pro/oapi_schemas/update_apple_tv.rb +1 -2
  441. data/lib/jamf/api/jamf_pro/oapi_schemas/update_ios.rb +1 -2
  442. data/lib/jamf/api/jamf_pro/oapi_schemas/update_ios_v2.rb +1 -2
  443. data/lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb +1 -2
  444. data/lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device_v2.rb +1 -2
  445. data/lib/jamf/api/jamf_pro/oapi_schemas/update_tv_os.rb +1 -2
  446. data/lib/jamf/api/jamf_pro/oapi_schemas/user_attributes.rb +1 -2
  447. data/lib/jamf/api/jamf_pro/oapi_schemas/user_mappings.rb +1 -2
  448. data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search.rb +1 -2
  449. data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search_request.rb +1 -4
  450. data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search_response.rb +1 -4
  451. data/lib/jamf/api/jamf_pro/oapi_schemas/v1_site.rb +3 -3
  452. data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_ca_record.rb +1 -2
  453. data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_pki_payload_record.rb +1 -2
  454. data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_pki_payload_record_search_results.rb +1 -2
  455. data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_service_status.rb +1 -2
  456. data/lib/jamf/api/jamf_pro/oapi_schemas/verbose_package_deployment_response.rb +1 -2
  457. data/lib/jamf/api/jamf_pro/oapi_schemas/voice_roaming_setting.rb +1 -2
  458. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb +1 -2
  459. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location.rb +1 -2
  460. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_list_view.rb +1 -2
  461. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_patch.rb +1 -2
  462. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_post.rb +1 -2
  463. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_locations.rb +1 -2
  464. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscription.rb +1 -2
  465. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscription_base.rb +1 -2
  466. data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscriptions.rb +1 -2
  467. data/lib/jamf/api/jamf_pro/oapi_schemas/vpp_admin_account.rb +1 -2
  468. data/lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb +1 -2
  469. data/lib/jamf/api/jamf_pro/oapi_schemas/web_link.rb +1 -2
  470. data/lib/jamf/client/jamf_binary.rb +76 -77
  471. data/lib/jamf/client/jamf_helper.rb +245 -235
  472. data/lib/jamf/client/management_action.rb +63 -53
  473. data/lib/jamf/client.rb +3 -3
  474. data/lib/jamf/deprecations/deprecated_api_connection_class.rb +29 -0
  475. data/lib/jamf/deprecations/deprecated_api_constant.rb +3 -1
  476. data/lib/jamf/deprecations/deprecated_config_constant.rb +3 -1
  477. data/lib/jamf/version.rb +1 -1
  478. data/lib/jamf/zeitwerk_config.rb +217 -0
  479. data/lib/jamf.rb +7 -39
  480. data/test/{README.md → README-TEST.md} +3 -0
  481. data/test/bin/runtests +42 -2
  482. data/test/lib/jamf_test/collection_tests.rb +4 -7
  483. data/test/tests/building.rb +41 -0
  484. data/test/tests/computer.rb +41 -0
  485. data/test/tests/computer_group.rb +132 -0
  486. data/test/tests/department.rb +41 -0
  487. data/test/tests/mobile_device.rb +41 -0
  488. data/test/tests/policy.rb +39 -50
  489. metadata +35 -54
  490. data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v1.rb +0 -102
  491. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_request.rb +0 -92
  492. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_response.rb +0 -105
  493. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_update.rb +0 -92
  494. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_request.rb +0 -166
  495. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_response.rb +0 -163
  496. data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_update.rb +0 -171
  497. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings.rb +0 -264
  498. data/lib/zeitwerk_config.rb +0 -163
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89a063540145b18ab23771f87ad6eb8db80c154e911138b75a7a233117fb6dc6
4
- data.tar.gz: 139bc4655da8a6a1e4bed21add476f6bfaa844dbda4fb0e477fdcee45079cc9e
3
+ metadata.gz: b224082c515d1c12d50736092c859f7f21f1acbb8d6d3d98b861221362a64f7d
4
+ data.tar.gz: 7c10c43a7842be9fee1819bcc9a92457e1dce0d338e97f6a00eeb27d1f75416b
5
5
  SHA512:
6
- metadata.gz: 33d23b52e0f0bb2f42a4a606ae34288b4b7ceb35e3d051ccb1281456709cdee7d4bcaea26681f30126239e30bde8de55bc550fe021d2e59a9cd0f05fdeb40d65
7
- data.tar.gz: b8b8c46c351833c47493ad2512349b952522d2916bcac4b0143a0c49aa140187635be582ad5971da0a63e599fbd263900eecb01bce24b88da6f88a8457ea82fc
6
+ metadata.gz: 32378337e65ccc32c836217434cdfa7fe060d400268848174a675fcbb163157e0d0965e4141fbbe35eef60bd042cca58777189db18d641e1dd1d6ab7ed4d2f37
7
+ data.tar.gz: d24ca66815d7e4f0b5bc4a212463e985e490fe499c0b299b6df41f12f6943f156f2681ebf5696198a66853e593cbfe9fdd248948e02e4d2c67ccd910cccc900f
data/CHANGES.md CHANGED
@@ -26,6 +26,7 @@ Here are the high-level changes and there are many many others. For more details
26
26
  - Base classes for JamfPro API objects are automatically generated from the OAPI3 Schema available at https://your.jamf.server/api/schema. This make it much simpler for ruby-jss to implement and update new and changed objects and endpoints in the Jamf Pro API.
27
27
  - Code is auto-loaded from disk
28
28
  - Because the auto-generated classes add hundreds of files to the gem, ruby-jss now uses [Zeitwerk](https://github.com/fxn/zeitwerk) to auto-load only the files it needs when they are needed.
29
+ - Support for Ruby 3.x
29
30
 
30
31
 
31
32
  ## \[1.6.7] - 2022-02-22
data/README-2.0.0.md CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  Version 2.0.0 is a major refactoring of ruby-jss. While attempting to provide as much backward compatibility as possible, there are some significant changes under the hood. **_PLEASE TEST YOUR CODE EXTENSIVELY_**
4
4
 
5
- This document discusses the high-level changes, listing the detailed changes that have already happened, as well as planned changes and deprecations. It also provides some discussion and background around all of this. It is a work-in-progress at the moment, and hopefully will prompt discussion and decision-making in the #ruby-jss channel of MacAdmins Slack (Please join us!)
5
+ This document discusses the high-level changes, listing the changes that have already happened, as well as planned changes and deprecations. It also provides some discussion and background around all of this. It is a work-in-progress at the moment, and will probably remain so well after initial release. Hopefully this document will prompt discussion and decision-making in the #ruby-jss channel of MacAdmins Slack (Please join us!)
6
6
 
7
- These changes have been in mind for some time, but the ability (soon to be requirement) for the Classic API to authenticate with Bearer Tokens from the Jamf Pro API means that the time has come, so here we are!
7
+ These changes have been in mind for some time, but the requirement in late 2022 for the Classic API to authenticate with Bearer Tokens from the Jamf Pro API means that the time has come, so here we are!
8
8
 
9
9
  **CONTENTS**
10
10
 
11
- <!-- TOC depthFrom:2 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 -->
11
+ <!-- TOC -->
12
12
 
13
13
  - [Requirements](#requirements)
14
14
  - [High level changes](#high-level-changes)
@@ -17,24 +17,25 @@ These changes have been in mind for some time, but the ability (soon to be requi
17
17
  - [A single Connection class](#a-single-connection-class)
18
18
  - [Connecting to the API](#connecting-to-the-api)
19
19
  - [The default connection](#the-default-connection)
20
- - [A single namespace `Jamf`](#a-single-namespace-jamf)
20
+ - [A single namespace Jamf](#a-single-namespace-jamf)
21
21
  - [Inherant differences between the APIs](#inherant-differences-between-the-apis)
22
22
  - [Which API does an object come from?](#which-api-does-an-object-come-from)
23
23
  - [Automatic code generation](#automatic-code-generation)
24
24
  - [Autoloading with Zeitwerk](#autoloading-with-zeitwerk)
25
25
  - [Notable changes from ruby-jss 1.x](#notable-changes-from-ruby-jss-1x)
26
26
  - [Paged queries to the Jamf Pro API](#paged-queries-to-the-jamf-pro-api)
27
- - [API data are no longer cached (?)](#api-data-are-no-longer-cached-)
27
+ - [API data are no longer cached ?](#api-data-are-no-longer-cached-)
28
28
  - [No Attribute aliases for Jamf Pro API objects](#no-attribute-aliases-for-jamf-pro-api-objects)
29
29
  - [Class/Mixin hierarchy for Jamf Pro API objects](#classmixin-hierarchy-for-jamf-pro-api-objects)
30
+ - [Support for 'Sticky Sessions' in Jamf Cloud](#support-for-sticky-sessions-in-jamf-cloud)
30
31
  - [Planned deprecations](#planned-deprecations)
31
32
  - [Use of the term 'api' in method names, parameter names, and attributes](#use-of-the-term-api-in-method-names-parameter-names-and-attributes)
32
- - [`.map_all_ids_to` method for Classic API collection classes](#map_all_ids_to-method-for-classic-api-collection-classes)
33
- - [Using `.make`, `#create`, and `#update` for Classic API objects](#using-make-create-and-update-for-classic-api-objects)
33
+ - [.map_all_ids_to method for Classic API collection classes](#map_all_ids_to-method-for-classic-api-collection-classes)
34
+ - [Using .make, #create, and #update for Classic API objects](#using-make-create-and-update-for-classic-api-objects)
34
35
  - [JSS::CONFIG](#jssconfig)
35
- - [Jamf::Connection instance methods `#next_refresh`, `#secs_to_refresh`, & `#time_to_refresh`](#jamfconnection-instance-methods-next_refresh-secs_to_refresh---time_to_refresh)
36
+ - [Jamf::Connection instance methods #next_refresh, #secs_to_refresh, & #time_to_refresh](#jamfconnection-instance-methods-next_refresh-secs_to_refresh---time_to_refresh)
36
37
  - [Cross-object validation in setters](#cross-object-validation-in-setters)
37
- - [.fetch :random](#fetch-random)
38
+ - [fetch :random](#fetch-random)
38
39
  - [Documentation](#documentation)
39
40
  - [How to install for testing](#how-to-install-for-testing)
40
41
  - [Contact](#contact)
@@ -51,19 +52,19 @@ This means it will work with the OS-supplied /usr/bin/ruby in macOS 10.15 Catali
51
52
 
52
53
  ### Ruby 3.x support
53
54
 
54
- The plan is for ruby-jss 2.0+ to be compatible with ruby 2.7 and higher, including ruby 3.x
55
+ The plan is for ruby-jss 2.0+ to be compatible with ruby 2.6.3 and higher, including ruby 3.x
55
56
 
56
57
  As of this writing, basic access to the API seems to be working in ruby 3, but much much more testing is needed.
57
58
 
58
- It looks like the biggest changes have been dealing with keyword arguments as Hashs. Methods defined with `def methodname([...] foo = {}` need to be changed to `def methodname([...] **foo` and calls to those methods, even in your own code, need to be changed to `methodname([...] **foo)` when `foo` is a hash of keyword args.
59
+ It looks like the biggest changes have been dealing with keyword arguments as Hashs. Methods defined with `def methodname([...] foo = {})` need to be changed to `def methodname([...] **foo)` and calls to those methods, even in your own code, need to be changed to `methodname([...] **foo)` when `foo` is a hash of keyword args.
59
60
 
60
- **IMPORTANT**: do not pass raw hashes as 'keyword' args. Instead use the double-splat: `methodname(**hash)` which should be compatible with ruby 3.x and 2.7.x
61
+ **IMPORTANT**: do not pass raw hashes as 'keyword' args. Instead use the double-splat: `methodname(**hash)` which should be compatible with ruby 3.x and 2.6.x
61
62
 
62
63
  for more info see [Separation of positional and keyword arguments in Ruby 3.0](https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/)
63
64
 
64
65
  ### Combined API access
65
66
 
66
- ruby-jss has always used the `JSS` module to encapsulate all access to the Classic API. When the Jamf Pro API became a thing, the `Jamf` module was created as the way to interact with that API as it grew and developed.
67
+ Previous versions of ruby-jss used the `JSS` module to encapsulate all access to the Classic API. When the Jamf Pro API became a thing, it was a vary different beast, so the `Jamf` module was created as the way to interact with that API as it grew and developed.
67
68
 
68
69
  Even though the latest Jamf Pro release notes say the Jamf Pro API is still officially "open for user testing", it has stablized enough that it is used by many folks for production work.
69
70
 
@@ -75,23 +76,24 @@ There is now one `Jamf::Connection` class, instances of which are connections to
75
76
 
76
77
  ##### Connecting to the API
77
78
 
78
- Most of the previous methods and parameters for making API connections to either API should still work, including using a URL rather than individual connection parameters. So both of these are valid and identical:
79
+ Most of the previous methods and parameters for making connections to either API should still work, including using a URL rather than individual connection parameters. So both of these are valid and identical:
79
80
 
80
81
  ```ruby
81
82
  a_connection = Jamf::Connection.new 'https://apiuser@my.jamf.server:8443/', pw: :prompt
82
83
 
83
84
  another_connection = Jamf::Connection.new host: 'my.jamf.server', port: 8443, user: 'apiuser', pw: :prompt
84
85
  ```
85
-
86
86
  Other connection parameters can be passed in as normal.
87
87
 
88
88
  ###### The default connection
89
89
 
90
- The top-level module methods for accessing the 'default' connection are still available and are now synonyms: `Jamf.cnx` and `JSS.api` both return the current default Jamf::Connection instance. There is also a top-level methods`Jamf.connect` which is the same as `Jamf.cnx.connect`. The top-level methods for changing the default connection are still there. The use of `JSS::API` has been deprecated for years now, and still is (see below).
90
+ The top-level module methods for accessing the 'default' connection are still available and are now synonyms: `Jamf.cnx` and `JSS.api` both return the current default Jamf::Connection instance. There is also a top-level methods`Jamf.connect` which is the same as `Jamf.cnx.connect`. The top-level methods for changing the default connection are still there.
91
+
92
+ NOTE: The use of `JSS::API` has been deprecated for years now, and still is (see below).
91
93
 
92
94
  #### A single namespace `Jamf`
93
95
 
94
- Version 2.0.0 combines the `JSS` module and the `Jamf` module into a single `Jamf` module, with `JSS` aliased to it. This means you can use them interchangably to refer to the Jamf module, and existing code that used either should still work. The module name no longer indicates which API you're working with.
96
+ Version 2.0.0 combines the `JSS` module and the `Jamf` module into a single `Jamf` module, with `JSS` aliased to it. This means you can use the names interchangably to refer to the Jamf module, and existing code that used either should still work. The module name no longer indicates which API you're working with.
95
97
 
96
98
  For example, the `JSS::Computer` class, from the Classic API, is still a thing, but now just points to the `Jamf::Computer` class, still from the Classic API. The `Jamf::InventoryPreloadRecord` class, from the Jamf Pro API remains as is, but can also be referred to as `JSS::InventoryPreloadRecord`
97
99
 
@@ -101,9 +103,9 @@ In theory, you shouldn't need to worry about which classes and objects come from
101
103
 
102
104
  However, in reality the two APIs have different functionality, some of which must be reflected in the ruby classes that represent objects in those APIs.
103
105
 
104
- Take, for example, the classes for 'Collection Resources' - API endpoints that let you deal with collections of objects like Computers, or Inventory Preload Records. These classes implement a `.all` class method, which retrieves a list of some data about all members of the collection.
106
+ Take, for example, the classes for 'Collection Resources' - API endpoints that let you deal with collections of objects like Computers, or Inventory Preload Records. These classes implement a `.all` class method, which retrieves an Array of some data about all members of the collection.
105
107
 
106
- Not only is the data returned in such lists very different between the APIs, but in the Jamf Pro API, you can ask the server to return the list already sorted, possibly filtered, or 'paged' in groups of some number of items. None of that is possible in the Classic API.
108
+ Not only is the data returned in such Arrays very different between the APIs, but in the Jamf Pro API, you can ask the server to return the list already sorted, possibly filtered, or 'paged' in groups of some number of items. None of that is possible in the Classic API.
107
109
 
108
110
  The `.all` method, and its relatives like `.all_ids`, `.all_names`, etc. exist for Collection Resources in both APIs, but the methods take different parameters, e.g. to deal with sorting and filtering. Jamf Pro API classes have a `.pager` method which returns an object from which you can retrieve the 'pages' of your query.
109
111
 
@@ -119,13 +121,15 @@ The API documentation you see at your own Jamf Pro server at https://your.jamf.s
119
121
 
120
122
  In ruby-jss 2.0 and up, the OAPI spec is used to automatically generate hundreds of 'base' classes in ruby-jss, each with automatically generated attribute getters, setters, validators, and other useful methods. These base classes can then be used as the superclasses of the Jamt Pro API objects we implement for direct use in ruby-jss - and the majority of the coding is already done! The subclasses implementing objects in ruby-jss can then be expanded and customized beyond the simple, auto-generated superclass.
121
123
 
122
- Not only does this make it fast and simple to implement new objects in ruby-jss, but allows fast and simple updates to existing objects, when new functionality is introduced to the API.
124
+ Not only does this make it fast and simple to implement new objects in ruby-jss, but allows fast and simple updates to existing objects, when new functionality is introduced to the API.
125
+
126
+ Hopefully it will also allow a single version of ruby-jss to work with a wide range of Jamf Pro versions, as API endpoint versions are added and deprecated (details of how that'll work are TBD)
123
127
 
124
- If you develop ruby-jss, please see (documentation link TBA) for more info about how to use the auto-generated classes.
128
+ If you develop ruby-jss, please see (documentation link will go here) for more info about how to use the auto-generated classes, or reach out to us. (See [Contact](#contact), below)
125
129
 
126
130
  ### Autoloading with Zeitwerk
127
131
 
128
- Because the classes generated from the OAPI spec number in the hundreds, it's a waste of memory and time to load all of them in every time you `require ruby-jss`, since most of them will never be used for any given application.
132
+ Because the classes generated from the OAPI spec number in the hundreds, it's a waste of memory and time to load all of them in every time you `require 'ruby-jss'`, since most of them will never be used for any given application.
129
133
 
130
134
  To deal with this, ruby-jss now uses the wonderfully cool [Zeitwerk gem](https://github.com/fxn/zeitwerk) to automatically load only the files needed for classes and modules as they are used.
131
135
 
@@ -148,26 +152,32 @@ The `.all` method will never deliver paged results, however if you give it a `fi
148
152
 
149
153
  ### API data are no longer cached (?)
150
154
 
151
- **NOTE:** As of this writing, caching has been removed for the objects from the Jamf Pro API, but caching remains in the Classic API. Its removal, or the re-instatement of caching for JP API objects, are pending discussion with users of ruby-jss.
155
+ **NOTE:** As of this writing, caching has been removed for the objects from the Jamf Pro API, but caching remains in the Classic API. Its removal, or the re-instatement of caching for JP API objects, are pending discussion with other users of ruby-jss.
152
156
 
153
157
  Pre-2.0, methods that would fetch large datasets from the server would always cache that data in the Connection object, and by default use the cache in future calls unless a `refresh` parameter is given. These datasets included:
154
158
 
155
159
  - collection lists, used by `.all` and friends, like `.all_ids` and `.valid_id`
156
- - Extension Attribute, definitions, used for validating Extension Attribute values
160
+ - Extension Attribute definitions, used for validating Extension Attribute values
157
161
 
158
162
  In 2.0+, that caching has been removed for objects from them Jamf Pro API.
159
163
 
160
- If you want to avoid repeated GET requests to the server when you aren't worried that the resulting data may have changed, you can store the results of `.all` in a variable, and either use it yourself, or pass it in to other methods via the `cached_list:` parameter. Passing in a cached_list wil prevent those methods from calling `.all` and reaching out to the server again.
164
+ If you want to avoid repeated GET requests to the server when you aren't worried that the resulting data may have changed, you can store the results of `.all` in a variable, and either use it yourself, or pass it in to other methods via the `cached_list:` parameter. Passing in a cached_list wil prevent those methods from calling `.all` and reaching out to the server again.
161
165
 
162
- **WARNING**: Be careful that the list you pass in via `cached_list` contains the correct data structure for the class, and came from the desired Connection instance.
166
+ **WARNING**: Caching a list yourself and using it with `cached_list` can cause all kinds of problems if you don't ensure these points:
167
+ - the cached_list contains the correct data structure for the class
168
+ - i.e. pass in the results of `.all` for that class, not `.all_ids` or other sub-lists.
169
+ - the cached_list came from the correct Connection instance
170
+ - the cached_list is sufficiently up to date.
163
171
 
164
172
  ### No Attribute aliases for Jamf Pro API objects
165
173
 
166
174
  Objects from the Jamf Pro API will no longer define aliases for the attribute names that come from the API itself. This means, e.g., to get the name of a ComputerPrestage or MobileDevicePrestage, you have to ask for its `displayName` not its `name`, since the property comes from the API as `displayName`. To see a list of all the names, you must use `.all_displayNames` not `.all_names`. For objects with a 'name' property (most of them) then you can use `.name` and `.all_names`.
167
175
 
168
- The reason behind this is twofold: 1) to simplify ruby-jss's code and automate as much as possible; 2) to reflect what Jamf actually gives us in the APIs.
176
+ The reason behind this is twofold:
177
+ 1) to simplify ruby-jss's code and automate as much as possible
178
+ 2) to reflect what Jamf actually gives us in the APIs
169
179
 
170
- This is a breaking change from earlier ruby-jss versions, for which Jamf Pro API objects had the potential for aliases of their attribute names.
180
+ **IMPORTANT** This is a breaking change from earlier ruby-jss versions, for which Jamf Pro API objects had the potential for aliases of their attribute names.
171
181
 
172
182
  ### Class/Mixin hierarchy for Jamf Pro API objects
173
183
 
@@ -175,7 +185,17 @@ If you contribute to ruby-jss, be aware that the structure of superclasses, subc
175
185
 
176
186
  There's a lot to document about these changes, and much of the current documentation is out of date, referring to how things were done when the Jamf module was separate and only talked to the Jamf Pro API.
177
187
 
178
- Give us time and we'll get everything updated. In the meantime, feel free to reach out in the #ruby-jss channel of Macadmins Slack, or open an issue on GitHub, or email ruby-jss@pixar.com.
188
+ Give us time and we'll get everything updated. In the meantime, feel free to reach out for assistance or questions. (See [Contact](#contact), below)
189
+
190
+ ### Support for 'Sticky Sessions' in Jamf Cloud
191
+
192
+ If you are connecting to a Jamf Cloud server, you can specifcy `sticky_sessions: true` when calling `Jamf::Connection.new` or `Jamf::Connection#connect`. If you already have a connected Connection object, you can enable or disable Sticky Sessions using `my_connection_object.sticky_session =` with a boolean value (for the default connection use `Jamf.cnx.sticky_session = <boolean>`). To see the actual cookie being sent to enable sticky sessions, use `Jamf::Connection#sticky_session_cookie`.
193
+
194
+ Attempting to enable a sticky session with a connection to an on-prem server (host not ending in 'jamfcloud.com') will raise an error.
195
+
196
+ For details about Sticky Sessions see [Sticky Sessions for Jamf Cloud](https://developer.jamf.com/developer-guide/docs/sticky-sessions-for-jamf-cloud) at the Jamf Developer site.
197
+
198
+ **WARNING:** Jamf recommends NOT using sticky sessions unless they are needed. Using them inappropriately may negatively impact performance, especially for large automated processes.
179
199
 
180
200
  ## Planned deprecations
181
201
 
@@ -201,11 +221,15 @@ comp = JSS::Computer.fetch id: 12, cnx: my_connection
201
221
  comp.cnx # => my_connection
202
222
  ```
203
223
 
204
- In ruby-jss < 2.0, the term `api` is used with the Classic API in method names, method parameters, instance variables, attributes, and constants. It is used to pass, access, or hold instances of JSS::APIConnnection, e.g. so a method that talks to the server would use the passed connection rather than the module-wide default connection. But, the thing being passed is a 'connection' not an 'API', and now that there are actually two APIs at play, that usage is even less appropriate.
224
+ In ruby-jss < 2.0, the term `api` is used with the Classic API in method names, method parameters, instance variables, attributes, and constants. It is used to pass, access, refer to, or hold instances of JSS::APIConnnection, e.g. so a method that talks to the server would use the passed connection rather than the module-wide default connection.
225
+
226
+ But, the thing being passed is a 'connection' not an 'API', and now that there are actually two APIs at play, that usage is even less appropriate.
227
+
228
+ The original Jamf module, which accessed only the Jamf Pro API, has always used the better-suited abbreviation `cnx` for this, and now that is standard everywhere.
205
229
 
206
- The Original Jamf module, which accessed only the Jamf Pro API, has always used the better-suited abbreviation `cnx` for this, and now that is standard everywhere. For now `api` should continue to work, but it will be removed 'eventually', so please start changing your code now.
230
+ For now `api` should continue to work, but it will be removed 'eventually', so please start changing your code now.
207
231
 
208
- Accordingly, `JSS::API` (which should never have been a constant to begin with) is also deprecated. To access the default connection, use `Jamf.cnx`
232
+ Accordingly, `JSS::API` (which should never have been a constant to begin with) has been deprecated for years in favor of `JSS.api`, which is now also deprecated. To access the default connection, use `Jamf.cnx`
209
233
 
210
234
  ### `.map_all_ids_to` method for Classic API collection classes
211
235
 
@@ -217,7 +241,7 @@ For now `map_all_ids_to` still works, however it's just a wrapper for `map_all`.
217
241
 
218
242
  Use `.create` and `#save` instead, as with the Jamf Pro API objects
219
243
 
220
- In previous ruby-jss, both APIs avoided the use of the ruby-standard `.new` on Collection Resource classes, because the word 'new' in this context is ambiguous: are you creating a new instance of the class in ruby (which might already exist on the server), or are you creating a new object in Jamf Pro that doesn't yet exist on the server?
244
+ All versions of ruby-jss have avoided the use of the ruby-standard `.new` on Collection Resource classes, because the word 'new' in this context is ambiguous: are you creating a new instance of the class in ruby (which might already exist on the server), or are you creating a new object in Jamf Pro that doesn't yet exist on the server?
221
245
 
222
246
  In v2.0.0 we are standardizing on the behavior of the previous Jamf module:
223
247
 
@@ -273,7 +297,7 @@ existing_policy.save
273
297
 
274
298
  ### JSS::CONFIG
275
299
 
276
- This also should never have been a constant. Use Jamf.config. JSS::CONFIG will go away eventually.
300
+ This should never have been a constant. Use Jamf.config. JSS::CONFIG will go away eventually.
277
301
 
278
302
  ### Jamf::Connection instance methods `#next_refresh`, `#secs_to_refresh`, & `#time_to_refresh`
279
303
 
@@ -307,7 +331,7 @@ You can still fetch random objects from a collection, but use `.fetch random: tr
307
331
 
308
332
  The YARD documentation for v2.0.0 is available before release in the [github.io site for ruby-jss](http://pixaranimationstudios.github.io/ruby-jss/docs/v2.x/index.html).
309
333
 
310
- All the documentation for ruby-jss is in need of updating, from the top-level README to the auto-generated YARD docs. If you have questions that aren't answered there, please reach out (see Contact, below)
334
+ All the documentation for ruby-jss is in serious need of updating, from the top-level README to the auto-generated YARD docs. Forgive us while we slowly get it up to snuff. If you have questions that aren't answered there, please reach out (see [Contact](#contact), below)
311
335
 
312
336
  ## How to install for testing
313
337