revox 0.3.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 +26 -0
- data/README.md +38 -38
- data/lib/revox/models/assistant_clone_response.rb +87 -65
- 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/call_create_params.rb +117 -90
- data/lib/revox/models/call_create_response.rb +670 -90
- data/lib/revox/models/call_export_params.rb +1 -3
- data/lib/revox/models/call_phone_history_response.rb +0 -3
- data/lib/revox/models/call_retrieve_response.rb +671 -90
- data/lib/revox/models/call_search_params.rb +1 -3
- data/lib/revox/models/call_search_response.rb +670 -90
- 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 +672 -90
- data/lib/revox/models/campaign_list_response.rb +108 -119
- data/lib/revox/models/campaign_retrieve_response.rb +108 -119
- data/lib/revox/models/campaign_statistics_response.rb +51 -23
- data/lib/revox/models/campaign_update_params.rb +9 -78
- data/lib/revox/models/campaign_update_response.rb +108 -119
- data/lib/revox/models/phone_number_list_response.rb +87 -65
- data/lib/revox/models/phone_number_update_response.rb +87 -65
- 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 +0 -2
- data/lib/revox/resources/assistants.rb +10 -10
- data/lib/revox/resources/call.rb +4 -4
- data/lib/revox/resources/campaigns.rb +13 -45
- data/lib/revox/version.rb +1 -1
- data/lib/revox.rb +0 -2
- data/rbi/revox/models/assistant_clone_response.rbi +157 -147
- 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/call_create_params.rbi +190 -187
- data/rbi/revox/models/call_create_response.rbi +1138 -227
- data/rbi/revox/models/call_export_params.rbi +5 -15
- data/rbi/revox/models/call_phone_history_response.rbi +0 -15
- data/rbi/revox/models/call_retrieve_response.rbi +1138 -227
- data/rbi/revox/models/call_search_params.rbi +2 -9
- data/rbi/revox/models/call_search_response.rbi +1138 -227
- 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 +1138 -225
- data/rbi/revox/models/campaign_list_response.rbi +188 -262
- data/rbi/revox/models/campaign_retrieve_response.rbi +188 -266
- data/rbi/revox/models/campaign_statistics_response.rbi +94 -36
- data/rbi/revox/models/campaign_update_params.rbi +10 -128
- data/rbi/revox/models/campaign_update_response.rbi +188 -266
- data/rbi/revox/models/phone_number_list_response.rbi +157 -147
- data/rbi/revox/models/phone_number_update_response.rbi +157 -147
- 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 +0 -2
- data/rbi/revox/resources/assistants.rbi +40 -22
- data/rbi/revox/resources/call.rbi +7 -4
- data/rbi/revox/resources/campaigns.rbi +12 -44
- data/sig/revox/models/assistant_clone_response.rbs +46 -54
- 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/call_create_params.rbs +50 -71
- data/sig/revox/models/call_create_response.rbs +468 -77
- data/sig/revox/models/call_export_params.rbs +2 -6
- data/sig/revox/models/call_phone_history_response.rbs +1 -10
- data/sig/revox/models/call_retrieve_response.rbs +468 -77
- data/sig/revox/models/call_search_params.rbs +2 -6
- data/sig/revox/models/call_search_response.rbs +468 -77
- 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 +467 -73
- data/sig/revox/models/campaign_list_response.rbs +62 -98
- data/sig/revox/models/campaign_retrieve_response.rbs +62 -98
- data/sig/revox/models/campaign_statistics_response.rbs +55 -24
- data/sig/revox/models/campaign_update_params.rbs +1 -69
- data/sig/revox/models/campaign_update_response.rbs +62 -98
- data/sig/revox/models/phone_number_list_response.rbs +46 -54
- data/sig/revox/models/phone_number_update_response.rbs +46 -54
- 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 +0 -2
- data/sig/revox/resources/assistants.rbs +4 -4
- data/sig/revox/resources/call.rbs +1 -1
- data/sig/revox/resources/campaigns.rbs +0 -12
- metadata +2 -8
- data/lib/revox/models/campaign_launch_params.rb +0 -20
- data/lib/revox/models/campaign_launch_response.rb +0 -2030
- data/rbi/revox/models/campaign_launch_params.rbi +0 -33
- data/rbi/revox/models/campaign_launch_response.rbi +0 -4170
- data/sig/revox/models/campaign_launch_params.rbs +0 -20
- data/sig/revox/models/campaign_launch_response.rbs +0 -1694
data/sig/revox/models.rbs
CHANGED
|
@@ -39,8 +39,6 @@ module Revox
|
|
|
39
39
|
|
|
40
40
|
class CampaignGetRowsParams = Revox::Models::CampaignGetRowsParams
|
|
41
41
|
|
|
42
|
-
class CampaignLaunchParams = Revox::Models::CampaignLaunchParams
|
|
43
|
-
|
|
44
42
|
class CampaignListParams = Revox::Models::CampaignListParams
|
|
45
43
|
|
|
46
44
|
class CampaignPauseParams = Revox::Models::CampaignPauseParams
|
|
@@ -13,7 +13,6 @@ module Revox
|
|
|
13
13
|
?cartesia_dictionary_pronunciation_id: String?,
|
|
14
14
|
?custom_tools: ::Array[Revox::AssistantCreateParams::CustomTool]?,
|
|
15
15
|
?email_notification_address: String?,
|
|
16
|
-
?email_notification_language: Revox::Models::AssistantCreateParams::email_notification_language,
|
|
17
16
|
?email_notification_outcomes: ::Array[Revox::Models::AssistantCreateParams::email_notification_outcome]?,
|
|
18
17
|
?end_of_call_sentence: String,
|
|
19
18
|
?faq_items: ::Array[Revox::AssistantCreateParams::FaqItem],
|
|
@@ -28,6 +27,7 @@ module Revox
|
|
|
28
27
|
?max_call_duration_secs: Float,
|
|
29
28
|
?max_duration_end_message: String?,
|
|
30
29
|
?position: Revox::AssistantCreateParams::Position?,
|
|
30
|
+
?precall_lookup_url: String?,
|
|
31
31
|
?prompt_flow: Revox::AssistantCreateParams::PromptFlow?,
|
|
32
32
|
?slack: Revox::AssistantCreateParams::Slack?,
|
|
33
33
|
?sms_enabled: bool,
|
|
@@ -39,7 +39,7 @@ module Revox
|
|
|
39
39
|
?thinking_sound: Revox::Models::AssistantCreateParams::thinking_sound?,
|
|
40
40
|
?thinking_sound_probability: Float,
|
|
41
41
|
?thinking_sound_volume: Float,
|
|
42
|
-
?
|
|
42
|
+
?transfer_destinations: ::Array[Revox::AssistantCreateParams::TransferDestination]?,
|
|
43
43
|
?type: Revox::Models::AssistantCreateParams::type_,
|
|
44
44
|
?voice: Revox::AssistantCreateParams::Voice,
|
|
45
45
|
?voicemail_message: String?,
|
|
@@ -66,7 +66,6 @@ module Revox
|
|
|
66
66
|
?cartesia_dictionary_pronunciation_id: String?,
|
|
67
67
|
?custom_tools: ::Array[Revox::AssistantUpdateParams::CustomTool]?,
|
|
68
68
|
?email_notification_address: String?,
|
|
69
|
-
?email_notification_language: Revox::Models::AssistantUpdateParams::email_notification_language,
|
|
70
69
|
?email_notification_outcomes: ::Array[Revox::Models::AssistantUpdateParams::email_notification_outcome]?,
|
|
71
70
|
?end_of_call_sentence: String,
|
|
72
71
|
?faq_items: ::Array[Revox::AssistantUpdateParams::FaqItem],
|
|
@@ -82,6 +81,7 @@ module Revox
|
|
|
82
81
|
?max_duration_end_message: String?,
|
|
83
82
|
?name: String,
|
|
84
83
|
?position: Revox::AssistantUpdateParams::Position?,
|
|
84
|
+
?precall_lookup_url: String?,
|
|
85
85
|
?prompt: String,
|
|
86
86
|
?prompt_flow: Revox::AssistantUpdateParams::PromptFlow?,
|
|
87
87
|
?slack: Revox::AssistantUpdateParams::Slack?,
|
|
@@ -94,7 +94,7 @@ module Revox
|
|
|
94
94
|
?thinking_sound: Revox::Models::AssistantUpdateParams::thinking_sound?,
|
|
95
95
|
?thinking_sound_probability: Float,
|
|
96
96
|
?thinking_sound_volume: Float,
|
|
97
|
-
?
|
|
97
|
+
?transfer_destinations: ::Array[Revox::AssistantUpdateParams::TransferDestination]?,
|
|
98
98
|
?type: Revox::Models::AssistantUpdateParams::type_,
|
|
99
99
|
?voice: Revox::AssistantUpdateParams::Voice,
|
|
100
100
|
?voicemail_message: String?,
|
|
@@ -6,11 +6,11 @@ module Revox
|
|
|
6
6
|
?assistant: Revox::CallCreateParams::Assistant,
|
|
7
7
|
?assistant_id: String,
|
|
8
8
|
?concurrency: Revox::CallCreateParams::Concurrency,
|
|
9
|
-
?force_now: bool,
|
|
10
9
|
?from_phone_number: String,
|
|
11
10
|
?metadata: ::Hash[Symbol, String],
|
|
12
11
|
?prompt_variables: ::Hash[Symbol, String],
|
|
13
12
|
?scheduled_at: Revox::Models::CallCreateParams::scheduled_at,
|
|
13
|
+
?skip_calling_window: bool,
|
|
14
14
|
?request_options: Revox::request_opts
|
|
15
15
|
) -> Revox::Models::CallCreateResponse
|
|
16
16
|
|
|
@@ -4,13 +4,10 @@ module Revox
|
|
|
4
4
|
def create: (
|
|
5
5
|
assistant_id: String,
|
|
6
6
|
contacts: ::Array[Revox::CampaignCreateParams::Contact],
|
|
7
|
-
launch: bool,
|
|
8
7
|
name: String,
|
|
9
|
-
type: Revox::Models::CampaignCreateParams::type_,
|
|
10
8
|
?call_retry_config: Revox::CampaignCreateParams::CallRetryConfig,
|
|
11
9
|
?from_phone_number: String,
|
|
12
10
|
?max_concurrent_calls: Float,
|
|
13
|
-
?scheduled_at: Revox::Models::CampaignCreateParams::scheduled_at,
|
|
14
11
|
?request_options: Revox::request_opts
|
|
15
12
|
) -> Revox::Models::CampaignCreateResponse
|
|
16
13
|
|
|
@@ -21,14 +18,10 @@ module Revox
|
|
|
21
18
|
|
|
22
19
|
def update: (
|
|
23
20
|
String id,
|
|
24
|
-
?assistant_id: String,
|
|
25
21
|
?call_retry_config: Revox::CampaignUpdateParams::CallRetryConfig?,
|
|
26
|
-
?contacts: ::Array[Revox::CampaignUpdateParams::Contact],
|
|
27
22
|
?from_phone_number: String?,
|
|
28
23
|
?max_concurrent_calls: Float?,
|
|
29
24
|
?name: String,
|
|
30
|
-
?scheduled_at: Revox::Models::CampaignUpdateParams::scheduled_at?,
|
|
31
|
-
?type: Revox::Models::CampaignUpdateParams::type_,
|
|
32
25
|
?request_options: Revox::request_opts
|
|
33
26
|
) -> Revox::Models::CampaignUpdateResponse
|
|
34
27
|
|
|
@@ -56,11 +49,6 @@ module Revox
|
|
|
56
49
|
?request_options: Revox::request_opts
|
|
57
50
|
) -> Revox::Models::CampaignGetRowsResponse
|
|
58
51
|
|
|
59
|
-
def launch: (
|
|
60
|
-
String id,
|
|
61
|
-
?request_options: Revox::request_opts
|
|
62
|
-
) -> Revox::Models::CampaignLaunchResponse
|
|
63
|
-
|
|
64
52
|
def pause: (
|
|
65
53
|
String id,
|
|
66
54
|
?request_options: Revox::request_opts
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: revox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Revox
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -109,8 +109,6 @@ files:
|
|
|
109
109
|
- lib/revox/models/campaign_export_rows_response.rb
|
|
110
110
|
- lib/revox/models/campaign_get_rows_params.rb
|
|
111
111
|
- lib/revox/models/campaign_get_rows_response.rb
|
|
112
|
-
- lib/revox/models/campaign_launch_params.rb
|
|
113
|
-
- lib/revox/models/campaign_launch_response.rb
|
|
114
112
|
- lib/revox/models/campaign_list_params.rb
|
|
115
113
|
- lib/revox/models/campaign_list_response.rb
|
|
116
114
|
- lib/revox/models/campaign_pause_params.rb
|
|
@@ -209,8 +207,6 @@ files:
|
|
|
209
207
|
- rbi/revox/models/campaign_export_rows_response.rbi
|
|
210
208
|
- rbi/revox/models/campaign_get_rows_params.rbi
|
|
211
209
|
- rbi/revox/models/campaign_get_rows_response.rbi
|
|
212
|
-
- rbi/revox/models/campaign_launch_params.rbi
|
|
213
|
-
- rbi/revox/models/campaign_launch_response.rbi
|
|
214
210
|
- rbi/revox/models/campaign_list_params.rbi
|
|
215
211
|
- rbi/revox/models/campaign_list_response.rbi
|
|
216
212
|
- rbi/revox/models/campaign_pause_params.rbi
|
|
@@ -308,8 +304,6 @@ files:
|
|
|
308
304
|
- sig/revox/models/campaign_export_rows_response.rbs
|
|
309
305
|
- sig/revox/models/campaign_get_rows_params.rbs
|
|
310
306
|
- sig/revox/models/campaign_get_rows_response.rbs
|
|
311
|
-
- sig/revox/models/campaign_launch_params.rbs
|
|
312
|
-
- sig/revox/models/campaign_launch_response.rbs
|
|
313
307
|
- sig/revox/models/campaign_list_params.rbs
|
|
314
308
|
- sig/revox/models/campaign_list_response.rbs
|
|
315
309
|
- sig/revox/models/campaign_pause_params.rbs
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Revox
|
|
4
|
-
module Models
|
|
5
|
-
# @see Revox::Resources::Campaigns#launch
|
|
6
|
-
class CampaignLaunchParams < Revox::Internal::Type::BaseModel
|
|
7
|
-
extend Revox::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Revox::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute id
|
|
11
|
-
#
|
|
12
|
-
# @return [String]
|
|
13
|
-
required :id, String
|
|
14
|
-
|
|
15
|
-
# @!method initialize(id:, request_options: {})
|
|
16
|
-
# @param id [String]
|
|
17
|
-
# @param request_options [Revox::RequestOptions, Hash{Symbol=>Object}]
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|