revox 0.2.0 → 0.3.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 +10 -0
- data/README.md +1 -1
- 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 +1594 -0
- 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_response.rb +11 -1
- data/lib/revox/models/call_export_params.rb +205 -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 +98 -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 +11 -1
- data/lib/revox/models/call_search_params.rb +171 -0
- data/lib/revox/models/call_search_response.rb +3114 -0
- data/lib/revox/models/campaign_get_rows_response.rb +11 -1
- data/lib/revox/models/campaign_launch_params.rb +20 -0
- data/lib/revox/models/campaign_launch_response.rb +2030 -0
- 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_statistics_params.rb +20 -0
- data/lib/revox/models/campaign_statistics_response.rb +486 -0
- data/lib/revox/models/campaign_update_params.rb +234 -0
- data/lib/revox/models/campaign_update_response.rb +2030 -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 +1777 -0
- data/lib/revox/models/phone_number_update_params.rb +32 -0
- data/lib/revox/models/phone_number_update_response.rb +1777 -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.rb +37 -1
- data/lib/revox/resources/assistants.rb +21 -0
- data/lib/revox/resources/auth_status.rb +32 -0
- data/lib/revox/resources/call.rb +145 -0
- data/lib/revox/resources/campaigns.rb +131 -0
- 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 +40 -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 +3341 -0
- 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_response.rbi +12 -0
- data/rbi/revox/models/call_export_params.rbi +456 -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 +224 -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 +12 -0
- data/rbi/revox/models/call_search_params.rbi +288 -0
- data/rbi/revox/models/call_search_response.rbi +6593 -0
- data/rbi/revox/models/campaign_get_rows_response.rbi +12 -0
- data/rbi/revox/models/campaign_launch_params.rbi +33 -0
- data/rbi/revox/models/campaign_launch_response.rbi +4170 -0
- 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_statistics_params.rbi +33 -0
- data/rbi/revox/models/campaign_statistics_response.rbi +1011 -0
- data/rbi/revox/models/campaign_update_params.rbi +431 -0
- data/rbi/revox/models/campaign_update_response.rbi +4170 -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 +3680 -0
- data/rbi/revox/models/phone_number_update_params.rbi +53 -0
- data/rbi/revox/models/phone_number_update_response.rbi +3683 -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.rbi +37 -1
- data/rbi/revox/resources/assistants.rbi +12 -0
- data/rbi/revox/resources/auth_status.rbi +21 -0
- data/rbi/revox/resources/call.rbi +107 -0
- data/rbi/revox/resources/campaigns.rbi +94 -0
- 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 +1318 -0
- 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_response.rbs +5 -0
- data/sig/revox/models/call_export_params.rbs +234 -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 +102 -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 +5 -0
- data/sig/revox/models/call_search_params.rbs +198 -0
- data/sig/revox/models/call_search_response.rbs +2654 -0
- data/sig/revox/models/campaign_get_rows_response.rbs +5 -0
- data/sig/revox/models/campaign_launch_params.rbs +20 -0
- data/sig/revox/models/campaign_launch_response.rbs +1694 -0
- 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_statistics_params.rbs +20 -0
- data/sig/revox/models/campaign_statistics_response.rbs +458 -0
- data/sig/revox/models/campaign_update_params.rbs +203 -0
- data/sig/revox/models/campaign_update_response.rbs +1694 -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 +1462 -0
- data/sig/revox/models/phone_number_update_params.rbs +32 -0
- data/sig/revox/models/phone_number_update_response.rbs +1460 -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.rbs +37 -1
- data/sig/revox/resources/assistants.rbs +5 -0
- data/sig/revox/resources/auth_status.rbs +11 -0
- data/sig/revox/resources/call.rbs +45 -0
- data/sig/revox/resources/campaigns.rbs +33 -0
- 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 +121 -16
- 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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Revox
|
|
2
|
+
module Models
|
|
3
|
+
type user_retrieve_params = { } & Revox::Internal::Type::request_parameters
|
|
4
|
+
|
|
5
|
+
class UserRetrieveParams < Revox::Internal::Type::BaseModel
|
|
6
|
+
extend Revox::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Revox::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
def initialize: (?request_options: Revox::request_opts) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { request_options: Revox::RequestOptions }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
module Revox
|
|
2
|
+
module Models
|
|
3
|
+
type user_retrieve_response =
|
|
4
|
+
{ user: Revox::Models::UserRetrieveResponse::User }
|
|
5
|
+
|
|
6
|
+
class UserRetrieveResponse < Revox::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor user: Revox::Models::UserRetrieveResponse::User
|
|
8
|
+
|
|
9
|
+
def initialize: (user: Revox::Models::UserRetrieveResponse::User) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { user: Revox::Models::UserRetrieveResponse::User }
|
|
12
|
+
|
|
13
|
+
type user =
|
|
14
|
+
{
|
|
15
|
+
id: String,
|
|
16
|
+
created_at: top,
|
|
17
|
+
email: String,
|
|
18
|
+
first_name: String?,
|
|
19
|
+
has_completed_onboarding: bool,
|
|
20
|
+
last_name: String?,
|
|
21
|
+
organization_id: String,
|
|
22
|
+
updated_at: top,
|
|
23
|
+
organization_country: String?
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
class User < Revox::Internal::Type::BaseModel
|
|
27
|
+
attr_accessor id: String
|
|
28
|
+
|
|
29
|
+
attr_accessor created_at: top
|
|
30
|
+
|
|
31
|
+
attr_accessor email: String
|
|
32
|
+
|
|
33
|
+
attr_accessor first_name: String?
|
|
34
|
+
|
|
35
|
+
attr_accessor has_completed_onboarding: bool
|
|
36
|
+
|
|
37
|
+
attr_accessor last_name: String?
|
|
38
|
+
|
|
39
|
+
attr_accessor organization_id: String
|
|
40
|
+
|
|
41
|
+
attr_accessor updated_at: top
|
|
42
|
+
|
|
43
|
+
attr_accessor organization_country: String?
|
|
44
|
+
|
|
45
|
+
def initialize: (
|
|
46
|
+
id: String,
|
|
47
|
+
created_at: top,
|
|
48
|
+
email: String,
|
|
49
|
+
first_name: String?,
|
|
50
|
+
has_completed_onboarding: bool,
|
|
51
|
+
last_name: String?,
|
|
52
|
+
organization_id: String,
|
|
53
|
+
updated_at: top,
|
|
54
|
+
?organization_country: String?
|
|
55
|
+
) -> void
|
|
56
|
+
|
|
57
|
+
def to_hash: -> {
|
|
58
|
+
id: String,
|
|
59
|
+
created_at: top,
|
|
60
|
+
email: String,
|
|
61
|
+
first_name: String?,
|
|
62
|
+
has_completed_onboarding: bool,
|
|
63
|
+
last_name: String?,
|
|
64
|
+
organization_id: String,
|
|
65
|
+
updated_at: top,
|
|
66
|
+
organization_country: String?
|
|
67
|
+
}
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
module Revox
|
|
2
|
+
module Models
|
|
3
|
+
type voice_clone_params =
|
|
4
|
+
{
|
|
5
|
+
audio: String,
|
|
6
|
+
content_type: Revox::Models::VoiceCloneParams::content_type,
|
|
7
|
+
language: Revox::Models::VoiceCloneParams::language,
|
|
8
|
+
name: String
|
|
9
|
+
}
|
|
10
|
+
& Revox::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class VoiceCloneParams < Revox::Internal::Type::BaseModel
|
|
13
|
+
extend Revox::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Revox::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor audio: String
|
|
17
|
+
|
|
18
|
+
attr_accessor content_type: Revox::Models::VoiceCloneParams::content_type
|
|
19
|
+
|
|
20
|
+
attr_accessor language: Revox::Models::VoiceCloneParams::language
|
|
21
|
+
|
|
22
|
+
attr_accessor name: String
|
|
23
|
+
|
|
24
|
+
def initialize: (
|
|
25
|
+
audio: String,
|
|
26
|
+
content_type: Revox::Models::VoiceCloneParams::content_type,
|
|
27
|
+
language: Revox::Models::VoiceCloneParams::language,
|
|
28
|
+
name: String,
|
|
29
|
+
?request_options: Revox::request_opts
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
audio: String,
|
|
34
|
+
content_type: Revox::Models::VoiceCloneParams::content_type,
|
|
35
|
+
language: Revox::Models::VoiceCloneParams::language,
|
|
36
|
+
name: String,
|
|
37
|
+
request_options: Revox::RequestOptions
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
type content_type =
|
|
41
|
+
:"audio/webm"
|
|
42
|
+
| :"audio/wav"
|
|
43
|
+
| :"audio/mpeg"
|
|
44
|
+
| :"audio/ogg"
|
|
45
|
+
| :"audio/mp4"
|
|
46
|
+
| :"video/webm"
|
|
47
|
+
|
|
48
|
+
module ContentType
|
|
49
|
+
extend Revox::Internal::Type::Enum
|
|
50
|
+
|
|
51
|
+
AUDIO_WEBM: :"audio/webm"
|
|
52
|
+
AUDIO_WAV: :"audio/wav"
|
|
53
|
+
AUDIO_MPEG: :"audio/mpeg"
|
|
54
|
+
AUDIO_OGG: :"audio/ogg"
|
|
55
|
+
AUDIO_MP4: :"audio/mp4"
|
|
56
|
+
VIDEO_WEBM: :"video/webm"
|
|
57
|
+
|
|
58
|
+
def self?.values: -> ::Array[Revox::Models::VoiceCloneParams::content_type]
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
type language = :en | :fr | :es | :de | :it | :pt | :ru | :zh
|
|
62
|
+
|
|
63
|
+
module Language
|
|
64
|
+
extend Revox::Internal::Type::Enum
|
|
65
|
+
|
|
66
|
+
EN: :en
|
|
67
|
+
FR: :fr
|
|
68
|
+
ES: :es
|
|
69
|
+
DE: :de
|
|
70
|
+
IT: :it
|
|
71
|
+
PT: :pt
|
|
72
|
+
RU: :ru
|
|
73
|
+
ZH: :zh
|
|
74
|
+
|
|
75
|
+
def self?.values: -> ::Array[Revox::Models::VoiceCloneParams::language]
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module Revox
|
|
2
|
+
module Models
|
|
3
|
+
type voice_clone_response =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
cartesia_voice_id: String,
|
|
7
|
+
created_at: String,
|
|
8
|
+
language: String,
|
|
9
|
+
name: String
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class VoiceCloneResponse < Revox::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor id: String
|
|
14
|
+
|
|
15
|
+
attr_accessor cartesia_voice_id: String
|
|
16
|
+
|
|
17
|
+
attr_accessor created_at: String
|
|
18
|
+
|
|
19
|
+
attr_accessor language: String
|
|
20
|
+
|
|
21
|
+
attr_accessor name: String
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
id: String,
|
|
25
|
+
cartesia_voice_id: String,
|
|
26
|
+
created_at: String,
|
|
27
|
+
language: String,
|
|
28
|
+
name: String
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
id: String,
|
|
33
|
+
cartesia_voice_id: String,
|
|
34
|
+
created_at: String,
|
|
35
|
+
language: String,
|
|
36
|
+
name: String
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module Revox
|
|
2
|
+
module Models
|
|
3
|
+
type voice_delete_params =
|
|
4
|
+
{ id: String } & Revox::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class VoiceDeleteParams < Revox::Internal::Type::BaseModel
|
|
7
|
+
extend Revox::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Revox::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
attr_accessor id: String
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
id: String,
|
|
14
|
+
?request_options: Revox::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> { id: String, request_options: Revox::RequestOptions }
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module Revox
|
|
2
|
+
module Models
|
|
3
|
+
type voice_delete_response = { success: bool }
|
|
4
|
+
|
|
5
|
+
class VoiceDeleteResponse < Revox::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor success: bool
|
|
7
|
+
|
|
8
|
+
def initialize: (success: bool) -> void
|
|
9
|
+
|
|
10
|
+
def to_hash: -> { success: bool }
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
data/sig/revox/models.rbs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
module Revox
|
|
2
|
+
class AssistantCloneParams = Revox::Models::AssistantCloneParams
|
|
3
|
+
|
|
2
4
|
class AssistantCreateParams = Revox::Models::AssistantCreateParams
|
|
3
5
|
|
|
4
6
|
class AssistantDeleteParams = Revox::Models::AssistantDeleteParams
|
|
@@ -9,10 +11,24 @@ module Revox
|
|
|
9
11
|
|
|
10
12
|
class AssistantUpdateParams = Revox::Models::AssistantUpdateParams
|
|
11
13
|
|
|
14
|
+
class AuthStatusRetrieveParams = Revox::Models::AuthStatusRetrieveParams
|
|
15
|
+
|
|
16
|
+
class CallCancelParams = Revox::Models::CallCancelParams
|
|
17
|
+
|
|
12
18
|
class CallCreateParams = Revox::Models::CallCreateParams
|
|
13
19
|
|
|
20
|
+
class CallExportParams = Revox::Models::CallExportParams
|
|
21
|
+
|
|
22
|
+
class CallPauseParams = Revox::Models::CallPauseParams
|
|
23
|
+
|
|
24
|
+
class CallPhoneHistoryParams = Revox::Models::CallPhoneHistoryParams
|
|
25
|
+
|
|
26
|
+
class CallResumeParams = Revox::Models::CallResumeParams
|
|
27
|
+
|
|
14
28
|
class CallRetrieveParams = Revox::Models::CallRetrieveParams
|
|
15
29
|
|
|
30
|
+
class CallSearchParams = Revox::Models::CallSearchParams
|
|
31
|
+
|
|
16
32
|
class CampaignCancelParams = Revox::Models::CampaignCancelParams
|
|
17
33
|
|
|
18
34
|
class CampaignCreateParams = Revox::Models::CampaignCreateParams
|
|
@@ -23,11 +39,31 @@ module Revox
|
|
|
23
39
|
|
|
24
40
|
class CampaignGetRowsParams = Revox::Models::CampaignGetRowsParams
|
|
25
41
|
|
|
42
|
+
class CampaignLaunchParams = Revox::Models::CampaignLaunchParams
|
|
43
|
+
|
|
26
44
|
class CampaignListParams = Revox::Models::CampaignListParams
|
|
27
45
|
|
|
46
|
+
class CampaignPauseParams = Revox::Models::CampaignPauseParams
|
|
47
|
+
|
|
48
|
+
class CampaignResumeParams = Revox::Models::CampaignResumeParams
|
|
49
|
+
|
|
28
50
|
class CampaignRetrieveParams = Revox::Models::CampaignRetrieveParams
|
|
29
51
|
|
|
30
|
-
|
|
52
|
+
class CampaignStatisticsParams = Revox::Models::CampaignStatisticsParams
|
|
53
|
+
|
|
54
|
+
class CampaignUpdateParams = Revox::Models::CampaignUpdateParams
|
|
55
|
+
|
|
56
|
+
class PhoneNumberDeleteParams = Revox::Models::PhoneNumberDeleteParams
|
|
57
|
+
|
|
58
|
+
class PhoneNumberListParams = Revox::Models::PhoneNumberListParams
|
|
59
|
+
|
|
60
|
+
class PhoneNumberUpdateParams = Revox::Models::PhoneNumberUpdateParams
|
|
61
|
+
|
|
62
|
+
class UserRetrieveParams = Revox::Models::UserRetrieveParams
|
|
63
|
+
|
|
64
|
+
class VoiceCloneParams = Revox::Models::VoiceCloneParams
|
|
65
|
+
|
|
66
|
+
class VoiceDeleteParams = Revox::Models::VoiceDeleteParams
|
|
31
67
|
|
|
32
68
|
class VoiceListParams = Revox::Models::VoiceListParams
|
|
33
69
|
|
|
@@ -114,6 +114,11 @@ module Revox
|
|
|
114
114
|
?request_options: Revox::request_opts
|
|
115
115
|
) -> Revox::Models::AssistantDeleteResponse
|
|
116
116
|
|
|
117
|
+
def clone_: (
|
|
118
|
+
String id,
|
|
119
|
+
?request_options: Revox::request_opts
|
|
120
|
+
) -> Revox::Models::AssistantCloneResponse
|
|
121
|
+
|
|
117
122
|
def initialize: (client: Revox::Client) -> void
|
|
118
123
|
end
|
|
119
124
|
end
|
|
@@ -19,6 +19,51 @@ module Revox
|
|
|
19
19
|
?request_options: Revox::request_opts
|
|
20
20
|
) -> Revox::Models::CallRetrieveResponse
|
|
21
21
|
|
|
22
|
+
def cancel: (
|
|
23
|
+
String id,
|
|
24
|
+
?request_options: Revox::request_opts
|
|
25
|
+
) -> Revox::Models::CallCancelResponse
|
|
26
|
+
|
|
27
|
+
def export: (
|
|
28
|
+
filters: Revox::CallExportParams::Filters,
|
|
29
|
+
?include_metadata: bool,
|
|
30
|
+
?include_structured_output_fields: bool,
|
|
31
|
+
?request_options: Revox::request_opts
|
|
32
|
+
) -> Revox::Models::CallExportResponse
|
|
33
|
+
|
|
34
|
+
def pause: (
|
|
35
|
+
String id,
|
|
36
|
+
?request_options: Revox::request_opts
|
|
37
|
+
) -> Revox::Models::CallPauseResponse
|
|
38
|
+
|
|
39
|
+
def phone_history: (
|
|
40
|
+
?request_options: Revox::request_opts
|
|
41
|
+
) -> Revox::Models::CallPhoneHistoryResponse
|
|
42
|
+
|
|
43
|
+
def resume: (
|
|
44
|
+
String id,
|
|
45
|
+
?request_options: Revox::request_opts
|
|
46
|
+
) -> Revox::Models::CallResumeResponse
|
|
47
|
+
|
|
48
|
+
def search: (
|
|
49
|
+
assignee_ids: ::Array[String],
|
|
50
|
+
assistant_ids: ::Array[String],
|
|
51
|
+
campaign_ids: ::Array[String],
|
|
52
|
+
directions: ::Array[Revox::Models::CallSearchParams::direction],
|
|
53
|
+
from_phone_numbers: ::Array[String],
|
|
54
|
+
outcomes: ::Array[Revox::Models::CallSearchParams::outcome],
|
|
55
|
+
page: Integer,
|
|
56
|
+
page_size: Integer,
|
|
57
|
+
results: ::Array[Revox::Models::CallSearchParams::result],
|
|
58
|
+
statuses: ::Array[Revox::Models::CallSearchParams::status],
|
|
59
|
+
?call_ids: ::Array[String],
|
|
60
|
+
?query: String,
|
|
61
|
+
?sort_by: String,
|
|
62
|
+
?sort_direction: Revox::Models::CallSearchParams::sort_direction,
|
|
63
|
+
?to_phone_number: String,
|
|
64
|
+
?request_options: Revox::request_opts
|
|
65
|
+
) -> Revox::Models::CallSearchResponse
|
|
66
|
+
|
|
22
67
|
def initialize: (client: Revox::Client) -> void
|
|
23
68
|
end
|
|
24
69
|
end
|
|
@@ -19,6 +19,19 @@ module Revox
|
|
|
19
19
|
?request_options: Revox::request_opts
|
|
20
20
|
) -> Revox::Models::CampaignRetrieveResponse
|
|
21
21
|
|
|
22
|
+
def update: (
|
|
23
|
+
String id,
|
|
24
|
+
?assistant_id: String,
|
|
25
|
+
?call_retry_config: Revox::CampaignUpdateParams::CallRetryConfig?,
|
|
26
|
+
?contacts: ::Array[Revox::CampaignUpdateParams::Contact],
|
|
27
|
+
?from_phone_number: String?,
|
|
28
|
+
?max_concurrent_calls: Float?,
|
|
29
|
+
?name: String,
|
|
30
|
+
?scheduled_at: Revox::Models::CampaignUpdateParams::scheduled_at?,
|
|
31
|
+
?type: Revox::Models::CampaignUpdateParams::type_,
|
|
32
|
+
?request_options: Revox::request_opts
|
|
33
|
+
) -> Revox::Models::CampaignUpdateResponse
|
|
34
|
+
|
|
22
35
|
def list: (
|
|
23
36
|
?request_options: Revox::request_opts
|
|
24
37
|
) -> Revox::Models::CampaignListResponse
|
|
@@ -43,6 +56,26 @@ module Revox
|
|
|
43
56
|
?request_options: Revox::request_opts
|
|
44
57
|
) -> Revox::Models::CampaignGetRowsResponse
|
|
45
58
|
|
|
59
|
+
def launch: (
|
|
60
|
+
String id,
|
|
61
|
+
?request_options: Revox::request_opts
|
|
62
|
+
) -> Revox::Models::CampaignLaunchResponse
|
|
63
|
+
|
|
64
|
+
def pause: (
|
|
65
|
+
String id,
|
|
66
|
+
?request_options: Revox::request_opts
|
|
67
|
+
) -> Revox::Models::CampaignPauseResponse
|
|
68
|
+
|
|
69
|
+
def resume: (
|
|
70
|
+
String id,
|
|
71
|
+
?request_options: Revox::request_opts
|
|
72
|
+
) -> Revox::Models::CampaignResumeResponse
|
|
73
|
+
|
|
74
|
+
def statistics: (
|
|
75
|
+
String id,
|
|
76
|
+
?request_options: Revox::request_opts
|
|
77
|
+
) -> Revox::Models::CampaignStatisticsResponse
|
|
78
|
+
|
|
46
79
|
def initialize: (client: Revox::Client) -> void
|
|
47
80
|
end
|
|
48
81
|
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module Revox
|
|
2
|
+
module Resources
|
|
3
|
+
class PhoneNumbers
|
|
4
|
+
def update: (
|
|
5
|
+
String id,
|
|
6
|
+
?inbound_assistant_id: String?,
|
|
7
|
+
?label: String?,
|
|
8
|
+
?request_options: Revox::request_opts
|
|
9
|
+
) -> Revox::Models::PhoneNumberUpdateResponse
|
|
10
|
+
|
|
11
|
+
def list: (
|
|
12
|
+
?request_options: Revox::request_opts
|
|
13
|
+
) -> Revox::Models::PhoneNumberListResponse
|
|
14
|
+
|
|
15
|
+
def delete: (
|
|
16
|
+
String id,
|
|
17
|
+
?request_options: Revox::request_opts
|
|
18
|
+
) -> Revox::Models::PhoneNumberDeleteResponse
|
|
19
|
+
|
|
20
|
+
def initialize: (client: Revox::Client) -> void
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -11,6 +11,19 @@ module Revox
|
|
|
11
11
|
?request_options: Revox::request_opts
|
|
12
12
|
) -> Revox::Models::VoiceListResponse
|
|
13
13
|
|
|
14
|
+
def delete: (
|
|
15
|
+
String id,
|
|
16
|
+
?request_options: Revox::request_opts
|
|
17
|
+
) -> Revox::Models::VoiceDeleteResponse
|
|
18
|
+
|
|
19
|
+
def clone_: (
|
|
20
|
+
audio: String,
|
|
21
|
+
content_type: Revox::Models::VoiceCloneParams::content_type,
|
|
22
|
+
language: Revox::Models::VoiceCloneParams::language,
|
|
23
|
+
name: String,
|
|
24
|
+
?request_options: Revox::request_opts
|
|
25
|
+
) -> Revox::Models::VoiceCloneResponse
|
|
26
|
+
|
|
14
27
|
def preview: (
|
|
15
28
|
provider: Revox::Models::VoicePreviewParams::provider,
|
|
16
29
|
voice_id: String,
|