Class: Revox::Models::CampaignGetRowsResponse::Row::Call
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Revox::Models::CampaignGetRowsResponse::Row::Call
- Defined in:
- lib/revox/models/campaign_get_rows_response.rb,
sig/revox/models/campaign_get_rows_response.rbs
Overview
Defined Under Namespace
Modules: Direction, LlmModel, Outcome, Status Classes: Assignee, Assistant, CallAttempt, CallRetryConfig, Campaign, Contact, LastCallAttempt
Instance Attribute Summary collapse
-
#assignee ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::Assignee?
The team member responsible for following up on this call.
- #assistant ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::Assistant?
-
#call_attempts ⇒ Array<Revox::Models::CampaignGetRowsResponse::Row::Call::CallAttempt>
All call attempts for this call order, ordered by most recent first.
-
#call_retry_config ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::CallRetryConfig?
Configuration for call retry behavior including time windows, delays, and max iterations.
-
#calls_count ⇒ Float
The number of call attempts made.
- #campaign ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::Campaign?
-
#contact ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::Contact
Magic contact variables (prospect identity) extracted from the call's input data and transcript.
-
#created_at ⇒ Object
The time the call order was created.
-
#direction ⇒ Symbol, Revox::Models::CampaignGetRowsResponse::Row::Call::Direction
Whether the call is inbound or outbound.
-
#first_sentence_delay_ms ⇒ Integer
Delay in milliseconds before speaking the first sentence.
-
#from_phone_number ⇒ String
The phone number that made the call.
-
#id ⇒ String
The ID of the call.
-
#is_cancelled ⇒ Boolean
DEPRECATED: Whether the call has been cancelled.
-
#is_completed ⇒ Boolean
DEPRECATED: Whether the call has completed.
-
#last_call_attempt ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::LastCallAttempt?
This represent a single call attempt.
- #llm_model ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember0, ...
-
#metadata ⇒ Hash{Symbol=>String}?
Metadata stored with the call.
-
#organization_id ⇒ String
The ID of the organization that owns the call.
-
#outcome ⇒ Symbol, ...
Business outcome of the call.
-
#outcome_summary ⇒ String?
LLM explanation for the outcome, when outcome was computed from the transcript.
-
#prompt_variables ⇒ Hash{Symbol=>String}?
Variables used to interpolate the prompt.
-
#scheduled_at ⇒ Object
The time the call order is scheduled to start.
-
#status ⇒ Symbol, Revox::Models::CampaignGetRowsResponse::Row::Call::Status
The status of the call.
-
#to_phone_number ⇒ String
The phone number that received the call.
-
#updated_at ⇒ Object
The time the call order was last updated (any state change, retry, or analysis result).
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember0, Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember1, Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember2, Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember3)
Instance Method Summary collapse
-
#initialize(company:, email:, first_name:, last_name:) ⇒ Object
constructor
Magic contact variables (prospect identity) extracted from the call's input data and transcript.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(company:, email:, first_name:, last_name:) ⇒ Object
Magic contact variables (prospect identity) extracted from the call's input data and transcript.
|
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 219
|
Instance Attribute Details
#assignee ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::Assignee?
The team member responsible for following up on this call.
69 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 69 required :assignee, -> { Revox::Models::CampaignGetRowsResponse::Row::Call::Assignee }, nil?: true |
#assistant ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::Assistant?
74 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 74 required :assistant, -> { Revox::Models::CampaignGetRowsResponse::Row::Call::Assistant }, nil?: true |
#call_attempts ⇒ Array<Revox::Models::CampaignGetRowsResponse::Row::Call::CallAttempt>
All call attempts for this call order, ordered by most recent first.
80 81 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 80 required :call_attempts, -> { Revox::Internal::Type::ArrayOf[Revox::Models::CampaignGetRowsResponse::Row::Call::CallAttempt] } |
#call_retry_config ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::CallRetryConfig?
Configuration for call retry behavior including time windows, delays, and max iterations. If not provided, defaults will be used.
88 89 90 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 88 required :call_retry_config, -> { Revox::Models::CampaignGetRowsResponse::Row::Call::CallRetryConfig }, nil?: true |
#calls_count ⇒ Float
The number of call attempts made.
96 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 96 required :calls_count, Float |
#campaign ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::Campaign?
101 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 101 required :campaign, -> { Revox::Models::CampaignGetRowsResponse::Row::Call::Campaign }, nil?: true |
#contact ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::Contact
Magic contact variables (prospect identity) extracted from the call's input data and transcript.
108 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 108 required :contact, -> { Revox::Models::CampaignGetRowsResponse::Row::Call::Contact } |
#created_at ⇒ Object
The time the call order was created.
114 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 114 required :created_at, Revox::Internal::Type::Unknown |
#direction ⇒ Symbol, Revox::Models::CampaignGetRowsResponse::Row::Call::Direction
Whether the call is inbound or outbound.
120 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 120 required :direction, enum: -> { Revox::Models::CampaignGetRowsResponse::Row::Call::Direction } |
#first_sentence_delay_ms ⇒ Integer
Delay in milliseconds before speaking the first sentence. Default: 400.
126 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 126 required :first_sentence_delay_ms, Integer |
#from_phone_number ⇒ String
The phone number that made the call. Formatted in E.164 format. Example: +1234567890
133 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 133 required :from_phone_number, String |
#id ⇒ String
The ID of the call.
63 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 63 required :id, String |
#is_cancelled ⇒ Boolean
DEPRECATED: Whether the call has been cancelled. This is derived from status.
Use status instead.
140 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 140 required :is_cancelled, Revox::Internal::Type::Boolean |
#is_completed ⇒ Boolean
DEPRECATED: Whether the call has completed. This is derived from status. Use
status instead.
147 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 147 required :is_completed, Revox::Internal::Type::Boolean |
#last_call_attempt ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::LastCallAttempt?
This represent a single call attempt. A call attempt is a single call made to the phone number.
154 155 156 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 154 required :last_call_attempt, -> { Revox::Models::CampaignGetRowsResponse::Row::Call::LastCallAttempt }, nil?: true |
#llm_model ⇒ Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember0, ...
161 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 161 required :llm_model, union: -> { Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel } |
#metadata ⇒ Hash{Symbol=>String}?
Metadata stored with the call.
167 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 167 required :metadata, Revox::Internal::Type::HashOf[String], nil?: true |
#organization_id ⇒ String
The ID of the organization that owns the call.
173 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 173 required :organization_id, String |
#outcome ⇒ Symbol, ...
Business outcome of the call. Null if not computed or no transcript.
211 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 211 optional :outcome, enum: -> { Revox::Models::CampaignGetRowsResponse::Row::Call::Outcome }, nil?: true |
#outcome_summary ⇒ String?
LLM explanation for the outcome, when outcome was computed from the transcript.
217 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 217 optional :outcome_summary, String, nil?: true |
#prompt_variables ⇒ Hash{Symbol=>String}?
Variables used to interpolate the prompt.
179 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 179 required :prompt_variables, Revox::Internal::Type::HashOf[String], nil?: true |
#scheduled_at ⇒ Object
The time the call order is scheduled to start.
185 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 185 required :scheduled_at, Revox::Internal::Type::Unknown |
#status ⇒ Symbol, Revox::Models::CampaignGetRowsResponse::Row::Call::Status
The status of the call.
191 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 191 required :status, enum: -> { Revox::Models::CampaignGetRowsResponse::Row::Call::Status } |
#to_phone_number ⇒ String
The phone number that received the call. Formatted in E.164 format. Example: +1234567890
198 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 198 required :to_phone_number, String |
#updated_at ⇒ Object
The time the call order was last updated (any state change, retry, or analysis result).
205 |
# File 'lib/revox/models/campaign_get_rows_response.rb', line 205 required :updated_at, Revox::Internal::Type::Unknown |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 1902
|
.variants ⇒ Array(Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember0, Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember1, Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember2, Revox::Models::CampaignGetRowsResponse::Row::Call::LlmModel::UnionMember3)
|
|
# File 'lib/revox/models/campaign_get_rows_response.rb', line 3131
|
Instance Method Details
#to_hash ⇒ {
165 |
# File 'sig/revox/models/campaign_get_rows_response.rbs', line 165
def to_hash: -> {
|