Class: Revox::Models::CallExportParams::Filters
Defined Under Namespace
Modules: Direction, Outcome, Result, SortDirection, Status
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(filters:, include_metadata: nil, include_structured_output_fields: nil, request_options: {}) ⇒ Object
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
# File 'lib/revox/models/call_export_params.rb', line 41
class Filters < Revox::Internal::Type::BaseModel
required :assignee_ids, Revox::Internal::Type::ArrayOf[String]
required :assistant_ids, Revox::Internal::Type::ArrayOf[String]
required :campaign_ids, Revox::Internal::Type::ArrayOf[String]
required :directions,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::CallExportParams::Filters::Direction] }
required :from_phone_numbers, Revox::Internal::Type::ArrayOf[String]
required :outcomes, -> { Revox::Internal::Type::ArrayOf[enum: Revox::CallExportParams::Filters::Outcome] }
required :page, Integer
required :page_size, Integer
required :results, -> { Revox::Internal::Type::ArrayOf[enum: Revox::CallExportParams::Filters::Result] }
required :statuses, -> { Revox::Internal::Type::ArrayOf[enum: Revox::CallExportParams::Filters::Status] }
optional :call_ids, Revox::Internal::Type::ArrayOf[String]
optional :query, String
optional :sort_by, String
optional :sort_direction, enum: -> { Revox::CallExportParams::Filters::SortDirection }
optional :to_phone_number, String
module Direction
extend Revox::Internal::Type::Enum
INBOUND = :inbound
OUTBOUND = :outbound
end
module Outcome
extend Revox::Internal::Type::Enum
NOT_INTERESTED = :not_interested
INTERESTED = :interested
COMPLETED = :completed
REQUESTED_CALLBACK_LATER = :requested_callback_later
REQUESTED_CALLBACK_NEW_NUMBER = :requested_callback_new_number
DO_NOT_CONTACT = :do_not_contact
AI_AVERSE = :ai_averse
NONE = :none
end
module Result
extend Revox::Internal::Type::Enum
IVR = :IVR
VOICEMAIL = :voicemail
HUMAN = :human
UNKNOWN = :unknown
IOS_SCREENING_FILTER = :"ios-screening-filter"
NONE = :none
end
module Status
extend Revox::Internal::Type::Enum
INITIALIZING = :initializing
QUEUED_FOR_CALLING = :queued_for_calling
CALLING = :calling
POST_PROCESSING = :post_processing
SCHEDULED = :scheduled
PAUSED = :paused
COMPLETED = :completed
CANCELLED = :cancelled
ERRORED = :errored
end
module SortDirection
extend Revox::Internal::Type::Enum
ASC = :asc
DESC = :desc
end
end
|
Instance Attribute Details
#assignee_ids ⇒ Array<String>
45
|
# File 'lib/revox/models/call_export_params.rb', line 45
required :assignee_ids, Revox::Internal::Type::ArrayOf[String]
|
#assistant_ids ⇒ Array<String>
50
|
# File 'lib/revox/models/call_export_params.rb', line 50
required :assistant_ids, Revox::Internal::Type::ArrayOf[String]
|
#call_ids ⇒ Array<String>?
96
|
# File 'lib/revox/models/call_export_params.rb', line 96
optional :call_ids, Revox::Internal::Type::ArrayOf[String]
|
#campaign_ids ⇒ Array<String>
55
|
# File 'lib/revox/models/call_export_params.rb', line 55
required :campaign_ids, Revox::Internal::Type::ArrayOf[String]
|
60
61
|
# File 'lib/revox/models/call_export_params.rb', line 60
required :directions,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::CallExportParams::Filters::Direction] }
|
#from_phone_numbers ⇒ Array<String>
66
|
# File 'lib/revox/models/call_export_params.rb', line 66
required :from_phone_numbers, Revox::Internal::Type::ArrayOf[String]
|
71
|
# File 'lib/revox/models/call_export_params.rb', line 71
required :outcomes, -> { Revox::Internal::Type::ArrayOf[enum: Revox::CallExportParams::Filters::Outcome] }
|
#page ⇒ Integer
76
|
# File 'lib/revox/models/call_export_params.rb', line 76
required :page, Integer
|
#page_size ⇒ Integer
81
|
# File 'lib/revox/models/call_export_params.rb', line 81
required :page_size, Integer
|
#query ⇒ String?
101
|
# File 'lib/revox/models/call_export_params.rb', line 101
optional :query, String
|
86
|
# File 'lib/revox/models/call_export_params.rb', line 86
required :results, -> { Revox::Internal::Type::ArrayOf[enum: Revox::CallExportParams::Filters::Result] }
|
#sort_by ⇒ String?
106
|
# File 'lib/revox/models/call_export_params.rb', line 106
optional :sort_by, String
|
#sort_direction ⇒ Symbol, ...
111
|
# File 'lib/revox/models/call_export_params.rb', line 111
optional :sort_direction, enum: -> { Revox::CallExportParams::Filters::SortDirection }
|
91
|
# File 'lib/revox/models/call_export_params.rb', line 91
required :statuses, -> { Revox::Internal::Type::ArrayOf[enum: Revox::CallExportParams::Filters::Status] }
|
#to_phone_number ⇒ String?
116
|
# File 'lib/revox/models/call_export_params.rb', line 116
optional :to_phone_number, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/revox/models/call_export_params.rb', line 141
|
Instance Method Details
#to_hash ⇒ {
119
|
# File 'sig/revox/models/call_export_params.rbs', line 119
def to_hash: -> {
|