revox 0.1.0 → 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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +71 -0
  3. data/README.md +39 -14
  4. data/lib/revox/client.rb +15 -1
  5. data/lib/revox/internal/transport/base_client.rb +5 -0
  6. data/lib/revox/internal/util.rb +22 -7
  7. data/lib/revox/models/assistant_create_params.rb +1038 -13
  8. data/lib/revox/models/assistant_create_response.rb +1071 -11
  9. data/lib/revox/models/assistant_list_response.rb +1070 -11
  10. data/lib/revox/models/assistant_retrieve_response.rb +1066 -11
  11. data/lib/revox/models/assistant_update_params.rb +1038 -13
  12. data/lib/revox/models/assistant_update_response.rb +1097 -12
  13. data/lib/revox/models/call_create_params.rb +1065 -13
  14. data/lib/revox/models/call_create_response.rb +1813 -101
  15. data/lib/revox/models/call_retrieve_response.rb +1815 -101
  16. data/lib/revox/models/campaign_create_params.rb +67 -2
  17. data/lib/revox/models/campaign_create_response.rb +1314 -59
  18. data/lib/revox/models/campaign_get_rows_params.rb +1 -46
  19. data/lib/revox/models/campaign_get_rows_response.rb +1837 -129
  20. data/lib/revox/models/campaign_list_response.rb +1312 -59
  21. data/lib/revox/models/campaign_retrieve_response.rb +1312 -56
  22. data/lib/revox/models/users/me_retrieve_response.rb +13 -1
  23. data/lib/revox/models/users/me_update_response.rb +13 -1
  24. data/lib/revox/models/voice_list_response.rb +55 -1
  25. data/lib/revox/models/voice_preview_params.rb +49 -1
  26. data/lib/revox/models.rb +0 -2
  27. data/lib/revox/resources/assistants.rb +116 -8
  28. data/lib/revox/resources/call.rb +0 -29
  29. data/lib/revox/resources/campaigns.rb +12 -17
  30. data/lib/revox/resources/voices.rb +16 -10
  31. data/lib/revox/version.rb +1 -1
  32. data/lib/revox.rb +0 -2
  33. data/rbi/revox/internal/util.rbi +8 -0
  34. data/rbi/revox/models/assistant_create_params.rbi +2138 -103
  35. data/rbi/revox/models/assistant_create_response.rbi +2454 -199
  36. data/rbi/revox/models/assistant_list_response.rbi +2448 -195
  37. data/rbi/revox/models/assistant_retrieve_response.rbi +2401 -210
  38. data/rbi/revox/models/assistant_update_params.rbi +2138 -103
  39. data/rbi/revox/models/assistant_update_response.rbi +2504 -198
  40. data/rbi/revox/models/call_create_params.rbi +2382 -225
  41. data/rbi/revox/models/call_create_response.rbi +4104 -384
  42. data/rbi/revox/models/call_retrieve_response.rbi +4104 -382
  43. data/rbi/revox/models/campaign_create_params.rbi +136 -0
  44. data/rbi/revox/models/campaign_create_response.rbi +2911 -231
  45. data/rbi/revox/models/campaign_get_rows_params.rbi +2 -82
  46. data/rbi/revox/models/campaign_get_rows_response.rbi +4135 -410
  47. data/rbi/revox/models/campaign_list_response.rbi +2904 -230
  48. data/rbi/revox/models/campaign_retrieve_response.rbi +2911 -231
  49. data/rbi/revox/models/users/me_retrieve_response.rbi +13 -3
  50. data/rbi/revox/models/users/me_update_response.rbi +13 -3
  51. data/rbi/revox/models/voice_list_response.rbi +105 -3
  52. data/rbi/revox/models/voice_preview_params.rbi +69 -0
  53. data/rbi/revox/models.rbi +0 -2
  54. data/rbi/revox/resources/assistants.rbi +284 -8
  55. data/rbi/revox/resources/call.rbi +0 -21
  56. data/rbi/revox/resources/campaigns.rbi +12 -19
  57. data/rbi/revox/resources/voices.rbi +17 -9
  58. data/sig/revox/internal/util.rbs +4 -0
  59. data/sig/revox/models/assistant_create_params.rbs +844 -11
  60. data/sig/revox/models/assistant_create_response.rbs +860 -3
  61. data/sig/revox/models/assistant_list_response.rbs +860 -3
  62. data/sig/revox/models/assistant_retrieve_response.rbs +859 -3
  63. data/sig/revox/models/assistant_update_params.rbs +844 -11
  64. data/sig/revox/models/assistant_update_response.rbs +886 -6
  65. data/sig/revox/models/call_create_params.rbs +847 -13
  66. data/sig/revox/models/call_create_response.rbs +1514 -34
  67. data/sig/revox/models/call_retrieve_response.rbs +1514 -34
  68. data/sig/revox/models/campaign_create_params.rbs +54 -0
  69. data/sig/revox/models/campaign_create_response.rbs +1034 -6
  70. data/sig/revox/models/campaign_get_rows_params.rbs +2 -64
  71. data/sig/revox/models/campaign_get_rows_response.rbs +1522 -54
  72. data/sig/revox/models/campaign_list_response.rbs +1034 -6
  73. data/sig/revox/models/campaign_retrieve_response.rbs +1034 -6
  74. data/sig/revox/models/users/me_retrieve_response.rbs +8 -3
  75. data/sig/revox/models/users/me_update_response.rbs +8 -3
  76. data/sig/revox/models/voice_list_response.rbs +45 -3
  77. data/sig/revox/models/voice_preview_params.rbs +42 -1
  78. data/sig/revox/models.rbs +0 -2
  79. data/sig/revox/resources/assistants.rbs +56 -2
  80. data/sig/revox/resources/call.rbs +0 -7
  81. data/sig/revox/resources/campaigns.rbs +2 -5
  82. data/sig/revox/resources/voices.rbs +4 -0
  83. metadata +2 -8
  84. data/lib/revox/models/call_list_params.rb +0 -52
  85. data/lib/revox/models/call_list_response.rb +0 -259
  86. data/rbi/revox/models/call_list_params.rbi +0 -94
  87. data/rbi/revox/models/call_list_response.rbi +0 -563
  88. data/sig/revox/models/call_list_params.rbs +0 -63
  89. data/sig/revox/models/call_list_response.rbs +0 -226
@@ -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
@@ -3,7 +3,11 @@ module Revox
3
3
  type voice_preview_params =
4
4
  {
5
5
  provider: Revox::Models::VoicePreviewParams::provider,
6
- voice_id: String
6
+ voice_id: String,
7
+ model: Revox::Models::VoicePreviewParams::model,
8
+ speed: Float,
9
+ text: String,
10
+ volume: Float
7
11
  }
8
12
  & Revox::Internal::Type::request_parameters
9
13
 
@@ -15,15 +19,41 @@ module Revox
15
19
 
16
20
  attr_accessor voice_id: String
17
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
+
32
+ attr_reader text: String?
33
+
34
+ def text=: (String) -> String
35
+
36
+ attr_reader volume: Float?
37
+
38
+ def volume=: (Float) -> Float
39
+
18
40
  def initialize: (
19
41
  provider: Revox::Models::VoicePreviewParams::provider,
20
42
  voice_id: String,
43
+ ?model: Revox::Models::VoicePreviewParams::model,
44
+ ?speed: Float,
45
+ ?text: String,
46
+ ?volume: Float,
21
47
  ?request_options: Revox::request_opts
22
48
  ) -> void
23
49
 
24
50
  def to_hash: -> {
25
51
  provider: Revox::Models::VoicePreviewParams::provider,
26
52
  voice_id: String,
53
+ model: Revox::Models::VoicePreviewParams::model,
54
+ speed: Float,
55
+ text: String,
56
+ volume: Float,
27
57
  request_options: Revox::RequestOptions
28
58
  }
29
59
 
@@ -37,6 +67,17 @@ module Revox
37
67
 
38
68
  def self?.values: -> ::Array[Revox::Models::VoicePreviewParams::provider]
39
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
40
81
  end
41
82
  end
42
83
  end
data/sig/revox/models.rbs CHANGED
@@ -11,8 +11,6 @@ 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
 
18
16
  class CampaignCancelParams = Revox::Models::CampaignCancelParams
@@ -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?,
8
- ?calendly: Revox::AssistantCreateParams::Calendly,
10
+ ?background_sound_volume: Float,
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?,
34
- ?calendly: Revox::AssistantUpdateParams::Calendly,
63
+ ?background_sound_volume: Float,
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,13 +19,6 @@ module Revox
19
19
  ?request_options: Revox::request_opts
20
20
  ) -> Revox::Models::CallRetrieveResponse
21
21
 
22
- def list: (
23
- page: Integer,
24
- page_size: Integer,
25
- ?statuses: ::Array[Revox::Models::CallListParams::status],
26
- ?request_options: Revox::request_opts
27
- ) -> Revox::Models::CallListResponse
28
-
29
22
  def initialize: (client: Revox::Client) -> void
30
23
  end
31
24
  end
@@ -4,7 +4,9 @@ module Revox
4
4
  def create: (
5
5
  assistant_id: String,
6
6
  contacts: ::Array[Revox::CampaignCreateParams::Contact],
7
+ launch: bool,
7
8
  name: String,
9
+ type: Revox::Models::CampaignCreateParams::type_,
8
10
  ?call_retry_config: Revox::CampaignCreateParams::CallRetryConfig,
9
11
  ?from_phone_number: String,
10
12
  ?max_concurrent_calls: Float,
@@ -38,11 +40,6 @@ module Revox
38
40
 
39
41
  def get_rows: (
40
42
  String id,
41
- page: Float,
42
- page_size: Float,
43
- ?query: String,
44
- ?result: Revox::Models::CampaignGetRowsParams::result,
45
- ?statuses: String,
46
43
  ?request_options: Revox::request_opts
47
44
  ) -> Revox::Models::CampaignGetRowsResponse
48
45
 
@@ -14,6 +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,
19
+ ?text: String,
20
+ ?volume: Float,
17
21
  ?request_options: Revox::request_opts
18
22
  ) -> nil
19
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.1.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-03-11 00:00:00.000000000 Z
11
+ date: 2026-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi
@@ -81,8 +81,6 @@ 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
88
86
  - lib/revox/models/campaign_cancel_params.rb
@@ -148,8 +146,6 @@ files:
148
146
  - rbi/revox/models/assistant_update_response.rbi
149
147
  - rbi/revox/models/call_create_params.rbi
150
148
  - rbi/revox/models/call_create_response.rbi
151
- - rbi/revox/models/call_list_params.rbi
152
- - rbi/revox/models/call_list_response.rbi
153
149
  - rbi/revox/models/call_retrieve_params.rbi
154
150
  - rbi/revox/models/call_retrieve_response.rbi
155
151
  - rbi/revox/models/campaign_cancel_params.rbi
@@ -214,8 +210,6 @@ files:
214
210
  - sig/revox/models/assistant_update_response.rbs
215
211
  - sig/revox/models/call_create_params.rbs
216
212
  - sig/revox/models/call_create_response.rbs
217
- - sig/revox/models/call_list_params.rbs
218
- - sig/revox/models/call_list_response.rbs
219
213
  - sig/revox/models/call_retrieve_params.rbs
220
214
  - sig/revox/models/call_retrieve_response.rbs
221
215
  - sig/revox/models/campaign_cancel_params.rbs
@@ -1,52 +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 [Integer]
14
- required :page, Integer
15
-
16
- # @!attribute page_size
17
- # The number of calls to return per page.
18
- #
19
- # @return [Integer]
20
- required :page_size, Integer
21
-
22
- # @!attribute statuses
23
- #
24
- # @return [Array<Symbol, Revox::Models::CallListParams::Status>, nil]
25
- optional :statuses, -> { Revox::Internal::Type::ArrayOf[enum: Revox::CallListParams::Status] }
26
-
27
- # @!method initialize(page:, page_size:, statuses: nil, request_options: {})
28
- # @param page [Integer] The page number you want to get. Starting at 0.
29
- #
30
- # @param page_size [Integer] The number of calls to return per page.
31
- #
32
- # @param statuses [Array<Symbol, Revox::Models::CallListParams::Status>]
33
- #
34
- # @param request_options [Revox::RequestOptions, Hash{Symbol=>Object}]
35
-
36
- module Status
37
- extend Revox::Internal::Type::Enum
38
-
39
- INITIALIZING = :initializing
40
- QUEUED_FOR_CALLING = :queued_for_calling
41
- CALLING = :calling
42
- SCHEDULED = :scheduled
43
- COMPLETED = :completed
44
- CANCELLED = :cancelled
45
- ERRORED = :errored
46
-
47
- # @!method self.values
48
- # @return [Array<Symbol>]
49
- end
50
- end
51
- end
52
- end