module AccountSettingsSchema extend ActiveSupport::Concern SETTINGS_PARAMS_SCHEMA = { 'type': 'object', 'properties': { 'auto_resolve_after': { 'type': %w[integer null], 'minimum': 10, 'maximum': 1_439_856 }, 'auto_resolve_message': { 'type': %w[string null] }, 'auto_resolve_ignore_waiting': { 'type': %w[boolean null] }, 'audio_transcriptions': { 'type': %w[boolean null] }, 'auto_resolve_label': { 'type': %w[string null] }, 'keep_pending_on_bot_failure': { 'type': %w[boolean null] }, 'captain_auto_resolve_mode': { 'type': %w[string null], 'enum': ['evaluated', 'legacy', 'disabled', nil] }, 'conversation_required_attributes': { 'type': %w[array null], 'items': { 'type': 'string' } }, 'captain_models': { 'type': %w[object null], 'properties': { 'editor': { 'type': %w[string null] }, 'assistant': { 'type': %w[string null] }, 'copilot': { 'type': %w[string null] }, 'label_suggestion': { 'type': %w[string null] }, 'audio_transcription': { 'type': %w[string null] }, 'help_center_search': { 'type': %w[string null] } }, 'additionalProperties': false }, 'captain_features': { 'type': %w[object null], 'properties': { 'editor': { 'type': %w[boolean null] }, 'assistant': { 'type': %w[boolean null] }, 'copilot': { 'type': %w[boolean null] }, 'label_suggestion': { 'type': %w[boolean null] }, 'audio_transcription': { 'type': %w[boolean null] }, 'help_center_search': { 'type': %w[boolean null] } }, 'additionalProperties': false } }, 'required': [], 'additionalProperties': true }.to_json.freeze end