revox 0.0.2 → 0.2.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 +96 -0
- data/README.md +88 -22
- data/lib/revox/client.rb +19 -1
- data/lib/revox/internal/transport/base_client.rb +5 -0
- data/lib/revox/internal/type/base_model.rb +3 -3
- data/lib/revox/internal/util.rb +53 -7
- data/lib/revox/models/assistant_create_params.rb +1036 -11
- data/lib/revox/models/assistant_create_response.rb +1071 -11
- data/lib/revox/models/assistant_delete_params.rb +7 -1
- data/lib/revox/models/assistant_list_response.rb +1070 -11
- data/lib/revox/models/assistant_retrieve_params.rb +7 -1
- data/lib/revox/models/assistant_retrieve_response.rb +1066 -11
- data/lib/revox/models/assistant_update_params.rb +1043 -11
- data/lib/revox/models/assistant_update_response.rb +1097 -12
- data/lib/revox/models/call_create_params.rb +1063 -11
- data/lib/revox/models/call_create_response.rb +2507 -87
- data/lib/revox/models/call_retrieve_params.rb +7 -1
- data/lib/revox/models/call_retrieve_response.rb +2512 -87
- data/lib/revox/models/campaign_cancel_params.rb +20 -0
- data/lib/revox/models/campaign_cancel_response.rb +16 -0
- data/lib/revox/models/campaign_create_params.rb +239 -0
- data/lib/revox/models/campaign_create_response.rb +2030 -0
- data/lib/revox/models/campaign_delete_params.rb +20 -0
- data/lib/revox/models/campaign_delete_response.rb +16 -0
- data/lib/revox/models/campaign_export_rows_params.rb +20 -0
- data/lib/revox/models/campaign_export_rows_response.rb +22 -0
- data/lib/revox/models/campaign_get_rows_params.rb +20 -0
- data/lib/revox/models/campaign_get_rows_response.rb +3176 -0
- data/lib/revox/models/campaign_list_params.rb +14 -0
- data/lib/revox/models/campaign_list_response.rb +2024 -0
- data/lib/revox/models/campaign_retrieve_params.rb +20 -0
- data/lib/revox/models/campaign_retrieve_response.rb +2032 -0
- data/lib/revox/models/users/me_retrieve_response.rb +13 -1
- data/lib/revox/models/users/me_update_response.rb +13 -1
- data/lib/revox/models/voice_list_response.rb +55 -1
- data/lib/revox/models/voice_preview_params.rb +43 -3
- data/lib/revox/models/voice_retrieve_params.rb +7 -1
- data/lib/revox/models.rb +14 -2
- data/lib/revox/resources/assistants.rb +138 -6
- data/lib/revox/resources/call.rb +10 -27
- data/lib/revox/resources/campaigns.rb +176 -0
- data/lib/revox/resources/voices.rb +17 -7
- data/lib/revox/version.rb +1 -1
- data/lib/revox.rb +15 -2
- data/rbi/revox/client.rbi +3 -0
- data/rbi/revox/internal/util.rbi +28 -0
- data/rbi/revox/models/assistant_create_params.rbi +2135 -102
- data/rbi/revox/models/assistant_create_response.rbi +2454 -199
- data/rbi/revox/models/assistant_delete_params.rbi +11 -5
- data/rbi/revox/models/assistant_list_response.rbi +2448 -195
- data/rbi/revox/models/assistant_retrieve_params.rbi +11 -5
- data/rbi/revox/models/assistant_retrieve_response.rbi +2401 -210
- data/rbi/revox/models/assistant_update_params.rbi +2139 -100
- data/rbi/revox/models/assistant_update_response.rbi +2504 -198
- data/rbi/revox/models/call_create_params.rbi +2377 -222
- data/rbi/revox/models/call_create_response.rbi +5840 -594
- data/rbi/revox/models/call_retrieve_params.rbi +11 -5
- data/rbi/revox/models/call_retrieve_response.rbi +5872 -618
- data/rbi/revox/models/campaign_cancel_params.rbi +33 -0
- data/rbi/revox/models/campaign_cancel_response.rbi +23 -0
- data/rbi/revox/models/campaign_create_params.rbi +433 -0
- data/rbi/revox/models/campaign_create_response.rbi +4170 -0
- data/rbi/revox/models/campaign_delete_params.rbi +33 -0
- data/rbi/revox/models/campaign_delete_response.rbi +23 -0
- data/rbi/revox/models/campaign_export_rows_params.rbi +33 -0
- data/rbi/revox/models/campaign_export_rows_response.rbi +29 -0
- data/rbi/revox/models/campaign_get_rows_params.rbi +33 -0
- data/rbi/revox/models/campaign_get_rows_response.rbi +6706 -0
- data/rbi/revox/models/campaign_list_params.rbi +27 -0
- data/rbi/revox/models/campaign_list_response.rbi +4156 -0
- data/rbi/revox/models/campaign_retrieve_params.rbi +33 -0
- data/rbi/revox/models/campaign_retrieve_response.rbi +4175 -0
- data/rbi/revox/models/users/me_retrieve_response.rbi +13 -3
- data/rbi/revox/models/users/me_update_response.rbi +13 -3
- data/rbi/revox/models/voice_list_response.rbi +105 -3
- data/rbi/revox/models/voice_preview_params.rbi +60 -2
- data/rbi/revox/models/voice_retrieve_params.rbi +6 -1
- data/rbi/revox/models.rbi +14 -2
- data/rbi/revox/resources/assistants.rbi +301 -6
- data/rbi/revox/resources/call.rbi +10 -19
- data/rbi/revox/resources/campaigns.rbi +121 -0
- data/rbi/revox/resources/voices.rbi +15 -5
- data/sig/revox/client.rbs +2 -0
- data/sig/revox/internal/util.rbs +14 -0
- data/sig/revox/models/assistant_create_params.rbs +841 -4
- data/sig/revox/models/assistant_create_response.rbs +860 -3
- data/sig/revox/models/assistant_delete_params.rbs +8 -3
- data/sig/revox/models/assistant_list_response.rbs +860 -3
- data/sig/revox/models/assistant_retrieve_params.rbs +8 -3
- data/sig/revox/models/assistant_retrieve_response.rbs +859 -3
- data/sig/revox/models/assistant_update_params.rbs +846 -4
- data/sig/revox/models/assistant_update_response.rbs +886 -6
- data/sig/revox/models/call_create_params.rbs +844 -6
- data/sig/revox/models/call_create_response.rbs +2166 -79
- data/sig/revox/models/call_retrieve_params.rbs +9 -3
- data/sig/revox/models/call_retrieve_response.rbs +2166 -79
- data/sig/revox/models/campaign_cancel_params.rbs +20 -0
- data/sig/revox/models/campaign_cancel_response.rbs +13 -0
- data/sig/revox/models/campaign_create_params.rbs +203 -0
- data/sig/revox/models/campaign_create_response.rbs +1694 -0
- data/sig/revox/models/campaign_delete_params.rbs +20 -0
- data/sig/revox/models/campaign_delete_response.rbs +13 -0
- data/sig/revox/models/campaign_export_rows_params.rbs +20 -0
- data/sig/revox/models/campaign_export_rows_response.rbs +15 -0
- data/sig/revox/models/campaign_get_rows_params.rbs +20 -0
- data/sig/revox/models/campaign_get_rows_response.rbs +2688 -0
- data/sig/revox/models/campaign_list_params.rbs +14 -0
- data/sig/revox/models/campaign_list_response.rbs +1694 -0
- data/sig/revox/models/campaign_retrieve_params.rbs +20 -0
- data/sig/revox/models/campaign_retrieve_response.rbs +1694 -0
- data/sig/revox/models/users/me_retrieve_response.rbs +8 -3
- data/sig/revox/models/users/me_update_response.rbs +8 -3
- data/sig/revox/models/voice_list_response.rbs +45 -3
- data/sig/revox/models/voice_preview_params.rbs +35 -1
- data/sig/revox/models/voice_retrieve_params.rbs +5 -1
- data/sig/revox/models.rbs +14 -2
- data/sig/revox/resources/assistants.rbs +54 -0
- data/sig/revox/resources/call.rbs +0 -6
- data/sig/revox/resources/campaigns.rbs +49 -0
- data/sig/revox/resources/voices.rbs +3 -0
- metadata +47 -8
- data/lib/revox/models/call_list_params.rb +0 -29
- data/lib/revox/models/call_list_response.rb +0 -197
- data/rbi/revox/models/call_list_params.rbi +0 -47
- data/rbi/revox/models/call_list_response.rbi +0 -401
- data/sig/revox/models/call_list_params.rbs +0 -28
- data/sig/revox/models/call_list_response.rbs +0 -171
|
@@ -22,7 +22,8 @@ module Revox
|
|
|
22
22
|
has_completed_onboarding: bool,
|
|
23
23
|
last_name: String?,
|
|
24
24
|
organization_id: String,
|
|
25
|
-
updated_at: top
|
|
25
|
+
updated_at: top,
|
|
26
|
+
organization_country: String?
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
class User < Revox::Internal::Type::BaseModel
|
|
@@ -42,6 +43,8 @@ module Revox
|
|
|
42
43
|
|
|
43
44
|
attr_accessor updated_at: top
|
|
44
45
|
|
|
46
|
+
attr_accessor organization_country: String?
|
|
47
|
+
|
|
45
48
|
def initialize: (
|
|
46
49
|
id: String,
|
|
47
50
|
created_at: top,
|
|
@@ -50,7 +53,8 @@ module Revox
|
|
|
50
53
|
has_completed_onboarding: bool,
|
|
51
54
|
last_name: String?,
|
|
52
55
|
organization_id: String,
|
|
53
|
-
updated_at: top
|
|
56
|
+
updated_at: top,
|
|
57
|
+
?organization_country: String?
|
|
54
58
|
) -> void
|
|
55
59
|
|
|
56
60
|
def to_hash: -> {
|
|
@@ -61,7 +65,8 @@ module Revox
|
|
|
61
65
|
has_completed_onboarding: bool,
|
|
62
66
|
last_name: String?,
|
|
63
67
|
organization_id: String,
|
|
64
|
-
updated_at: top
|
|
68
|
+
updated_at: top,
|
|
69
|
+
organization_country: String?
|
|
65
70
|
}
|
|
66
71
|
end
|
|
67
72
|
end
|
|
@@ -22,7 +22,8 @@ module Revox
|
|
|
22
22
|
has_completed_onboarding: bool,
|
|
23
23
|
last_name: String?,
|
|
24
24
|
organization_id: String,
|
|
25
|
-
updated_at: top
|
|
25
|
+
updated_at: top,
|
|
26
|
+
organization_country: String?
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
class User < Revox::Internal::Type::BaseModel
|
|
@@ -42,6 +43,8 @@ module Revox
|
|
|
42
43
|
|
|
43
44
|
attr_accessor updated_at: top
|
|
44
45
|
|
|
46
|
+
attr_accessor organization_country: String?
|
|
47
|
+
|
|
45
48
|
def initialize: (
|
|
46
49
|
id: String,
|
|
47
50
|
created_at: top,
|
|
@@ -50,7 +53,8 @@ module Revox
|
|
|
50
53
|
has_completed_onboarding: bool,
|
|
51
54
|
last_name: String?,
|
|
52
55
|
organization_id: String,
|
|
53
|
-
updated_at: top
|
|
56
|
+
updated_at: top,
|
|
57
|
+
?organization_country: String?
|
|
54
58
|
) -> void
|
|
55
59
|
|
|
56
60
|
def to_hash: -> {
|
|
@@ -61,7 +65,8 @@ module Revox
|
|
|
61
65
|
has_completed_onboarding: bool,
|
|
62
66
|
last_name: String?,
|
|
63
67
|
organization_id: String,
|
|
64
|
-
updated_at: top
|
|
68
|
+
updated_at: top,
|
|
69
|
+
organization_country: String?
|
|
65
70
|
}
|
|
66
71
|
end
|
|
67
72
|
end
|
|
@@ -20,7 +20,11 @@ module Revox
|
|
|
20
20
|
description: String,
|
|
21
21
|
language: Revox::Models::VoiceListResponse::Voice::language,
|
|
22
22
|
name: String,
|
|
23
|
-
provider: Revox::Models::VoiceListResponse::Voice::provider
|
|
23
|
+
provider: Revox::Models::VoiceListResponse::Voice::provider,
|
|
24
|
+
accent: String,
|
|
25
|
+
gender: String,
|
|
26
|
+
is_cloned: bool,
|
|
27
|
+
model_compat: Revox::Models::VoiceListResponse::Voice::model_compat
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
class Voice < Revox::Internal::Type::BaseModel
|
|
@@ -34,12 +38,34 @@ module Revox
|
|
|
34
38
|
|
|
35
39
|
attr_accessor provider: Revox::Models::VoiceListResponse::Voice::provider
|
|
36
40
|
|
|
41
|
+
attr_reader accent: String?
|
|
42
|
+
|
|
43
|
+
def accent=: (String) -> String
|
|
44
|
+
|
|
45
|
+
attr_reader gender: String?
|
|
46
|
+
|
|
47
|
+
def gender=: (String) -> String
|
|
48
|
+
|
|
49
|
+
attr_reader is_cloned: bool?
|
|
50
|
+
|
|
51
|
+
def is_cloned=: (bool) -> bool
|
|
52
|
+
|
|
53
|
+
attr_reader model_compat: Revox::Models::VoiceListResponse::Voice::model_compat?
|
|
54
|
+
|
|
55
|
+
def model_compat=: (
|
|
56
|
+
Revox::Models::VoiceListResponse::Voice::model_compat
|
|
57
|
+
) -> Revox::Models::VoiceListResponse::Voice::model_compat
|
|
58
|
+
|
|
37
59
|
def initialize: (
|
|
38
60
|
id: String,
|
|
39
61
|
description: String,
|
|
40
62
|
language: Revox::Models::VoiceListResponse::Voice::language,
|
|
41
63
|
name: String,
|
|
42
|
-
provider: Revox::Models::VoiceListResponse::Voice::provider
|
|
64
|
+
provider: Revox::Models::VoiceListResponse::Voice::provider,
|
|
65
|
+
?accent: String,
|
|
66
|
+
?gender: String,
|
|
67
|
+
?is_cloned: bool,
|
|
68
|
+
?model_compat: Revox::Models::VoiceListResponse::Voice::model_compat
|
|
43
69
|
) -> void
|
|
44
70
|
|
|
45
71
|
def to_hash: -> {
|
|
@@ -47,7 +73,11 @@ module Revox
|
|
|
47
73
|
description: String,
|
|
48
74
|
language: Revox::Models::VoiceListResponse::Voice::language,
|
|
49
75
|
name: String,
|
|
50
|
-
provider: Revox::Models::VoiceListResponse::Voice::provider
|
|
76
|
+
provider: Revox::Models::VoiceListResponse::Voice::provider,
|
|
77
|
+
accent: String,
|
|
78
|
+
gender: String,
|
|
79
|
+
is_cloned: bool,
|
|
80
|
+
model_compat: Revox::Models::VoiceListResponse::Voice::model_compat
|
|
51
81
|
}
|
|
52
82
|
|
|
53
83
|
type language = :en | :fr | :es | :de | :it | :pt | :ru | :zh
|
|
@@ -77,6 +107,18 @@ module Revox
|
|
|
77
107
|
|
|
78
108
|
def self?.values: -> ::Array[Revox::Models::VoiceListResponse::Voice::provider]
|
|
79
109
|
end
|
|
110
|
+
|
|
111
|
+
type model_compat = :universal | :"sonic-3" | :"sonic-3.5"
|
|
112
|
+
|
|
113
|
+
module ModelCompat
|
|
114
|
+
extend Revox::Internal::Type::Enum
|
|
115
|
+
|
|
116
|
+
UNIVERSAL: :universal
|
|
117
|
+
SONIC_3: :"sonic-3"
|
|
118
|
+
SONIC_3_5: :"sonic-3.5"
|
|
119
|
+
|
|
120
|
+
def self?.values: -> ::Array[Revox::Models::VoiceListResponse::Voice::model_compat]
|
|
121
|
+
end
|
|
80
122
|
end
|
|
81
123
|
end
|
|
82
124
|
end
|
|
@@ -4,7 +4,10 @@ module Revox
|
|
|
4
4
|
{
|
|
5
5
|
provider: Revox::Models::VoicePreviewParams::provider,
|
|
6
6
|
voice_id: String,
|
|
7
|
-
|
|
7
|
+
model: Revox::Models::VoicePreviewParams::model,
|
|
8
|
+
speed: Float,
|
|
9
|
+
text: String,
|
|
10
|
+
volume: Float
|
|
8
11
|
}
|
|
9
12
|
& Revox::Internal::Type::request_parameters
|
|
10
13
|
|
|
@@ -16,21 +19,41 @@ module Revox
|
|
|
16
19
|
|
|
17
20
|
attr_accessor voice_id: String
|
|
18
21
|
|
|
22
|
+
attr_reader model: Revox::Models::VoicePreviewParams::model?
|
|
23
|
+
|
|
24
|
+
def model=: (
|
|
25
|
+
Revox::Models::VoicePreviewParams::model
|
|
26
|
+
) -> Revox::Models::VoicePreviewParams::model
|
|
27
|
+
|
|
28
|
+
attr_reader speed: Float?
|
|
29
|
+
|
|
30
|
+
def speed=: (Float) -> Float
|
|
31
|
+
|
|
19
32
|
attr_reader text: String?
|
|
20
33
|
|
|
21
34
|
def text=: (String) -> String
|
|
22
35
|
|
|
36
|
+
attr_reader volume: Float?
|
|
37
|
+
|
|
38
|
+
def volume=: (Float) -> Float
|
|
39
|
+
|
|
23
40
|
def initialize: (
|
|
24
41
|
provider: Revox::Models::VoicePreviewParams::provider,
|
|
25
42
|
voice_id: String,
|
|
43
|
+
?model: Revox::Models::VoicePreviewParams::model,
|
|
44
|
+
?speed: Float,
|
|
26
45
|
?text: String,
|
|
46
|
+
?volume: Float,
|
|
27
47
|
?request_options: Revox::request_opts
|
|
28
48
|
) -> void
|
|
29
49
|
|
|
30
50
|
def to_hash: -> {
|
|
31
51
|
provider: Revox::Models::VoicePreviewParams::provider,
|
|
32
52
|
voice_id: String,
|
|
53
|
+
model: Revox::Models::VoicePreviewParams::model,
|
|
54
|
+
speed: Float,
|
|
33
55
|
text: String,
|
|
56
|
+
volume: Float,
|
|
34
57
|
request_options: Revox::RequestOptions
|
|
35
58
|
}
|
|
36
59
|
|
|
@@ -44,6 +67,17 @@ module Revox
|
|
|
44
67
|
|
|
45
68
|
def self?.values: -> ::Array[Revox::Models::VoicePreviewParams::provider]
|
|
46
69
|
end
|
|
70
|
+
|
|
71
|
+
type model = :"sonic-3" | :"sonic-3.5"
|
|
72
|
+
|
|
73
|
+
module Model
|
|
74
|
+
extend Revox::Internal::Type::Enum
|
|
75
|
+
|
|
76
|
+
SONIC_3: :"sonic-3"
|
|
77
|
+
SONIC_3_5: :"sonic-3.5"
|
|
78
|
+
|
|
79
|
+
def self?.values: -> ::Array[Revox::Models::VoicePreviewParams::model]
|
|
80
|
+
end
|
|
47
81
|
end
|
|
48
82
|
end
|
|
49
83
|
end
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
module Revox
|
|
2
2
|
module Models
|
|
3
3
|
type voice_retrieve_params =
|
|
4
|
-
{ provider: Revox::Models::VoiceRetrieveParams::provider }
|
|
4
|
+
{ id: String, provider: Revox::Models::VoiceRetrieveParams::provider }
|
|
5
5
|
& Revox::Internal::Type::request_parameters
|
|
6
6
|
|
|
7
7
|
class VoiceRetrieveParams < Revox::Internal::Type::BaseModel
|
|
8
8
|
extend Revox::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Revox::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
attr_accessor id: String
|
|
12
|
+
|
|
11
13
|
attr_accessor provider: Revox::Models::VoiceRetrieveParams::provider
|
|
12
14
|
|
|
13
15
|
def initialize: (
|
|
16
|
+
id: String,
|
|
14
17
|
provider: Revox::Models::VoiceRetrieveParams::provider,
|
|
15
18
|
?request_options: Revox::request_opts
|
|
16
19
|
) -> void
|
|
17
20
|
|
|
18
21
|
def to_hash: -> {
|
|
22
|
+
id: String,
|
|
19
23
|
provider: Revox::Models::VoiceRetrieveParams::provider,
|
|
20
24
|
request_options: Revox::RequestOptions
|
|
21
25
|
}
|
data/sig/revox/models.rbs
CHANGED
|
@@ -11,10 +11,22 @@ module Revox
|
|
|
11
11
|
|
|
12
12
|
class CallCreateParams = Revox::Models::CallCreateParams
|
|
13
13
|
|
|
14
|
-
class CallListParams = Revox::Models::CallListParams
|
|
15
|
-
|
|
16
14
|
class CallRetrieveParams = Revox::Models::CallRetrieveParams
|
|
17
15
|
|
|
16
|
+
class CampaignCancelParams = Revox::Models::CampaignCancelParams
|
|
17
|
+
|
|
18
|
+
class CampaignCreateParams = Revox::Models::CampaignCreateParams
|
|
19
|
+
|
|
20
|
+
class CampaignDeleteParams = Revox::Models::CampaignDeleteParams
|
|
21
|
+
|
|
22
|
+
class CampaignExportRowsParams = Revox::Models::CampaignExportRowsParams
|
|
23
|
+
|
|
24
|
+
class CampaignGetRowsParams = Revox::Models::CampaignGetRowsParams
|
|
25
|
+
|
|
26
|
+
class CampaignListParams = Revox::Models::CampaignListParams
|
|
27
|
+
|
|
28
|
+
class CampaignRetrieveParams = Revox::Models::CampaignRetrieveParams
|
|
29
|
+
|
|
18
30
|
module Users = Revox::Models::Users
|
|
19
31
|
|
|
20
32
|
class VoiceListParams = Revox::Models::VoiceListParams
|
|
@@ -4,22 +4,49 @@ module Revox
|
|
|
4
4
|
def create: (
|
|
5
5
|
name: String,
|
|
6
6
|
prompt: String,
|
|
7
|
+
?after_call_sms_outcomes: ::Array[Revox::Models::AssistantCreateParams::after_call_sms_outcome]?,
|
|
8
|
+
?after_call_sms_prompt: String?,
|
|
7
9
|
?background_sound: Revox::Models::AssistantCreateParams::background_sound?,
|
|
10
|
+
?background_sound_volume: Float,
|
|
8
11
|
?calendly: Revox::AssistantCreateParams::Calendly?,
|
|
9
12
|
?call_retry_config: Revox::AssistantCreateParams::CallRetryConfig,
|
|
13
|
+
?cartesia_dictionary_pronunciation_id: String?,
|
|
14
|
+
?custom_tools: ::Array[Revox::AssistantCreateParams::CustomTool]?,
|
|
15
|
+
?email_notification_address: String?,
|
|
16
|
+
?email_notification_language: Revox::Models::AssistantCreateParams::email_notification_language,
|
|
17
|
+
?email_notification_outcomes: ::Array[Revox::Models::AssistantCreateParams::email_notification_outcome]?,
|
|
10
18
|
?end_of_call_sentence: String,
|
|
11
19
|
?faq_items: ::Array[Revox::AssistantCreateParams::FaqItem],
|
|
12
20
|
?first_sentence: String,
|
|
13
21
|
?first_sentence_delay_ms: Integer,
|
|
14
22
|
?first_sentence_mode: Revox::Models::AssistantCreateParams::first_sentence_mode,
|
|
23
|
+
?from_phone_number: String?,
|
|
24
|
+
?human_transfer_mode: Revox::Models::AssistantCreateParams::human_transfer_mode?,
|
|
15
25
|
?ivr_navigation_enabled: bool,
|
|
16
26
|
?llm_model: Revox::Models::AssistantCreateParams::llm_model,
|
|
27
|
+
?logo_url: String?,
|
|
17
28
|
?max_call_duration_secs: Float,
|
|
29
|
+
?max_duration_end_message: String?,
|
|
30
|
+
?position: Revox::AssistantCreateParams::Position?,
|
|
31
|
+
?prompt_flow: Revox::AssistantCreateParams::PromptFlow?,
|
|
32
|
+
?slack: Revox::AssistantCreateParams::Slack?,
|
|
33
|
+
?sms_enabled: bool,
|
|
34
|
+
?sms_template: String?,
|
|
18
35
|
?structured_output_config: ::Array[Revox::AssistantCreateParams::StructuredOutputConfig],
|
|
36
|
+
?structured_output_prompt: String?,
|
|
37
|
+
?stt_context: Revox::AssistantCreateParams::SttContext?,
|
|
38
|
+
?stt_model: Revox::Models::AssistantCreateParams::stt_model,
|
|
39
|
+
?thinking_sound: Revox::Models::AssistantCreateParams::thinking_sound?,
|
|
40
|
+
?thinking_sound_probability: Float,
|
|
41
|
+
?thinking_sound_volume: Float,
|
|
19
42
|
?transfer_phone_number: String?,
|
|
43
|
+
?type: Revox::Models::AssistantCreateParams::type_,
|
|
20
44
|
?voice: Revox::AssistantCreateParams::Voice,
|
|
21
45
|
?voicemail_message: String?,
|
|
46
|
+
?voicemail_sms_prompt: String?,
|
|
47
|
+
?warm_transfer_summary_instructions: String?,
|
|
22
48
|
?webhook_url: String,
|
|
49
|
+
?zoho: Revox::AssistantCreateParams::Zoho?,
|
|
23
50
|
?request_options: Revox::request_opts
|
|
24
51
|
) -> Revox::Models::AssistantCreateResponse
|
|
25
52
|
|
|
@@ -30,24 +57,51 @@ module Revox
|
|
|
30
57
|
|
|
31
58
|
def update: (
|
|
32
59
|
String id,
|
|
60
|
+
?after_call_sms_outcomes: ::Array[Revox::Models::AssistantUpdateParams::after_call_sms_outcome]?,
|
|
61
|
+
?after_call_sms_prompt: String?,
|
|
33
62
|
?background_sound: Revox::Models::AssistantUpdateParams::background_sound?,
|
|
63
|
+
?background_sound_volume: Float,
|
|
34
64
|
?calendly: Revox::AssistantUpdateParams::Calendly?,
|
|
35
65
|
?call_retry_config: Revox::AssistantUpdateParams::CallRetryConfig,
|
|
66
|
+
?cartesia_dictionary_pronunciation_id: String?,
|
|
67
|
+
?custom_tools: ::Array[Revox::AssistantUpdateParams::CustomTool]?,
|
|
68
|
+
?email_notification_address: String?,
|
|
69
|
+
?email_notification_language: Revox::Models::AssistantUpdateParams::email_notification_language,
|
|
70
|
+
?email_notification_outcomes: ::Array[Revox::Models::AssistantUpdateParams::email_notification_outcome]?,
|
|
36
71
|
?end_of_call_sentence: String,
|
|
37
72
|
?faq_items: ::Array[Revox::AssistantUpdateParams::FaqItem],
|
|
38
73
|
?first_sentence: String,
|
|
39
74
|
?first_sentence_delay_ms: Integer,
|
|
40
75
|
?first_sentence_mode: Revox::Models::AssistantUpdateParams::first_sentence_mode,
|
|
76
|
+
?from_phone_number: String?,
|
|
77
|
+
?human_transfer_mode: Revox::Models::AssistantUpdateParams::human_transfer_mode?,
|
|
41
78
|
?ivr_navigation_enabled: bool,
|
|
42
79
|
?llm_model: Revox::Models::AssistantUpdateParams::llm_model,
|
|
80
|
+
?logo_url: String?,
|
|
43
81
|
?max_call_duration_secs: Float,
|
|
82
|
+
?max_duration_end_message: String?,
|
|
44
83
|
?name: String,
|
|
84
|
+
?position: Revox::AssistantUpdateParams::Position?,
|
|
45
85
|
?prompt: String,
|
|
86
|
+
?prompt_flow: Revox::AssistantUpdateParams::PromptFlow?,
|
|
87
|
+
?slack: Revox::AssistantUpdateParams::Slack?,
|
|
88
|
+
?sms_enabled: bool,
|
|
89
|
+
?sms_template: String?,
|
|
46
90
|
?structured_output_config: ::Array[Revox::AssistantUpdateParams::StructuredOutputConfig],
|
|
91
|
+
?structured_output_prompt: String?,
|
|
92
|
+
?stt_context: Revox::AssistantUpdateParams::SttContext?,
|
|
93
|
+
?stt_model: Revox::Models::AssistantUpdateParams::stt_model,
|
|
94
|
+
?thinking_sound: Revox::Models::AssistantUpdateParams::thinking_sound?,
|
|
95
|
+
?thinking_sound_probability: Float,
|
|
96
|
+
?thinking_sound_volume: Float,
|
|
47
97
|
?transfer_phone_number: String?,
|
|
98
|
+
?type: Revox::Models::AssistantUpdateParams::type_,
|
|
48
99
|
?voice: Revox::AssistantUpdateParams::Voice,
|
|
49
100
|
?voicemail_message: String?,
|
|
101
|
+
?voicemail_sms_prompt: String?,
|
|
102
|
+
?warm_transfer_summary_instructions: String?,
|
|
50
103
|
?webhook_url: String,
|
|
104
|
+
?zoho: Revox::AssistantUpdateParams::Zoho?,
|
|
51
105
|
?request_options: Revox::request_opts
|
|
52
106
|
) -> Revox::Models::AssistantUpdateResponse
|
|
53
107
|
|
|
@@ -19,12 +19,6 @@ module Revox
|
|
|
19
19
|
?request_options: Revox::request_opts
|
|
20
20
|
) -> Revox::Models::CallRetrieveResponse
|
|
21
21
|
|
|
22
|
-
def list: (
|
|
23
|
-
page: Float,
|
|
24
|
-
page_size: Float,
|
|
25
|
-
?request_options: Revox::request_opts
|
|
26
|
-
) -> Revox::Models::CallListResponse
|
|
27
|
-
|
|
28
22
|
def initialize: (client: Revox::Client) -> void
|
|
29
23
|
end
|
|
30
24
|
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
module Revox
|
|
2
|
+
module Resources
|
|
3
|
+
class Campaigns
|
|
4
|
+
def create: (
|
|
5
|
+
assistant_id: String,
|
|
6
|
+
contacts: ::Array[Revox::CampaignCreateParams::Contact],
|
|
7
|
+
launch: bool,
|
|
8
|
+
name: String,
|
|
9
|
+
type: Revox::Models::CampaignCreateParams::type_,
|
|
10
|
+
?call_retry_config: Revox::CampaignCreateParams::CallRetryConfig,
|
|
11
|
+
?from_phone_number: String,
|
|
12
|
+
?max_concurrent_calls: Float,
|
|
13
|
+
?scheduled_at: Revox::Models::CampaignCreateParams::scheduled_at,
|
|
14
|
+
?request_options: Revox::request_opts
|
|
15
|
+
) -> Revox::Models::CampaignCreateResponse
|
|
16
|
+
|
|
17
|
+
def retrieve: (
|
|
18
|
+
String id,
|
|
19
|
+
?request_options: Revox::request_opts
|
|
20
|
+
) -> Revox::Models::CampaignRetrieveResponse
|
|
21
|
+
|
|
22
|
+
def list: (
|
|
23
|
+
?request_options: Revox::request_opts
|
|
24
|
+
) -> Revox::Models::CampaignListResponse
|
|
25
|
+
|
|
26
|
+
def delete: (
|
|
27
|
+
String id,
|
|
28
|
+
?request_options: Revox::request_opts
|
|
29
|
+
) -> Revox::Models::CampaignDeleteResponse
|
|
30
|
+
|
|
31
|
+
def cancel: (
|
|
32
|
+
String id,
|
|
33
|
+
?request_options: Revox::request_opts
|
|
34
|
+
) -> Revox::Models::CampaignCancelResponse
|
|
35
|
+
|
|
36
|
+
def export_rows: (
|
|
37
|
+
String id,
|
|
38
|
+
?request_options: Revox::request_opts
|
|
39
|
+
) -> Revox::Models::CampaignExportRowsResponse
|
|
40
|
+
|
|
41
|
+
def get_rows: (
|
|
42
|
+
String id,
|
|
43
|
+
?request_options: Revox::request_opts
|
|
44
|
+
) -> Revox::Models::CampaignGetRowsResponse
|
|
45
|
+
|
|
46
|
+
def initialize: (client: Revox::Client) -> void
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -14,7 +14,10 @@ module Revox
|
|
|
14
14
|
def preview: (
|
|
15
15
|
provider: Revox::Models::VoicePreviewParams::provider,
|
|
16
16
|
voice_id: String,
|
|
17
|
+
?model: Revox::Models::VoicePreviewParams::model,
|
|
18
|
+
?speed: Float,
|
|
17
19
|
?text: String,
|
|
20
|
+
?volume: Float,
|
|
18
21
|
?request_options: Revox::request_opts
|
|
19
22
|
) -> nil
|
|
20
23
|
|
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.0
|
|
4
|
+
version: 0.2.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-07-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -81,10 +81,22 @@ files:
|
|
|
81
81
|
- lib/revox/models/assistant_update_response.rb
|
|
82
82
|
- lib/revox/models/call_create_params.rb
|
|
83
83
|
- lib/revox/models/call_create_response.rb
|
|
84
|
-
- lib/revox/models/call_list_params.rb
|
|
85
|
-
- lib/revox/models/call_list_response.rb
|
|
86
84
|
- lib/revox/models/call_retrieve_params.rb
|
|
87
85
|
- lib/revox/models/call_retrieve_response.rb
|
|
86
|
+
- lib/revox/models/campaign_cancel_params.rb
|
|
87
|
+
- lib/revox/models/campaign_cancel_response.rb
|
|
88
|
+
- lib/revox/models/campaign_create_params.rb
|
|
89
|
+
- lib/revox/models/campaign_create_response.rb
|
|
90
|
+
- lib/revox/models/campaign_delete_params.rb
|
|
91
|
+
- lib/revox/models/campaign_delete_response.rb
|
|
92
|
+
- lib/revox/models/campaign_export_rows_params.rb
|
|
93
|
+
- lib/revox/models/campaign_export_rows_response.rb
|
|
94
|
+
- lib/revox/models/campaign_get_rows_params.rb
|
|
95
|
+
- lib/revox/models/campaign_get_rows_response.rb
|
|
96
|
+
- lib/revox/models/campaign_list_params.rb
|
|
97
|
+
- lib/revox/models/campaign_list_response.rb
|
|
98
|
+
- lib/revox/models/campaign_retrieve_params.rb
|
|
99
|
+
- lib/revox/models/campaign_retrieve_response.rb
|
|
88
100
|
- lib/revox/models/users/me_retrieve_params.rb
|
|
89
101
|
- lib/revox/models/users/me_retrieve_response.rb
|
|
90
102
|
- lib/revox/models/users/me_update_params.rb
|
|
@@ -97,6 +109,7 @@ files:
|
|
|
97
109
|
- lib/revox/request_options.rb
|
|
98
110
|
- lib/revox/resources/assistants.rb
|
|
99
111
|
- lib/revox/resources/call.rb
|
|
112
|
+
- lib/revox/resources/campaigns.rb
|
|
100
113
|
- lib/revox/resources/users.rb
|
|
101
114
|
- lib/revox/resources/users/me.rb
|
|
102
115
|
- lib/revox/resources/voices.rb
|
|
@@ -133,10 +146,22 @@ files:
|
|
|
133
146
|
- rbi/revox/models/assistant_update_response.rbi
|
|
134
147
|
- rbi/revox/models/call_create_params.rbi
|
|
135
148
|
- rbi/revox/models/call_create_response.rbi
|
|
136
|
-
- rbi/revox/models/call_list_params.rbi
|
|
137
|
-
- rbi/revox/models/call_list_response.rbi
|
|
138
149
|
- rbi/revox/models/call_retrieve_params.rbi
|
|
139
150
|
- rbi/revox/models/call_retrieve_response.rbi
|
|
151
|
+
- rbi/revox/models/campaign_cancel_params.rbi
|
|
152
|
+
- rbi/revox/models/campaign_cancel_response.rbi
|
|
153
|
+
- rbi/revox/models/campaign_create_params.rbi
|
|
154
|
+
- rbi/revox/models/campaign_create_response.rbi
|
|
155
|
+
- rbi/revox/models/campaign_delete_params.rbi
|
|
156
|
+
- rbi/revox/models/campaign_delete_response.rbi
|
|
157
|
+
- rbi/revox/models/campaign_export_rows_params.rbi
|
|
158
|
+
- rbi/revox/models/campaign_export_rows_response.rbi
|
|
159
|
+
- rbi/revox/models/campaign_get_rows_params.rbi
|
|
160
|
+
- rbi/revox/models/campaign_get_rows_response.rbi
|
|
161
|
+
- rbi/revox/models/campaign_list_params.rbi
|
|
162
|
+
- rbi/revox/models/campaign_list_response.rbi
|
|
163
|
+
- rbi/revox/models/campaign_retrieve_params.rbi
|
|
164
|
+
- rbi/revox/models/campaign_retrieve_response.rbi
|
|
140
165
|
- rbi/revox/models/users/me_retrieve_params.rbi
|
|
141
166
|
- rbi/revox/models/users/me_retrieve_response.rbi
|
|
142
167
|
- rbi/revox/models/users/me_update_params.rbi
|
|
@@ -149,6 +174,7 @@ files:
|
|
|
149
174
|
- rbi/revox/request_options.rbi
|
|
150
175
|
- rbi/revox/resources/assistants.rbi
|
|
151
176
|
- rbi/revox/resources/call.rbi
|
|
177
|
+
- rbi/revox/resources/campaigns.rbi
|
|
152
178
|
- rbi/revox/resources/users.rbi
|
|
153
179
|
- rbi/revox/resources/users/me.rbi
|
|
154
180
|
- rbi/revox/resources/voices.rbi
|
|
@@ -184,10 +210,22 @@ files:
|
|
|
184
210
|
- sig/revox/models/assistant_update_response.rbs
|
|
185
211
|
- sig/revox/models/call_create_params.rbs
|
|
186
212
|
- sig/revox/models/call_create_response.rbs
|
|
187
|
-
- sig/revox/models/call_list_params.rbs
|
|
188
|
-
- sig/revox/models/call_list_response.rbs
|
|
189
213
|
- sig/revox/models/call_retrieve_params.rbs
|
|
190
214
|
- sig/revox/models/call_retrieve_response.rbs
|
|
215
|
+
- sig/revox/models/campaign_cancel_params.rbs
|
|
216
|
+
- sig/revox/models/campaign_cancel_response.rbs
|
|
217
|
+
- sig/revox/models/campaign_create_params.rbs
|
|
218
|
+
- sig/revox/models/campaign_create_response.rbs
|
|
219
|
+
- sig/revox/models/campaign_delete_params.rbs
|
|
220
|
+
- sig/revox/models/campaign_delete_response.rbs
|
|
221
|
+
- sig/revox/models/campaign_export_rows_params.rbs
|
|
222
|
+
- sig/revox/models/campaign_export_rows_response.rbs
|
|
223
|
+
- sig/revox/models/campaign_get_rows_params.rbs
|
|
224
|
+
- sig/revox/models/campaign_get_rows_response.rbs
|
|
225
|
+
- sig/revox/models/campaign_list_params.rbs
|
|
226
|
+
- sig/revox/models/campaign_list_response.rbs
|
|
227
|
+
- sig/revox/models/campaign_retrieve_params.rbs
|
|
228
|
+
- sig/revox/models/campaign_retrieve_response.rbs
|
|
191
229
|
- sig/revox/models/users/me_retrieve_params.rbs
|
|
192
230
|
- sig/revox/models/users/me_retrieve_response.rbs
|
|
193
231
|
- sig/revox/models/users/me_update_params.rbs
|
|
@@ -200,6 +238,7 @@ files:
|
|
|
200
238
|
- sig/revox/request_options.rbs
|
|
201
239
|
- sig/revox/resources/assistants.rbs
|
|
202
240
|
- sig/revox/resources/call.rbs
|
|
241
|
+
- sig/revox/resources/campaigns.rbs
|
|
203
242
|
- sig/revox/resources/users.rbs
|
|
204
243
|
- sig/revox/resources/users/me.rbs
|
|
205
244
|
- sig/revox/resources/voices.rbs
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Revox
|
|
4
|
-
module Models
|
|
5
|
-
# @see Revox::Resources::Call#list
|
|
6
|
-
class CallListParams < Revox::Internal::Type::BaseModel
|
|
7
|
-
extend Revox::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Revox::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute page
|
|
11
|
-
# The page number you want to get. Starting at 0.
|
|
12
|
-
#
|
|
13
|
-
# @return [Float]
|
|
14
|
-
required :page, Float
|
|
15
|
-
|
|
16
|
-
# @!attribute page_size
|
|
17
|
-
#
|
|
18
|
-
# @return [Float]
|
|
19
|
-
required :page_size, Float
|
|
20
|
-
|
|
21
|
-
# @!method initialize(page:, page_size:, request_options: {})
|
|
22
|
-
# @param page [Float] The page number you want to get. Starting at 0.
|
|
23
|
-
#
|
|
24
|
-
# @param page_size [Float]
|
|
25
|
-
#
|
|
26
|
-
# @param request_options [Revox::RequestOptions, Hash{Symbol=>Object}]
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|