Class: Revox::Models::AssistantListResponse::Assistant

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/revox/models/assistant_list_response.rb,
sig/revox/models/assistant_list_response.rbs

Defined Under Namespace

Modules: AfterCallSMSOutcome, BackgroundSound, EmailNotificationLanguage, EmailNotificationOutcome, FirstSentenceMode, HumanTransferMode, LlmModel, SttModel, ThinkingSound, Type Classes: Calendly, CallRetryConfig, CreatedBy, CustomTool, FaqItem, Position, PromptFlow, Slack, StructuredOutputConfig, SttContext, Voice, Zoho

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id:, email:, first_name:, last_name:) ⇒ Object

The user who created the assistant.

Parameters:

  • id (String)

    The database user id of the creator.

  • email (String)
  • first_name (String, nil)
  • last_name (String, nil)


16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
# File 'lib/revox/models/assistant_list_response.rb', line 16

class Assistant < Revox::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [String]
  required :id, String

  # @!attribute after_call_sms_outcomes
  #   Which call outcomes trigger the after-call SMS. When empty or null, no
  #   after-call SMS is sent. Use "none" when outcome is null.
  #
  #   @return [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::AfterCallSMSOutcome>, nil]
  required :after_call_sms_outcomes,
           -> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::AssistantListResponse::Assistant::AfterCallSMSOutcome] },
           nil?: true

  # @!attribute after_call_sms_prompt
  #   Prompt / instructions for the after-call SMS. Supports {{variable}}
  #   placeholders. When null, no after-call SMS is sent.
  #
  #   @return [String, nil]
  required :after_call_sms_prompt, String, nil?: true

  # @!attribute background_sound
  #   Ambient background sound to play during the call. null disables it.
  #
  #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::BackgroundSound, nil]
  required :background_sound,
           enum: -> { Revox::Models::AssistantListResponse::Assistant::BackgroundSound },
           nil?: true

  # @!attribute background_sound_volume
  #   Volume of the ambient background sound (0 = silent, 1 = max).
  #
  #   @return [Float]
  required :background_sound_volume, Float

  # @!attribute calendly
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::Calendly, nil]
  required :calendly, -> { Revox::Models::AssistantListResponse::Assistant::Calendly }, nil?: true

  # @!attribute call_retry_config
  #   Configuration for call retry behavior including time windows, delays, and max
  #   iterations. If not provided, defaults will be used.
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::CallRetryConfig, nil]
  required :call_retry_config,
           -> { Revox::Models::AssistantListResponse::Assistant::CallRetryConfig },
           nil?: true

  # @!attribute cartesia_dictionary_pronunciation_id
  #   Optional Cartesia pronunciation dictionary ID linked to this assistant.
  #
  #   @return [String, nil]
  required :cartesia_dictionary_pronunciation_id, String, nil?: true

  # @!attribute created_at
  #
  #   @return [Object]
  required :created_at, Revox::Internal::Type::Unknown

  # @!attribute custom_tools
  #
  #   @return [Array<Revox::Models::AssistantListResponse::Assistant::CustomTool>, nil]
  required :custom_tools,
           -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::CustomTool] },
           nil?: true

  # @!attribute email_notification_address
  #   Email address(es) to receive notifications when a call ends with a matching
  #   outcome. Accepts a single email or a comma-separated list (e.g. "alice@x.com,
  #   bob@y.com").
  #
  #   @return [String, nil]
  required :email_notification_address, String, nil?: true

  # @!attribute email_notification_language
  #   The language used for the notification email content. One of "en" or "fr".
  #
  #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::EmailNotificationLanguage]
  required :email_notification_language,
           enum: -> { Revox::Models::AssistantListResponse::Assistant::EmailNotificationLanguage }

  # @!attribute email_notification_outcomes
  #   Which call outcomes trigger an email notification. E.g. ["interested",
  #   "completed", "none"]. Use "none" when outcome is null.
  #
  #   @return [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::EmailNotificationOutcome>, nil]
  required :email_notification_outcomes,
           -> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::AssistantListResponse::Assistant::EmailNotificationOutcome] },
           nil?: true

  # @!attribute end_of_call_sentence
  #
  #   @return [String, nil]
  required :end_of_call_sentence, String, nil?: true

  # @!attribute first_sentence
  #
  #   @return [String, nil]
  required :first_sentence, String, nil?: true

  # @!attribute first_sentence_delay_ms
  #   Delay in milliseconds before speaking the first sentence. Default: 400.
  #
  #   @return [Integer]
  required :first_sentence_delay_ms, Integer

  # @!attribute first_sentence_mode
  #
  #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::FirstSentenceMode]
  required :first_sentence_mode,
           enum: -> { Revox::Models::AssistantListResponse::Assistant::FirstSentenceMode }

  # @!attribute from_phone_number
  #   Override the default outbound phone number for calls placed with this assistant.
  #   When null, the organization's default phone number is used.
  #
  #   @return [String, nil]
  required :from_phone_number, String, nil?: true

  # @!attribute human_transfer_mode
  #   Warm or cold transfer when transfer_phone_number is set; null when transfer is
  #   not configured.
  #
  #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::HumanTransferMode, nil]
  required :human_transfer_mode,
           enum: -> { Revox::Models::AssistantListResponse::Assistant::HumanTransferMode },
           nil?: true

  # @!attribute ivr_navigation_enabled
  #   Enable IVR navigation tools. When enabled, the assistant can send DTMF tones and
  #   skip turns to navigate phone menus.
  #
  #   @return [Boolean]
  required :ivr_navigation_enabled, Revox::Internal::Type::Boolean

  # @!attribute llm_model
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember1, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember2, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember3]
  required :llm_model, union: -> { Revox::Models::AssistantListResponse::Assistant::LlmModel }

  # @!attribute logo_url
  #   Public URL of the brand logo shown on the assistant's demo page. Null when
  #   unset.
  #
  #   @return [String, nil]
  required :logo_url, String, nil?: true

  # @!attribute max_call_duration_secs
  #   The maximum duration of the call in seconds. This is the maximum time the call
  #   will be allowed to run.
  #
  #   @return [Float]
  required :max_call_duration_secs, Float

  # @!attribute max_duration_end_message
  #   Optional message the agent will say, without being interruptible, when the call
  #   reaches its max duration. Kept short so it fits inside the farewell buffer. If
  #   null, the call ends silently.
  #
  #   @return [String, nil]
  required :max_duration_end_message, String, nil?: true

  # @!attribute name
  #
  #   @return [String]
  required :name, String

  # @!attribute organization_id
  #
  #   @return [String]
  required :organization_id, String

  # @!attribute position
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::Position, nil]
  required :position, -> { Revox::Models::AssistantListResponse::Assistant::Position }, nil?: true

  # @!attribute prompt
  #
  #   @return [String]
  required :prompt, String

  # @!attribute prompt_flow
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::PromptFlow, nil]
  required :prompt_flow, -> { Revox::Models::AssistantListResponse::Assistant::PromptFlow }, nil?: true

  # @!attribute slack
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::Slack, nil]
  required :slack, -> { Revox::Models::AssistantListResponse::Assistant::Slack }, nil?: true

  # @!attribute sms_enabled
  #   Enable SMS tool during calls. When enabled, the agent can send SMS messages to
  #   the user on the call.
  #
  #   @return [Boolean]
  required :sms_enabled, Revox::Internal::Type::Boolean

  # @!attribute sms_template
  #   Hardcoded SMS template to send during calls. When set, this exact text is sent
  #   instead of letting the agent generate the message. Supports {{variable}}
  #   placeholders.
  #
  #   @return [String, nil]
  required :sms_template, String, nil?: true

  # @!attribute structured_output_config
  #   The structured output config to use for the call. This is used to extract the
  #   data from the call (like email, name, company name, etc.).
  #
  #   @return [Array<Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig>, nil]
  required :structured_output_config,
           -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig] },
           nil?: true

  # @!attribute structured_output_prompt
  #   Custom prompt for structured data extraction. If not provided, a default prompt
  #   is used. Available variables: {{transcript}}, {{call_direction}},
  #   {{user_phone_number}}, {{agent_phone_number}}.
  #
  #   @return [String, nil]
  required :structured_output_prompt, String, nil?: true

  # @!attribute stt_context
  #   Assistant-level speech-to-text context: structured `general` key/value pairs
  #   plus a list of domain `terms`. Prompt-derived context is merged in without
  #   replacing existing entries.
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::SttContext, nil]
  required :stt_context, -> { Revox::Models::AssistantListResponse::Assistant::SttContext }, nil?: true

  # @!attribute stt_model
  #   Transcriber (speech-to-text) model used for the assistant.
  #
  #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::SttModel]
  required :stt_model, enum: -> { Revox::Models::AssistantListResponse::Assistant::SttModel }

  # @!attribute thinking_sound
  #   Audio clip to play while the agent is processing a response. One of the built-in
  #   LiveKit audio clips; null disables it.
  #
  #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::ThinkingSound, nil]
  required :thinking_sound,
           enum: -> { Revox::Models::AssistantListResponse::Assistant::ThinkingSound },
           nil?: true

  # @!attribute thinking_sound_probability
  #   Probability [0..1] that the thinking sound plays on any given turn; otherwise
  #   the agent is silent while thinking.
  #
  #   @return [Float]
  required :thinking_sound_probability, Float

  # @!attribute thinking_sound_volume
  #   Volume of the thinking sound (0 = silent, 1 = max).
  #
  #   @return [Float]
  required :thinking_sound_volume, Float

  # @!attribute transfer_phone_number
  #   Phone number to transfer calls to when users request to speak to a human agent.
  #
  #   @return [String, nil]
  required :transfer_phone_number, String, nil?: true

  # @!attribute type
  #
  #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::Type]
  required :type, enum: -> { Revox::Models::AssistantListResponse::Assistant::Type }

  # @!attribute updated_at
  #
  #   @return [Object]
  required :updated_at, Revox::Internal::Type::Unknown

  # @!attribute voice
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::Voice, nil]
  required :voice, -> { Revox::Models::AssistantListResponse::Assistant::Voice }, nil?: true

  # @!attribute voicemail_message
  #   If set, when voicemail is detected the agent will speak this message then hang
  #   up; if null, hang up immediately.
  #
  #   @return [String, nil]
  required :voicemail_message, String, nil?: true

  # @!attribute voicemail_sms_prompt
  #   Prompt / instructions for the voicemail SMS. Supports {{variable}} placeholders.
  #   When null, no SMS is sent on voicemail.
  #
  #   @return [String, nil]
  required :voicemail_sms_prompt, String, nil?: true

  # @!attribute warm_transfer_summary_instructions
  #   Warm transfer only: instructions for the supervisor handoff summary; null when
  #   not configured or cold transfer.
  #
  #   @return [String, nil]
  required :warm_transfer_summary_instructions, String, nil?: true

  # @!attribute webhook_url
  #   The webhook URL to call when the call is completed.
  #
  #   @return [String, nil]
  required :webhook_url, String, nil?: true

  # @!attribute zoho
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::Zoho, nil]
  required :zoho, -> { Revox::Models::AssistantListResponse::Assistant::Zoho }, nil?: true

  # @!attribute created_by
  #   The user who created the assistant.
  #
  #   @return [Revox::Models::AssistantListResponse::Assistant::CreatedBy, nil]
  optional :created_by, -> { Revox::Models::AssistantListResponse::Assistant::CreatedBy }, nil?: true

  # @!attribute faq_items
  #
  #   @return [Array<Revox::Models::AssistantListResponse::Assistant::FaqItem>, nil]
  optional :faq_items,
           -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::FaqItem] }

  # @!attribute is_realestate_assistant
  #
  #   @return [Boolean, nil]
  optional :is_realestate_assistant, Revox::Internal::Type::Boolean

  # @!attribute pending_faq_count
  #
  #   @return [Float, nil]
  optional :pending_faq_count, Float

  # @!method initialize(id:, after_call_sms_outcomes:, after_call_sms_prompt:, background_sound:, background_sound_volume:, calendly:, call_retry_config:, cartesia_dictionary_pronunciation_id:, created_at:, custom_tools:, email_notification_address:, email_notification_language:, email_notification_outcomes:, end_of_call_sentence:, first_sentence:, first_sentence_delay_ms:, first_sentence_mode:, from_phone_number:, human_transfer_mode:, ivr_navigation_enabled:, llm_model:, logo_url:, max_call_duration_secs:, max_duration_end_message:, name:, organization_id:, position:, prompt:, prompt_flow:, slack:, sms_enabled:, sms_template:, structured_output_config:, structured_output_prompt:, stt_context:, stt_model:, thinking_sound:, thinking_sound_probability:, thinking_sound_volume:, transfer_phone_number:, type:, updated_at:, voice:, voicemail_message:, voicemail_sms_prompt:, warm_transfer_summary_instructions:, webhook_url:, zoho:, created_by: nil, faq_items: nil, is_realestate_assistant: nil, pending_faq_count: nil)
  #   Some parameter documentations has been truncated, see
  #   {Revox::Models::AssistantListResponse::Assistant} for more details.
  #
  #   @param id [String]
  #
  #   @param after_call_sms_outcomes [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::AfterCallSMSOutcome>, nil] Which call outcomes trigger the after-call SMS. When empty or null, no after-cal
  #
  #   @param after_call_sms_prompt [String, nil] Prompt / instructions for the after-call SMS. Supports {{variable}} placeholders
  #
  #   @param background_sound [Symbol, Revox::Models::AssistantListResponse::Assistant::BackgroundSound, nil] Ambient background sound to play during the call. null disables it.
  #
  #   @param background_sound_volume [Float] Volume of the ambient background sound (0 = silent, 1 = max).
  #
  #   @param calendly [Revox::Models::AssistantListResponse::Assistant::Calendly, nil]
  #
  #   @param call_retry_config [Revox::Models::AssistantListResponse::Assistant::CallRetryConfig, nil] Configuration for call retry behavior including time windows, delays, and max it
  #
  #   @param cartesia_dictionary_pronunciation_id [String, nil] Optional Cartesia pronunciation dictionary ID linked to this assistant.
  #
  #   @param created_at [Object]
  #
  #   @param custom_tools [Array<Revox::Models::AssistantListResponse::Assistant::CustomTool>, nil]
  #
  #   @param email_notification_address [String, nil] Email address(es) to receive notifications when a call ends with a matching outc
  #
  #   @param email_notification_language [Symbol, Revox::Models::AssistantListResponse::Assistant::EmailNotificationLanguage] The language used for the notification email content. One of "en" or "fr".
  #
  #   @param email_notification_outcomes [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::EmailNotificationOutcome>, nil] Which call outcomes trigger an email notification. E.g. ["interested", "complete
  #
  #   @param end_of_call_sentence [String, nil]
  #
  #   @param first_sentence [String, nil]
  #
  #   @param first_sentence_delay_ms [Integer] Delay in milliseconds before speaking the first sentence. Default: 400.
  #
  #   @param first_sentence_mode [Symbol, Revox::Models::AssistantListResponse::Assistant::FirstSentenceMode]
  #
  #   @param from_phone_number [String, nil] Override the default outbound phone number for calls placed with this assistant.
  #
  #   @param human_transfer_mode [Symbol, Revox::Models::AssistantListResponse::Assistant::HumanTransferMode, nil] Warm or cold transfer when transfer_phone_number is set; null when transfer is n
  #
  #   @param ivr_navigation_enabled [Boolean] Enable IVR navigation tools. When enabled, the assistant can send DTMF tones and
  #
  #   @param llm_model [Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember1, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember2, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember3]
  #
  #   @param logo_url [String, nil] Public URL of the brand logo shown on the assistant's demo page. Null when unset
  #
  #   @param max_call_duration_secs [Float] The maximum duration of the call in seconds. This is the maximum time the call w
  #
  #   @param max_duration_end_message [String, nil] Optional message the agent will say, without being interruptible, when the call
  #
  #   @param name [String]
  #
  #   @param organization_id [String]
  #
  #   @param position [Revox::Models::AssistantListResponse::Assistant::Position, nil]
  #
  #   @param prompt [String]
  #
  #   @param prompt_flow [Revox::Models::AssistantListResponse::Assistant::PromptFlow, nil]
  #
  #   @param slack [Revox::Models::AssistantListResponse::Assistant::Slack, nil]
  #
  #   @param sms_enabled [Boolean] Enable SMS tool during calls. When enabled, the agent can send SMS messages to t
  #
  #   @param sms_template [String, nil] Hardcoded SMS template to send during calls. When set, this exact text is sent i
  #
  #   @param structured_output_config [Array<Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig>, nil] The structured output config to use for the call. This is used to extract the da
  #
  #   @param structured_output_prompt [String, nil] Custom prompt for structured data extraction. If not provided, a default prompt
  #
  #   @param stt_context [Revox::Models::AssistantListResponse::Assistant::SttContext, nil] Assistant-level speech-to-text context: structured `general` key/value pairs plu
  #
  #   @param stt_model [Symbol, Revox::Models::AssistantListResponse::Assistant::SttModel] Transcriber (speech-to-text) model used for the assistant.
  #
  #   @param thinking_sound [Symbol, Revox::Models::AssistantListResponse::Assistant::ThinkingSound, nil] Audio clip to play while the agent is processing a response. One of the built-in
  #
  #   @param thinking_sound_probability [Float] Probability [0..1] that the thinking sound plays on any given turn; otherwise th
  #
  #   @param thinking_sound_volume [Float] Volume of the thinking sound (0 = silent, 1 = max).
  #
  #   @param transfer_phone_number [String, nil] Phone number to transfer calls to when users request to speak to a human agent.
  #
  #   @param type [Symbol, Revox::Models::AssistantListResponse::Assistant::Type]
  #
  #   @param updated_at [Object]
  #
  #   @param voice [Revox::Models::AssistantListResponse::Assistant::Voice, nil]
  #
  #   @param voicemail_message [String, nil] If set, when voicemail is detected the agent will speak this message then hang u
  #
  #   @param voicemail_sms_prompt [String, nil] Prompt / instructions for the voicemail SMS. Supports {{variable}} placeholders.
  #
  #   @param warm_transfer_summary_instructions [String, nil] Warm transfer only: instructions for the supervisor handoff summary; null when n
  #
  #   @param webhook_url [String, nil] The webhook URL to call when the call is completed.
  #
  #   @param zoho [Revox::Models::AssistantListResponse::Assistant::Zoho, nil]
  #
  #   @param created_by [Revox::Models::AssistantListResponse::Assistant::CreatedBy, nil] The user who created the assistant.
  #
  #   @param faq_items [Array<Revox::Models::AssistantListResponse::Assistant::FaqItem>]
  #
  #   @param is_realestate_assistant [Boolean]
  #
  #   @param pending_faq_count [Float]

  module AfterCallSMSOutcome
    extend Revox::Internal::Type::Enum

    NOT_INTERESTED = :not_interested
    INTERESTED = :interested
    COMPLETED = :completed
    REQUESTED_CALLBACK_LATER = :requested_callback_later
    REQUESTED_CALLBACK_NEW_NUMBER = :requested_callback_new_number
    DO_NOT_CONTACT = :do_not_contact
    AI_AVERSE = :ai_averse
    NONE = :none

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # Ambient background sound to play during the call. null disables it.
  #
  # @see Revox::Models::AssistantListResponse::Assistant#background_sound
  module BackgroundSound
    extend Revox::Internal::Type::Enum

    AUDIO_OFFICE_OGG = :"audio/office.ogg"

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # @see Revox::Models::AssistantListResponse::Assistant#calendly
  class Calendly < Revox::Internal::Type::BaseModel
    # @!attribute connection_id
    #   The connection ID representing the link between your Calendly account and Revox.
    #
    #   @return [String]
    required :connection_id, String

    # @!attribute event_type_id
    #   The event type ID representing the event type to schedule. (eg:
    #   https://api.calendly.com/event_types/b2330295-2a91-4a1d-bb73-99e7707663d5)
    #
    #   @return [String]
    required :event_type_id, String

    # @!method initialize(connection_id:, event_type_id:)
    #   Some parameter documentations has been truncated, see
    #   {Revox::Models::AssistantListResponse::Assistant::Calendly} for more details.
    #
    #   @param connection_id [String] The connection ID representing the link between your Calendly account and Revox.
    #
    #   @param event_type_id [String] The event type ID representing the event type to schedule. (eg: https://api.cale
  end

  # @see Revox::Models::AssistantListResponse::Assistant#call_retry_config
  class CallRetryConfig < Revox::Internal::Type::BaseModel
    # @!attribute allowed_days
    #   Days of the week when calls are allowed, in the recipient's timezone. Default:
    #   Monday through Friday.
    #
    #   @return [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::CallRetryConfig::AllowedDay>]
    required :allowed_days,
             -> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::AssistantListResponse::Assistant::CallRetryConfig::AllowedDay] }

    # @!attribute call_twice_in_a_row
    #   If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping
    #   retry_delay_seconds) when attempt #1 didn't reach a human.
    #   Calling-window/allowed-days checks still apply. Only affects the 1→2 transition.
    #   Default: false.
    #
    #   @return [Boolean]
    required :call_twice_in_a_row, Revox::Internal::Type::Boolean

    # @!attribute calling_windows
    #
    #   @return [Array<Revox::Models::AssistantListResponse::Assistant::CallRetryConfig::CallingWindow>]
    required :calling_windows,
             -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::CallRetryConfig::CallingWindow] }

    # @!attribute max_retry_attempts
    #   Maximum number of call retry attempts. Default: 3.
    #
    #   @return [Integer]
    required :max_retry_attempts, Integer

    # @!attribute timezone
    #   Optional IANA timezone identifier to override the automatic timezone detection
    #   from phone number. If not provided, timezone is determined from the recipient's
    #   phone number country code. Examples: 'America/New_York', 'Europe/Paris'.
    #
    #   @return [String, nil]
    optional :timezone, String, nil?: true

    # @!method initialize(allowed_days:, call_twice_in_a_row:, calling_windows:, max_retry_attempts:, timezone: nil)
    #   Some parameter documentations has been truncated, see
    #   {Revox::Models::AssistantListResponse::Assistant::CallRetryConfig} for more
    #   details.
    #
    #   Configuration for call retry behavior including time windows, delays, and max
    #   iterations. If not provided, defaults will be used.
    #
    #   @param allowed_days [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::CallRetryConfig::AllowedDay>] Days of the week when calls are allowed, in the recipient's timezone. Default: M
    #
    #   @param call_twice_in_a_row [Boolean] If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping retr
    #
    #   @param calling_windows [Array<Revox::Models::AssistantListResponse::Assistant::CallRetryConfig::CallingWindow>]
    #
    #   @param max_retry_attempts [Integer] Maximum number of call retry attempts. Default: 3.
    #
    #   @param timezone [String, nil] Optional IANA timezone identifier to override the automatic timezone detection f

    module AllowedDay
      extend Revox::Internal::Type::Enum

      MONDAY = :monday
      TUESDAY = :tuesday
      WEDNESDAY = :wednesday
      THURSDAY = :thursday
      FRIDAY = :friday
      SATURDAY = :saturday
      SUNDAY = :sunday

      # @!method self.values
      #   @return [Array<Symbol>]
    end

    class CallingWindow < Revox::Internal::Type::BaseModel
      # @!attribute calling_window_end_time
      #   End time for the calling window in the recipient's timezone (or
      #   timezone_override if provided). Format: 'HH:mm' (24-hour) or 'H:mma' (12-hour).
      #   Examples: '17:00', '6pm'. Default: '18:00'.
      #
      #   @return [String]
      required :calling_window_end_time, String

      # @!attribute calling_window_start_time
      #   Start time for the calling window in the recipient's timezone (or
      #   timezone_override if provided). Format: 'HH:mm' (24-hour) or 'H:mma' (12-hour).
      #   Examples: '09:00', '10am'. Default: '10:00'.
      #
      #   @return [String]
      required :calling_window_start_time, String

      # @!attribute retry_delay_seconds
      #   Delay between retry attempts in seconds. Default: 7200 (2 hours).
      #
      #   @return [Integer]
      required :retry_delay_seconds, Integer

      # @!method initialize(calling_window_end_time:, calling_window_start_time:, retry_delay_seconds:)
      #   Some parameter documentations has been truncated, see
      #   {Revox::Models::AssistantListResponse::Assistant::CallRetryConfig::CallingWindow}
      #   for more details.
      #
      #   @param calling_window_end_time [String] End time for the calling window in the recipient's timezone (or timezone_overrid
      #
      #   @param calling_window_start_time [String] Start time for the calling window in the recipient's timezone (or timezone_overr
      #
      #   @param retry_delay_seconds [Integer] Delay between retry attempts in seconds. Default: 7200 (2 hours).
    end
  end

  class CustomTool < Revox::Internal::Type::BaseModel
    # @!attribute body_template
    #   JSON body template for the request. Use quoted {{variable}} placeholders (e.g.
    #   "{{name}}") for dynamic values
    #
    #   @return [String, nil]
    required :body_template, String, nil?: true

    # @!attribute description
    #   Human-readable description of what the tool does, used by the LLM to decide when
    #   to call it
    #
    #   @return [String]
    required :description, String

    # @!attribute headers
    #   HTTP headers to include in the request. Values support {{variable}} placeholders
    #
    #   @return [Array<Revox::Models::AssistantListResponse::Assistant::CustomTool::Header>]
    required :headers,
             -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::CustomTool::Header] }

    # @!attribute input_schema
    #   Schema defining the parameters the LLM should extract from the conversation to
    #   pass to this tool
    #
    #   @return [Array<Revox::Models::AssistantListResponse::Assistant::CustomTool::InputSchema>]
    required :input_schema,
             -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::CustomTool::InputSchema] }

    # @!attribute method_
    #   HTTP method to use when calling the API endpoint
    #
    #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::CustomTool::Method]
    required :method_,
             enum: -> { Revox::Models::AssistantListResponse::Assistant::CustomTool::Method },
             api_name: :method

    # @!attribute name
    #   Unique tool name in lowercase_snake_case (e.g. check_inventory)
    #
    #   @return [String]
    required :name, String

    # @!attribute query_params
    #   Query string parameters appended to the URL. Values support {{variable}}
    #   placeholders
    #
    #   @return [Array<Revox::Models::AssistantListResponse::Assistant::CustomTool::QueryParam>]
    required :query_params,
             -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::CustomTool::QueryParam] }

    # @!attribute url
    #   Full URL of the API endpoint. Supports {{variable}} placeholders for dynamic
    #   values
    #
    #   @return [String]
    required :url, String

    # @!method initialize(body_template:, description:, headers:, input_schema:, method_:, name:, query_params:, url:)
    #   Some parameter documentations has been truncated, see
    #   {Revox::Models::AssistantListResponse::Assistant::CustomTool} for more details.
    #
    #   @param body_template [String, nil] JSON body template for the request. Use quoted {{variable}} placeholders (e.g. "
    #
    #   @param description [String] Human-readable description of what the tool does, used by the LLM to decide when
    #
    #   @param headers [Array<Revox::Models::AssistantListResponse::Assistant::CustomTool::Header>] HTTP headers to include in the request. Values support {{variable}} placeholders
    #
    #   @param input_schema [Array<Revox::Models::AssistantListResponse::Assistant::CustomTool::InputSchema>] Schema defining the parameters the LLM should extract from the conversation to p
    #
    #   @param method_ [Symbol, Revox::Models::AssistantListResponse::Assistant::CustomTool::Method] HTTP method to use when calling the API endpoint
    #
    #   @param name [String] Unique tool name in lowercase_snake_case (e.g. check_inventory)
    #
    #   @param query_params [Array<Revox::Models::AssistantListResponse::Assistant::CustomTool::QueryParam>] Query string parameters appended to the URL. Values support {{variable}} placeho
    #
    #   @param url [String] Full URL of the API endpoint. Supports {{variable}} placeholders for dynamic val

    class Header < Revox::Internal::Type::BaseModel
      # @!attribute key
      #
      #   @return [String]
      required :key, String

      # @!attribute value
      #
      #   @return [String]
      required :value, String

      # @!method initialize(key:, value:)
      #   @param key [String]
      #   @param value [String]
    end

    class InputSchema < Revox::Internal::Type::BaseModel
      # @!attribute name
      #
      #   @return [String]
      required :name, String

      # @!attribute required
      #
      #   @return [Boolean]
      required :required, Revox::Internal::Type::Boolean

      # @!attribute type
      #
      #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::CustomTool::InputSchema::Type]
      required :type,
               enum: -> { Revox::Models::AssistantListResponse::Assistant::CustomTool::InputSchema::Type }

      # @!attribute description
      #
      #   @return [String, nil]
      optional :description, String

      # @!attribute enum_options
      #
      #   @return [Array<String>, nil]
      optional :enum_options, Revox::Internal::Type::ArrayOf[String]

      # @!method initialize(name:, required:, type:, description: nil, enum_options: nil)
      #   @param name [String]
      #   @param required [Boolean]
      #   @param type [Symbol, Revox::Models::AssistantListResponse::Assistant::CustomTool::InputSchema::Type]
      #   @param description [String]
      #   @param enum_options [Array<String>]

      # @see Revox::Models::AssistantListResponse::Assistant::CustomTool::InputSchema#type
      module Type
        extend Revox::Internal::Type::Enum

        STRING = :string
        NUMBER = :number
        BOOLEAN = :boolean
        ENUM = :enum
        DATE = :date
        DATETIME = :datetime

        # @!method self.values
        #   @return [Array<Symbol>]
      end
    end

    # HTTP method to use when calling the API endpoint
    #
    # @see Revox::Models::AssistantListResponse::Assistant::CustomTool#method_
    module Method
      extend Revox::Internal::Type::Enum

      GET = :GET
      POST = :POST
      PUT = :PUT
      PATCH = :PATCH
      DELETE = :DELETE

      # @!method self.values
      #   @return [Array<Symbol>]
    end

    class QueryParam < Revox::Internal::Type::BaseModel
      # @!attribute key
      #
      #   @return [String]
      required :key, String

      # @!attribute value
      #
      #   @return [String]
      required :value, String

      # @!method initialize(key:, value:)
      #   @param key [String]
      #   @param value [String]
    end
  end

  # The language used for the notification email content. One of "en" or "fr".
  #
  # @see Revox::Models::AssistantListResponse::Assistant#email_notification_language
  module EmailNotificationLanguage
    extend Revox::Internal::Type::Enum

    EN = :en
    FR = :fr

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  module EmailNotificationOutcome
    extend Revox::Internal::Type::Enum

    NOT_INTERESTED = :not_interested
    INTERESTED = :interested
    COMPLETED = :completed
    REQUESTED_CALLBACK_LATER = :requested_callback_later
    REQUESTED_CALLBACK_NEW_NUMBER = :requested_callback_new_number
    DO_NOT_CONTACT = :do_not_contact
    AI_AVERSE = :ai_averse
    NONE = :none

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # @see Revox::Models::AssistantListResponse::Assistant#first_sentence_mode
  module FirstSentenceMode
    extend Revox::Internal::Type::Enum

    GENERATED = :generated
    STATIC = :static
    NONE = :none

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # Warm or cold transfer when transfer_phone_number is set; null when transfer is
  # not configured.
  #
  # @see Revox::Models::AssistantListResponse::Assistant#human_transfer_mode
  module HumanTransferMode
    extend Revox::Internal::Type::Enum

    WARM = :warm
    COLD = :cold

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # @see Revox::Models::AssistantListResponse::Assistant#llm_model
  module LlmModel
    extend Revox::Internal::Type::Union

    variant -> { Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0 }

    variant -> { Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember1 }

    variant -> { Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember2 }

    variant -> { Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember3 }

    class UnionMember0 < Revox::Internal::Type::BaseModel
      # @!attribute name
      #
      #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0::Name]
      required :name, enum: -> { Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0::Name }

      # @!attribute type
      #
      #   @return [Symbol, :"dedicated-instance"]
      required :type, const: :"dedicated-instance"

      # @!method initialize(name:, type: :"dedicated-instance")
      #   @param name [Symbol, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0::Name]
      #   @param type [Symbol, :"dedicated-instance"]

      # @see Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0#name
      module Name
        extend Revox::Internal::Type::Enum

        GPT_4_1 = :"gpt-4.1"
        MINISTRAL_3_8B_INSTRUCT = :"ministral-3-8b-instruct"

        # @!method self.values
        #   @return [Array<Symbol>]
      end
    end

    class UnionMember1 < Revox::Internal::Type::BaseModel
      # @!attribute openrouter_model_id
      #   The model ID to use from OpenRouter. eg: openai/gpt-4.1
      #
      #   @return [String]
      required :openrouter_model_id, String

      # @!attribute openrouter_provider
      #   The provider to use from OpenRouter. eg: nebius, openai, azure, etc.
      #
      #   @return [String]
      required :openrouter_provider, String

      # @!attribute type
      #   Use a model from OpenRouter.
      #
      #   @return [Symbol, :openrouter]
      required :type, const: :openrouter

      # @!method initialize(openrouter_model_id:, openrouter_provider:, type: :openrouter)
      #   @param openrouter_model_id [String] The model ID to use from OpenRouter. eg: openai/gpt-4.1
      #
      #   @param openrouter_provider [String] The provider to use from OpenRouter. eg: nebius, openai, azure, etc.
      #
      #   @param type [Symbol, :openrouter] Use a model from OpenRouter.
    end

    class UnionMember2 < Revox::Internal::Type::BaseModel
      # @!attribute api_key
      #   API key sent as Bearer token to the custom endpoint.
      #
      #   @return [String]
      required :api_key, String

      # @!attribute api_url
      #   Base URL for the OpenAI-compatible API, e.g. https://api.together.xyz/v1
      #
      #   @return [String]
      required :api_url, String

      # @!attribute model_name
      #   Model name as expected by the provider, e.g. meta-llama/llama-3-70b
      #
      #   @return [String]
      required :model_name, String

      # @!attribute type
      #   OpenAI-compatible chat completions API (bring your own endpoint and key).
      #
      #   @return [Symbol, :custom]
      required :type, const: :custom

      # @!method initialize(api_key:, api_url:, model_name:, type: :custom)
      #   @param api_key [String] API key sent as Bearer token to the custom endpoint.
      #
      #   @param api_url [String] Base URL for the OpenAI-compatible API, e.g. https://api.together.xyz/v1
      #
      #   @param model_name [String] Model name as expected by the provider, e.g. meta-llama/llama-3-70b
      #
      #   @param type [Symbol, :custom] OpenAI-compatible chat completions API (bring your own endpoint and key).
    end

    class UnionMember3 < Revox::Internal::Type::BaseModel
      # @!attribute provider
      #   The provider to use from Realtime. eg: openai, google.
      #
      #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember3::Provider]
      required :provider,
               enum: -> { Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember3::Provider }

      # @!attribute realtime_model_id
      #   The model ID to use from Realtime. eg: gpt-4.1
      #
      #   @return [String]
      required :realtime_model_id, String

      # @!attribute type
      #   Use a model from Realtime.
      #
      #   @return [Symbol, :realtime]
      required :type, const: :realtime

      # @!attribute realtime_voice_id
      #   Output voice for the realtime provider (e.g. OpenAI: marin; Gemini: Puck).
      #
      #   @return [String, nil]
      optional :realtime_voice_id, String

      # @!method initialize(provider:, realtime_model_id:, realtime_voice_id: nil, type: :realtime)
      #   @param provider [Symbol, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember3::Provider] The provider to use from Realtime. eg: openai, google.
      #
      #   @param realtime_model_id [String] The model ID to use from Realtime. eg: gpt-4.1
      #
      #   @param realtime_voice_id [String] Output voice for the realtime provider (e.g. OpenAI: marin; Gemini: Puck).
      #
      #   @param type [Symbol, :realtime] Use a model from Realtime.

      # The provider to use from Realtime. eg: openai, google.
      #
      # @see Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember3#provider
      module Provider
        extend Revox::Internal::Type::Enum

        OPENAI = :openai
        GOOGLE = :google

        # @!method self.values
        #   @return [Array<Symbol>]
      end
    end

    # @!method self.variants
    #   @return [Array(Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember1, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember2, Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember3)]
  end

  # @see Revox::Models::AssistantListResponse::Assistant#position
  class Position < Revox::Internal::Type::BaseModel
    # @!attribute x
    #
    #   @return [Float]
    required :x, Float

    # @!attribute y_
    #
    #   @return [Float]
    required :y_, Float, api_name: :y

    # @!method initialize(x:, y_:)
    #   @param x [Float]
    #   @param y_ [Float]
  end

  # @see Revox::Models::AssistantListResponse::Assistant#prompt_flow
  class PromptFlow < Revox::Internal::Type::BaseModel
    # @!attribute edges
    #
    #   @return [Array<Revox::Models::AssistantListResponse::Assistant::PromptFlow::Edge>]
    required :edges,
             -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::PromptFlow::Edge] }

    # @!attribute nodes
    #
    #   @return [Array<Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node>]
    required :nodes,
             -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node] }

    # @!method initialize(edges:, nodes:)
    #   @param edges [Array<Revox::Models::AssistantListResponse::Assistant::PromptFlow::Edge>]
    #   @param nodes [Array<Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node>]

    class Edge < Revox::Internal::Type::BaseModel
      # @!attribute id
      #
      #   @return [String]
      required :id, String

      # @!attribute source
      #
      #   @return [String]
      required :source, String

      # @!attribute target
      #
      #   @return [String]
      required :target, String

      # @!method initialize(id:, source:, target:)
      #   @param id [String]
      #   @param source [String]
      #   @param target [String]
    end

    class Node < Revox::Internal::Type::BaseModel
      # @!attribute id
      #
      #   @return [String]
      required :id, String

      # @!attribute data
      #
      #   @return [Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node::Data]
      required :data, -> { Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node::Data }

      # @!attribute position
      #
      #   @return [Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node::Position]
      required :position, -> { Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node::Position }

      # @!attribute type
      #
      #   @return [Symbol, :promptBlock]
      required :type, const: :promptBlock

      # @!method initialize(id:, data:, position:, type: :promptBlock)
      #   @param id [String]
      #   @param data [Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node::Data]
      #   @param position [Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node::Position]
      #   @param type [Symbol, :promptBlock]

      # @see Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node#data
      class Data < Revox::Internal::Type::BaseModel
        # @!attribute body
        #
        #   @return [String]
        required :body, String

        # @!attribute title
        #
        #   @return [String]
        required :title, String

        # @!method initialize(body:, title:)
        #   @param body [String]
        #   @param title [String]
      end

      # @see Revox::Models::AssistantListResponse::Assistant::PromptFlow::Node#position
      class Position < Revox::Internal::Type::BaseModel
        # @!attribute x
        #
        #   @return [Float]
        required :x, Float

        # @!attribute y_
        #
        #   @return [Float]
        required :y_, Float, api_name: :y

        # @!method initialize(x:, y_:)
        #   @param x [Float]
        #   @param y_ [Float]
      end
    end
  end

  # @see Revox::Models::AssistantListResponse::Assistant#slack
  class Slack < Revox::Internal::Type::BaseModel
    # @!attribute channel_id
    #   The Slack channel ID where the notification will be posted.
    #
    #   @return [String]
    required :channel_id, String

    # @!attribute connection_id
    #   The Nango connection ID linking the org's Slack workspace to Revox.
    #
    #   @return [String]
    required :connection_id, String

    # @!attribute outcomes
    #   Which call outcomes trigger a Slack notification (e.g. ['interested', 'none']).
    #   Use 'none' to notify when outcome is null.
    #
    #   @return [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::Slack::Outcome>]
    required :outcomes,
             -> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::AssistantListResponse::Assistant::Slack::Outcome] }

    # @!attribute channel_name
    #   Human-readable Slack channel name, cached for display in the UI.
    #
    #   @return [String, nil]
    optional :channel_name, String, nil?: true

    # @!attribute template
    #   Optional message template. Supports {{summary}}, {{outcome}}, {{phone}},
    #   {{call_url}}, {{assistant_name}}, {{campaign_name}}, {{first_name}},
    #   {{last_name}}, {{email}}, {{company}}, {{contact_name}}, {{contact_line}}, plus
    #   prompt_variables and structured_output keys. When null/empty a default template
    #   is used.
    #
    #   @return [String, nil]
    optional :template, String, nil?: true

    # @!method initialize(channel_id:, connection_id:, outcomes:, channel_name: nil, template: nil)
    #   Some parameter documentations has been truncated, see
    #   {Revox::Models::AssistantListResponse::Assistant::Slack} for more details.
    #
    #   @param channel_id [String] The Slack channel ID where the notification will be posted.
    #
    #   @param connection_id [String] The Nango connection ID linking the org's Slack workspace to Revox.
    #
    #   @param outcomes [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::Slack::Outcome>] Which call outcomes trigger a Slack notification (e.g. ['interested', 'none']).
    #
    #   @param channel_name [String, nil] Human-readable Slack channel name, cached for display in the UI.
    #
    #   @param template [String, nil] Optional message template. Supports {{summary}}, {{outcome}}, {{phone}},
    #   {{call\_

    module Outcome
      extend Revox::Internal::Type::Enum

      NOT_INTERESTED = :not_interested
      INTERESTED = :interested
      COMPLETED = :completed
      REQUESTED_CALLBACK_LATER = :requested_callback_later
      REQUESTED_CALLBACK_NEW_NUMBER = :requested_callback_new_number
      DO_NOT_CONTACT = :do_not_contact
      AI_AVERSE = :ai_averse
      NONE = :none

      # @!method self.values
      #   @return [Array<Symbol>]
    end
  end

  class StructuredOutputConfig < Revox::Internal::Type::BaseModel
    # @!attribute name
    #
    #   @return [String]
    required :name, String

    # @!attribute required
    #
    #   @return [Boolean]
    required :required, Revox::Internal::Type::Boolean

    # @!attribute type
    #
    #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig::Type]
    required :type, enum: -> { Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig::Type }

    # @!attribute description
    #
    #   @return [String, nil]
    optional :description, String

    # @!attribute enum_options
    #
    #   @return [Array<String>, nil]
    optional :enum_options, Revox::Internal::Type::ArrayOf[String]

    # @!method initialize(name:, required:, type:, description: nil, enum_options: nil)
    #   @param name [String]
    #   @param required [Boolean]
    #   @param type [Symbol, Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig::Type]
    #   @param description [String]
    #   @param enum_options [Array<String>]

    # @see Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig#type
    module Type
      extend Revox::Internal::Type::Enum

      STRING = :string
      NUMBER = :number
      BOOLEAN = :boolean
      ENUM = :enum
      DATE = :date
      DATETIME = :datetime

      # @!method self.values
      #   @return [Array<Symbol>]
    end
  end

  # @see Revox::Models::AssistantListResponse::Assistant#stt_context
  class SttContext < Revox::Internal::Type::BaseModel
    # @!attribute general
    #
    #   @return [Array<Revox::Models::AssistantListResponse::Assistant::SttContext::General>]
    required :general,
             -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::SttContext::General] }

    # @!attribute terms
    #
    #   @return [Array<String>]
    required :terms, Revox::Internal::Type::ArrayOf[String]

    # @!method initialize(general:, terms:)
    #   Assistant-level speech-to-text context: structured `general` key/value pairs
    #   plus a list of domain `terms`. Prompt-derived context is merged in without
    #   replacing existing entries.
    #
    #   @param general [Array<Revox::Models::AssistantListResponse::Assistant::SttContext::General>]
    #   @param terms [Array<String>]

    class General < Revox::Internal::Type::BaseModel
      # @!attribute key
      #
      #   @return [String]
      required :key, String

      # @!attribute value
      #
      #   @return [String]
      required :value, String

      # @!method initialize(key:, value:)
      #   @param key [String]
      #   @param value [String]
    end
  end

  # Transcriber (speech-to-text) model used for the assistant.
  #
  # @see Revox::Models::AssistantListResponse::Assistant#stt_model
  module SttModel
    extend Revox::Internal::Type::Enum

    STT_RT_V4 = :"stt-rt-v4"
    STT_RT_V5 = :"stt-rt-v5"

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # Audio clip to play while the agent is processing a response. One of the built-in
  # LiveKit audio clips; null disables it.
  #
  # @see Revox::Models::AssistantListResponse::Assistant#thinking_sound
  module ThinkingSound
    extend Revox::Internal::Type::Enum

    CITY_AMBIENCE_OGG = :"city-ambience.ogg"
    FOREST_AMBIENCE_OGG = :"forest-ambience.ogg"
    OFFICE_AMBIENCE_OGG = :"office-ambience.ogg"
    CROWDED_ROOM_OGG = :"crowded-room.ogg"
    KEYBOARD_TYPING_OGG = :"keyboard-typing.ogg"
    KEYBOARD_TYPING2_OGG = :"keyboard-typing2.ogg"
    HOLD_MUSIC_OGG = :"hold_music.ogg"

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # @see Revox::Models::AssistantListResponse::Assistant#type
  module Type
    extend Revox::Internal::Type::Enum

    STANDALONE = :standalone
    MULTI_STEP = :"multi-step"
    SUB_ASSISTANT = :"sub-assistant"

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # @see Revox::Models::AssistantListResponse::Assistant#voice
  class Voice < Revox::Internal::Type::BaseModel
    # @!attribute id
    #   The ID of the voice.
    #
    #   @return [String]
    required :id, String

    # @!attribute provider
    #   The provider of the voice.
    #
    #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::Voice::Provider]
    required :provider, enum: -> { Revox::Models::AssistantListResponse::Assistant::Voice::Provider }

    # @!attribute model
    #   Cartesia TTS model (Cartesia only). Defaults to sonic-3 when omitted. Ignored
    #   for other providers.
    #
    #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::Voice::Model, nil]
    optional :model, enum: -> { Revox::Models::AssistantListResponse::Assistant::Voice::Model }

    # @!attribute speed
    #   The speed of the voice. Range depends on provider: Cartesia 0.6–1.5, ElevenLabs
    #   0.7–1.2. Default is 1.0.
    #
    #   @return [Float, nil]
    optional :speed, Float

    # @!attribute volume
    #   Volume of the voice (Cartesia only). 0.5–2.0, default 1.0. Ignored for other
    #   providers.
    #
    #   @return [Float, nil]
    optional :volume, Float

    # @!method initialize(id:, provider:, model: nil, speed: nil, volume: nil)
    #   Some parameter documentations has been truncated, see
    #   {Revox::Models::AssistantListResponse::Assistant::Voice} for more details.
    #
    #   @param id [String] The ID of the voice.
    #
    #   @param provider [Symbol, Revox::Models::AssistantListResponse::Assistant::Voice::Provider] The provider of the voice.
    #
    #   @param model [Symbol, Revox::Models::AssistantListResponse::Assistant::Voice::Model] Cartesia TTS model (Cartesia only). Defaults to sonic-3 when omitted. Ignored fo
    #
    #   @param speed [Float] The speed of the voice. Range depends on provider: Cartesia 0.6–1.5, ElevenLabs
    #
    #   @param volume [Float] Volume of the voice (Cartesia only). 0.5–2.0, default 1.0. Ignored for other pro

    # The provider of the voice.
    #
    # @see Revox::Models::AssistantListResponse::Assistant::Voice#provider
    module Provider
      extend Revox::Internal::Type::Enum

      CARTESIA = :cartesia
      ELEVENLABS = :elevenlabs

      # @!method self.values
      #   @return [Array<Symbol>]
    end

    # Cartesia TTS model (Cartesia only). Defaults to sonic-3 when omitted. Ignored
    # for other providers.
    #
    # @see Revox::Models::AssistantListResponse::Assistant::Voice#model
    module Model
      extend Revox::Internal::Type::Enum

      SONIC_3 = :"sonic-3"
      SONIC_3_5 = :"sonic-3.5"

      # @!method self.values
      #   @return [Array<Symbol>]
    end
  end

  # @see Revox::Models::AssistantListResponse::Assistant#zoho
  class Zoho < Revox::Internal::Type::BaseModel
    # @!attribute connection_id
    #   The Nango connection ID linking the org's Zoho CRM account to Revox.
    #
    #   @return [String]
    required :connection_id, String

    # @!attribute field_mapping
    #   Maps extracted call fields (structured_output / prompt variables) onto Zoho
    #   field API names on the upserted record.
    #
    #   @return [Array<Revox::Models::AssistantListResponse::Assistant::Zoho::FieldMapping>]
    required :field_mapping,
             -> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::Zoho::FieldMapping] }

    # @!attribute log_call_activity
    #   When true, also log the call as a record in Zoho's Calls module (related to the
    #   upserted prospect via Who_Id).
    #
    #   @return [Boolean]
    required :log_call_activity, Revox::Internal::Type::Boolean

    # @!attribute module_
    #   Zoho module the prospect record is upserted into (e.g. 'Leads' or 'Contacts').
    #
    #   @return [String]
    required :module_, String, api_name: :module

    # @!attribute outcomes
    #   Which call outcomes trigger the Zoho push (e.g. ['interested', 'none']). Use
    #   'none' to push when outcome is null.
    #
    #   @return [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::Zoho::Outcome>]
    required :outcomes,
             -> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::AssistantListResponse::Assistant::Zoho::Outcome] }

    # @!attribute template
    #   Optional Note body template. Supports {{summary}}, {{outcome}}, {{phone}},
    #   {{call_url}}, {{assistant_name}}, {{campaign_name}}, {{transcript}}, plus
    #   prompt_variables and structured_output keys. When null/empty a default note
    #   (outcome + summary + auto-listed extracted fields) is used.
    #
    #   @return [String, nil]
    optional :template, String, nil?: true

    # @!method initialize(connection_id:, field_mapping:, log_call_activity:, module_:, outcomes:, template: nil)
    #   Some parameter documentations has been truncated, see
    #   {Revox::Models::AssistantListResponse::Assistant::Zoho} for more details.
    #
    #   @param connection_id [String] The Nango connection ID linking the org's Zoho CRM account to Revox.
    #
    #   @param field_mapping [Array<Revox::Models::AssistantListResponse::Assistant::Zoho::FieldMapping>] Maps extracted call fields (structured_output / prompt variables) onto Zoho fiel
    #
    #   @param log_call_activity [Boolean] When true, also log the call as a record in Zoho's Calls module (related to the
    #
    #   @param module_ [String] Zoho module the prospect record is upserted into (e.g. 'Leads' or 'Contacts').
    #
    #   @param outcomes [Array<Symbol, Revox::Models::AssistantListResponse::Assistant::Zoho::Outcome>] Which call outcomes trigger the Zoho push (e.g. ['interested', 'none']). Use 'no
    #
    #   @param template [String, nil] Optional Note body template. Supports {{summary}}, {{outcome}}, {{phone}}, {{cal

    class FieldMapping < Revox::Internal::Type::BaseModel
      # @!attribute source
      #   Source key to read from the call: a structured_output field name, falling back
      #   to a prompt variable of the same name.
      #
      #   @return [String]
      required :source, String

      # @!attribute zoho_field
      #   Destination Zoho field API name on the upserted record (e.g. 'Email', 'Company',
      #   or a custom 'Budget\_\_c').
      #
      #   @return [String]
      required :zoho_field, String

      # @!method initialize(source:, zoho_field:)
      #   Some parameter documentations has been truncated, see
      #   {Revox::Models::AssistantListResponse::Assistant::Zoho::FieldMapping} for more
      #   details.
      #
      #   @param source [String] Source key to read from the call: a structured_output field name, falling back t
      #
      #   @param zoho_field [String] Destination Zoho field API name on the upserted record (e.g. 'Email', 'Company',
    end

    module Outcome
      extend Revox::Internal::Type::Enum

      NOT_INTERESTED = :not_interested
      INTERESTED = :interested
      COMPLETED = :completed
      REQUESTED_CALLBACK_LATER = :requested_callback_later
      REQUESTED_CALLBACK_NEW_NUMBER = :requested_callback_new_number
      DO_NOT_CONTACT = :do_not_contact
      AI_AVERSE = :ai_averse
      NONE = :none

      # @!method self.values
      #   @return [Array<Symbol>]
    end
  end

  # @see Revox::Models::AssistantListResponse::Assistant#created_by
  class CreatedBy < Revox::Internal::Type::BaseModel
    # @!attribute id
    #   The database user id of the creator.
    #
    #   @return [String]
    required :id, String

    # @!attribute email
    #
    #   @return [String]
    required :email, String

    # @!attribute first_name
    #
    #   @return [String, nil]
    required :first_name, String, nil?: true

    # @!attribute last_name
    #
    #   @return [String, nil]
    required :last_name, String, nil?: true

    # @!method initialize(id:, email:, first_name:, last_name:)
    #   The user who created the assistant.
    #
    #   @param id [String] The database user id of the creator.
    #
    #   @param email [String]
    #
    #   @param first_name [String, nil]
    #
    #   @param last_name [String, nil]
  end

  class FaqItem < Revox::Internal::Type::BaseModel
    # @!attribute answer
    #
    #   @return [String]
    required :answer, String

    # @!attribute question
    #
    #   @return [String]
    required :question, String

    # @!attribute id
    #
    #   @return [String, nil]
    optional :id, String

    # @!attribute needs_human_answer
    #
    #   @return [Boolean, nil]
    optional :needs_human_answer, Revox::Internal::Type::Boolean

    # @!attribute source
    #
    #   @return [Symbol, Revox::Models::AssistantListResponse::Assistant::FaqItem::Source, nil]
    optional :source, enum: -> { Revox::Models::AssistantListResponse::Assistant::FaqItem::Source }

    # @!method initialize(answer:, question:, id: nil, needs_human_answer: nil, source: nil)
    #   @param answer [String]
    #   @param question [String]
    #   @param id [String]
    #   @param needs_human_answer [Boolean]
    #   @param source [Symbol, Revox::Models::AssistantListResponse::Assistant::FaqItem::Source]

    # @see Revox::Models::AssistantListResponse::Assistant::FaqItem#source
    module Source
      extend Revox::Internal::Type::Enum

      HUMAN = :human
      AI = :ai

      # @!method self.values
      #   @return [Array<Symbol>]
    end
  end
end

Instance Attribute Details

#after_call_sms_outcomesArray<Symbol, Revox::Models::AssistantListResponse::Assistant::AfterCallSMSOutcome>?

Which call outcomes trigger the after-call SMS. When empty or null, no after-call SMS is sent. Use "none" when outcome is null.

Parameters:

  • value (::Array[Revox::Models::AssistantListResponse::Assistant::after_call_sms_outcome], nil)

Returns:



27
28
29
# File 'lib/revox/models/assistant_list_response.rb', line 27

required :after_call_sms_outcomes,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::AssistantListResponse::Assistant::AfterCallSMSOutcome] },
nil?: true

#after_call_sms_promptString?

Prompt / instructions for the after-call SMS. Supports {variable} placeholders. When null, no after-call SMS is sent.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


36
# File 'lib/revox/models/assistant_list_response.rb', line 36

required :after_call_sms_prompt, String, nil?: true

#background_soundSymbol, ...

Ambient background sound to play during the call. null disables it.

Parameters:

  • value (Revox::Models::AssistantListResponse::Assistant::background_sound, nil)

Returns:



42
43
44
# File 'lib/revox/models/assistant_list_response.rb', line 42

required :background_sound,
enum: -> { Revox::Models::AssistantListResponse::Assistant::BackgroundSound },
nil?: true

#background_sound_volumeFloat

Volume of the ambient background sound (0 = silent, 1 = max).

Parameters:

  • value (Float)

Returns:

  • (Float)


50
# File 'lib/revox/models/assistant_list_response.rb', line 50

required :background_sound_volume, Float

#calendlyRevox::Models::AssistantListResponse::Assistant::Calendly?



55
# File 'lib/revox/models/assistant_list_response.rb', line 55

required :calendly, -> { Revox::Models::AssistantListResponse::Assistant::Calendly }, nil?: true

#call_retry_configRevox::Models::AssistantListResponse::Assistant::CallRetryConfig?

Configuration for call retry behavior including time windows, delays, and max iterations. If not provided, defaults will be used.



62
63
64
# File 'lib/revox/models/assistant_list_response.rb', line 62

required :call_retry_config,
-> { Revox::Models::AssistantListResponse::Assistant::CallRetryConfig },
nil?: true

#cartesia_dictionary_pronunciation_idString?

Optional Cartesia pronunciation dictionary ID linked to this assistant.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


70
# File 'lib/revox/models/assistant_list_response.rb', line 70

required :cartesia_dictionary_pronunciation_id, String, nil?: true

#created_atObject

Parameters:

  • value (top)

Returns:

  • (Object)


75
# File 'lib/revox/models/assistant_list_response.rb', line 75

required :created_at, Revox::Internal::Type::Unknown

#created_byRevox::Models::AssistantListResponse::Assistant::CreatedBy?

The user who created the assistant.



335
# File 'lib/revox/models/assistant_list_response.rb', line 335

optional :created_by, -> { Revox::Models::AssistantListResponse::Assistant::CreatedBy }, nil?: true

#custom_toolsArray<Revox::Models::AssistantListResponse::Assistant::CustomTool>?



80
81
82
# File 'lib/revox/models/assistant_list_response.rb', line 80

required :custom_tools,
-> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::CustomTool] },
nil?: true

#email_notification_addressString?

Email address(es) to receive notifications when a call ends with a matching outcome. Accepts a single email or a comma-separated list (e.g. "alice@x.com, bob@y.com").

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


90
# File 'lib/revox/models/assistant_list_response.rb', line 90

required :email_notification_address, String, nil?: true

#email_notification_languageSymbol, Revox::Models::AssistantListResponse::Assistant::EmailNotificationLanguage

The language used for the notification email content. One of "en" or "fr".

Parameters:

  • value (Revox::Models::AssistantListResponse::Assistant::email_notification_language)

Returns:



96
97
# File 'lib/revox/models/assistant_list_response.rb', line 96

required :email_notification_language,
enum: -> { Revox::Models::AssistantListResponse::Assistant::EmailNotificationLanguage }

#email_notification_outcomesArray<Symbol, Revox::Models::AssistantListResponse::Assistant::EmailNotificationOutcome>?

Which call outcomes trigger an email notification. E.g. ["interested", "completed", "none"]. Use "none" when outcome is null.

Parameters:

  • value (::Array[Revox::Models::AssistantListResponse::Assistant::email_notification_outcome], nil)

Returns:



104
105
106
# File 'lib/revox/models/assistant_list_response.rb', line 104

required :email_notification_outcomes,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::AssistantListResponse::Assistant::EmailNotificationOutcome] },
nil?: true

#end_of_call_sentenceString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


111
# File 'lib/revox/models/assistant_list_response.rb', line 111

required :end_of_call_sentence, String, nil?: true

#faq_itemsArray<Revox::Models::AssistantListResponse::Assistant::FaqItem>?



340
341
# File 'lib/revox/models/assistant_list_response.rb', line 340

optional :faq_items,
-> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::FaqItem] }

#first_sentenceString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


116
# File 'lib/revox/models/assistant_list_response.rb', line 116

required :first_sentence, String, nil?: true

#first_sentence_delay_msInteger

Delay in milliseconds before speaking the first sentence. Default: 400.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


122
# File 'lib/revox/models/assistant_list_response.rb', line 122

required :first_sentence_delay_ms, Integer

#first_sentence_modeSymbol, Revox::Models::AssistantListResponse::Assistant::FirstSentenceMode

Parameters:

  • value (Revox::Models::AssistantListResponse::Assistant::first_sentence_mode)

Returns:



127
128
# File 'lib/revox/models/assistant_list_response.rb', line 127

required :first_sentence_mode,
enum: -> { Revox::Models::AssistantListResponse::Assistant::FirstSentenceMode }

#from_phone_numberString?

Override the default outbound phone number for calls placed with this assistant. When null, the organization's default phone number is used.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


135
# File 'lib/revox/models/assistant_list_response.rb', line 135

required :from_phone_number, String, nil?: true

#human_transfer_modeSymbol, ...

Warm or cold transfer when transfer_phone_number is set; null when transfer is not configured.

Parameters:

  • value (Revox::Models::AssistantListResponse::Assistant::human_transfer_mode, nil)

Returns:



142
143
144
# File 'lib/revox/models/assistant_list_response.rb', line 142

required :human_transfer_mode,
enum: -> { Revox::Models::AssistantListResponse::Assistant::HumanTransferMode },
nil?: true

#idString

Parameters:

  • value (String)

Returns:

  • (String)


20
# File 'lib/revox/models/assistant_list_response.rb', line 20

required :id, String

#is_realestate_assistantBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


346
# File 'lib/revox/models/assistant_list_response.rb', line 346

optional :is_realestate_assistant, Revox::Internal::Type::Boolean

#ivr_navigation_enabledBoolean

Enable IVR navigation tools. When enabled, the assistant can send DTMF tones and skip turns to navigate phone menus.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


151
# File 'lib/revox/models/assistant_list_response.rb', line 151

required :ivr_navigation_enabled, Revox::Internal::Type::Boolean

#llm_modelRevox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember0, ...



156
# File 'lib/revox/models/assistant_list_response.rb', line 156

required :llm_model, union: -> { Revox::Models::AssistantListResponse::Assistant::LlmModel }

#logo_urlString?

Public URL of the brand logo shown on the assistant's demo page. Null when unset.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


163
# File 'lib/revox/models/assistant_list_response.rb', line 163

required :logo_url, String, nil?: true

#max_call_duration_secsFloat

The maximum duration of the call in seconds. This is the maximum time the call will be allowed to run.

Parameters:

  • value (Float)

Returns:

  • (Float)


170
# File 'lib/revox/models/assistant_list_response.rb', line 170

required :max_call_duration_secs, Float

#max_duration_end_messageString?

Optional message the agent will say, without being interruptible, when the call reaches its max duration. Kept short so it fits inside the farewell buffer. If null, the call ends silently.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


178
# File 'lib/revox/models/assistant_list_response.rb', line 178

required :max_duration_end_message, String, nil?: true

#nameString

Parameters:

  • value (String)

Returns:

  • (String)


183
# File 'lib/revox/models/assistant_list_response.rb', line 183

required :name, String

#organization_idString

Parameters:

  • value (String)

Returns:

  • (String)


188
# File 'lib/revox/models/assistant_list_response.rb', line 188

required :organization_id, String

#pending_faq_countFloat?

Parameters:

  • (Float)

Returns:

  • (Float, nil)


351
# File 'lib/revox/models/assistant_list_response.rb', line 351

optional :pending_faq_count, Float

#positionRevox::Models::AssistantListResponse::Assistant::Position?



193
# File 'lib/revox/models/assistant_list_response.rb', line 193

required :position, -> { Revox::Models::AssistantListResponse::Assistant::Position }, nil?: true

#promptString

Parameters:

  • value (String)

Returns:

  • (String)


198
# File 'lib/revox/models/assistant_list_response.rb', line 198

required :prompt, String

#prompt_flowRevox::Models::AssistantListResponse::Assistant::PromptFlow?



203
# File 'lib/revox/models/assistant_list_response.rb', line 203

required :prompt_flow, -> { Revox::Models::AssistantListResponse::Assistant::PromptFlow }, nil?: true

#slackRevox::Models::AssistantListResponse::Assistant::Slack?



208
# File 'lib/revox/models/assistant_list_response.rb', line 208

required :slack, -> { Revox::Models::AssistantListResponse::Assistant::Slack }, nil?: true

#sms_enabledBoolean

Enable SMS tool during calls. When enabled, the agent can send SMS messages to the user on the call.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


215
# File 'lib/revox/models/assistant_list_response.rb', line 215

required :sms_enabled, Revox::Internal::Type::Boolean

#sms_templateString?

Hardcoded SMS template to send during calls. When set, this exact text is sent instead of letting the agent generate the message. Supports {variable} placeholders.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


223
# File 'lib/revox/models/assistant_list_response.rb', line 223

required :sms_template, String, nil?: true

#structured_output_configArray<Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig>?

The structured output config to use for the call. This is used to extract the data from the call (like email, name, company name, etc.).



230
231
232
# File 'lib/revox/models/assistant_list_response.rb', line 230

required :structured_output_config,
-> { Revox::Internal::Type::ArrayOf[Revox::Models::AssistantListResponse::Assistant::StructuredOutputConfig] },
nil?: true

#structured_output_promptString?

Custom prompt for structured data extraction. If not provided, a default prompt is used. Available variables: {transcript}, {call_direction}, {user_phone_number}, {agent_phone_number}.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


240
# File 'lib/revox/models/assistant_list_response.rb', line 240

required :structured_output_prompt, String, nil?: true

#stt_contextRevox::Models::AssistantListResponse::Assistant::SttContext?

Assistant-level speech-to-text context: structured general key/value pairs plus a list of domain terms. Prompt-derived context is merged in without replacing existing entries.



248
# File 'lib/revox/models/assistant_list_response.rb', line 248

required :stt_context, -> { Revox::Models::AssistantListResponse::Assistant::SttContext }, nil?: true

#stt_modelSymbol, Revox::Models::AssistantListResponse::Assistant::SttModel

Transcriber (speech-to-text) model used for the assistant.

Parameters:

  • value (Revox::Models::AssistantListResponse::Assistant::stt_model)

Returns:



254
# File 'lib/revox/models/assistant_list_response.rb', line 254

required :stt_model, enum: -> { Revox::Models::AssistantListResponse::Assistant::SttModel }

#thinking_soundSymbol, ...

Audio clip to play while the agent is processing a response. One of the built-in LiveKit audio clips; null disables it.

Parameters:

  • value (Revox::Models::AssistantListResponse::Assistant::thinking_sound, nil)

Returns:



261
262
263
# File 'lib/revox/models/assistant_list_response.rb', line 261

required :thinking_sound,
enum: -> { Revox::Models::AssistantListResponse::Assistant::ThinkingSound },
nil?: true

#thinking_sound_probabilityFloat

Probability [0..1] that the thinking sound plays on any given turn; otherwise the agent is silent while thinking.

Parameters:

  • value (Float)

Returns:

  • (Float)


270
# File 'lib/revox/models/assistant_list_response.rb', line 270

required :thinking_sound_probability, Float

#thinking_sound_volumeFloat

Volume of the thinking sound (0 = silent, 1 = max).

Parameters:

  • value (Float)

Returns:

  • (Float)


276
# File 'lib/revox/models/assistant_list_response.rb', line 276

required :thinking_sound_volume, Float

#transfer_phone_numberString?

Phone number to transfer calls to when users request to speak to a human agent.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


282
# File 'lib/revox/models/assistant_list_response.rb', line 282

required :transfer_phone_number, String, nil?: true

#typeSymbol, Revox::Models::AssistantListResponse::Assistant::Type

Parameters:

  • value (Revox::Models::AssistantListResponse::Assistant::type_)

Returns:



287
# File 'lib/revox/models/assistant_list_response.rb', line 287

required :type, enum: -> { Revox::Models::AssistantListResponse::Assistant::Type }

#updated_atObject

Parameters:

  • value (top)

Returns:

  • (Object)


292
# File 'lib/revox/models/assistant_list_response.rb', line 292

required :updated_at, Revox::Internal::Type::Unknown

#voiceRevox::Models::AssistantListResponse::Assistant::Voice?



297
# File 'lib/revox/models/assistant_list_response.rb', line 297

required :voice, -> { Revox::Models::AssistantListResponse::Assistant::Voice }, nil?: true

#voicemail_messageString?

If set, when voicemail is detected the agent will speak this message then hang up; if null, hang up immediately.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


304
# File 'lib/revox/models/assistant_list_response.rb', line 304

required :voicemail_message, String, nil?: true

#voicemail_sms_promptString?

Prompt / instructions for the voicemail SMS. Supports {variable} placeholders. When null, no SMS is sent on voicemail.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


311
# File 'lib/revox/models/assistant_list_response.rb', line 311

required :voicemail_sms_prompt, String, nil?: true

#warm_transfer_summary_instructionsString?

Warm transfer only: instructions for the supervisor handoff summary; null when not configured or cold transfer.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


318
# File 'lib/revox/models/assistant_list_response.rb', line 318

required :warm_transfer_summary_instructions, String, nil?: true

#webhook_urlString?

The webhook URL to call when the call is completed.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


324
# File 'lib/revox/models/assistant_list_response.rb', line 324

required :webhook_url, String, nil?: true

#zohoRevox::Models::AssistantListResponse::Assistant::Zoho?



329
# File 'lib/revox/models/assistant_list_response.rb', line 329

required :zoho, -> { Revox::Models::AssistantListResponse::Assistant::Zoho }, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


241
# File 'sig/revox/models/assistant_list_response.rbs', line 241

def to_hash: -> {