revox 0.2.0 → 0.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/README.md +38 -38
- data/lib/revox/client.rb +8 -0
- data/lib/revox/internal/type/base_model.rb +3 -3
- data/lib/revox/models/assistant_clone_params.rb +20 -0
- data/lib/revox/models/assistant_clone_response.rb +1616 -0
- data/lib/revox/models/assistant_create_params.rb +90 -66
- data/lib/revox/models/assistant_create_response.rb +87 -65
- data/lib/revox/models/assistant_list_response.rb +87 -65
- data/lib/revox/models/assistant_retrieve_response.rb +86 -65
- data/lib/revox/models/assistant_update_params.rb +90 -66
- data/lib/revox/models/assistant_update_response.rb +87 -65
- data/lib/revox/models/auth_status_retrieve_params.rb +14 -0
- data/lib/revox/models/auth_status_retrieve_response.rb +17 -0
- data/lib/revox/models/call_cancel_params.rb +20 -0
- data/lib/revox/models/call_cancel_response.rb +16 -0
- data/lib/revox/models/call_create_params.rb +117 -90
- data/lib/revox/models/call_create_response.rb +680 -90
- data/lib/revox/models/call_export_params.rb +203 -0
- data/lib/revox/models/call_export_response.rb +22 -0
- data/lib/revox/models/call_pause_params.rb +20 -0
- data/lib/revox/models/call_pause_response.rb +16 -0
- data/lib/revox/models/call_phone_history_params.rb +14 -0
- data/lib/revox/models/call_phone_history_response.rb +95 -0
- data/lib/revox/models/call_resume_params.rb +20 -0
- data/lib/revox/models/call_resume_response.rb +16 -0
- data/lib/revox/models/call_retrieve_response.rb +681 -90
- data/lib/revox/models/call_search_params.rb +169 -0
- data/lib/revox/models/call_search_response.rb +3694 -0
- data/lib/revox/models/campaign_create_params.rb +7 -57
- data/lib/revox/models/campaign_create_response.rb +108 -119
- data/lib/revox/models/campaign_get_rows_response.rb +682 -90
- data/lib/revox/models/campaign_list_response.rb +108 -119
- data/lib/revox/models/campaign_pause_params.rb +20 -0
- data/lib/revox/models/campaign_pause_response.rb +16 -0
- data/lib/revox/models/campaign_resume_params.rb +20 -0
- data/lib/revox/models/campaign_resume_response.rb +16 -0
- data/lib/revox/models/campaign_retrieve_response.rb +108 -119
- data/lib/revox/models/campaign_statistics_params.rb +20 -0
- data/lib/revox/models/campaign_statistics_response.rb +514 -0
- data/lib/revox/models/campaign_update_params.rb +165 -0
- data/lib/revox/models/campaign_update_response.rb +2019 -0
- data/lib/revox/models/phone_number_delete_params.rb +20 -0
- data/lib/revox/models/phone_number_delete_response.rb +16 -0
- data/lib/revox/models/phone_number_list_params.rb +14 -0
- data/lib/revox/models/phone_number_list_response.rb +1799 -0
- data/lib/revox/models/phone_number_update_params.rb +32 -0
- data/lib/revox/models/phone_number_update_response.rb +1799 -0
- data/lib/revox/models/user_retrieve_params.rb +14 -0
- data/lib/revox/models/user_retrieve_response.rb +99 -0
- data/lib/revox/models/voice_clone_params.rb +78 -0
- data/lib/revox/models/voice_clone_response.rb +40 -0
- data/lib/revox/models/voice_delete_params.rb +20 -0
- data/lib/revox/models/voice_delete_response.rb +16 -0
- data/lib/revox/models/voice_list_response.rb +1 -0
- data/lib/revox/models/voice_preview_params.rb +1 -0
- data/lib/revox/models/voice_retrieve_params.rb +1 -0
- data/lib/revox/models.rb +35 -1
- data/lib/revox/resources/assistants.rb +31 -10
- data/lib/revox/resources/auth_status.rb +32 -0
- data/lib/revox/resources/call.rb +149 -4
- data/lib/revox/resources/campaigns.rb +110 -11
- data/lib/revox/resources/phone_numbers.rb +74 -0
- data/lib/revox/resources/users.rb +17 -3
- data/lib/revox/resources/voices.rb +50 -0
- data/lib/revox/version.rb +1 -1
- data/lib/revox.rb +38 -5
- data/rbi/revox/client.rbi +6 -0
- data/rbi/revox/models/assistant_clone_params.rbi +33 -0
- data/rbi/revox/models/assistant_clone_response.rbi +3351 -0
- data/rbi/revox/models/assistant_create_params.rbi +148 -162
- data/rbi/revox/models/assistant_create_response.rbi +157 -147
- data/rbi/revox/models/assistant_list_response.rbi +157 -147
- data/rbi/revox/models/assistant_retrieve_response.rbi +153 -147
- data/rbi/revox/models/assistant_update_params.rbi +148 -162
- data/rbi/revox/models/assistant_update_response.rbi +157 -147
- data/rbi/revox/models/auth_status_retrieve_params.rbi +27 -0
- data/rbi/revox/models/auth_status_retrieve_response.rbi +30 -0
- data/rbi/revox/models/call_cancel_params.rbi +33 -0
- data/rbi/revox/models/call_cancel_response.rbi +23 -0
- data/rbi/revox/models/call_create_params.rbi +190 -187
- data/rbi/revox/models/call_create_response.rbi +1150 -227
- data/rbi/revox/models/call_export_params.rbi +446 -0
- data/rbi/revox/models/call_export_response.rbi +26 -0
- data/rbi/revox/models/call_pause_params.rbi +31 -0
- data/rbi/revox/models/call_pause_response.rbi +23 -0
- data/rbi/revox/models/call_phone_history_params.rbi +27 -0
- data/rbi/revox/models/call_phone_history_response.rbi +209 -0
- data/rbi/revox/models/call_resume_params.rbi +33 -0
- data/rbi/revox/models/call_resume_response.rbi +23 -0
- data/rbi/revox/models/call_retrieve_response.rbi +1150 -227
- data/rbi/revox/models/call_search_params.rbi +281 -0
- data/rbi/revox/models/call_search_response.rbi +7504 -0
- data/rbi/revox/models/campaign_create_params.rbi +9 -87
- data/rbi/revox/models/campaign_create_response.rbi +188 -266
- data/rbi/revox/models/campaign_get_rows_response.rbi +1150 -225
- data/rbi/revox/models/campaign_list_response.rbi +188 -262
- data/rbi/revox/models/campaign_pause_params.rbi +33 -0
- data/rbi/revox/models/campaign_pause_response.rbi +23 -0
- data/rbi/revox/models/campaign_resume_params.rbi +33 -0
- data/rbi/revox/models/campaign_resume_response.rbi +23 -0
- data/rbi/revox/models/campaign_retrieve_response.rbi +188 -266
- data/rbi/revox/models/campaign_statistics_params.rbi +33 -0
- data/rbi/revox/models/campaign_statistics_response.rbi +1069 -0
- data/rbi/revox/models/campaign_update_params.rbi +313 -0
- data/rbi/revox/models/campaign_update_response.rbi +4092 -0
- data/rbi/revox/models/phone_number_delete_params.rbi +33 -0
- data/rbi/revox/models/phone_number_delete_response.rbi +26 -0
- data/rbi/revox/models/phone_number_list_params.rbi +27 -0
- data/rbi/revox/models/phone_number_list_response.rbi +3690 -0
- data/rbi/revox/models/phone_number_update_params.rbi +53 -0
- data/rbi/revox/models/phone_number_update_response.rbi +3693 -0
- data/rbi/revox/models/user_retrieve_params.rbi +27 -0
- data/rbi/revox/models/user_retrieve_response.rbi +140 -0
- data/rbi/revox/models/voice_clone_params.rbi +141 -0
- data/rbi/revox/models/voice_clone_response.rbi +53 -0
- data/rbi/revox/models/voice_delete_params.rbi +33 -0
- data/rbi/revox/models/voice_delete_response.rbi +23 -0
- data/rbi/revox/models/voice_list_response.rbi +5 -0
- data/rbi/revox/models/voice_preview_params.rbi +2 -0
- data/rbi/revox/models/voice_retrieve_params.rbi +2 -0
- data/rbi/revox/models.rbi +35 -1
- data/rbi/revox/resources/assistants.rbi +52 -22
- data/rbi/revox/resources/auth_status.rbi +21 -0
- data/rbi/revox/resources/call.rbi +114 -4
- data/rbi/revox/resources/campaigns.rbi +77 -15
- data/rbi/revox/resources/phone_numbers.rbi +43 -0
- data/rbi/revox/resources/users.rbi +8 -2
- data/rbi/revox/resources/voices.rbi +39 -0
- data/sig/revox/client.rbs +4 -0
- data/sig/revox/models/assistant_clone_params.rbs +20 -0
- data/sig/revox/models/assistant_clone_response.rbs +1310 -0
- data/sig/revox/models/assistant_create_params.rbs +39 -58
- data/sig/revox/models/assistant_create_response.rbs +46 -54
- data/sig/revox/models/assistant_list_response.rbs +46 -54
- data/sig/revox/models/assistant_retrieve_response.rbs +46 -54
- data/sig/revox/models/assistant_update_params.rbs +39 -58
- data/sig/revox/models/assistant_update_response.rbs +46 -54
- data/sig/revox/models/auth_status_retrieve_params.rbs +15 -0
- data/sig/revox/models/auth_status_retrieve_response.rbs +13 -0
- data/sig/revox/models/call_cancel_params.rbs +20 -0
- data/sig/revox/models/call_cancel_response.rbs +13 -0
- data/sig/revox/models/call_create_params.rbs +50 -71
- data/sig/revox/models/call_create_response.rbs +473 -77
- data/sig/revox/models/call_export_params.rbs +230 -0
- data/sig/revox/models/call_export_response.rbs +15 -0
- data/sig/revox/models/call_pause_params.rbs +20 -0
- data/sig/revox/models/call_pause_response.rbs +13 -0
- data/sig/revox/models/call_phone_history_params.rbs +15 -0
- data/sig/revox/models/call_phone_history_response.rbs +93 -0
- data/sig/revox/models/call_resume_params.rbs +20 -0
- data/sig/revox/models/call_resume_response.rbs +13 -0
- data/sig/revox/models/call_retrieve_response.rbs +473 -77
- data/sig/revox/models/call_search_params.rbs +194 -0
- data/sig/revox/models/call_search_response.rbs +3045 -0
- data/sig/revox/models/campaign_create_params.rbs +5 -50
- data/sig/revox/models/campaign_create_response.rbs +62 -98
- data/sig/revox/models/campaign_get_rows_response.rbs +472 -73
- data/sig/revox/models/campaign_list_response.rbs +62 -98
- data/sig/revox/models/campaign_pause_params.rbs +20 -0
- data/sig/revox/models/campaign_pause_response.rbs +13 -0
- data/sig/revox/models/campaign_resume_params.rbs +20 -0
- data/sig/revox/models/campaign_resume_response.rbs +13 -0
- data/sig/revox/models/campaign_retrieve_response.rbs +62 -98
- data/sig/revox/models/campaign_statistics_params.rbs +20 -0
- data/sig/revox/models/campaign_statistics_response.rbs +489 -0
- data/sig/revox/models/campaign_update_params.rbs +135 -0
- data/sig/revox/models/campaign_update_response.rbs +1658 -0
- data/sig/revox/models/phone_number_delete_params.rbs +20 -0
- data/sig/revox/models/phone_number_delete_response.rbs +13 -0
- data/sig/revox/models/phone_number_list_params.rbs +15 -0
- data/sig/revox/models/phone_number_list_response.rbs +1454 -0
- data/sig/revox/models/phone_number_update_params.rbs +32 -0
- data/sig/revox/models/phone_number_update_response.rbs +1452 -0
- data/sig/revox/models/user_retrieve_params.rbs +14 -0
- data/sig/revox/models/user_retrieve_response.rbs +71 -0
- data/sig/revox/models/voice_clone_params.rbs +79 -0
- data/sig/revox/models/voice_clone_response.rbs +40 -0
- data/sig/revox/models/voice_delete_params.rbs +20 -0
- data/sig/revox/models/voice_delete_response.rbs +13 -0
- data/sig/revox/models/voice_list_response.rbs +2 -1
- data/sig/revox/models/voice_preview_params.rbs +2 -1
- data/sig/revox/models/voice_retrieve_params.rbs +2 -1
- data/sig/revox/models.rbs +35 -1
- data/sig/revox/resources/assistants.rbs +9 -4
- data/sig/revox/resources/auth_status.rbs +11 -0
- data/sig/revox/resources/call.rbs +46 -1
- data/sig/revox/resources/campaigns.rbs +24 -3
- data/sig/revox/resources/phone_numbers.rbs +23 -0
- data/sig/revox/resources/users.rbs +3 -1
- data/sig/revox/resources/voices.rbs +13 -0
- metadata +116 -17
- data/lib/revox/models/users/me_retrieve_params.rb +0 -16
- data/lib/revox/models/users/me_retrieve_response.rb +0 -101
- data/lib/revox/models/users/me_update_params.rb +0 -22
- data/lib/revox/models/users/me_update_response.rb +0 -101
- data/lib/revox/resources/users/me.rb +0 -55
- data/rbi/revox/models/users/me_retrieve_params.rbi +0 -29
- data/rbi/revox/models/users/me_retrieve_response.rbi +0 -149
- data/rbi/revox/models/users/me_update_params.rbi +0 -43
- data/rbi/revox/models/users/me_update_response.rbi +0 -149
- data/rbi/revox/resources/users/me.rbi +0 -33
- data/sig/revox/models/users/me_retrieve_params.rbs +0 -16
- data/sig/revox/models/users/me_retrieve_response.rbs +0 -75
- data/sig/revox/models/users/me_update_params.rbs +0 -28
- data/sig/revox/models/users/me_update_response.rbs +0 -75
- data/sig/revox/resources/users/me.rbs +0 -18
|
@@ -27,7 +27,6 @@ module Revox
|
|
|
27
27
|
created_at: top,
|
|
28
28
|
custom_tools: ::Array[Revox::Models::AssistantListResponse::Assistant::CustomTool]?,
|
|
29
29
|
email_notification_address: String?,
|
|
30
|
-
email_notification_language: Revox::Models::AssistantListResponse::Assistant::email_notification_language,
|
|
31
30
|
email_notification_outcomes: ::Array[Revox::Models::AssistantListResponse::Assistant::email_notification_outcome]?,
|
|
32
31
|
end_of_call_sentence: String?,
|
|
33
32
|
first_sentence: String?,
|
|
@@ -43,6 +42,7 @@ module Revox
|
|
|
43
42
|
name: String,
|
|
44
43
|
organization_id: String,
|
|
45
44
|
position: Revox::Models::AssistantListResponse::Assistant::Position?,
|
|
45
|
+
precall_lookup_url: String?,
|
|
46
46
|
prompt: String,
|
|
47
47
|
prompt_flow: Revox::Models::AssistantListResponse::Assistant::PromptFlow?,
|
|
48
48
|
slack: Revox::Models::AssistantListResponse::Assistant::Slack?,
|
|
@@ -55,7 +55,7 @@ module Revox
|
|
|
55
55
|
thinking_sound: Revox::Models::AssistantListResponse::Assistant::thinking_sound?,
|
|
56
56
|
thinking_sound_probability: Float,
|
|
57
57
|
thinking_sound_volume: Float,
|
|
58
|
-
|
|
58
|
+
transfer_destinations: ::Array[Revox::Models::AssistantListResponse::Assistant::TransferDestination]?,
|
|
59
59
|
type: Revox::Models::AssistantListResponse::Assistant::type_,
|
|
60
60
|
updated_at: top,
|
|
61
61
|
voice: Revox::Models::AssistantListResponse::Assistant::Voice?,
|
|
@@ -66,6 +66,7 @@ module Revox
|
|
|
66
66
|
zoho: Revox::Models::AssistantListResponse::Assistant::Zoho?,
|
|
67
67
|
created_by: Revox::Models::AssistantListResponse::Assistant::CreatedBy?,
|
|
68
68
|
faq_items: ::Array[Revox::Models::AssistantListResponse::Assistant::FaqItem],
|
|
69
|
+
is_inbound_receptionist: bool,
|
|
69
70
|
is_realestate_assistant: bool,
|
|
70
71
|
pending_faq_count: Float
|
|
71
72
|
}
|
|
@@ -93,8 +94,6 @@ module Revox
|
|
|
93
94
|
|
|
94
95
|
attr_accessor email_notification_address: String?
|
|
95
96
|
|
|
96
|
-
attr_accessor email_notification_language: Revox::Models::AssistantListResponse::Assistant::email_notification_language
|
|
97
|
-
|
|
98
97
|
attr_accessor email_notification_outcomes: ::Array[Revox::Models::AssistantListResponse::Assistant::email_notification_outcome]?
|
|
99
98
|
|
|
100
99
|
attr_accessor end_of_call_sentence: String?
|
|
@@ -125,6 +124,8 @@ module Revox
|
|
|
125
124
|
|
|
126
125
|
attr_accessor position: Revox::Models::AssistantListResponse::Assistant::Position?
|
|
127
126
|
|
|
127
|
+
attr_accessor precall_lookup_url: String?
|
|
128
|
+
|
|
128
129
|
attr_accessor prompt: String
|
|
129
130
|
|
|
130
131
|
attr_accessor prompt_flow: Revox::Models::AssistantListResponse::Assistant::PromptFlow?
|
|
@@ -149,7 +150,7 @@ module Revox
|
|
|
149
150
|
|
|
150
151
|
attr_accessor thinking_sound_volume: Float
|
|
151
152
|
|
|
152
|
-
attr_accessor
|
|
153
|
+
attr_accessor transfer_destinations: ::Array[Revox::Models::AssistantListResponse::Assistant::TransferDestination]?
|
|
153
154
|
|
|
154
155
|
attr_accessor type: Revox::Models::AssistantListResponse::Assistant::type_
|
|
155
156
|
|
|
@@ -175,6 +176,10 @@ module Revox
|
|
|
175
176
|
::Array[Revox::Models::AssistantListResponse::Assistant::FaqItem]
|
|
176
177
|
) -> ::Array[Revox::Models::AssistantListResponse::Assistant::FaqItem]
|
|
177
178
|
|
|
179
|
+
attr_reader is_inbound_receptionist: bool?
|
|
180
|
+
|
|
181
|
+
def is_inbound_receptionist=: (bool) -> bool
|
|
182
|
+
|
|
178
183
|
attr_reader is_realestate_assistant: bool?
|
|
179
184
|
|
|
180
185
|
def is_realestate_assistant=: (bool) -> bool
|
|
@@ -195,7 +200,6 @@ module Revox
|
|
|
195
200
|
created_at: top,
|
|
196
201
|
custom_tools: ::Array[Revox::Models::AssistantListResponse::Assistant::CustomTool]?,
|
|
197
202
|
email_notification_address: String?,
|
|
198
|
-
email_notification_language: Revox::Models::AssistantListResponse::Assistant::email_notification_language,
|
|
199
203
|
email_notification_outcomes: ::Array[Revox::Models::AssistantListResponse::Assistant::email_notification_outcome]?,
|
|
200
204
|
end_of_call_sentence: String?,
|
|
201
205
|
first_sentence: String?,
|
|
@@ -211,6 +215,7 @@ module Revox
|
|
|
211
215
|
name: String,
|
|
212
216
|
organization_id: String,
|
|
213
217
|
position: Revox::Models::AssistantListResponse::Assistant::Position?,
|
|
218
|
+
precall_lookup_url: String?,
|
|
214
219
|
prompt: String,
|
|
215
220
|
prompt_flow: Revox::Models::AssistantListResponse::Assistant::PromptFlow?,
|
|
216
221
|
slack: Revox::Models::AssistantListResponse::Assistant::Slack?,
|
|
@@ -223,7 +228,7 @@ module Revox
|
|
|
223
228
|
thinking_sound: Revox::Models::AssistantListResponse::Assistant::thinking_sound?,
|
|
224
229
|
thinking_sound_probability: Float,
|
|
225
230
|
thinking_sound_volume: Float,
|
|
226
|
-
|
|
231
|
+
transfer_destinations: ::Array[Revox::Models::AssistantListResponse::Assistant::TransferDestination]?,
|
|
227
232
|
type: Revox::Models::AssistantListResponse::Assistant::type_,
|
|
228
233
|
updated_at: top,
|
|
229
234
|
voice: Revox::Models::AssistantListResponse::Assistant::Voice?,
|
|
@@ -234,6 +239,7 @@ module Revox
|
|
|
234
239
|
zoho: Revox::Models::AssistantListResponse::Assistant::Zoho?,
|
|
235
240
|
?created_by: Revox::Models::AssistantListResponse::Assistant::CreatedBy?,
|
|
236
241
|
?faq_items: ::Array[Revox::Models::AssistantListResponse::Assistant::FaqItem],
|
|
242
|
+
?is_inbound_receptionist: bool,
|
|
237
243
|
?is_realestate_assistant: bool,
|
|
238
244
|
?pending_faq_count: Float
|
|
239
245
|
) -> void
|
|
@@ -250,7 +256,6 @@ module Revox
|
|
|
250
256
|
created_at: top,
|
|
251
257
|
custom_tools: ::Array[Revox::Models::AssistantListResponse::Assistant::CustomTool]?,
|
|
252
258
|
email_notification_address: String?,
|
|
253
|
-
email_notification_language: Revox::Models::AssistantListResponse::Assistant::email_notification_language,
|
|
254
259
|
email_notification_outcomes: ::Array[Revox::Models::AssistantListResponse::Assistant::email_notification_outcome]?,
|
|
255
260
|
end_of_call_sentence: String?,
|
|
256
261
|
first_sentence: String?,
|
|
@@ -266,6 +271,7 @@ module Revox
|
|
|
266
271
|
name: String,
|
|
267
272
|
organization_id: String,
|
|
268
273
|
position: Revox::Models::AssistantListResponse::Assistant::Position?,
|
|
274
|
+
precall_lookup_url: String?,
|
|
269
275
|
prompt: String,
|
|
270
276
|
prompt_flow: Revox::Models::AssistantListResponse::Assistant::PromptFlow?,
|
|
271
277
|
slack: Revox::Models::AssistantListResponse::Assistant::Slack?,
|
|
@@ -278,7 +284,7 @@ module Revox
|
|
|
278
284
|
thinking_sound: Revox::Models::AssistantListResponse::Assistant::thinking_sound?,
|
|
279
285
|
thinking_sound_probability: Float,
|
|
280
286
|
thinking_sound_volume: Float,
|
|
281
|
-
|
|
287
|
+
transfer_destinations: ::Array[Revox::Models::AssistantListResponse::Assistant::TransferDestination]?,
|
|
282
288
|
type: Revox::Models::AssistantListResponse::Assistant::type_,
|
|
283
289
|
updated_at: top,
|
|
284
290
|
voice: Revox::Models::AssistantListResponse::Assistant::Voice?,
|
|
@@ -289,6 +295,7 @@ module Revox
|
|
|
289
295
|
zoho: Revox::Models::AssistantListResponse::Assistant::Zoho?,
|
|
290
296
|
created_by: Revox::Models::AssistantListResponse::Assistant::CreatedBy?,
|
|
291
297
|
faq_items: ::Array[Revox::Models::AssistantListResponse::Assistant::FaqItem],
|
|
298
|
+
is_inbound_receptionist: bool,
|
|
292
299
|
is_realestate_assistant: bool,
|
|
293
300
|
pending_faq_count: Float
|
|
294
301
|
}
|
|
@@ -298,9 +305,6 @@ module Revox
|
|
|
298
305
|
| :interested
|
|
299
306
|
| :completed
|
|
300
307
|
| :requested_callback_later
|
|
301
|
-
| :requested_callback_new_number
|
|
302
|
-
| :do_not_contact
|
|
303
|
-
| :ai_averse
|
|
304
308
|
| :none
|
|
305
309
|
|
|
306
310
|
module AfterCallSMSOutcome
|
|
@@ -310,9 +314,6 @@ module Revox
|
|
|
310
314
|
INTERESTED: :interested
|
|
311
315
|
COMPLETED: :completed
|
|
312
316
|
REQUESTED_CALLBACK_LATER: :requested_callback_later
|
|
313
|
-
REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
|
|
314
|
-
DO_NOT_CONTACT: :do_not_contact
|
|
315
|
-
AI_AVERSE: :ai_averse
|
|
316
317
|
NONE: :none
|
|
317
318
|
|
|
318
319
|
def self?.values: -> ::Array[Revox::Models::AssistantListResponse::Assistant::after_call_sms_outcome]
|
|
@@ -574,25 +575,11 @@ module Revox
|
|
|
574
575
|
end
|
|
575
576
|
end
|
|
576
577
|
|
|
577
|
-
type email_notification_language = :en | :fr
|
|
578
|
-
|
|
579
|
-
module EmailNotificationLanguage
|
|
580
|
-
extend Revox::Internal::Type::Enum
|
|
581
|
-
|
|
582
|
-
EN: :en
|
|
583
|
-
FR: :fr
|
|
584
|
-
|
|
585
|
-
def self?.values: -> ::Array[Revox::Models::AssistantListResponse::Assistant::email_notification_language]
|
|
586
|
-
end
|
|
587
|
-
|
|
588
578
|
type email_notification_outcome =
|
|
589
579
|
:not_interested
|
|
590
580
|
| :interested
|
|
591
581
|
| :completed
|
|
592
582
|
| :requested_callback_later
|
|
593
|
-
| :requested_callback_new_number
|
|
594
|
-
| :do_not_contact
|
|
595
|
-
| :ai_averse
|
|
596
583
|
| :none
|
|
597
584
|
|
|
598
585
|
module EmailNotificationOutcome
|
|
@@ -602,9 +589,6 @@ module Revox
|
|
|
602
589
|
INTERESTED: :interested
|
|
603
590
|
COMPLETED: :completed
|
|
604
591
|
REQUESTED_CALLBACK_LATER: :requested_callback_later
|
|
605
|
-
REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
|
|
606
|
-
DO_NOT_CONTACT: :do_not_contact
|
|
607
|
-
AI_AVERSE: :ai_averse
|
|
608
592
|
NONE: :none
|
|
609
593
|
|
|
610
594
|
def self?.values: -> ::Array[Revox::Models::AssistantListResponse::Assistant::email_notification_outcome]
|
|
@@ -888,48 +872,52 @@ module Revox
|
|
|
888
872
|
|
|
889
873
|
type slack =
|
|
890
874
|
{
|
|
891
|
-
|
|
875
|
+
channels: ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::Channel],
|
|
892
876
|
connection_id: String,
|
|
893
877
|
outcomes: ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::outcome],
|
|
894
|
-
channel_name: String?,
|
|
895
878
|
template: String?
|
|
896
879
|
}
|
|
897
880
|
|
|
898
881
|
class Slack < Revox::Internal::Type::BaseModel
|
|
899
|
-
attr_accessor
|
|
882
|
+
attr_accessor channels: ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::Channel]
|
|
900
883
|
|
|
901
884
|
attr_accessor connection_id: String
|
|
902
885
|
|
|
903
886
|
attr_accessor outcomes: ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::outcome]
|
|
904
887
|
|
|
905
|
-
attr_accessor channel_name: String?
|
|
906
|
-
|
|
907
888
|
attr_accessor template: String?
|
|
908
889
|
|
|
909
890
|
def initialize: (
|
|
910
|
-
|
|
891
|
+
channels: ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::Channel],
|
|
911
892
|
connection_id: String,
|
|
912
893
|
outcomes: ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::outcome],
|
|
913
|
-
?channel_name: String?,
|
|
914
894
|
?template: String?
|
|
915
895
|
) -> void
|
|
916
896
|
|
|
917
897
|
def to_hash: -> {
|
|
918
|
-
|
|
898
|
+
channels: ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::Channel],
|
|
919
899
|
connection_id: String,
|
|
920
900
|
outcomes: ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::outcome],
|
|
921
|
-
channel_name: String?,
|
|
922
901
|
template: String?
|
|
923
902
|
}
|
|
924
903
|
|
|
904
|
+
type channel = { id: String, name: String? }
|
|
905
|
+
|
|
906
|
+
class Channel < Revox::Internal::Type::BaseModel
|
|
907
|
+
attr_accessor id: String
|
|
908
|
+
|
|
909
|
+
attr_accessor name: String?
|
|
910
|
+
|
|
911
|
+
def initialize: (id: String, ?name: String?) -> void
|
|
912
|
+
|
|
913
|
+
def to_hash: -> { id: String, name: String? }
|
|
914
|
+
end
|
|
915
|
+
|
|
925
916
|
type outcome =
|
|
926
917
|
:not_interested
|
|
927
918
|
| :interested
|
|
928
919
|
| :completed
|
|
929
920
|
| :requested_callback_later
|
|
930
|
-
| :requested_callback_new_number
|
|
931
|
-
| :do_not_contact
|
|
932
|
-
| :ai_averse
|
|
933
921
|
| :none
|
|
934
922
|
|
|
935
923
|
module Outcome
|
|
@@ -939,9 +927,6 @@ module Revox
|
|
|
939
927
|
INTERESTED: :interested
|
|
940
928
|
COMPLETED: :completed
|
|
941
929
|
REQUESTED_CALLBACK_LATER: :requested_callback_later
|
|
942
|
-
REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
|
|
943
|
-
DO_NOT_CONTACT: :do_not_contact
|
|
944
|
-
AI_AVERSE: :ai_averse
|
|
945
930
|
NONE: :none
|
|
946
931
|
|
|
947
932
|
def self?.values: -> ::Array[Revox::Models::AssistantListResponse::Assistant::Slack::outcome]
|
|
@@ -1072,6 +1057,18 @@ module Revox
|
|
|
1072
1057
|
def self?.values: -> ::Array[Revox::Models::AssistantListResponse::Assistant::thinking_sound]
|
|
1073
1058
|
end
|
|
1074
1059
|
|
|
1060
|
+
type transfer_destination = { label: String, phone_number: String }
|
|
1061
|
+
|
|
1062
|
+
class TransferDestination < Revox::Internal::Type::BaseModel
|
|
1063
|
+
attr_accessor label: String
|
|
1064
|
+
|
|
1065
|
+
attr_accessor phone_number: String
|
|
1066
|
+
|
|
1067
|
+
def initialize: (label: String, phone_number: String) -> void
|
|
1068
|
+
|
|
1069
|
+
def to_hash: -> { label: String, phone_number: String }
|
|
1070
|
+
end
|
|
1071
|
+
|
|
1075
1072
|
type type_ = :standalone | :"multi-step" | :"sub-assistant"
|
|
1076
1073
|
|
|
1077
1074
|
module Type
|
|
@@ -1128,13 +1125,14 @@ module Revox
|
|
|
1128
1125
|
volume: Float
|
|
1129
1126
|
}
|
|
1130
1127
|
|
|
1131
|
-
type provider = :cartesia | :elevenlabs
|
|
1128
|
+
type provider = :cartesia | :elevenlabs | :gradium
|
|
1132
1129
|
|
|
1133
1130
|
module Provider
|
|
1134
1131
|
extend Revox::Internal::Type::Enum
|
|
1135
1132
|
|
|
1136
1133
|
CARTESIA: :cartesia
|
|
1137
1134
|
ELEVENLABS: :elevenlabs
|
|
1135
|
+
GRADIUM: :gradium
|
|
1138
1136
|
|
|
1139
1137
|
def self?.values: -> ::Array[Revox::Models::AssistantListResponse::Assistant::Voice::provider]
|
|
1140
1138
|
end
|
|
@@ -1209,9 +1207,6 @@ module Revox
|
|
|
1209
1207
|
| :interested
|
|
1210
1208
|
| :completed
|
|
1211
1209
|
| :requested_callback_later
|
|
1212
|
-
| :requested_callback_new_number
|
|
1213
|
-
| :do_not_contact
|
|
1214
|
-
| :ai_averse
|
|
1215
1210
|
| :none
|
|
1216
1211
|
|
|
1217
1212
|
module Outcome
|
|
@@ -1221,9 +1216,6 @@ module Revox
|
|
|
1221
1216
|
INTERESTED: :interested
|
|
1222
1217
|
COMPLETED: :completed
|
|
1223
1218
|
REQUESTED_CALLBACK_LATER: :requested_callback_later
|
|
1224
|
-
REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
|
|
1225
|
-
DO_NOT_CONTACT: :do_not_contact
|
|
1226
|
-
AI_AVERSE: :ai_averse
|
|
1227
1219
|
NONE: :none
|
|
1228
1220
|
|
|
1229
1221
|
def self?.values: -> ::Array[Revox::Models::AssistantListResponse::Assistant::Zoho::outcome]
|
|
@@ -13,7 +13,6 @@ module Revox
|
|
|
13
13
|
created_at: top,
|
|
14
14
|
custom_tools: ::Array[Revox::Models::AssistantRetrieveResponse::CustomTool]?,
|
|
15
15
|
email_notification_address: String?,
|
|
16
|
-
email_notification_language: Revox::Models::AssistantRetrieveResponse::email_notification_language,
|
|
17
16
|
email_notification_outcomes: ::Array[Revox::Models::AssistantRetrieveResponse::email_notification_outcome]?,
|
|
18
17
|
end_of_call_sentence: String?,
|
|
19
18
|
first_sentence: String?,
|
|
@@ -29,6 +28,7 @@ module Revox
|
|
|
29
28
|
name: String,
|
|
30
29
|
organization_id: String,
|
|
31
30
|
position: Revox::Models::AssistantRetrieveResponse::Position?,
|
|
31
|
+
precall_lookup_url: String?,
|
|
32
32
|
prompt: String,
|
|
33
33
|
prompt_flow: Revox::Models::AssistantRetrieveResponse::PromptFlow?,
|
|
34
34
|
slack: Revox::Models::AssistantRetrieveResponse::Slack?,
|
|
@@ -41,7 +41,7 @@ module Revox
|
|
|
41
41
|
thinking_sound: Revox::Models::AssistantRetrieveResponse::thinking_sound?,
|
|
42
42
|
thinking_sound_probability: Float,
|
|
43
43
|
thinking_sound_volume: Float,
|
|
44
|
-
|
|
44
|
+
transfer_destinations: ::Array[Revox::Models::AssistantRetrieveResponse::TransferDestination]?,
|
|
45
45
|
type: Revox::Models::AssistantRetrieveResponse::type_,
|
|
46
46
|
updated_at: top,
|
|
47
47
|
voice: Revox::Models::AssistantRetrieveResponse::Voice?,
|
|
@@ -52,6 +52,7 @@ module Revox
|
|
|
52
52
|
zoho: Revox::Models::AssistantRetrieveResponse::Zoho?,
|
|
53
53
|
created_by: Revox::Models::AssistantRetrieveResponse::CreatedBy?,
|
|
54
54
|
faq_items: ::Array[Revox::Models::AssistantRetrieveResponse::FaqItem],
|
|
55
|
+
is_inbound_receptionist: bool,
|
|
55
56
|
is_realestate_assistant: bool,
|
|
56
57
|
pending_faq_count: Float
|
|
57
58
|
}
|
|
@@ -79,8 +80,6 @@ module Revox
|
|
|
79
80
|
|
|
80
81
|
attr_accessor email_notification_address: String?
|
|
81
82
|
|
|
82
|
-
attr_accessor email_notification_language: Revox::Models::AssistantRetrieveResponse::email_notification_language
|
|
83
|
-
|
|
84
83
|
attr_accessor email_notification_outcomes: ::Array[Revox::Models::AssistantRetrieveResponse::email_notification_outcome]?
|
|
85
84
|
|
|
86
85
|
attr_accessor end_of_call_sentence: String?
|
|
@@ -111,6 +110,8 @@ module Revox
|
|
|
111
110
|
|
|
112
111
|
attr_accessor position: Revox::Models::AssistantRetrieveResponse::Position?
|
|
113
112
|
|
|
113
|
+
attr_accessor precall_lookup_url: String?
|
|
114
|
+
|
|
114
115
|
attr_accessor prompt: String
|
|
115
116
|
|
|
116
117
|
attr_accessor prompt_flow: Revox::Models::AssistantRetrieveResponse::PromptFlow?
|
|
@@ -135,7 +136,7 @@ module Revox
|
|
|
135
136
|
|
|
136
137
|
attr_accessor thinking_sound_volume: Float
|
|
137
138
|
|
|
138
|
-
attr_accessor
|
|
139
|
+
attr_accessor transfer_destinations: ::Array[Revox::Models::AssistantRetrieveResponse::TransferDestination]?
|
|
139
140
|
|
|
140
141
|
attr_accessor type: Revox::Models::AssistantRetrieveResponse::type_
|
|
141
142
|
|
|
@@ -161,6 +162,10 @@ module Revox
|
|
|
161
162
|
::Array[Revox::Models::AssistantRetrieveResponse::FaqItem]
|
|
162
163
|
) -> ::Array[Revox::Models::AssistantRetrieveResponse::FaqItem]
|
|
163
164
|
|
|
165
|
+
attr_reader is_inbound_receptionist: bool?
|
|
166
|
+
|
|
167
|
+
def is_inbound_receptionist=: (bool) -> bool
|
|
168
|
+
|
|
164
169
|
attr_reader is_realestate_assistant: bool?
|
|
165
170
|
|
|
166
171
|
def is_realestate_assistant=: (bool) -> bool
|
|
@@ -181,7 +186,6 @@ module Revox
|
|
|
181
186
|
created_at: top,
|
|
182
187
|
custom_tools: ::Array[Revox::Models::AssistantRetrieveResponse::CustomTool]?,
|
|
183
188
|
email_notification_address: String?,
|
|
184
|
-
email_notification_language: Revox::Models::AssistantRetrieveResponse::email_notification_language,
|
|
185
189
|
email_notification_outcomes: ::Array[Revox::Models::AssistantRetrieveResponse::email_notification_outcome]?,
|
|
186
190
|
end_of_call_sentence: String?,
|
|
187
191
|
first_sentence: String?,
|
|
@@ -197,6 +201,7 @@ module Revox
|
|
|
197
201
|
name: String,
|
|
198
202
|
organization_id: String,
|
|
199
203
|
position: Revox::Models::AssistantRetrieveResponse::Position?,
|
|
204
|
+
precall_lookup_url: String?,
|
|
200
205
|
prompt: String,
|
|
201
206
|
prompt_flow: Revox::Models::AssistantRetrieveResponse::PromptFlow?,
|
|
202
207
|
slack: Revox::Models::AssistantRetrieveResponse::Slack?,
|
|
@@ -209,7 +214,7 @@ module Revox
|
|
|
209
214
|
thinking_sound: Revox::Models::AssistantRetrieveResponse::thinking_sound?,
|
|
210
215
|
thinking_sound_probability: Float,
|
|
211
216
|
thinking_sound_volume: Float,
|
|
212
|
-
|
|
217
|
+
transfer_destinations: ::Array[Revox::Models::AssistantRetrieveResponse::TransferDestination]?,
|
|
213
218
|
type: Revox::Models::AssistantRetrieveResponse::type_,
|
|
214
219
|
updated_at: top,
|
|
215
220
|
voice: Revox::Models::AssistantRetrieveResponse::Voice?,
|
|
@@ -220,6 +225,7 @@ module Revox
|
|
|
220
225
|
zoho: Revox::Models::AssistantRetrieveResponse::Zoho?,
|
|
221
226
|
?created_by: Revox::Models::AssistantRetrieveResponse::CreatedBy?,
|
|
222
227
|
?faq_items: ::Array[Revox::Models::AssistantRetrieveResponse::FaqItem],
|
|
228
|
+
?is_inbound_receptionist: bool,
|
|
223
229
|
?is_realestate_assistant: bool,
|
|
224
230
|
?pending_faq_count: Float
|
|
225
231
|
) -> void
|
|
@@ -236,7 +242,6 @@ module Revox
|
|
|
236
242
|
created_at: top,
|
|
237
243
|
custom_tools: ::Array[Revox::Models::AssistantRetrieveResponse::CustomTool]?,
|
|
238
244
|
email_notification_address: String?,
|
|
239
|
-
email_notification_language: Revox::Models::AssistantRetrieveResponse::email_notification_language,
|
|
240
245
|
email_notification_outcomes: ::Array[Revox::Models::AssistantRetrieveResponse::email_notification_outcome]?,
|
|
241
246
|
end_of_call_sentence: String?,
|
|
242
247
|
first_sentence: String?,
|
|
@@ -252,6 +257,7 @@ module Revox
|
|
|
252
257
|
name: String,
|
|
253
258
|
organization_id: String,
|
|
254
259
|
position: Revox::Models::AssistantRetrieveResponse::Position?,
|
|
260
|
+
precall_lookup_url: String?,
|
|
255
261
|
prompt: String,
|
|
256
262
|
prompt_flow: Revox::Models::AssistantRetrieveResponse::PromptFlow?,
|
|
257
263
|
slack: Revox::Models::AssistantRetrieveResponse::Slack?,
|
|
@@ -264,7 +270,7 @@ module Revox
|
|
|
264
270
|
thinking_sound: Revox::Models::AssistantRetrieveResponse::thinking_sound?,
|
|
265
271
|
thinking_sound_probability: Float,
|
|
266
272
|
thinking_sound_volume: Float,
|
|
267
|
-
|
|
273
|
+
transfer_destinations: ::Array[Revox::Models::AssistantRetrieveResponse::TransferDestination]?,
|
|
268
274
|
type: Revox::Models::AssistantRetrieveResponse::type_,
|
|
269
275
|
updated_at: top,
|
|
270
276
|
voice: Revox::Models::AssistantRetrieveResponse::Voice?,
|
|
@@ -275,6 +281,7 @@ module Revox
|
|
|
275
281
|
zoho: Revox::Models::AssistantRetrieveResponse::Zoho?,
|
|
276
282
|
created_by: Revox::Models::AssistantRetrieveResponse::CreatedBy?,
|
|
277
283
|
faq_items: ::Array[Revox::Models::AssistantRetrieveResponse::FaqItem],
|
|
284
|
+
is_inbound_receptionist: bool,
|
|
278
285
|
is_realestate_assistant: bool,
|
|
279
286
|
pending_faq_count: Float
|
|
280
287
|
}
|
|
@@ -284,9 +291,6 @@ module Revox
|
|
|
284
291
|
| :interested
|
|
285
292
|
| :completed
|
|
286
293
|
| :requested_callback_later
|
|
287
|
-
| :requested_callback_new_number
|
|
288
|
-
| :do_not_contact
|
|
289
|
-
| :ai_averse
|
|
290
294
|
| :none
|
|
291
295
|
|
|
292
296
|
module AfterCallSMSOutcome
|
|
@@ -296,9 +300,6 @@ module Revox
|
|
|
296
300
|
INTERESTED: :interested
|
|
297
301
|
COMPLETED: :completed
|
|
298
302
|
REQUESTED_CALLBACK_LATER: :requested_callback_later
|
|
299
|
-
REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
|
|
300
|
-
DO_NOT_CONTACT: :do_not_contact
|
|
301
|
-
AI_AVERSE: :ai_averse
|
|
302
303
|
NONE: :none
|
|
303
304
|
|
|
304
305
|
def self?.values: -> ::Array[Revox::Models::AssistantRetrieveResponse::after_call_sms_outcome]
|
|
@@ -559,25 +560,11 @@ module Revox
|
|
|
559
560
|
end
|
|
560
561
|
end
|
|
561
562
|
|
|
562
|
-
type email_notification_language = :en | :fr
|
|
563
|
-
|
|
564
|
-
module EmailNotificationLanguage
|
|
565
|
-
extend Revox::Internal::Type::Enum
|
|
566
|
-
|
|
567
|
-
EN: :en
|
|
568
|
-
FR: :fr
|
|
569
|
-
|
|
570
|
-
def self?.values: -> ::Array[Revox::Models::AssistantRetrieveResponse::email_notification_language]
|
|
571
|
-
end
|
|
572
|
-
|
|
573
563
|
type email_notification_outcome =
|
|
574
564
|
:not_interested
|
|
575
565
|
| :interested
|
|
576
566
|
| :completed
|
|
577
567
|
| :requested_callback_later
|
|
578
|
-
| :requested_callback_new_number
|
|
579
|
-
| :do_not_contact
|
|
580
|
-
| :ai_averse
|
|
581
568
|
| :none
|
|
582
569
|
|
|
583
570
|
module EmailNotificationOutcome
|
|
@@ -587,9 +574,6 @@ module Revox
|
|
|
587
574
|
INTERESTED: :interested
|
|
588
575
|
COMPLETED: :completed
|
|
589
576
|
REQUESTED_CALLBACK_LATER: :requested_callback_later
|
|
590
|
-
REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
|
|
591
|
-
DO_NOT_CONTACT: :do_not_contact
|
|
592
|
-
AI_AVERSE: :ai_averse
|
|
593
577
|
NONE: :none
|
|
594
578
|
|
|
595
579
|
def self?.values: -> ::Array[Revox::Models::AssistantRetrieveResponse::email_notification_outcome]
|
|
@@ -873,48 +857,52 @@ module Revox
|
|
|
873
857
|
|
|
874
858
|
type slack =
|
|
875
859
|
{
|
|
876
|
-
|
|
860
|
+
channels: ::Array[Revox::Models::AssistantRetrieveResponse::Slack::Channel],
|
|
877
861
|
connection_id: String,
|
|
878
862
|
outcomes: ::Array[Revox::Models::AssistantRetrieveResponse::Slack::outcome],
|
|
879
|
-
channel_name: String?,
|
|
880
863
|
template: String?
|
|
881
864
|
}
|
|
882
865
|
|
|
883
866
|
class Slack < Revox::Internal::Type::BaseModel
|
|
884
|
-
attr_accessor
|
|
867
|
+
attr_accessor channels: ::Array[Revox::Models::AssistantRetrieveResponse::Slack::Channel]
|
|
885
868
|
|
|
886
869
|
attr_accessor connection_id: String
|
|
887
870
|
|
|
888
871
|
attr_accessor outcomes: ::Array[Revox::Models::AssistantRetrieveResponse::Slack::outcome]
|
|
889
872
|
|
|
890
|
-
attr_accessor channel_name: String?
|
|
891
|
-
|
|
892
873
|
attr_accessor template: String?
|
|
893
874
|
|
|
894
875
|
def initialize: (
|
|
895
|
-
|
|
876
|
+
channels: ::Array[Revox::Models::AssistantRetrieveResponse::Slack::Channel],
|
|
896
877
|
connection_id: String,
|
|
897
878
|
outcomes: ::Array[Revox::Models::AssistantRetrieveResponse::Slack::outcome],
|
|
898
|
-
?channel_name: String?,
|
|
899
879
|
?template: String?
|
|
900
880
|
) -> void
|
|
901
881
|
|
|
902
882
|
def to_hash: -> {
|
|
903
|
-
|
|
883
|
+
channels: ::Array[Revox::Models::AssistantRetrieveResponse::Slack::Channel],
|
|
904
884
|
connection_id: String,
|
|
905
885
|
outcomes: ::Array[Revox::Models::AssistantRetrieveResponse::Slack::outcome],
|
|
906
|
-
channel_name: String?,
|
|
907
886
|
template: String?
|
|
908
887
|
}
|
|
909
888
|
|
|
889
|
+
type channel = { id: String, name: String? }
|
|
890
|
+
|
|
891
|
+
class Channel < Revox::Internal::Type::BaseModel
|
|
892
|
+
attr_accessor id: String
|
|
893
|
+
|
|
894
|
+
attr_accessor name: String?
|
|
895
|
+
|
|
896
|
+
def initialize: (id: String, ?name: String?) -> void
|
|
897
|
+
|
|
898
|
+
def to_hash: -> { id: String, name: String? }
|
|
899
|
+
end
|
|
900
|
+
|
|
910
901
|
type outcome =
|
|
911
902
|
:not_interested
|
|
912
903
|
| :interested
|
|
913
904
|
| :completed
|
|
914
905
|
| :requested_callback_later
|
|
915
|
-
| :requested_callback_new_number
|
|
916
|
-
| :do_not_contact
|
|
917
|
-
| :ai_averse
|
|
918
906
|
| :none
|
|
919
907
|
|
|
920
908
|
module Outcome
|
|
@@ -924,9 +912,6 @@ module Revox
|
|
|
924
912
|
INTERESTED: :interested
|
|
925
913
|
COMPLETED: :completed
|
|
926
914
|
REQUESTED_CALLBACK_LATER: :requested_callback_later
|
|
927
|
-
REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
|
|
928
|
-
DO_NOT_CONTACT: :do_not_contact
|
|
929
|
-
AI_AVERSE: :ai_averse
|
|
930
915
|
NONE: :none
|
|
931
916
|
|
|
932
917
|
def self?.values: -> ::Array[Revox::Models::AssistantRetrieveResponse::Slack::outcome]
|
|
@@ -1057,6 +1042,18 @@ module Revox
|
|
|
1057
1042
|
def self?.values: -> ::Array[Revox::Models::AssistantRetrieveResponse::thinking_sound]
|
|
1058
1043
|
end
|
|
1059
1044
|
|
|
1045
|
+
type transfer_destination = { label: String, phone_number: String }
|
|
1046
|
+
|
|
1047
|
+
class TransferDestination < Revox::Internal::Type::BaseModel
|
|
1048
|
+
attr_accessor label: String
|
|
1049
|
+
|
|
1050
|
+
attr_accessor phone_number: String
|
|
1051
|
+
|
|
1052
|
+
def initialize: (label: String, phone_number: String) -> void
|
|
1053
|
+
|
|
1054
|
+
def to_hash: -> { label: String, phone_number: String }
|
|
1055
|
+
end
|
|
1056
|
+
|
|
1060
1057
|
type type_ = :standalone | :"multi-step" | :"sub-assistant"
|
|
1061
1058
|
|
|
1062
1059
|
module Type
|
|
@@ -1113,13 +1110,14 @@ module Revox
|
|
|
1113
1110
|
volume: Float
|
|
1114
1111
|
}
|
|
1115
1112
|
|
|
1116
|
-
type provider = :cartesia | :elevenlabs
|
|
1113
|
+
type provider = :cartesia | :elevenlabs | :gradium
|
|
1117
1114
|
|
|
1118
1115
|
module Provider
|
|
1119
1116
|
extend Revox::Internal::Type::Enum
|
|
1120
1117
|
|
|
1121
1118
|
CARTESIA: :cartesia
|
|
1122
1119
|
ELEVENLABS: :elevenlabs
|
|
1120
|
+
GRADIUM: :gradium
|
|
1123
1121
|
|
|
1124
1122
|
def self?.values: -> ::Array[Revox::Models::AssistantRetrieveResponse::Voice::provider]
|
|
1125
1123
|
end
|
|
@@ -1194,9 +1192,6 @@ module Revox
|
|
|
1194
1192
|
| :interested
|
|
1195
1193
|
| :completed
|
|
1196
1194
|
| :requested_callback_later
|
|
1197
|
-
| :requested_callback_new_number
|
|
1198
|
-
| :do_not_contact
|
|
1199
|
-
| :ai_averse
|
|
1200
1195
|
| :none
|
|
1201
1196
|
|
|
1202
1197
|
module Outcome
|
|
@@ -1206,9 +1201,6 @@ module Revox
|
|
|
1206
1201
|
INTERESTED: :interested
|
|
1207
1202
|
COMPLETED: :completed
|
|
1208
1203
|
REQUESTED_CALLBACK_LATER: :requested_callback_later
|
|
1209
|
-
REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
|
|
1210
|
-
DO_NOT_CONTACT: :do_not_contact
|
|
1211
|
-
AI_AVERSE: :ai_averse
|
|
1212
1204
|
NONE: :none
|
|
1213
1205
|
|
|
1214
1206
|
def self?.values: -> ::Array[Revox::Models::AssistantRetrieveResponse::Zoho::outcome]
|