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.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +38 -38
  4. data/lib/revox/models/assistant_clone_response.rb +87 -65
  5. data/lib/revox/models/assistant_create_params.rb +90 -66
  6. data/lib/revox/models/assistant_create_response.rb +87 -65
  7. data/lib/revox/models/assistant_list_response.rb +87 -65
  8. data/lib/revox/models/assistant_retrieve_response.rb +86 -65
  9. data/lib/revox/models/assistant_update_params.rb +90 -66
  10. data/lib/revox/models/assistant_update_response.rb +87 -65
  11. data/lib/revox/models/call_create_params.rb +117 -90
  12. data/lib/revox/models/call_create_response.rb +670 -90
  13. data/lib/revox/models/call_export_params.rb +1 -3
  14. data/lib/revox/models/call_phone_history_response.rb +0 -3
  15. data/lib/revox/models/call_retrieve_response.rb +671 -90
  16. data/lib/revox/models/call_search_params.rb +1 -3
  17. data/lib/revox/models/call_search_response.rb +670 -90
  18. data/lib/revox/models/campaign_create_params.rb +7 -57
  19. data/lib/revox/models/campaign_create_response.rb +108 -119
  20. data/lib/revox/models/campaign_get_rows_response.rb +672 -90
  21. data/lib/revox/models/campaign_list_response.rb +108 -119
  22. data/lib/revox/models/campaign_retrieve_response.rb +108 -119
  23. data/lib/revox/models/campaign_statistics_response.rb +51 -23
  24. data/lib/revox/models/campaign_update_params.rb +9 -78
  25. data/lib/revox/models/campaign_update_response.rb +108 -119
  26. data/lib/revox/models/phone_number_list_response.rb +87 -65
  27. data/lib/revox/models/phone_number_update_response.rb +87 -65
  28. data/lib/revox/models/voice_list_response.rb +1 -0
  29. data/lib/revox/models/voice_preview_params.rb +1 -0
  30. data/lib/revox/models/voice_retrieve_params.rb +1 -0
  31. data/lib/revox/models.rb +0 -2
  32. data/lib/revox/resources/assistants.rb +10 -10
  33. data/lib/revox/resources/call.rb +4 -4
  34. data/lib/revox/resources/campaigns.rb +13 -45
  35. data/lib/revox/version.rb +1 -1
  36. data/lib/revox.rb +0 -2
  37. data/rbi/revox/models/assistant_clone_response.rbi +157 -147
  38. data/rbi/revox/models/assistant_create_params.rbi +148 -162
  39. data/rbi/revox/models/assistant_create_response.rbi +157 -147
  40. data/rbi/revox/models/assistant_list_response.rbi +157 -147
  41. data/rbi/revox/models/assistant_retrieve_response.rbi +153 -147
  42. data/rbi/revox/models/assistant_update_params.rbi +148 -162
  43. data/rbi/revox/models/assistant_update_response.rbi +157 -147
  44. data/rbi/revox/models/call_create_params.rbi +190 -187
  45. data/rbi/revox/models/call_create_response.rbi +1138 -227
  46. data/rbi/revox/models/call_export_params.rbi +5 -15
  47. data/rbi/revox/models/call_phone_history_response.rbi +0 -15
  48. data/rbi/revox/models/call_retrieve_response.rbi +1138 -227
  49. data/rbi/revox/models/call_search_params.rbi +2 -9
  50. data/rbi/revox/models/call_search_response.rbi +1138 -227
  51. data/rbi/revox/models/campaign_create_params.rbi +9 -87
  52. data/rbi/revox/models/campaign_create_response.rbi +188 -266
  53. data/rbi/revox/models/campaign_get_rows_response.rbi +1138 -225
  54. data/rbi/revox/models/campaign_list_response.rbi +188 -262
  55. data/rbi/revox/models/campaign_retrieve_response.rbi +188 -266
  56. data/rbi/revox/models/campaign_statistics_response.rbi +94 -36
  57. data/rbi/revox/models/campaign_update_params.rbi +10 -128
  58. data/rbi/revox/models/campaign_update_response.rbi +188 -266
  59. data/rbi/revox/models/phone_number_list_response.rbi +157 -147
  60. data/rbi/revox/models/phone_number_update_response.rbi +157 -147
  61. data/rbi/revox/models/voice_list_response.rbi +5 -0
  62. data/rbi/revox/models/voice_preview_params.rbi +2 -0
  63. data/rbi/revox/models/voice_retrieve_params.rbi +2 -0
  64. data/rbi/revox/models.rbi +0 -2
  65. data/rbi/revox/resources/assistants.rbi +40 -22
  66. data/rbi/revox/resources/call.rbi +7 -4
  67. data/rbi/revox/resources/campaigns.rbi +12 -44
  68. data/sig/revox/models/assistant_clone_response.rbs +46 -54
  69. data/sig/revox/models/assistant_create_params.rbs +39 -58
  70. data/sig/revox/models/assistant_create_response.rbs +46 -54
  71. data/sig/revox/models/assistant_list_response.rbs +46 -54
  72. data/sig/revox/models/assistant_retrieve_response.rbs +46 -54
  73. data/sig/revox/models/assistant_update_params.rbs +39 -58
  74. data/sig/revox/models/assistant_update_response.rbs +46 -54
  75. data/sig/revox/models/call_create_params.rbs +50 -71
  76. data/sig/revox/models/call_create_response.rbs +468 -77
  77. data/sig/revox/models/call_export_params.rbs +2 -6
  78. data/sig/revox/models/call_phone_history_response.rbs +1 -10
  79. data/sig/revox/models/call_retrieve_response.rbs +468 -77
  80. data/sig/revox/models/call_search_params.rbs +2 -6
  81. data/sig/revox/models/call_search_response.rbs +468 -77
  82. data/sig/revox/models/campaign_create_params.rbs +5 -50
  83. data/sig/revox/models/campaign_create_response.rbs +62 -98
  84. data/sig/revox/models/campaign_get_rows_response.rbs +467 -73
  85. data/sig/revox/models/campaign_list_response.rbs +62 -98
  86. data/sig/revox/models/campaign_retrieve_response.rbs +62 -98
  87. data/sig/revox/models/campaign_statistics_response.rbs +55 -24
  88. data/sig/revox/models/campaign_update_params.rbs +1 -69
  89. data/sig/revox/models/campaign_update_response.rbs +62 -98
  90. data/sig/revox/models/phone_number_list_response.rbs +46 -54
  91. data/sig/revox/models/phone_number_update_response.rbs +46 -54
  92. data/sig/revox/models/voice_list_response.rbs +2 -1
  93. data/sig/revox/models/voice_preview_params.rbs +2 -1
  94. data/sig/revox/models/voice_retrieve_params.rbs +2 -1
  95. data/sig/revox/models.rbs +0 -2
  96. data/sig/revox/resources/assistants.rbs +4 -4
  97. data/sig/revox/resources/call.rbs +1 -1
  98. data/sig/revox/resources/campaigns.rbs +0 -12
  99. metadata +2 -8
  100. data/lib/revox/models/campaign_launch_params.rb +0 -20
  101. data/lib/revox/models/campaign_launch_response.rb +0 -2030
  102. data/rbi/revox/models/campaign_launch_params.rbi +0 -33
  103. data/rbi/revox/models/campaign_launch_response.rbi +0 -4170
  104. data/sig/revox/models/campaign_launch_params.rbs +0 -20
  105. data/sig/revox/models/campaign_launch_response.rbs +0 -1694
@@ -23,17 +23,14 @@ module Revox
23
23
  name: String,
24
24
  organization_id: String,
25
25
  status: Revox::Models::CampaignListResponse::Campaign::status,
26
- type: Revox::Models::CampaignListResponse::Campaign::type_,
27
26
  updated_at: top,
28
- active_takeover_call_id: String?,
29
27
  assistant: Revox::Models::CampaignListResponse::Campaign::Assistant,
30
28
  call_retry_config: Revox::Models::CampaignListResponse::Campaign::CallRetryConfig?,
31
29
  created_by: Revox::Models::CampaignListResponse::Campaign::CreatedBy?,
32
30
  from_phone_number: String?,
33
31
  funnel_stats: Revox::Models::CampaignListResponse::Campaign::FunnelStats,
34
32
  max_concurrent_calls: Float?,
35
- paused_reason: Revox::Models::CampaignListResponse::Campaign::paused_reason?,
36
- present_count: Float,
33
+ metadata_keys: ::Array[String],
37
34
  row_stats: Revox::Models::CampaignListResponse::Campaign::RowStats,
38
35
  scheduled_at: top,
39
36
  structured_output_extraction: Revox::Models::CampaignListResponse::Campaign::structured_output_extraction
@@ -54,12 +51,8 @@ module Revox
54
51
 
55
52
  attr_accessor status: Revox::Models::CampaignListResponse::Campaign::status
56
53
 
57
- attr_accessor type: Revox::Models::CampaignListResponse::Campaign::type_
58
-
59
54
  attr_accessor updated_at: top
60
55
 
61
- attr_accessor active_takeover_call_id: String?
62
-
63
56
  attr_reader assistant: Revox::Models::CampaignListResponse::Campaign::Assistant?
64
57
 
65
58
  def assistant=: (
@@ -80,11 +73,9 @@ module Revox
80
73
 
81
74
  attr_accessor max_concurrent_calls: Float?
82
75
 
83
- attr_accessor paused_reason: Revox::Models::CampaignListResponse::Campaign::paused_reason?
84
-
85
- attr_reader present_count: Float?
76
+ attr_reader metadata_keys: ::Array[String]?
86
77
 
87
- def present_count=: (Float) -> Float
78
+ def metadata_keys=: (::Array[String]) -> ::Array[String]
88
79
 
89
80
  attr_reader row_stats: Revox::Models::CampaignListResponse::Campaign::RowStats?
90
81
 
@@ -110,17 +101,14 @@ module Revox
110
101
  name: String,
111
102
  organization_id: String,
112
103
  status: Revox::Models::CampaignListResponse::Campaign::status,
113
- type: Revox::Models::CampaignListResponse::Campaign::type_,
114
104
  updated_at: top,
115
- ?active_takeover_call_id: String?,
116
105
  ?assistant: Revox::Models::CampaignListResponse::Campaign::Assistant,
117
106
  ?call_retry_config: Revox::Models::CampaignListResponse::Campaign::CallRetryConfig?,
118
107
  ?created_by: Revox::Models::CampaignListResponse::Campaign::CreatedBy?,
119
108
  ?from_phone_number: String?,
120
109
  ?funnel_stats: Revox::Models::CampaignListResponse::Campaign::FunnelStats,
121
110
  ?max_concurrent_calls: Float?,
122
- ?paused_reason: Revox::Models::CampaignListResponse::Campaign::paused_reason?,
123
- ?present_count: Float,
111
+ ?metadata_keys: ::Array[String],
124
112
  ?row_stats: Revox::Models::CampaignListResponse::Campaign::RowStats,
125
113
  ?scheduled_at: top,
126
114
  ?structured_output_extraction: Revox::Models::CampaignListResponse::Campaign::structured_output_extraction
@@ -134,28 +122,24 @@ module Revox
134
122
  name: String,
135
123
  organization_id: String,
136
124
  status: Revox::Models::CampaignListResponse::Campaign::status,
137
- type: Revox::Models::CampaignListResponse::Campaign::type_,
138
125
  updated_at: top,
139
- active_takeover_call_id: String?,
140
126
  assistant: Revox::Models::CampaignListResponse::Campaign::Assistant,
141
127
  call_retry_config: Revox::Models::CampaignListResponse::Campaign::CallRetryConfig?,
142
128
  created_by: Revox::Models::CampaignListResponse::Campaign::CreatedBy?,
143
129
  from_phone_number: String?,
144
130
  funnel_stats: Revox::Models::CampaignListResponse::Campaign::FunnelStats,
145
131
  max_concurrent_calls: Float?,
146
- paused_reason: Revox::Models::CampaignListResponse::Campaign::paused_reason?,
147
- present_count: Float,
132
+ metadata_keys: ::Array[String],
148
133
  row_stats: Revox::Models::CampaignListResponse::Campaign::RowStats,
149
134
  scheduled_at: top,
150
135
  structured_output_extraction: Revox::Models::CampaignListResponse::Campaign::structured_output_extraction
151
136
  }
152
137
 
153
- type status = :draft | :running | :paused | :completed
138
+ type status = :running | :paused | :completed
154
139
 
155
140
  module Status
156
141
  extend Revox::Internal::Type::Enum
157
142
 
158
- DRAFT: :draft
159
143
  RUNNING: :running
160
144
  PAUSED: :paused
161
145
  COMPLETED: :completed
@@ -163,17 +147,6 @@ module Revox
163
147
  def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::status]
164
148
  end
165
149
 
166
- type type_ = :regular | :jump_in
167
-
168
- module Type
169
- extend Revox::Internal::Type::Enum
170
-
171
- REGULAR: :regular
172
- JUMP_IN: :jump_in
173
-
174
- def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::type_]
175
- end
176
-
177
150
  type assistant =
178
151
  {
179
152
  id: String,
@@ -187,7 +160,6 @@ module Revox
187
160
  created_at: top,
188
161
  custom_tools: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::CustomTool]?,
189
162
  email_notification_address: String?,
190
- email_notification_language: Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_language,
191
163
  email_notification_outcomes: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_outcome]?,
192
164
  end_of_call_sentence: String?,
193
165
  first_sentence: String?,
@@ -203,6 +175,7 @@ module Revox
203
175
  name: String,
204
176
  organization_id: String,
205
177
  position: Revox::Models::CampaignListResponse::Campaign::Assistant::Position?,
178
+ precall_lookup_url: String?,
206
179
  prompt: String,
207
180
  prompt_flow: Revox::Models::CampaignListResponse::Campaign::Assistant::PromptFlow?,
208
181
  slack: Revox::Models::CampaignListResponse::Campaign::Assistant::Slack?,
@@ -215,7 +188,7 @@ module Revox
215
188
  thinking_sound: Revox::Models::CampaignListResponse::Campaign::Assistant::thinking_sound?,
216
189
  thinking_sound_probability: Float,
217
190
  thinking_sound_volume: Float,
218
- transfer_phone_number: String?,
191
+ transfer_destinations: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::TransferDestination]?,
219
192
  type: Revox::Models::CampaignListResponse::Campaign::Assistant::type_,
220
193
  updated_at: top,
221
194
  voice: Revox::Models::CampaignListResponse::Campaign::Assistant::Voice?,
@@ -226,6 +199,7 @@ module Revox
226
199
  zoho: Revox::Models::CampaignListResponse::Campaign::Assistant::Zoho?,
227
200
  created_by: Revox::Models::CampaignListResponse::Campaign::Assistant::CreatedBy?,
228
201
  faq_items: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::FaqItem],
202
+ is_inbound_receptionist: bool,
229
203
  is_realestate_assistant: bool,
230
204
  pending_faq_count: Float
231
205
  }
@@ -253,8 +227,6 @@ module Revox
253
227
 
254
228
  attr_accessor email_notification_address: String?
255
229
 
256
- attr_accessor email_notification_language: Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_language
257
-
258
230
  attr_accessor email_notification_outcomes: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_outcome]?
259
231
 
260
232
  attr_accessor end_of_call_sentence: String?
@@ -285,6 +257,8 @@ module Revox
285
257
 
286
258
  attr_accessor position: Revox::Models::CampaignListResponse::Campaign::Assistant::Position?
287
259
 
260
+ attr_accessor precall_lookup_url: String?
261
+
288
262
  attr_accessor prompt: String
289
263
 
290
264
  attr_accessor prompt_flow: Revox::Models::CampaignListResponse::Campaign::Assistant::PromptFlow?
@@ -309,7 +283,7 @@ module Revox
309
283
 
310
284
  attr_accessor thinking_sound_volume: Float
311
285
 
312
- attr_accessor transfer_phone_number: String?
286
+ attr_accessor transfer_destinations: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::TransferDestination]?
313
287
 
314
288
  attr_accessor type: Revox::Models::CampaignListResponse::Campaign::Assistant::type_
315
289
 
@@ -335,6 +309,10 @@ module Revox
335
309
  ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::FaqItem]
336
310
  ) -> ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::FaqItem]
337
311
 
312
+ attr_reader is_inbound_receptionist: bool?
313
+
314
+ def is_inbound_receptionist=: (bool) -> bool
315
+
338
316
  attr_reader is_realestate_assistant: bool?
339
317
 
340
318
  def is_realestate_assistant=: (bool) -> bool
@@ -355,7 +333,6 @@ module Revox
355
333
  created_at: top,
356
334
  custom_tools: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::CustomTool]?,
357
335
  email_notification_address: String?,
358
- email_notification_language: Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_language,
359
336
  email_notification_outcomes: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_outcome]?,
360
337
  end_of_call_sentence: String?,
361
338
  first_sentence: String?,
@@ -371,6 +348,7 @@ module Revox
371
348
  name: String,
372
349
  organization_id: String,
373
350
  position: Revox::Models::CampaignListResponse::Campaign::Assistant::Position?,
351
+ precall_lookup_url: String?,
374
352
  prompt: String,
375
353
  prompt_flow: Revox::Models::CampaignListResponse::Campaign::Assistant::PromptFlow?,
376
354
  slack: Revox::Models::CampaignListResponse::Campaign::Assistant::Slack?,
@@ -383,7 +361,7 @@ module Revox
383
361
  thinking_sound: Revox::Models::CampaignListResponse::Campaign::Assistant::thinking_sound?,
384
362
  thinking_sound_probability: Float,
385
363
  thinking_sound_volume: Float,
386
- transfer_phone_number: String?,
364
+ transfer_destinations: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::TransferDestination]?,
387
365
  type: Revox::Models::CampaignListResponse::Campaign::Assistant::type_,
388
366
  updated_at: top,
389
367
  voice: Revox::Models::CampaignListResponse::Campaign::Assistant::Voice?,
@@ -394,6 +372,7 @@ module Revox
394
372
  zoho: Revox::Models::CampaignListResponse::Campaign::Assistant::Zoho?,
395
373
  ?created_by: Revox::Models::CampaignListResponse::Campaign::Assistant::CreatedBy?,
396
374
  ?faq_items: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::FaqItem],
375
+ ?is_inbound_receptionist: bool,
397
376
  ?is_realestate_assistant: bool,
398
377
  ?pending_faq_count: Float
399
378
  ) -> void
@@ -410,7 +389,6 @@ module Revox
410
389
  created_at: top,
411
390
  custom_tools: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::CustomTool]?,
412
391
  email_notification_address: String?,
413
- email_notification_language: Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_language,
414
392
  email_notification_outcomes: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_outcome]?,
415
393
  end_of_call_sentence: String?,
416
394
  first_sentence: String?,
@@ -426,6 +404,7 @@ module Revox
426
404
  name: String,
427
405
  organization_id: String,
428
406
  position: Revox::Models::CampaignListResponse::Campaign::Assistant::Position?,
407
+ precall_lookup_url: String?,
429
408
  prompt: String,
430
409
  prompt_flow: Revox::Models::CampaignListResponse::Campaign::Assistant::PromptFlow?,
431
410
  slack: Revox::Models::CampaignListResponse::Campaign::Assistant::Slack?,
@@ -438,7 +417,7 @@ module Revox
438
417
  thinking_sound: Revox::Models::CampaignListResponse::Campaign::Assistant::thinking_sound?,
439
418
  thinking_sound_probability: Float,
440
419
  thinking_sound_volume: Float,
441
- transfer_phone_number: String?,
420
+ transfer_destinations: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::TransferDestination]?,
442
421
  type: Revox::Models::CampaignListResponse::Campaign::Assistant::type_,
443
422
  updated_at: top,
444
423
  voice: Revox::Models::CampaignListResponse::Campaign::Assistant::Voice?,
@@ -449,6 +428,7 @@ module Revox
449
428
  zoho: Revox::Models::CampaignListResponse::Campaign::Assistant::Zoho?,
450
429
  created_by: Revox::Models::CampaignListResponse::Campaign::Assistant::CreatedBy?,
451
430
  faq_items: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::FaqItem],
431
+ is_inbound_receptionist: bool,
452
432
  is_realestate_assistant: bool,
453
433
  pending_faq_count: Float
454
434
  }
@@ -458,9 +438,6 @@ module Revox
458
438
  | :interested
459
439
  | :completed
460
440
  | :requested_callback_later
461
- | :requested_callback_new_number
462
- | :do_not_contact
463
- | :ai_averse
464
441
  | :none
465
442
 
466
443
  module AfterCallSMSOutcome
@@ -470,9 +447,6 @@ module Revox
470
447
  INTERESTED: :interested
471
448
  COMPLETED: :completed
472
449
  REQUESTED_CALLBACK_LATER: :requested_callback_later
473
- REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
474
- DO_NOT_CONTACT: :do_not_contact
475
- AI_AVERSE: :ai_averse
476
450
  NONE: :none
477
451
 
478
452
  def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::after_call_sms_outcome]
@@ -737,25 +711,11 @@ module Revox
737
711
  end
738
712
  end
739
713
 
740
- type email_notification_language = :en | :fr
741
-
742
- module EmailNotificationLanguage
743
- extend Revox::Internal::Type::Enum
744
-
745
- EN: :en
746
- FR: :fr
747
-
748
- def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_language]
749
- end
750
-
751
714
  type email_notification_outcome =
752
715
  :not_interested
753
716
  | :interested
754
717
  | :completed
755
718
  | :requested_callback_later
756
- | :requested_callback_new_number
757
- | :do_not_contact
758
- | :ai_averse
759
719
  | :none
760
720
 
761
721
  module EmailNotificationOutcome
@@ -765,9 +725,6 @@ module Revox
765
725
  INTERESTED: :interested
766
726
  COMPLETED: :completed
767
727
  REQUESTED_CALLBACK_LATER: :requested_callback_later
768
- REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
769
- DO_NOT_CONTACT: :do_not_contact
770
- AI_AVERSE: :ai_averse
771
728
  NONE: :none
772
729
 
773
730
  def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::email_notification_outcome]
@@ -1055,48 +1012,52 @@ module Revox
1055
1012
 
1056
1013
  type slack =
1057
1014
  {
1058
- channel_id: String,
1015
+ channels: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::Channel],
1059
1016
  connection_id: String,
1060
1017
  outcomes: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::outcome],
1061
- channel_name: String?,
1062
1018
  template: String?
1063
1019
  }
1064
1020
 
1065
1021
  class Slack < Revox::Internal::Type::BaseModel
1066
- attr_accessor channel_id: String
1022
+ attr_accessor channels: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::Channel]
1067
1023
 
1068
1024
  attr_accessor connection_id: String
1069
1025
 
1070
1026
  attr_accessor outcomes: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::outcome]
1071
1027
 
1072
- attr_accessor channel_name: String?
1073
-
1074
1028
  attr_accessor template: String?
1075
1029
 
1076
1030
  def initialize: (
1077
- channel_id: String,
1031
+ channels: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::Channel],
1078
1032
  connection_id: String,
1079
1033
  outcomes: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::outcome],
1080
- ?channel_name: String?,
1081
1034
  ?template: String?
1082
1035
  ) -> void
1083
1036
 
1084
1037
  def to_hash: -> {
1085
- channel_id: String,
1038
+ channels: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::Channel],
1086
1039
  connection_id: String,
1087
1040
  outcomes: ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::outcome],
1088
- channel_name: String?,
1089
1041
  template: String?
1090
1042
  }
1091
1043
 
1044
+ type channel = { id: String, name: String? }
1045
+
1046
+ class Channel < Revox::Internal::Type::BaseModel
1047
+ attr_accessor id: String
1048
+
1049
+ attr_accessor name: String?
1050
+
1051
+ def initialize: (id: String, ?name: String?) -> void
1052
+
1053
+ def to_hash: -> { id: String, name: String? }
1054
+ end
1055
+
1092
1056
  type outcome =
1093
1057
  :not_interested
1094
1058
  | :interested
1095
1059
  | :completed
1096
1060
  | :requested_callback_later
1097
- | :requested_callback_new_number
1098
- | :do_not_contact
1099
- | :ai_averse
1100
1061
  | :none
1101
1062
 
1102
1063
  module Outcome
@@ -1106,9 +1067,6 @@ module Revox
1106
1067
  INTERESTED: :interested
1107
1068
  COMPLETED: :completed
1108
1069
  REQUESTED_CALLBACK_LATER: :requested_callback_later
1109
- REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
1110
- DO_NOT_CONTACT: :do_not_contact
1111
- AI_AVERSE: :ai_averse
1112
1070
  NONE: :none
1113
1071
 
1114
1072
  def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Slack::outcome]
@@ -1240,6 +1198,18 @@ module Revox
1240
1198
  def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::thinking_sound]
1241
1199
  end
1242
1200
 
1201
+ type transfer_destination = { label: String, phone_number: String }
1202
+
1203
+ class TransferDestination < Revox::Internal::Type::BaseModel
1204
+ attr_accessor label: String
1205
+
1206
+ attr_accessor phone_number: String
1207
+
1208
+ def initialize: (label: String, phone_number: String) -> void
1209
+
1210
+ def to_hash: -> { label: String, phone_number: String }
1211
+ end
1212
+
1243
1213
  type type_ = :standalone | :"multi-step" | :"sub-assistant"
1244
1214
 
1245
1215
  module Type
@@ -1296,13 +1266,14 @@ module Revox
1296
1266
  volume: Float
1297
1267
  }
1298
1268
 
1299
- type provider = :cartesia | :elevenlabs
1269
+ type provider = :cartesia | :elevenlabs | :gradium
1300
1270
 
1301
1271
  module Provider
1302
1272
  extend Revox::Internal::Type::Enum
1303
1273
 
1304
1274
  CARTESIA: :cartesia
1305
1275
  ELEVENLABS: :elevenlabs
1276
+ GRADIUM: :gradium
1306
1277
 
1307
1278
  def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Voice::provider]
1308
1279
  end
@@ -1377,9 +1348,6 @@ module Revox
1377
1348
  | :interested
1378
1349
  | :completed
1379
1350
  | :requested_callback_later
1380
- | :requested_callback_new_number
1381
- | :do_not_contact
1382
- | :ai_averse
1383
1351
  | :none
1384
1352
 
1385
1353
  module Outcome
@@ -1389,9 +1357,6 @@ module Revox
1389
1357
  INTERESTED: :interested
1390
1358
  COMPLETED: :completed
1391
1359
  REQUESTED_CALLBACK_LATER: :requested_callback_later
1392
- REQUESTED_CALLBACK_NEW_NUMBER: :requested_callback_new_number
1393
- DO_NOT_CONTACT: :do_not_contact
1394
- AI_AVERSE: :ai_averse
1395
1360
  NONE: :none
1396
1361
 
1397
1362
  def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::Assistant::Zoho::outcome]
@@ -1624,24 +1589,15 @@ module Revox
1624
1589
  }
1625
1590
  end
1626
1591
 
1627
- type paused_reason = :manual | :no_presence
1628
-
1629
- module PausedReason
1630
- extend Revox::Internal::Type::Enum
1631
-
1632
- MANUAL: :manual
1633
- NO_PRESENCE: :no_presence
1634
-
1635
- def self?.values: -> ::Array[Revox::Models::CampaignListResponse::Campaign::paused_reason]
1636
- end
1637
-
1638
1592
  type row_stats =
1639
1593
  {
1640
1594
  calling: Float,
1641
1595
  completed: Float,
1642
1596
  failed: Float,
1597
+ not_launched: Float,
1643
1598
  pending: Float,
1644
1599
  retry_: Float,
1600
+ skipped: Float,
1645
1601
  total: Float
1646
1602
  }
1647
1603
 
@@ -1652,18 +1608,24 @@ module Revox
1652
1608
 
1653
1609
  attr_accessor failed: Float
1654
1610
 
1611
+ attr_accessor not_launched: Float
1612
+
1655
1613
  attr_accessor pending: Float
1656
1614
 
1657
1615
  attr_accessor retry_: Float
1658
1616
 
1617
+ attr_accessor skipped: Float
1618
+
1659
1619
  attr_accessor total: Float
1660
1620
 
1661
1621
  def initialize: (
1662
1622
  calling: Float,
1663
1623
  completed: Float,
1664
1624
  failed: Float,
1625
+ not_launched: Float,
1665
1626
  pending: Float,
1666
1627
  retry_: Float,
1628
+ skipped: Float,
1667
1629
  total: Float
1668
1630
  ) -> void
1669
1631
 
@@ -1671,8 +1633,10 @@ module Revox
1671
1633
  calling: Float,
1672
1634
  completed: Float,
1673
1635
  failed: Float,
1636
+ not_launched: Float,
1674
1637
  pending: Float,
1675
1638
  retry_: Float,
1639
+ skipped: Float,
1676
1640
  total: Float
1677
1641
  }
1678
1642
  end