comet_backup_ruby_sdk 2.44.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +0 -0
  4. data/CHANGELOG.md +29 -0
  5. data/Gemfile +0 -0
  6. data/LICENSE +0 -0
  7. data/README.md +0 -0
  8. data/RELEASING.md +7 -7
  9. data/Rakefile +0 -0
  10. data/comet_backup_ruby_sdk.gemspec +2 -3
  11. data/lib/comet/api_response_error.rb +1 -1
  12. data/lib/comet/comet_server.rb +724 -90
  13. data/lib/comet/definitions.rb +400 -125
  14. data/lib/comet/models/add_bucket_response_message.rb +1 -1
  15. data/lib/comet/models/admin_account_apitoken_create_response.rb +102 -0
  16. data/lib/comet/models/admin_account_apitoken_list_response.rb +98 -0
  17. data/lib/comet/models/admin_account_properties_response.rb +38 -1
  18. data/lib/comet/models/admin_apitoken.rb +139 -0
  19. data/lib/comet/models/admin_apitoken_info.rb +117 -0
  20. data/lib/comet/models/admin_email_options.rb +1 -1
  21. data/lib/comet/models/admin_options.rb +1 -1
  22. data/lib/comet/models/admin_resource_response.rb +1 -1
  23. data/lib/comet/models/admin_security_options.rb +1 -1
  24. data/lib/comet/models/admin_u2fregistration.rb +1 -1
  25. data/lib/comet/models/admin_user_permissions.rb +20 -1
  26. data/lib/comet/models/admin_web_authn_registration.rb +1 -1
  27. data/lib/comet/models/allowed_admin_user.rb +19 -1
  28. data/lib/comet/models/amazon_awsvirtual_storage_role_settings.rb +1 -1
  29. data/lib/comet/models/attributed_content_measurement.rb +146 -0
  30. data/lib/comet/models/attributed_content_measurement_component.rb +105 -0
  31. data/lib/comet/models/authentication_role_options.rb +2 -4
  32. data/lib/comet/models/available_download.rb +1 -1
  33. data/lib/comet/models/azure_destination_location.rb +1 -1
  34. data/lib/comet/models/b2destination_location.rb +1 -1
  35. data/lib/comet/models/b2storage_extra_info.rb +1 -1
  36. data/lib/comet/models/b2transaction_totals.rb +1 -1
  37. data/lib/comet/models/b2virtual_storage_role_settings.rb +1 -1
  38. data/lib/comet/models/backup_job_advanced_options.rb +15 -1
  39. data/lib/comet/models/backup_job_detail.rb +14 -2
  40. data/lib/comet/models/backup_job_progress.rb +1 -1
  41. data/lib/comet/models/backup_rule_config.rb +43 -1
  42. data/lib/comet/models/backup_rule_event_triggers.rb +1 -1
  43. data/lib/comet/models/branding_options.rb +184 -1
  44. data/lib/comet/models/branding_properties.rb +184 -1
  45. data/lib/comet/models/browse_disk_drives_response.rb +1 -1
  46. data/lib/comet/models/browse_edbresponse.rb +1 -1
  47. data/lib/comet/models/browse_hvresponse.rb +1 -1
  48. data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +1 -1
  49. data/lib/comet/models/browse_office_365objects_response.rb +1 -1
  50. data/lib/comet/models/browse_proxmox_nodes_response.rb +1 -1
  51. data/lib/comet/models/browse_proxmox_response.rb +16 -1
  52. data/lib/comet/models/browse_proxmox_storage_response.rb +1 -1
  53. data/lib/comet/models/browse_sqlserver_response.rb +1 -1
  54. data/lib/comet/models/browse_vmware_datacenters_response.rb +1 -1
  55. data/lib/comet/models/browse_vmware_datastores_response.rb +1 -1
  56. data/lib/comet/models/browse_vmware_hosts_response.rb +1 -1
  57. data/lib/comet/models/browse_vmware_networks_response.rb +1 -1
  58. data/lib/comet/models/browse_vmware_response.rb +1 -1
  59. data/lib/comet/models/browse_vssresponse.rb +1 -1
  60. data/lib/comet/models/bucket_properties.rb +1 -1
  61. data/lib/comet/models/bucket_usage_info.rb +1 -1
  62. data/lib/comet/models/comet_apiresponse_message.rb +1 -1
  63. data/lib/comet/models/comet_destination_location.rb +1 -1
  64. data/lib/comet/models/constellation_check_report.rb +1 -1
  65. data/lib/comet/models/constellation_role_options.rb +1 -1
  66. data/lib/comet/models/constellation_stats.rb +1 -1
  67. data/lib/comet/models/constellation_status_apiresponse.rb +1 -1
  68. data/lib/comet/models/content_measurement.rb +1 -1
  69. data/lib/comet/models/content_measurement_component.rb +3 -3
  70. data/lib/comet/models/count_jobs_response.rb +1 -1
  71. data/lib/comet/models/create_group_policy_response.rb +1 -1
  72. data/lib/comet/models/create_user_group_response.rb +1 -1
  73. data/lib/comet/models/custom_branding_item.rb +143 -0
  74. data/lib/comet/models/custom_branding_options.rb +79 -0
  75. data/lib/comet/models/custom_branding_origin.rb +76 -0
  76. data/lib/comet/models/custom_remote_bucket_settings.rb +1 -1
  77. data/lib/comet/models/days_of_week_config.rb +1 -1
  78. data/lib/comet/models/default_email_report_policy.rb +1 -1
  79. data/lib/comet/models/default_source_with_osrestriction.rb +1 -1
  80. data/lib/comet/models/destination_config.rb +32 -5
  81. data/lib/comet/models/destination_location.rb +11 -2
  82. data/lib/comet/models/destination_statistics.rb +1 -1
  83. data/lib/comet/models/device_config.rb +42 -1
  84. data/lib/comet/models/device_identity_response.rb +82 -0
  85. data/lib/comet/models/disk_drive.rb +1 -1
  86. data/lib/comet/models/dispatch_with_job_idresponse.rb +1 -1
  87. data/lib/comet/models/dispatcher_admin_sources_response.rb +1 -1
  88. data/lib/comet/models/dispatcher_list_snapshot_virtual_machines_response.rb +1 -1
  89. data/lib/comet/models/dispatcher_stored_objects_response.rb +1 -1
  90. data/lib/comet/models/dispatcher_vault_snapshots_response.rb +1 -1
  91. data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +1 -1
  92. data/lib/comet/models/dnscache_options.rb +94 -0
  93. data/lib/comet/models/edbfile_info.rb +1 -1
  94. data/lib/comet/models/email_options.rb +14 -1
  95. data/lib/comet/models/email_report_config.rb +15 -1
  96. data/lib/comet/models/email_report_generated_preview.rb +1 -1
  97. data/lib/comet/models/email_reporting_option.rb +1 -1
  98. data/lib/comet/models/external_authentication_source.rb +1 -1
  99. data/lib/comet/models/external_authentication_source_display.rb +1 -1
  100. data/lib/comet/models/external_authentication_source_response.rb +1 -1
  101. data/lib/comet/models/external_ldapauthentication_source_server.rb +1 -1
  102. data/lib/comet/models/external_ldapauthentication_source_settings.rb +1 -1
  103. data/lib/comet/models/extra_file_exclusion.rb +1 -1
  104. data/lib/comet/models/file_option.rb +1 -1
  105. data/lib/comet/models/ftpdestination_location.rb +1 -1
  106. data/lib/comet/models/get_group_policy_response.rb +1 -1
  107. data/lib/comet/models/get_profile_and_hash_response_message.rb +1 -1
  108. data/lib/comet/models/get_profile_hash_response_message.rb +1 -1
  109. data/lib/comet/models/get_shared_storage_quota_response.rb +1 -1
  110. data/lib/comet/models/get_user_group_response.rb +1 -1
  111. data/lib/comet/models/get_user_group_with_users_response.rb +1 -1
  112. data/lib/comet/models/global_override_options.rb +1 -1
  113. data/lib/comet/models/group_policy.rb +1 -1
  114. data/lib/comet/models/hour_sched_config.rb +1 -1
  115. data/lib/comet/models/httpconnector_options.rb +1 -1
  116. data/lib/comet/models/hyper_vmachine_info.rb +1 -1
  117. data/lib/comet/models/hyper_vrestore_target_options.rb +1 -1
  118. data/lib/comet/models/impossible_cloud_iamtemplate_settings.rb +1 -1
  119. data/lib/comet/models/impossible_cloud_partner_template_settings.rb +1 -1
  120. data/lib/comet/models/install_creds.rb +1 -1
  121. data/lib/comet/models/install_token.rb +8 -8
  122. data/lib/comet/models/install_token_response.rb +1 -1
  123. data/lib/comet/models/job_entry.rb +1 -1
  124. data/lib/comet/models/license_limits.rb +1 -1
  125. data/lib/comet/models/license_options.rb +1 -1
  126. data/lib/comet/models/linux_rpm_code_sign_properties.rb +115 -0
  127. data/lib/comet/models/list_shared_storage_quota_response.rb +1 -1
  128. data/lib/comet/models/live_user_connection.rb +1 -1
  129. data/lib/comet/models/local_destination_location.rb +2 -2
  130. data/lib/comet/models/local_storage_directory.rb +1 -1
  131. data/lib/comet/models/login_protection_options.rb +1 -1
  132. data/lib/comet/models/mac_oscode_sign_properties.rb +1 -1
  133. data/lib/comet/models/mongo_dbconnection.rb +4 -1
  134. data/lib/comet/models/mssqlconnection.rb +1 -1
  135. data/lib/comet/models/mssqllogin_args.rb +1 -1
  136. data/lib/comet/models/my_sqlconnection.rb +1 -1
  137. data/lib/comet/models/new_bucket_detail.rb +1 -1
  138. data/lib/comet/models/news_entry.rb +1 -1
  139. data/lib/comet/models/nfsdestination_location.rb +132 -0
  140. data/lib/comet/models/ninja_one_auth_callback_response.rb +82 -0
  141. data/lib/comet/models/ninja_one_config.rb +130 -0
  142. data/lib/comet/models/ninja_one_organization.rb +91 -0
  143. data/lib/comet/models/node.rb +80 -0
  144. data/lib/comet/models/object_lock_storage_template_settings.rb +1 -1
  145. data/lib/comet/models/office_365connection.rb +1 -1
  146. data/lib/comet/models/office_365convert_selection_response.rb +102 -0
  147. data/lib/comet/models/office_365credential.rb +1 -1
  148. data/lib/comet/models/office_365custom_setting.rb +1 -1
  149. data/lib/comet/models/office_365custom_setting_v2.rb +23 -1
  150. data/lib/comet/models/office_365effective_selection.rb +109 -0
  151. data/lib/comet/models/office_365effective_selection_account.rb +101 -0
  152. data/lib/comet/models/office_365evaluate_selection_rules_response.rb +95 -0
  153. data/lib/comet/models/office_365mixed_virtual_account.rb +1 -1
  154. data/lib/comet/models/office_365object_info.rb +1 -1
  155. data/lib/comet/models/office_365selection_rule.rb +182 -0
  156. data/lib/comet/models/office_365service_rule_decision.rb +93 -0
  157. data/lib/comet/models/oidc_claim.rb +1 -1
  158. data/lib/comet/models/oidc_config.rb +1 -1
  159. data/lib/comet/models/organization.rb +1 -1
  160. data/lib/comet/models/organization_login_urlresponse.rb +1 -1
  161. data/lib/comet/models/organization_response.rb +1 -1
  162. data/lib/comet/models/osinfo.rb +1 -1
  163. data/lib/comet/models/partition.rb +1 -1
  164. data/lib/comet/models/partition_conflict.rb +1 -1
  165. data/lib/comet/models/pkcs_11allowed_driver.rb +75 -0
  166. data/lib/comet/models/pkcs_11allowlist_options.rb +90 -0
  167. data/lib/comet/models/policy_options.rb +1 -1
  168. data/lib/comet/models/postgre_sqlconnection.rb +151 -0
  169. data/lib/comet/models/private_branding_properties.rb +184 -1
  170. data/lib/comet/models/protected_item_engine_type_policy.rb +1 -1
  171. data/lib/comet/models/protected_item_with_backup_rules_response.rb +1 -1
  172. data/lib/comet/models/proxmox_connection.rb +1 -1
  173. data/lib/comet/models/proxmox_restore_target_options.rb +1 -1
  174. data/lib/comet/models/psaconfig.rb +26 -1
  175. data/lib/comet/models/psaconfig_connect_wise.rb +130 -0
  176. data/lib/comet/models/psagrouped_by.rb +1 -1
  177. data/lib/comet/models/public_branding_properties.rb +1 -1
  178. data/lib/comet/models/pvebackup_disk.rb +1 -1
  179. data/lib/comet/models/pvebackup_node.rb +1 -1
  180. data/lib/comet/models/pvebackup_vm.rb +1 -1
  181. data/lib/comet/models/pvedisk.rb +1 -1
  182. data/lib/comet/models/pveparams.rb +2 -4
  183. data/lib/comet/models/pvestorage_name.rb +1 -1
  184. data/lib/comet/models/pvevm.rb +8 -1
  185. data/lib/comet/models/ratelimit_options.rb +1 -1
  186. data/lib/comet/models/ratelimit_rule.rb +1 -1
  187. data/lib/comet/models/register_office_application_begin_response.rb +1 -1
  188. data/lib/comet/models/register_office_application_check_response.rb +1 -1
  189. data/lib/comet/models/registration_lobby_connection.rb +1 -1
  190. data/lib/comet/models/remote_server_address.rb +1 -1
  191. data/lib/comet/models/remote_storage_option.rb +10 -1
  192. data/lib/comet/models/replica_server.rb +1 -1
  193. data/lib/comet/models/replicator_state_apiresponse.rb +1 -1
  194. data/lib/comet/models/request_storage_vault_response_message.rb +1 -1
  195. data/lib/comet/models/restore_job_advanced_options.rb +66 -10
  196. data/lib/comet/models/retention_policy.rb +1 -1
  197. data/lib/comet/models/retention_range.rb +1 -1
  198. data/lib/comet/models/s3destination_location.rb +1 -1
  199. data/lib/comet/models/s3generic_virtual_storage_role.rb +1 -1
  200. data/lib/comet/models/schedule_config.rb +1 -1
  201. data/lib/comet/models/search_clause.rb +1 -1
  202. data/lib/comet/models/search_result_file_info.rb +1 -1
  203. data/lib/comet/models/search_snapshots_response.rb +1 -1
  204. data/lib/comet/models/self_backup_event_data.rb +135 -0
  205. data/lib/comet/models/self_backup_export_options.rb +1 -1
  206. data/lib/comet/models/self_backup_options.rb +1 -1
  207. data/lib/comet/models/self_backup_statistics.rb +1 -1
  208. data/lib/comet/models/self_backup_target.rb +1 -1
  209. data/lib/comet/models/server_config_options.rb +76 -1
  210. data/lib/comet/models/server_config_options_and_hash_response.rb +103 -0
  211. data/lib/comet/models/server_config_options_branding_fragment.rb +1 -1
  212. data/lib/comet/models/server_config_options_hash_response.rb +95 -0
  213. data/lib/comet/models/server_config_options_software_build_role_fragment.rb +1 -1
  214. data/lib/comet/models/server_meta_branding_properties.rb +20 -1
  215. data/lib/comet/models/server_meta_version_info.rb +1 -1
  216. data/lib/comet/models/session_key_regenerated_response.rb +1 -1
  217. data/lib/comet/models/session_options.rb +1 -1
  218. data/lib/comet/models/set_shared_storage_quota_response.rb +1 -1
  219. data/lib/comet/models/sftpdestination_location.rb +1 -1
  220. data/lib/comet/models/shared_storage_quota.rb +1 -1
  221. data/lib/comet/models/single_field_source.rb +2 -2
  222. data/lib/comet/models/size_measurement.rb +1 -1
  223. data/lib/comet/models/smbdestination_location.rb +1 -1
  224. data/lib/comet/models/smtpoauth_options.rb +154 -0
  225. data/lib/comet/models/software_build_role_options.rb +1 -1
  226. data/lib/comet/models/software_update_news_response.rb +1 -1
  227. data/lib/comet/models/source_basic_info.rb +10 -1
  228. data/lib/comet/models/source_config.rb +69 -4
  229. data/lib/comet/models/source_include_pattern.rb +1 -1
  230. data/lib/comet/models/source_statistics.rb +1 -1
  231. data/lib/comet/models/spanned_destination_location.rb +1 -1
  232. data/lib/comet/models/spanned_storage_extra_info.rb +1 -1
  233. data/lib/comet/models/speed_limit_time_window.rb +114 -0
  234. data/lib/comet/models/sshconnection.rb +1 -1
  235. data/lib/comet/models/stat_result.rb +1 -1
  236. data/lib/comet/models/storage_free_space_info.rb +1 -1
  237. data/lib/comet/models/storage_role_options.rb +1 -1
  238. data/lib/comet/models/storage_vault_provider_policy.rb +1 -1
  239. data/lib/comet/models/stored_object.rb +1 -1
  240. data/lib/comet/models/storj_destination_location.rb +1 -1
  241. data/lib/comet/models/storj_virtual_storage_role_setting.rb +1 -1
  242. data/lib/comet/models/streamable_event.rb +1 -1
  243. data/lib/comet/models/swift_destination_location.rb +1 -1
  244. data/lib/comet/models/test_response.rb +1 -1
  245. data/lib/comet/models/time_span.rb +1 -1
  246. data/lib/comet/models/totp_regenerated_response.rb +1 -1
  247. data/lib/comet/models/u2fregister_request.rb +1 -1
  248. data/lib/comet/models/u2fregistered_key.rb +1 -1
  249. data/lib/comet/models/u2fregistration_challenge_response.rb +1 -1
  250. data/lib/comet/models/u2fsign_request.rb +1 -1
  251. data/lib/comet/models/u2fsign_response.rb +1 -1
  252. data/lib/comet/models/uninstall_config.rb +1 -1
  253. data/lib/comet/models/update_campaign_device_status.rb +9 -1
  254. data/lib/comet/models/update_campaign_options.rb +1 -1
  255. data/lib/comet/models/update_campaign_properties.rb +1 -1
  256. data/lib/comet/models/update_campaign_skip_detail.rb +100 -0
  257. data/lib/comet/models/update_campaign_status.rb +1 -1
  258. data/lib/comet/models/update_campaign_status_device_entry.rb +9 -1
  259. data/lib/comet/models/user_custom_email_settings.rb +1 -1
  260. data/lib/comet/models/user_group.rb +1 -1
  261. data/lib/comet/models/user_on_server.rb +1 -1
  262. data/lib/comet/models/user_policy.rb +18 -1
  263. data/lib/comet/models/user_profile_config.rb +82 -8
  264. data/lib/comet/models/user_profile_fragment.rb +1 -1
  265. data/lib/comet/models/user_server_config.rb +1 -1
  266. data/lib/comet/models/vault_snapshot.rb +1 -1
  267. data/lib/comet/models/vmdisk_info.rb +1 -1
  268. data/lib/comet/models/vmdksnapshot_view_options.rb +1 -1
  269. data/lib/comet/models/vminfo.rb +1 -1
  270. data/lib/comet/models/vminfo_list.rb +1 -1
  271. data/lib/comet/models/vmware_connection.rb +1 -1
  272. data/lib/comet/models/vmware_datacenter_info.rb +1 -1
  273. data/lib/comet/models/vmware_datastore_info.rb +1 -1
  274. data/lib/comet/models/vmware_host_info.rb +1 -1
  275. data/lib/comet/models/vmware_machine_info.rb +1 -1
  276. data/lib/comet/models/vmware_network_info.rb +1 -1
  277. data/lib/comet/models/vmware_restore_target_options.rb +1 -1
  278. data/lib/comet/models/vsphere_connection.rb +1 -1
  279. data/lib/comet/models/vsscomponent.rb +1 -1
  280. data/lib/comet/models/vsswriter_info.rb +1 -1
  281. data/lib/comet/models/wasabi_virtual_storage_role_settings.rb +1 -1
  282. data/lib/comet/models/web_authn_authenticator_selection.rb +1 -1
  283. data/lib/comet/models/web_authn_credential.rb +1 -1
  284. data/lib/comet/models/web_authn_credential_assertion.rb +1 -1
  285. data/lib/comet/models/web_authn_credential_descriptor.rb +1 -1
  286. data/lib/comet/models/web_authn_credential_entity.rb +1 -1
  287. data/lib/comet/models/web_authn_credential_parameter.rb +1 -1
  288. data/lib/comet/models/web_authn_public_key_credential_creation_options.rb +2 -4
  289. data/lib/comet/models/web_authn_public_key_credential_request_options.rb +1 -1
  290. data/lib/comet/models/web_authn_registration_challenge_response.rb +1 -1
  291. data/lib/comet/models/web_authn_relying_party_entity.rb +1 -1
  292. data/lib/comet/models/web_authn_sign_request.rb +1 -1
  293. data/lib/comet/models/web_authn_sign_response.rb +1 -1
  294. data/lib/comet/models/web_authn_user_entity.rb +1 -1
  295. data/lib/comet/models/web_dav_destination_location.rb +1 -1
  296. data/lib/comet/models/web_interface_branding_properties.rb +1 -1
  297. data/lib/comet/models/webhook_awsoptions.rb +96 -0
  298. data/lib/comet/models/webhook_option.rb +49 -2
  299. data/lib/comet/models/win_smbauth.rb +3 -3
  300. data/lib/comet/models/windows_code_sign_properties.rb +176 -1
  301. data/lib/comet_backup_ruby_sdk.rb +35 -1
  302. metadata +39 -23
  303. data/Gemfile.lock +0 -43
@@ -1,24 +1,26 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2020-2025 Comet Licensing Ltd.
3
+ # Copyright (c) 2020-2026 Comet Licensing Ltd.
4
4
  # Please see the LICENSE file for usage information.
5
5
  #
6
6
  # SPDX-License-Identifier: MIT
7
7
 
8
8
  module Comet
9
9
 
10
- APPLICATION_VERSION = '25.9.8'
10
+ APPLICATION_VERSION = '26.11.2'
11
11
 
12
- APPLICATION_VERSION_MAJOR = 25
12
+ APPLICATION_VERSION_MAJOR = 26
13
13
 
14
- APPLICATION_VERSION_MINOR = 9
14
+ APPLICATION_VERSION_MINOR = 11
15
15
 
16
- APPLICATION_VERSION_REVISION = 8
16
+ APPLICATION_VERSION_REVISION = 2
17
17
 
18
- # AutoRetentionLevel: The system will automatically choose how often to run an automatic Retention Pass after each backup job.
18
+ # AutoRetentionLevel: The system will automatically choose how often to run an automatic Retention
19
+ # Pass after each backup job.
19
20
  BACKUPJOBAUTORETENTION_AUTOMATIC = 0
20
21
 
21
- # AutoRetentionLevel: The system will run a Retention Pass after every single backup job. This is more system-intensive, but is the most responsive at freeing storage space.
22
+ # AutoRetentionLevel: The system will run a Retention Pass after every single backup job. This is
23
+ # more system-intensive, but is the most responsive at freeing storage space.
22
24
  BACKUPJOBAUTORETENTION_IMMEDIATE = 1
23
25
 
24
26
  # AutoRetentionLevel: The system will follow the automatic ruleset for a 'High Power' device.
@@ -27,22 +29,29 @@ module Comet
27
29
  # AutoRetentionLevel: The system will follow the automatic ruleset for a 'Low Power' device.
28
30
  BACKUPJOBAUTORETENTION_LESS_OFTEN = 3
29
31
 
30
- # If set, will be automatically replaced with one of the other BRANDINGSTYLETYPE_ constants after next server upgrade.
32
+ # BrandingStyleType: If set, will be automatically replaced with one of the other BRANDINGSTYLETYPE_
33
+ # constants after next server upgrade.
31
34
  BRANDINGSTYLETYPE_AUTO_LEGACY = 0
32
35
 
33
- # Use Comet company branding and colours for all web interface branding
36
+ # BrandingStyleType: Use Comet company branding and colours for all web interface branding
34
37
  BRANDINGSTYLETYPE_DEFAULT = 1
35
38
 
36
- # Use custom branding and colours, with text in the main logo area.
39
+ # BrandingStyleType: Use custom branding and colours, with text in the main logo area.
37
40
  BRANDINGSTYLETYPE_CUSTOM_TEXT = 2
38
41
 
39
- # Use custom branding and colours, with a supplied image in the main logo area.
42
+ # BrandingStyleType: Use custom branding and colours, with a supplied image in the main logo area.
40
43
  BRANDINGSTYLETYPE_CUSTOM_LOGO = 3
41
44
 
42
- # ClientBrandingBuildMode: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
45
+ # The Device ID recorded on jobs and vault locks that originate from an in-browser restore. It is a
46
+ # fixed sentinel value shared by all in-browser restores rather than a registered device.
47
+ BROWSER_RESTORE_DEVICE_ID = 'browser-restore_a4130236-fba2-4cd1-8e1d-47d009eddc18'
48
+
49
+ # ClientBrandingBuildMode: The software client will be custom-built by this Comet Server, allowing
50
+ # custom branding, default server URL, and codesigning.
43
51
  CLIENTBRANDINGBUILD_CUSTOM = 0
44
52
 
45
- # ClientBrandingBuildMode: A pre-built software client will be served, with Comet-branding, no server URL, and Comet codesigning.
53
+ # ClientBrandingBuildMode: A pre-built software client will be served, with Comet-branding, no
54
+ # server URL, and Comet codesigning.
46
55
  CLIENTBRANDINGBUILD_PREBUILT = 1
47
56
 
48
57
  # CompressMode
@@ -69,6 +78,26 @@ module Comet
69
78
  # CompressMode
70
79
  COMPRESS_DEFAULT = COMPRESS_LVL_4
71
80
 
81
+ # CustomBrandingContentType: The item is JavaScript code
82
+ CUSTOMBRANDING_CONTENT_JAVASCRIPT = 'javascript'
83
+
84
+ # CustomBrandingContentType: The item is CSS stylesheet code
85
+ CUSTOMBRANDING_CONTENT_CSS = 'css'
86
+
87
+ # CustomBrandingSourceType: The item content is supplied inline in the Content field
88
+ CUSTOMBRANDING_SOURCE_INLINE = 'inline'
89
+
90
+ # CustomBrandingSourceType: The item is loaded from the external URL in the URL field
91
+ CUSTOMBRANDING_SOURCE_URL = 'url'
92
+
93
+ # CustomBrandingPlacementType: Insert the item at the end of the document head. This is the default,
94
+ # and matches the installation instructions of most analytics vendors
95
+ CUSTOMBRANDING_PLACEMENT_HEAD = 'head'
96
+
97
+ # CustomBrandingPlacementType: Insert the item at the end of the document body, after the web
98
+ # application markup
99
+ CUSTOMBRANDING_PLACEMENT_BODY_END = 'body-end'
100
+
72
101
  # CustomRemoteBucketCustomBodyType
73
102
  CUSTOMREMOTEBUCKET_CUSTOMBODY_NONE = 'none'
74
103
 
@@ -103,68 +132,84 @@ module Comet
103
132
  # SftpAuthMode
104
133
  DESTINATION_SFTP_AUTHMODE_PRIVATEKEY = 2
105
134
 
135
+ # DestinationType
106
136
  DESTINATIONTYPE___INVALID = 0
107
137
 
108
- # Storage type that is applied when Storage Gateway fails to launch correctly
138
+ # DestinationType: Storage type that is applied when Storage Gateway fails to launch correctly
109
139
  DESTINATIONTYPE_ERROR = 1
110
140
 
111
- # S3-compatible, or a specific S3 service such as AWS S3, Wasabi, or iDrive e2
141
+ # DestinationType: S3-compatible, or a specific S3 service such as AWS S3, Wasabi, or iDrive e2
112
142
  DESTINATIONTYPE_S3 = 1000
113
143
 
114
- # SFTP protocol
144
+ # DestinationType: SFTP protocol
115
145
  DESTINATIONTYPE_SFTP = 1001
116
146
 
117
- # Local Path
147
+ # DestinationType: Local Path
118
148
  DESTINATIONTYPE_LOCALCOPY = 1002
119
149
 
120
- # The Comet Server Storage Role protocol
150
+ # DestinationType: The Comet Server Storage Role protocol
121
151
  DESTINATIONTYPE_COMET = 1003
122
152
 
123
- # FTP protocol
153
+ # DestinationType: FTP protocol
124
154
  DESTINATIONTYPE_FTP = 1004
125
155
 
126
- # Azure Blob Storage
156
+ # DestinationType: Azure Blob Storage
127
157
  DESTINATIONTYPE_AZUREBLOB = 1005
128
158
 
129
- # Spanned
159
+ # DestinationType: Spanned
130
160
  DESTINATIONTYPE_SPANNED = 1006
131
161
 
132
- # Openstack Swift
162
+ # DestinationType: Openstack Swift
133
163
  DESTINATIONTYPE_SWIFT = 1007
134
164
 
135
- # Backblaze B2 (Native API)
165
+ # DestinationType: Backblaze B2 (Native API)
136
166
  DESTINATIONTYPE_B2 = 1008
137
167
 
138
- # Storj
168
+ # DestinationType: Storj
139
169
  DESTINATIONTYPE_STORJ = 1009
140
170
 
171
+ # DestinationType
141
172
  DESTINATIONTYPE_WEBDAV = 1010
142
173
 
143
- # SMB Path
174
+ # DestinationType: SMB Path
144
175
  DESTINATIONTYPE_SMB = 1011
145
176
 
146
- # When defining a schedule via policy, use this option to dynamically select the Storage Vault that was created most recently.
177
+ # DestinationType
178
+ DESTINATIONTYPE_NFS = 1012
179
+
180
+ # DestinationType: When defining a schedule via policy, use this option to dynamically select the
181
+ # Storage Vault that was created most recently.
147
182
  DESTINATIONTYPE_LATEST = 1100
148
183
 
149
- # When defining a schedule via policy, use this option to create a schedule for each Storage Vault in the user's profile.
184
+ # DestinationType: When defining a schedule via policy, use this option to create a schedule for
185
+ # each Storage Vault in the user's profile.
150
186
  DESTINATIONTYPE_ALL = 1101
151
187
 
152
- # The Comet Server is still starting up and has not yet checked whether any email reports are due to be sent.
188
+ # Set a device's DeviceSecretHash to this value in an admin profile update to remove its
189
+ # DeviceSecret binding.
190
+ DEVICE_SECRET_HASH_RESET = 'reset'
191
+
192
+ # EmailWorkerState: The Comet Server is still starting up and has not yet checked whether any email
193
+ # reports are due to be sent.
153
194
  EMAIL_WORKER_STATE_NOT_STARTED = 0
154
195
 
155
- # The Comet Server is still starting up and has not yet checked whether any email reports are due to be sent.
196
+ # EmailWorkerState: The Comet Server is still starting up and has not yet checked whether any email
197
+ # reports are due to be sent.
156
198
  EMAIL_WORKER_STATE_STARTED = 1
157
199
 
158
- # The Comet Server is currently searching through email report configuration, to determine when the next email report is due to be sent.
200
+ # EmailWorkerState: The Comet Server is currently searching through email report configuration, to
201
+ # determine when the next email report is due to be sent.
159
202
  EMAIL_WORKER_STATE_CALCULATING = 2
160
203
 
161
- # The Comet Server knows when the next scheduled email report is due to be sent, and is waiting until that time.
204
+ # EmailWorkerState: The Comet Server knows when the next scheduled email report is due to be sent,
205
+ # and is waiting until that time.
162
206
  EMAIL_WORKER_STATE_WAITING = 3
163
207
 
164
- # The Comet Server is currently sending a scheduled email report.
208
+ # EmailWorkerState: The Comet Server is currently sending a scheduled email report.
165
209
  EMAIL_WORKER_STATE_SENDING = 4
166
210
 
167
- # EmailDeliveryType: If this is for the top-level Organization, email is disabled. If this is for an Organization, use the parent's email settings.
211
+ # EmailDeliveryType: If this is for the top-level Organization, email is disabled. If this is for an
212
+ # Organization, use the parent's email settings.
168
213
  EMAIL_DELIVERY_INHERIT = ''
169
214
 
170
215
  # EmailDeliveryType
@@ -198,67 +243,83 @@ module Comet
198
243
  # EmailReportType
199
244
  EMAILREPORTTYPE_RECENT_ACTIVITY = 3
200
245
 
246
+ # EncryptionMethodType
201
247
  ENCRYPTIONMETHOD_UNCONFIGURED = 0
202
248
 
203
- # Files and Folders
249
+ # EngineType: Files and Folders
204
250
  ENGINE_BUILTIN_FILE = 'engine1/file'
205
251
 
206
- # Program Output
252
+ # EngineType: Program Output
207
253
  ENGINE_BUILTIN_STDOUT = 'engine1/stdout'
208
254
 
209
- # MySQL
255
+ # EngineType: MySQL
210
256
  ENGINE_BUILTIN_MYSQL = 'engine1/mysql'
211
257
 
212
- # Windows Server System State
258
+ # EngineType: Windows Server System State
213
259
  ENGINE_BUILTIN_SYSTEMSTATE = 'engine1/systemstate'
214
260
 
215
- # Microsoft SQL Server
261
+ # EngineType: Microsoft SQL Server
216
262
  ENGINE_BUILTIN_MSSQL = 'engine1/mssql'
217
263
 
218
- # Windows System Backup, deprecated from version 24.12.2
264
+ # EngineType: Windows System Backup, deprecated from version 24.12.2
219
265
  ENGINE_BUILTIN_WINDOWSSYSTEM = 'engine1/windowssystem'
220
266
 
221
- # Microsoft Exchange Server
267
+ # EngineType: Microsoft Exchange Server
222
268
  ENGINE_BUILTIN_EXCHANGEEDB = 'engine1/exchangeedb'
223
269
 
224
- # Application-Aware Writer
270
+ # EngineType: Application-Aware Writer
225
271
  ENGINE_BUILTIN_VSSWRITER = 'engine1/vsswriter'
226
272
 
227
- # Microsoft Hyper-V
273
+ # EngineType: Microsoft Hyper-V
228
274
  ENGINE_BUILTIN_HYPERV = 'engine1/hyperv'
229
275
 
230
- # Disk Image
276
+ # EngineType: Disk Image
231
277
  ENGINE_BUILTIN_WINDISK = 'engine1/windisk'
232
278
 
233
- # MongoDB
279
+ # EngineType: MongoDB
234
280
  ENGINE_BUILTIN_MONGODB = 'engine1/mongodb'
235
281
 
236
- # Office 365
282
+ # EngineType: Office 365
237
283
  ENGINE_BUILTIN_MSOFFICE = 'engine1/winmsofficemail'
238
284
 
239
- # VMware
285
+ # EngineType: VMware
240
286
  ENGINE_BUILTIN_VMWARE = 'engine1/vmware'
241
287
 
242
- # Proxmox (PVE)
288
+ # EngineType: Proxmox (PVE)
243
289
  ENGINE_BUILTIN_PROXMOX = 'engine1/proxmox'
244
290
 
291
+ # EngineType: PostgreSQL
292
+ ENGINE_BUILTIN_POSTGRESQL = 'engine1/postgresql'
293
+
245
294
  # FtpsModeType: Use plain FTP, do not use FTPS.
246
295
  FTPS_MODE_PLAINTEXT = 0
247
296
 
248
- # FtpsModeType: Use implicit FTPS, immediately creating a secure SSL/TLS channel before any data is sent. This usually requires a different port on the FTP server. It is generally advised to use explicit mode instead.
297
+ # FtpsModeType: Use implicit FTPS, immediately creating a secure SSL/TLS channel before any data is
298
+ # sent. This usually requires a different port on the FTP server. It is generally advised to use
299
+ # explicit mode instead.
249
300
  FTPS_MODE_IMPLICIT = 1
250
301
 
251
- # FtpsModeType: Use explicit FTPS, first creating an insecure connection and then upgrading to SSL/TLS using AUTH TLS (like STARTTLS).
302
+ # FtpsModeType: Use explicit FTPS, first creating an insecure connection and then upgrading to
303
+ # SSL/TLS using AUTH TLS (like STARTTLS).
252
304
  FTPS_MODE_EXPLICIT = 2
253
305
 
254
- # HypervMethod: Back up Hyper-V virtual machines using VSS mode. This includes all previous snapshots.
306
+ # Prefix of the placeholder returned by some APIs in place of a sensitive stored value. The rest of
307
+ # the placeholder is a fingerprint of the stored value.
308
+ # Submitting any value with this prefix back to the Comet Server for a supported field leaves the
309
+ # stored value unchanged.
310
+ HIDDEN_FIELD_PLACEHOLDER = 'hidden_field'
311
+
312
+ # HypervMethod: Back up Hyper-V virtual machines using VSS mode. This includes all previous
313
+ # snapshots.
255
314
  HYPERV_METHOD_VSS = 'vss'
256
315
 
257
- # HypervMethod: Back up Hyper-V virtual machines using WMI mode. This includes the latest snapshot data only.
316
+ # HypervMethod: Back up Hyper-V virtual machines using WMI mode. This includes the latest snapshot
317
+ # data only.
258
318
  # This const is available in Comet 23.9.8 and later.
259
319
  HYPERV_METHOD_WMI_COPY = 'copy'
260
320
 
261
- # HypervMethod: Back up Hyper-V virtual machines using WMI mode with RCT acceleration. This includes the latest snapshot data only.
321
+ # HypervMethod: Back up Hyper-V virtual machines using WMI mode with RCT acceleration. This includes
322
+ # the latest snapshot data only.
262
323
  # This const is available in Comet 23.9.8 and later.
263
324
  HYPERV_METHOD_WMI_CBT = 'wmi'
264
325
 
@@ -277,7 +338,8 @@ module Comet
277
338
  # JobClassification: Automatic or manual retention cleaning pass.
278
339
  JOB_CLASSIFICATION_RETENTION = 4003
279
340
 
280
- # JobClassification: Another process needed exclusive Vault access (e.g. for retention) but the process died. This task cleans up exclusive lockfiles.
341
+ # JobClassification: Another process needed exclusive Vault access (e.g. for retention) but the
342
+ # process died. This task cleans up exclusive lockfiles.
281
343
  JOB_CLASSIFICATION_UNLOCK = 4004
282
344
 
283
345
  # JobClassification: A specific snapshot has been deleted via the Restore wizard.
@@ -304,7 +366,8 @@ module Comet
304
366
  # JobClassification
305
367
  JOB_CLASSIFICATION__MAX = 4999
306
368
 
307
- # JobStatus: If the BackupJobDetail.Status field is a 5xxx code, the job has stopped for a successful reason.
369
+ # JobStatus: If the BackupJobDetail.Status field is a 5xxx code, the job has stopped for a
370
+ # successful reason.
308
371
  JOB_STATUS_STOP_SUCCESS__MIN = 5000
309
372
 
310
373
  # JobStatus: The job is complete and was successful.
@@ -319,10 +382,12 @@ module Comet
319
382
  # JobStatus: Unused
320
383
  JOB_STATUS_RUNNING_INDETERMINATE = 6000
321
384
 
322
- # JobStatus: The last information the server received from the device is that the job is currently running.
385
+ # JobStatus: The last information the server received from the device is that the job is currently
386
+ # running.
323
387
  JOB_STATUS_RUNNING_ACTIVE = 6001
324
388
 
325
- # JobStatus: The job was thought to have been in an Abandoned state but updated the Comet Server with a running status.
389
+ # JobStatus: The job was thought to have been in an Abandoned state but updated the Comet Server
390
+ # with a running status.
326
391
  JOB_STATUS_RUNNING_REVIVED = 6002
327
392
 
328
393
  # JobStatus: The job has encountered an error and will wait to retry.
@@ -334,28 +399,33 @@ module Comet
334
399
  # JobStatus
335
400
  JOB_STATUS_RUNNING__MAX = 6999
336
401
 
337
- # JobStatus: If the BackupJobDetail.Status field is a 7xxx code, the job has stopped for an unsuccessful reason.
402
+ # JobStatus: If the BackupJobDetail.Status field is a 7xxx code, the job has stopped for an
403
+ # unsuccessful reason.
338
404
  JOB_STATUS_FAILED__MIN = 7000
339
405
 
340
406
  # JobStatus
341
407
  JOB_STATUS_FAILED_TIMEOUT = 7000
342
408
 
343
- # JobStatus: The job is complete but there was a problem that may have resulted in issues with the expected result.
409
+ # JobStatus: The job is complete but there was a problem that may have resulted in issues with the
410
+ # expected result.
344
411
  JOB_STATUS_FAILED_WARNING = 7001
345
412
 
346
413
  # JobStatus: There was an error during the job and it did not fully complete.
347
414
  JOB_STATUS_FAILED_ERROR = 7002
348
415
 
349
- # JobStatus: During a backup job either the "All protected items" quota or "Storage Vault" quota was exceeded.
416
+ # JobStatus: During a backup job either the "All protected items" quota or "Storage Vault" quota was
417
+ # exceeded.
350
418
  JOB_STATUS_FAILED_QUOTA = 7003
351
419
 
352
420
  # JobStatus: The job did not start at its scheduled time.
353
421
  JOB_STATUS_FAILED_SCHEDULEMISSED = 7004
354
422
 
355
- # JobStatus: The job was cancelled manually, a device shutdown was detected, or the backup time limit was reached.
423
+ # JobStatus: The job was cancelled manually, a device shutdown was detected, or the backup time
424
+ # limit was reached.
356
425
  JOB_STATUS_FAILED_CANCELLED = 7005
357
426
 
358
- # JobStatus: The backup job was skipped as there was already a backup running and the "Skip if already running" option was enabled.
427
+ # JobStatus: The backup job was skipped as there was already a backup running and the "Skip if
428
+ # already running" option was enabled.
359
429
  JOB_STATUS_FAILED_SKIPALREADYRUNNING = 7006
360
430
 
361
431
  # JobStatus: The job has stopped unexpectedly or has been manually marked as abandoned by an admin.
@@ -373,6 +443,13 @@ module Comet
373
443
  # LDAPSecurityMethod
374
444
  LDAPSECURITYMETHOD_STARTTLS = 'starttls'
375
445
 
446
+ # LinuxRpmCodesignMethod: Do not sign the client backup-tool RPM
447
+ LINUXRPMCODESIGN_METHOD_DISABLED = 0
448
+
449
+ # LinuxRpmCodesignMethod: Sign the RPM with a GPG private key stored locally on the Comet Server
450
+ # host
451
+ LINUXRPMCODESIGN_METHOD_LOCALGPG = 1
452
+
376
453
  # MacOSCodesignLevel: Sign only
377
454
  MACOSCODESIGN_LEVEL_SIGN = 0
378
455
 
@@ -414,34 +491,46 @@ module Comet
414
491
  # MSSQLRestoreOpt
415
492
  MSSQL_RESTORE_NORECOVERY = 'NO_RECOVERY'
416
493
 
417
- # Used in policy to define that the automatic Storage Vaults for new devices is not enforced by the policy
494
+ MYSQL_METADATA_STREAM_NAME = '.metadata'
495
+
496
+ MYSQL_USERS_GRANTS_STREAM_NAME = '.users-grants.sql'
497
+
498
+ # NewStorageVaultMode: Used in policy to define that the automatic Storage Vaults for new devices is
499
+ # not enforced by the policy
418
500
  NEW_STORAGE_VAULT_MODE_USER = 'user_controlled'
419
501
 
420
- # No Storage Vault will be created when a new device is added
502
+ # NewStorageVaultMode: No Storage Vault will be created when a new device is added
421
503
  NEW_STORAGE_VAULT_MODE_NONE = 'none'
422
504
 
423
- # When a new device is added, a Storage Vault will be created using the servers default Storage Template
505
+ # NewStorageVaultMode: When a new device is added, a Storage Vault will be created using the servers
506
+ # default Storage Template
424
507
  NEW_STORAGE_VAULT_MODE_SERVER = 'server_controlled'
425
508
 
426
- # Enable Object Lock capability if the corresponding Days field is greater than zero.
427
- New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
509
+ # ObjectLockMode: Enable Object Lock capability if the corresponding Days field is greater than
510
+ # zero.
511
+ # New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
428
512
  # @deprecated This const has been deprecated since Comet version 23.x.x
429
513
  OBJECT_LOCK_LEGACY = 0
430
514
 
515
+ # ObjectLockMode
431
516
  OBJECT_LOCK_ON = 1
432
517
 
518
+ # ObjectLockMode
433
519
  OBJECT_LOCK_OFF = 2
434
520
 
521
+ # Office365RegionType
435
522
  OFFICE365_REGION_PUBLIC = 'GlobalPublicCloud'
436
523
 
524
+ # Office365RegionType
437
525
  OFFICE365_REGION_CHINA = 'ChinaCloud'
438
526
 
439
- OFFICE365_REGION_GERMANY = 'GermanCloud'
440
-
527
+ # Office365RegionType
441
528
  OFFICE365_REGION_US_GOVT = 'USGovtGccCloud'
442
529
 
530
+ # Office365RegionType
443
531
  OFFICE365_REGION_US_DOD = 'USGovtGccDoDCloud'
444
532
 
533
+ # Office365RegionType
445
534
  OFFICE365_REGION_PUBLIC_TEST = 'GlobalPublicCloudTest'
446
535
 
447
536
  # ExtraFileExclusionOSRestriction: Applies to any device
@@ -459,12 +548,20 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
459
548
  # ExtraFileExclusionOSRestriction: Applies to macOS devices, regardless of CPU type
460
549
  OS_ONLY_MACOS = 4
461
550
 
462
- # ExtraFileExclusionOSRestriction: Applies to Linux devices (including Synology DSM), regardless of CPU type
551
+ # ExtraFileExclusionOSRestriction: Applies to Linux devices (including Synology DSM), regardless of
552
+ # CPU type
463
553
  OS_ONLY_LINUX = 5
464
554
 
465
- # When resetting a password with the API, set the PasswordFormat to this value. The Comet Server will re-hash the credential automatically.
555
+ # PasswordFormatType: When resetting a password with the API, set the PasswordFormat to this value.
556
+ # The Comet Server will re-hash the credential automatically.
466
557
  PASSWORD_FORMAT_PLAINTEXT = 0
467
558
 
559
+ POSTGRESQL_DEFAULT_CONNECT_DATABASE = 'postgres'
560
+
561
+ POSTGRESQL_METADATA_STREAM_NAME = '.metadata'
562
+
563
+ POSTGRESQL_GLOBALS_STREAM_NAME = '.globals.sql'
564
+
468
565
  # OidcProvider
469
566
  PROVIDER_GENERIC = 'oidc'
470
567
 
@@ -477,19 +574,29 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
477
574
  # OidcProvider
478
575
  PROVIDER_DASHBOARD = 'dashboard'
479
576
 
577
+ # ProxmoxVMType
480
578
  PROXMOX_TYPE_VM = 'qemu'
481
579
 
580
+ # ProxmoxVMType
482
581
  PROXMOX_TYPE_CONTAINER = 'lxc'
483
582
 
484
583
  # PSAType
485
584
  PSA_TYPE_GENERIC = 0
486
585
 
487
586
  # PSAType
587
+ # @deprecated This const has been deprecated since Comet version 26.5.2
488
588
  PSA_TYPE_GRADIENT = 1
489
589
 
490
590
  # PSAType
491
591
  PSA_TYPE_SYNCRO = 2
492
592
 
593
+ # PSAType
594
+ PSA_TYPE_NINJAONE = 3
595
+
596
+ # PSAType
597
+ # This const is available in Comet 26.8.1 and later.
598
+ PSA_TYPE_CONNECTWISE = 4
599
+
493
600
  # PveBackupMethod
494
601
  PVE_BACKUP_METHOD_STOP = 'stop'
495
602
 
@@ -564,6 +671,10 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
564
671
  # ReplicatorDisplayClass
565
672
  REPLICATOR_DISPLAYCLASS_USER = 101
566
673
 
674
+ # Set RestoreDataRecoveryKey to this value in a profile update to turn off the "Allow administrator
675
+ # to restore data" feature.
676
+ RESTORE_DATA_RECOVERY_KEY_DISABLE = 'disable'
677
+
567
678
  # RestoreArchiveFormat: Tar file format
568
679
  RESTOREARCHIVEFORMAT_TAR = 0
569
680
 
@@ -588,10 +699,12 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
588
699
  # RestoreType: Download and reconstruct files, but do not save them (for test purposes)
589
700
  RESTORETYPE_NULL = 1
590
701
 
591
- # RestoreType: Stream each restored file into the target command stdin. The target command may be executed multiple times, once for each restored file.
702
+ # RestoreType: Stream each restored file into the target command stdin. The target command may be
703
+ # executed multiple times, once for each restored file.
592
704
  RESTORETYPE_PROCESS_PERFILE = 2
593
705
 
594
- # RestoreType: Stream an archive of each restored file into the target command stdin. The target command will be executed only once.
706
+ # RestoreType: Stream an archive of each restored file into the target command stdin. The target
707
+ # command will be executed only once.
595
708
  RESTORETYPE_PROCESS_ARCHIVE = 3
596
709
 
597
710
  # RestoreType: Restore partitions back to the physical disk
@@ -600,38 +713,62 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
600
713
  # RestoreType: Restore selected files and folders as a single compressed archive
601
714
  RESTORETYPE_FILE_ARCHIVE = 5
602
715
 
603
- # RestoreType: Restore selected Office 365 emails, contacts, calendars, and SharePoint/OneDrive data directly to the Office 365 cloud service
716
+ # RestoreType: Restore selected Office 365 emails, contacts, calendars, and SharePoint/OneDrive data
717
+ # directly to the Office 365 cloud service
718
+ # This const is available in Comet 21.6.5 and later.
604
719
  RESTORETYPE_OFFICE365_CLOUD = 6
605
720
 
606
721
  # RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup
607
722
  RESTORETYPE_VMDK_FILE = 7
608
723
 
609
- # RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup, downloading and reconstructing files, but without saving them (for test purposes)
724
+ # RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup,
725
+ # downloading and reconstructing files, but without saving them (for test purposes)
610
726
  RESTORETYPE_VMDK_FILE_NULL = 8
611
727
 
612
- # RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup, creating an archive file of all selected files
728
+ # RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup, creating
729
+ # an archive file of all selected files
613
730
  RESTORETYPE_VMDK_FILE_ARCHIVE = 9
614
731
 
615
732
  # RestoreType: Stream restore as SQL statements into a target MySQL server
733
+ # This const is available in Comet 22.9.0 and later.
616
734
  RESTORETYPE_MYSQL = 10
617
735
 
618
736
  # RestoreType: Stream restore as T-SQL BACKUP output into a target Microsoft SQL Server
737
+ # This const is available in Comet 22.9.2 and later.
619
738
  RESTORETYPE_MSSQL = 11
620
739
 
621
740
  # RestoreType: Restore disk image backup as VMware-compatible virtual disks
741
+ # This const is available in Comet 23.9.5 and later.
622
742
  RESTORETYPE_WINDISK_ESXI = 12
623
743
 
624
744
  # RestoreType: Restore disk image backup as Hyper-V-compatible virtual disks (.vhdx format)
745
+ # This const is available in Comet 24.9.2 and later.
625
746
  RESTORETYPE_WINDISK_VHDX = 13
626
747
 
627
748
  # RestoreType: Restore virtual machines directly to hypervisor
628
749
  # This const is available in Comet 24.12.x and later.
629
750
  RESTORETYPE_VMHOST = 14
630
751
 
631
- # RestoreType: Legacy name alias - Prefer to use RESTORETYPE_PROCESS_ARCHIVE since multiple archive file formats are supported within this single RESTORETYPE_
752
+ # RestoreType: Restore selected files and folders to a cloud storage location described by a
753
+ # DestinationLocation
754
+ # This const is available in Comet 26.8.1 and later.
755
+ RESTORETYPE_CLOUD_STORAGE = 15
756
+
757
+ # RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup, into a
758
+ # cloud storage location described by a DestinationLocation
759
+ # This const is available in Comet 26.8.1 and later.
760
+ RESTORETYPE_VMDK_FILE_CLOUD_STORAGE = 16
761
+
762
+ # RestoreType: Stream restore as SQL statements into a target PostgreSQL server
763
+ # This const is available in Comet 26.11.0 and later.
764
+ RESTORETYPE_POSTGRESQL = 17
765
+
766
+ # RestoreType: Legacy name alias - Prefer to use RESTORETYPE_PROCESS_ARCHIVE since multiple archive
767
+ # file formats are supported within this single RESTORETYPE_
632
768
  RESTORETYPE_PROCESS_TARBALL = 3
633
769
 
634
- # RetentionMode: If this mode is set in a RetentionPolicy, then RetentionPolicy.Ranges should be ignored.
770
+ # RetentionMode: If this mode is set in a RetentionPolicy, then RetentionPolicy.Ranges should be
771
+ # ignored.
635
772
  RETENTIONMODE_KEEP_EVERYTHING = 801
636
773
 
637
774
  # RetentionMode: Delete everything except for jobs matching the ranges in RetentionPolicy.Ranges.
@@ -684,29 +821,37 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
684
821
 
685
822
  ROTATE_STORAGE_VAULT_KEYS_DEFAULT = 48
686
823
 
824
+ # ScheduleFrequencyType
687
825
  SCHEDULE_FREQUENCY_LOWEST = 8010
688
826
 
689
- # SecondsPast should be a Unix timestamp, in seconds
827
+ # ScheduleFrequencyType: SecondsPast should be a Unix timestamp, in seconds
690
828
  SCHEDULE_FREQUENCY_ONCEONLY = 8010
691
829
 
692
- # SecondsPast is the number of seconds past 00:00, in the device's local timezone.
830
+ # ScheduleFrequencyType: SecondsPast is the number of seconds past 00:00, in the device's local
831
+ # timezone.
693
832
  SCHEDULE_FREQUENCY_DAILY = 8011
694
833
 
695
- # SecondsPast is the number of seconds past *:00, in the device's local timezone.
834
+ # ScheduleFrequencyType: SecondsPast is the number of seconds past *:00, in the device's local
835
+ # timezone.
696
836
  SCHEDULE_FREQUENCY_HOURLY = 8012
697
837
 
698
- # SecondsPast is the number of seconds past 00:00 Sunday, in the device's local timezone.
838
+ # ScheduleFrequencyType: SecondsPast is the number of seconds past 00:00 Sunday, in the device's
839
+ # local timezone.
699
840
  SCHEDULE_FREQUENCY_WEEKLY = 8013
700
841
 
701
- # SecondsPast is the number of seconds past 00:00 1st, in the device's local timezone.
842
+ # ScheduleFrequencyType: SecondsPast is the number of seconds past 00:00 1st, in the device's local
843
+ # timezone.
702
844
  SCHEDULE_FREQUENCY_MONTHLY = 8014
703
845
 
704
- # SecondsPast is the number of seconds per period. Offset: Shunt seconds after unix epoch
846
+ # ScheduleFrequencyType: SecondsPast is the number of seconds per period. Offset: Shunt seconds
847
+ # after unix epoch
705
848
  SCHEDULE_FREQUENCY_PERIODIC = 8015
706
849
 
707
- # SecondsPast is the number of seconds past 00:00 1st, in the device's local timezone.
850
+ # ScheduleFrequencyType: SecondsPast is the number of seconds past 00:00 1st, in the device's local
851
+ # timezone.
708
852
  SCHEDULE_FREQUENCY_YEARLY = 8016
709
853
 
854
+ # ScheduleFrequencyType
710
855
  SCHEDULE_FREQUENCY_HIGHEST = 8016
711
856
 
712
857
  # Maximum random delay (5 hours)
@@ -729,97 +874,101 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
729
874
  # SearchClauseType
730
875
  SEARCHCLAUSE_NOT_OR = 'not_or'
731
876
 
732
- # String equals (case sensitive)
877
+ # SearchOperatorType: String equals (case sensitive)
733
878
  SEARCHOPERATOR_STRING_EQ = 'str_eq'
734
879
 
735
- # String does not equal (case sensitive)
880
+ # SearchOperatorType: String does not equal (case sensitive)
736
881
  SEARCHOPERATOR_STRING_NEQ = 'str_neq'
737
882
 
738
- # String contains anywhere (case sensitive)
883
+ # SearchOperatorType: String contains anywhere (case sensitive)
739
884
  SEARCHOPERATOR_STRING_CONTAINS = 'str_contains'
740
885
 
741
- # String does not contain anywhere (case sensitive)
886
+ # SearchOperatorType: String does not contain anywhere (case sensitive)
742
887
  SEARCHOPERATOR_STRING_NCONTAINS = 'str_ncontains'
743
888
 
744
- # String starts with prefix (case sensitive)
889
+ # SearchOperatorType: String starts with prefix (case sensitive)
745
890
  SEARCHOPERATOR_STRING_STARTSWITH = 'str_startswith'
746
891
 
747
- # String does not start with prefix (case sensitive)
892
+ # SearchOperatorType: String does not start with prefix (case sensitive)
748
893
  SEARCHOPERATOR_STRING_NSTARTSWITH = 'str_nstartswith'
749
894
 
750
- # String ends with suffix (case sensitive)
895
+ # SearchOperatorType: String ends with suffix (case sensitive)
751
896
  SEARCHOPERATOR_STRING_ENDSWITH = 'str_endswith'
752
897
 
753
- # String does not end with suffix (case sensitive)
898
+ # SearchOperatorType: String does not end with suffix (case sensitive)
754
899
  SEARCHOPERATOR_STRING_NENDSWITH = 'str_nendswith'
755
900
 
756
- # String equals (case insensitive)
901
+ # SearchOperatorType: String equals (case insensitive)
757
902
  SEARCHOPERATOR_STRING_EQ_CI = 'str_eq_ci'
758
903
 
759
- # String does not equal (case insensitive)
904
+ # SearchOperatorType: String does not equal (case insensitive)
760
905
  SEARCHOPERATOR_STRING_NEQ_CI = 'str_neq_ci'
761
906
 
762
- # String contains anywhere (case sensitive)
907
+ # SearchOperatorType: String contains anywhere (case sensitive)
763
908
  SEARCHOPERATOR_STRING_CONTAINS_CI = 'str_contains_ci'
764
909
 
765
- # String does not contain anywhere (case sensitive)
910
+ # SearchOperatorType: String does not contain anywhere (case sensitive)
766
911
  SEARCHOPERATOR_STRING_NCONTAINS_CI = 'str_ncontains_ci'
767
912
 
768
- # String starts with prefix (case sensitive)
913
+ # SearchOperatorType: String starts with prefix (case sensitive)
769
914
  SEARCHOPERATOR_STRING_STARTSWITH_CI = 'str_startswith_ci'
770
915
 
771
- # String does not start with (case sensitive)
916
+ # SearchOperatorType: String does not start with (case sensitive)
772
917
  SEARCHOPERATOR_STRING_NSTARTSWITH_CI = 'str_nstartswith_ci'
773
918
 
774
- # String ends with suffix (case sensitive)
919
+ # SearchOperatorType: String ends with suffix (case sensitive)
775
920
  SEARCHOPERATOR_STRING_ENDSWITH_CI = 'str_endswith_ci'
776
921
 
777
- # String does not end with suffix (case sensitive)
922
+ # SearchOperatorType: String does not end with suffix (case sensitive)
778
923
  SEARCHOPERATOR_STRING_NENDSWITH_CI = 'str_nendswith_ci'
779
924
 
780
- # String matches provided regular expression (using Go regex syntax)
925
+ # SearchOperatorType: String matches provided regular expression (using Go regex syntax)
781
926
  SEARCHOPERATOR_STRING_REGEXMATCH = 'str_regexmatch'
782
927
 
783
- # String does not match provided regular expression (using Go regex syntax)
928
+ # SearchOperatorType: String does not match provided regular expression (using Go regex syntax)
784
929
  SEARCHOPERATOR_STRING_NREGEXMATCH = 'str_nregexmatch'
785
930
 
786
- # Integer field is equal to value
931
+ # SearchOperatorType: Integer field is equal to value
787
932
  SEARCHOPERATOR_INT_EQ = 'int_eq'
788
933
 
789
- # Integer field is not equal to value
934
+ # SearchOperatorType: Integer field is not equal to value
790
935
  SEARCHOPERATOR_INT_NEQ = 'int_neq'
791
936
 
792
- # Integer field is greater than value
937
+ # SearchOperatorType: Integer field is greater than value
793
938
  SEARCHOPERATOR_INT_GT = 'int_gt'
794
939
 
795
- # Integer field is greater than or equal to value
940
+ # SearchOperatorType: Integer field is greater than or equal to value
796
941
  SEARCHOPERATOR_INT_GTE = 'int_gte'
797
942
 
798
- # Integer field is less than value
943
+ # SearchOperatorType: Integer field is less than value
799
944
  SEARCHOPERATOR_INT_LT = 'int_lt'
800
945
 
801
- # Integer field is less than or equal to value
946
+ # SearchOperatorType: Integer field is less than or equal to value
802
947
  SEARCHOPERATOR_INT_LTE = 'int_lte'
803
948
 
804
- # Boolean field matches value
949
+ # SearchOperatorType: Boolean field matches value
805
950
  SEARCHOPERATOR_BOOL_IS = 'bool_is'
806
951
 
807
- # Boolean field does not match value
952
+ # SearchOperatorType: Boolean field does not match value
808
953
  SEARCHOPERATOR_BOOL_NIS = 'bool_nis'
809
954
 
810
- # 0000 0001. If this value is present in the bitset, then the Calendar service is selected for backup.
955
+ # 0000 0001. If this value is present in the bitset, then the Calendar service is selected for
956
+ # backup.
811
957
  SERVICE_CALENDAR = 1
812
958
 
813
- # 0000 0010. If this value is present in the bitset, then the Contact service is selected for backup.
959
+ # 0000 0010. If this value is present in the bitset, then the Contact service is selected for
960
+ # backup.
814
961
  SERVICE_CONTACT = 2
815
962
 
816
963
  # 0000 0100. If this value is present in the bitset, then the Mail service is selected for backup.
817
964
  SERVICE_MAIL = 4
818
965
 
819
- # 0000 1000. If this value is present in the bitset, then the SharePoint service is selected for backup.
966
+ # 0000 1000. If this value is present in the bitset, then the SharePoint service is selected for
967
+ # backup.
820
968
  SERVICE_SHAREPOINT = 8
821
969
 
822
- # 0001 0000. If this value is present in the bitset, then the OneDrive service is selected for backup.
970
+ # 0001 0000. If this value is present in the bitset, then the OneDrive service is selected for
971
+ # backup.
823
972
  SERVICE_ONEDRIVE = 16
824
973
 
825
974
  # DefaultSettingMode
@@ -849,6 +998,10 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
849
998
  # Severity
850
999
  SEVERITY_ERROR = 'E'
851
1000
 
1001
+ # Severity: Diagnostic detail. The server returns entries with this severity only to top-level
1002
+ # administrators without permission restrictions.
1003
+ SEVERITY_PRIVATE = 'P'
1004
+
852
1005
  # StreamableEventType
853
1006
  SEVT__MIN = 4000
854
1007
 
@@ -864,10 +1017,12 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
864
1017
  # StreamableEventType: User updated. Data is the profile object
865
1018
  SEVT_ACCOUNT_UPDATED = 4102
866
1019
 
867
- # StreamableEventType: User authentication succeeded. Only emitted for non-session requests. Resource is the requested path
1020
+ # StreamableEventType: User authentication succeeded. Only emitted for non-session requests.
1021
+ # Resource is the requested path
868
1022
  SEVT_ACCOUNT_LOGIN = 4103
869
1023
 
870
- # StreamableEventType: User authentication failed. Only emitted if the user exists. Resource is the requested path
1024
+ # StreamableEventType: User authentication failed. Only emitted if the user exists. Resource is the
1025
+ # requested path
871
1026
  SEVT_ACCOUNT_LOGIN_FAILED = 4104
872
1027
 
873
1028
  # StreamableEventType: User session token created. Data is the session object
@@ -888,10 +1043,12 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
888
1043
  # StreamableEventType: Admin updated
889
1044
  SEVT_ACCOUNT_ADMIN_UPDATED = 4152
890
1045
 
891
- # StreamableEventType: Admin authentication succeeded. Only emitted for non-session requests. Resource is the requested path
1046
+ # StreamableEventType: Admin authentication succeeded. Only emitted for non-session requests.
1047
+ # Resource is the requested path
892
1048
  SEVT_ACCOUNT_ADMIN_LOGIN = 4153
893
1049
 
894
- # StreamableEventType: Admin authentication failed. Only emitted if the admin exists. Resource is the request path
1050
+ # StreamableEventType: Admin authentication failed. Only emitted if the admin exists. Resource is
1051
+ # the request path
895
1052
  SEVT_ACCOUNT_ADMIN_LOGIN_FAILED = 4154
896
1053
 
897
1054
  # StreamableEventType: Admin session token created. Data is the session object
@@ -903,6 +1060,19 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
903
1060
  # StreamableEventType: Admin session token expired
904
1061
  SEVT_ACCOUNT_ADMIN_SESSION_EXPIRE = 4157
905
1062
 
1063
+ # StreamableEventType: Admin personal API token created. Data is the redacted token metadata
1064
+ # This const is available in Comet 26.8.4 and later.
1065
+ SEVT_ACCOUNT_ADMIN_TOKEN_NEW = 4158
1066
+
1067
+ # StreamableEventType: Admin personal API token revoked. Data is the redacted token metadata
1068
+ # This const is available in Comet 26.8.4 and later.
1069
+ SEVT_ACCOUNT_ADMIN_TOKEN_REMOVED = 4159
1070
+
1071
+ # StreamableEventType: Admin personal API token authentication succeeded. Emitted for every
1072
+ # authenticated request, in place of SEVT_ACCOUNT_ADMIN_LOGIN. Resource is the token ID
1073
+ # This const is available in Comet 26.8.4 and later.
1074
+ SEVT_ACCOUNT_ADMIN_TOKEN_USED = 4160
1075
+
906
1076
  # StreamableEventType: New backup job started. Data is the job object
907
1077
  SEVT_JOB_NEW = 4200
908
1078
 
@@ -981,9 +1151,44 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
981
1151
  # StreamableEventType
982
1152
  SEVT_SQUOTA_UPDATED = 4805
983
1153
 
1154
+ # StreamableEventType: Self-backup started. Data is a SelfBackupEventData object
1155
+ # This const is available in Comet 26.11.1 and later.
1156
+ SEVT_SELFBACKUP_START = 4900
1157
+
1158
+ # StreamableEventType: Self-backup succeeded. Data is a SelfBackupEventData object
1159
+ # This const is available in Comet 26.11.1 and later.
1160
+ SEVT_SELFBACKUP_SUCCEEDED = 4901
1161
+
1162
+ # StreamableEventType: Self-backup failed. Data is a SelfBackupEventData object
1163
+ # This const is available in Comet 26.11.1 and later.
1164
+ SEVT_SELFBACKUP_FAILED = 4902
1165
+
984
1166
  # StreamableEventType
985
1167
  SEVT__MAX = 4999
986
1168
 
1169
+ # SMTPOAuthProvider: Microsoft Entra ID (Microsoft 365 / Exchange Online)
1170
+ SMTP_OAUTH_PROVIDER_MICROSOFT = 1
1171
+
1172
+ # SMTPOAuthProvider: Google (Gmail / Google Workspace)
1173
+ SMTP_OAUTH_PROVIDER_GOOGLE = 2
1174
+
1175
+ # SMTPOAuthFlow: A mailbox user grants consent interactively; the resulting refresh token is stored
1176
+ # in RefreshToken
1177
+ SMTP_OAUTH_FLOW_AUTHORIZATION_CODE = 1
1178
+
1179
+ # SMTPOAuthFlow: The application authenticates as itself. Only supported for
1180
+ # SMTP_OAUTH_PROVIDER_MICROSOFT
1181
+ SMTP_OAUTH_FLOW_CLIENT_CREDENTIALS = 2
1182
+
1183
+ # SourceFieldType
1184
+ SOURCEFIELD_BOOL = 'bool'
1185
+
1186
+ # SourceFieldType
1187
+ SOURCEFIELD_INT = 'int'
1188
+
1189
+ # SourceFieldType
1190
+ SOURCEFIELD_STRING = 'string'
1191
+
987
1192
  # SSHAuthMode
988
1193
  SSHCONNECTION_AUTHMODE__INVALID = 0
989
1194
 
@@ -1098,30 +1303,45 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
1098
1303
  # StreamerType
1099
1304
  STREAMER_TYPE_FILE = 'file'
1100
1305
 
1101
- # If an API response returns in failure, but it includes this value in the CometAPIResponseMessage->Message parameter, it indicates that your supplied authentication was insufficient, and you must supply additional two-factor authentication credentials.
1306
+ SELF_ADDRESS_PLACEHOLDER = '$self$'
1307
+
1308
+ # If an API response returns in failure, but it includes this value in the
1309
+ # CometAPIResponseMessage->Message parameter, it indicates that your supplied authentication was
1310
+ # insufficient, and you must supply additional two-factor authentication credentials.
1102
1311
  TOTPREQUIRED_ERROR = 'ERR_TOTP_REQUIRED'
1103
1312
 
1104
1313
  # UpdateStatus
1105
1314
  UPDATESTATUS_NOT_SEEN = 0
1106
1315
 
1107
- # UpdateStatus: The selected device does not meet the filter criteria from the Bulk Update Campaign's configuration.
1316
+ # UpdateStatus: The selected device does not meet the filter criteria from the Bulk Update
1317
+ # Campaign's configuration.
1108
1318
  UPDATESTATUS_INELIGIBLE = 1
1109
1319
 
1110
1320
  # UpdateStatus
1111
1321
  UPDATESTATUS_PENDING = 2
1112
1322
 
1113
- # UpdateStatus: The device has made a live connection and it meets the filter criteria. A live connection message has been sent asking it to perform the software upgrade.
1323
+ # UpdateStatus: The device has made a live connection and it meets the filter criteria. A live
1324
+ # connection message has been sent asking it to perform the software upgrade.
1114
1325
  UPDATESTATUS_REQUEST_MADE = 3
1115
1326
 
1116
- # UpdateStatus: An update signal was sent to the device, but when it reconnected, it did not advertise the target software version. It's likely that the update failed - please check the device's Update log for more information.
1327
+ # UpdateStatus: An update signal was sent to the device, but when it reconnected, it did not
1328
+ # advertise the target software version. It's likely that the update failed - please check the
1329
+ # device's Update log for more information.
1117
1330
  UPDATESTATUS_UPDATE_FAILED = 4
1118
1331
 
1119
1332
  # UpdateStatus: The device has successfully updated to the target version.
1120
1333
  UPDATESTATUS_UPDATE_CONFIRMED = 5
1121
1334
 
1335
+ # UpdateStatus: The device's reported operating system version is below the minimum supported
1336
+ # version for the target build
1337
+ # This const is available in Comet 26.5.2 and later.
1338
+ UPDATESTATUS_INCOMPATIBLE_OS = 6
1339
+
1122
1340
  USERNAME_MAX_LENGTH = 255
1123
1341
 
1124
- # If an API response returns in failure, but it includes this value in the CometAPIResponseMessage->Message parameter, it indicates that the specified Device ID was invalid or not found.
1342
+ # If an API response returns in failure, but it includes this value in the
1343
+ # CometAPIResponseMessage->Message parameter, it indicates that the specified Device ID was invalid
1344
+ # or not found.
1125
1345
  UNKNOWN_DEVICE_ERROR = 'ERR_UNKNOWN_DEVICE'
1126
1346
 
1127
1347
  UNSUPPORT_VHDX_FILE_SYSTEM = 'ERR_UNSUPPORT_VHDX_FILE_SYSTEM'
@@ -1154,6 +1374,8 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
1154
1374
  # @deprecated This const has been deprecated since Comet version 23.9.11
1155
1375
  VMWARE_BACKUP_COPY = 'copy'
1156
1376
 
1377
+ VHDX_PARTITION_NOT_NTFS_DATA = 'not a ntfs data partition'
1378
+
1157
1379
  VHDX_PARTITON_READ_ERR_MSG = 'ERR_VHDX_PARTITION'
1158
1380
 
1159
1381
  # WebAuthnDeviceType
@@ -1177,7 +1399,43 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
1177
1399
  # WebAuthnDeviceType
1178
1400
  WEBAUTHN_DEVICE_TYPE__TPM_LINUX = 6
1179
1401
 
1180
- # WindowsCodesignMethod: When upgrading from a version of Comet Server prior to 23.3.0, this option will be automatically converted to a more specific type.
1402
+ # WebhookFormat: The default. The event is delivered as the raw StreamableEvent JSON object.
1403
+ WEBHOOK_FORMAT_RAW = ''
1404
+
1405
+ # WebhookFormat: The event is reformatted as a Slack-compatible message, suitable for posting
1406
+ # directly to a Slack Incoming Webhook URL.
1407
+ # This const is available in Comet 26.5.2 and later.
1408
+ WEBHOOK_FORMAT_SLACK = 'slack'
1409
+
1410
+ # WebhookFormat: The event is sent as an email to the address in the WebhookOption URL field, using
1411
+ # the
1412
+ # email settings of the organization that owns the webhook.
1413
+ # This const is available in Comet 26.11.1 and later.
1414
+ WEBHOOK_FORMAT_EMAIL = 'email'
1415
+
1416
+ # WebhookFormat: The raw StreamableEvent JSON object is published to an Amazon SNS topic. The URL
1417
+ # field is the
1418
+ # topic ARN, and the AWS field holds the credentials. The event type is attached as the
1419
+ # "TypeString" message attribute.
1420
+ # This const is available in Comet 26.11.1 and later.
1421
+ WEBHOOK_FORMAT_AWS_SNS = 'aws_sns'
1422
+
1423
+ # WebhookFormat: The raw StreamableEvent JSON object is sent to an Amazon SQS queue. The URL field
1424
+ # is the queue
1425
+ # URL, and the AWS field holds the credentials. The event type is attached as the "TypeString"
1426
+ # message attribute.
1427
+ # This const is available in Comet 26.11.1 and later.
1428
+ WEBHOOK_FORMAT_AWS_SQS = 'aws_sqs'
1429
+
1430
+ # WebhookFormat: The raw StreamableEvent JSON object is put on an Amazon EventBridge event bus as
1431
+ # the event
1432
+ # detail, with the event type as the detail type and "cometd" as the source. The URL field is
1433
+ # the event bus ARN, and the AWS field holds the credentials.
1434
+ # This const is available in Comet 26.11.1 and later.
1435
+ WEBHOOK_FORMAT_AWS_EVENTBRIDGE = 'aws_eventbridge'
1436
+
1437
+ # WindowsCodesignMethod: When upgrading from a version of Comet Server prior to 23.3.0, this option
1438
+ # will be automatically converted to a more specific type.
1181
1439
  # @deprecated This const has been deprecated since Comet version 23.3.0
1182
1440
  WINDOWSCODESIGN_METHOD_AUTO = 0
1183
1441
 
@@ -1187,7 +1445,8 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
1187
1445
  # WindowsCodesignMethod: Use a configured PKCS#12 key file for Authenticode codesigning
1188
1446
  WINDOWSCODESIGN_METHOD_PKCS12FILE = 2
1189
1447
 
1190
- # WindowsCodesignMethod: Use a configured PKCS#11 hardware security module (HSM) for Authenticode codesigning
1448
+ # WindowsCodesignMethod: Use a configured PKCS#11 hardware security module (HSM) for Authenticode
1449
+ # codesigning
1191
1450
  WINDOWSCODESIGN_METHOD_PKCS11HSM = 3
1192
1451
 
1193
1452
  # WindowsCodesignMethod: Use a configured Azure Key Vault for Authenticode codesigning
@@ -1196,4 +1455,20 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
1196
1455
  # WindowsCodesignMethod: Use a configured SAS Relic server for Authenticode codesigning
1197
1456
  WINDOWSCODESIGN_METHOD_RELICSERVER = 5
1198
1457
 
1458
+ # WindowsCodesignMethod: Use a configured AWS Key Management Service (KMS) key for Authenticode
1459
+ # codesigning
1460
+ WINDOWSCODESIGN_METHOD_AWSKMS = 6
1461
+
1462
+ # WindowsCodesignMethod: Use a configured Google Cloud Key Management Service (Cloud KMS) key for
1463
+ # Authenticode codesigning
1464
+ WINDOWSCODESIGN_METHOD_GCPKMS = 7
1465
+
1466
+ # WindowsCodesignMethod: Use Azure Artifact Signing (formerly Azure Trusted Signing) for
1467
+ # Authenticode codesigning
1468
+ WINDOWSCODESIGN_METHOD_AZUREARTIFACTSIGNING = 8
1469
+
1470
+ CUSTOM_BRANDING_MAX_INLINE_ITEM_SIZE = 262_144
1471
+
1472
+ CUSTOM_BRANDING_MAX_TOTAL_SIZE = 1_048_576
1473
+
1199
1474
  end