From a2e451597d8b7547f271db475c6b77f08241b3b0 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 15:17:49 +0000 Subject: [PATCH] Flatten Relay API nav: single-level groups for non-calling services, two-level for calling --- fern/apis/relay/relay.yaml | 140 ------------------ specs/relay/calling/groups.tsp | 139 ++++++++--------- .../relay/messaging/operations/send/main.tsp | 2 +- .../operations/configure/main.tsp | 2 +- .../signalwire/operations/connect/main.tsp | 2 +- .../signalwire/operations/disconnect/main.tsp | 2 +- .../signalwire/operations/receive/main.tsp | 4 +- specs/relay/tasking/operations/tasks/main.tsp | 2 +- .../relay/webrtc/operations/message/main.tsp | 2 +- 9 files changed, 78 insertions(+), 217 deletions(-) diff --git a/fern/apis/relay/relay.yaml b/fern/apis/relay/relay.yaml index 6d1f83164a..042405461d 100644 --- a/fern/apis/relay/relay.yaml +++ b/fern/apis/relay/relay.yaml @@ -48,7 +48,6 @@ channels: $ref: "#/components/messages/authorizationStateEvent" x-fern-sdk-group-name: - signalwire - - connect x-fern-display-name: signalwire.connect bindings: ws: {} @@ -63,7 +62,6 @@ channels: $ref: "#/components/messages/disconnectEvent" x-fern-sdk-group-name: - signalwire - - disconnect x-fern-display-name: signalwire.disconnect bindings: ws: {} @@ -84,7 +82,6 @@ channels: $ref: "#/components/messages/callStateEvent" x-fern-sdk-group-name: - signalwire - - receive x-fern-display-name: signalwire.receive bindings: ws: {} @@ -101,7 +98,6 @@ channels: $ref: "#/components/messages/signalwireUnreceiveResponse" x-fern-sdk-group-name: - signalwire - - unreceive x-fern-display-name: signalwire.unreceive bindings: ws: {} @@ -123,7 +119,6 @@ channels: x-fern-sdk-group-name: - calling - setup - - dial x-fern-display-name: calling.dial bindings: ws: {} @@ -141,7 +136,6 @@ channels: x-fern-sdk-group-name: - calling - setup - - answer x-fern-display-name: calling.answer bindings: ws: {} @@ -159,7 +153,6 @@ channels: x-fern-sdk-group-name: - calling - setup - - end x-fern-display-name: calling.end bindings: ws: {} @@ -181,7 +174,6 @@ channels: x-fern-sdk-group-name: - calling - control - - connect x-fern-display-name: calling.connect bindings: ws: {} @@ -199,7 +191,6 @@ channels: x-fern-sdk-group-name: - calling - control - - disconnect x-fern-display-name: calling.disconnect bindings: ws: {} @@ -219,7 +210,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - collect x-fern-display-name: calling.collect bindings: ws: {} @@ -237,7 +227,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - collect.stop x-fern-display-name: calling.collect.stop bindings: ws: {} @@ -255,7 +244,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - collect.start_input_timers x-fern-display-name: calling.collect.start_input_timers bindings: ws: {} @@ -275,7 +263,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - play_and_collect x-fern-display-name: calling.play_and_collect bindings: ws: {} @@ -293,7 +280,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - play_and_collect.stop x-fern-display-name: calling.play_and_collect.stop bindings: ws: {} @@ -311,7 +297,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - play_and_collect.volume x-fern-display-name: calling.play_and_collect.volume bindings: ws: {} @@ -331,7 +316,6 @@ channels: x-fern-sdk-group-name: - calling - queues - - queue.enter x-fern-display-name: calling.queue.enter bindings: ws: {} @@ -349,7 +333,6 @@ channels: x-fern-sdk-group-name: - calling - queues - - queue.leave x-fern-display-name: calling.queue.leave bindings: ws: {} @@ -369,7 +352,6 @@ channels: x-fern-sdk-group-name: - calling - recording - - record x-fern-display-name: calling.record bindings: ws: {} @@ -387,7 +369,6 @@ channels: x-fern-sdk-group-name: - calling - recording - - record.pause x-fern-display-name: calling.record.pause bindings: ws: {} @@ -405,7 +386,6 @@ channels: x-fern-sdk-group-name: - calling - recording - - record.resume x-fern-display-name: calling.record.resume bindings: ws: {} @@ -423,7 +403,6 @@ channels: x-fern-sdk-group-name: - calling - recording - - record.stop x-fern-display-name: calling.record.stop bindings: ws: {} @@ -443,7 +422,6 @@ channels: x-fern-sdk-group-name: - calling - control - - refer x-fern-display-name: calling.refer bindings: ws: {} @@ -461,7 +439,6 @@ channels: x-fern-sdk-group-name: - calling - control - - pass x-fern-display-name: calling.pass bindings: ws: {} @@ -481,7 +458,6 @@ channels: x-fern-sdk-group-name: - calling - payments - - pay x-fern-display-name: calling.pay bindings: ws: {} @@ -499,7 +475,6 @@ channels: x-fern-sdk-group-name: - calling - payments - - pay.stop x-fern-display-name: calling.pay.stop bindings: ws: {} @@ -519,7 +494,6 @@ channels: x-fern-sdk-group-name: - calling - playback - - play x-fern-display-name: calling.play bindings: ws: {} @@ -537,7 +511,6 @@ channels: x-fern-sdk-group-name: - calling - playback - - play.pause x-fern-display-name: calling.play.pause bindings: ws: {} @@ -555,7 +528,6 @@ channels: x-fern-sdk-group-name: - calling - playback - - play.resume x-fern-display-name: calling.play.resume bindings: ws: {} @@ -573,7 +545,6 @@ channels: x-fern-sdk-group-name: - calling - playback - - play.stop x-fern-display-name: calling.play.stop bindings: ws: {} @@ -591,7 +562,6 @@ channels: x-fern-sdk-group-name: - calling - playback - - play.volume x-fern-display-name: calling.play.volume bindings: ws: {} @@ -611,7 +581,6 @@ channels: x-fern-sdk-group-name: - calling - detection - - detect x-fern-display-name: calling.detect bindings: ws: {} @@ -629,7 +598,6 @@ channels: x-fern-sdk-group-name: - calling - detection - - detect.stop x-fern-display-name: calling.detect.stop bindings: ws: {} @@ -649,7 +617,6 @@ channels: x-fern-sdk-group-name: - calling - fax - - send_fax x-fern-display-name: calling.send_fax bindings: ws: {} @@ -667,7 +634,6 @@ channels: x-fern-sdk-group-name: - calling - fax - - send_fax.stop x-fern-display-name: calling.send_fax.stop bindings: ws: {} @@ -687,7 +653,6 @@ channels: x-fern-sdk-group-name: - calling - fax - - receive_fax x-fern-display-name: calling.receive_fax bindings: ws: {} @@ -705,7 +670,6 @@ channels: x-fern-sdk-group-name: - calling - fax - - receive_fax.stop x-fern-display-name: calling.receive_fax.stop bindings: ws: {} @@ -725,7 +689,6 @@ channels: x-fern-sdk-group-name: - calling - media - - tap x-fern-display-name: calling.tap bindings: ws: {} @@ -743,7 +706,6 @@ channels: x-fern-sdk-group-name: - calling - media - - tap.stop x-fern-display-name: calling.tap.stop bindings: ws: {} @@ -763,7 +725,6 @@ channels: x-fern-sdk-group-name: - calling - media - - stream x-fern-display-name: calling.stream bindings: ws: {} @@ -781,7 +742,6 @@ channels: x-fern-sdk-group-name: - calling - media - - stream.stop x-fern-display-name: calling.stream.stop bindings: ws: {} @@ -799,7 +759,6 @@ channels: x-fern-sdk-group-name: - calling - control - - transfer x-fern-display-name: calling.transfer bindings: ws: {} @@ -819,7 +778,6 @@ channels: x-fern-sdk-group-name: - calling - conferencing - - join_conference x-fern-display-name: calling.join_conference bindings: ws: {} @@ -839,7 +797,6 @@ channels: x-fern-sdk-group-name: - calling - conferencing - - leave_conference x-fern-display-name: calling.leave_conference bindings: ws: {} @@ -859,7 +816,6 @@ channels: x-fern-sdk-group-name: - calling - audio - - denoise x-fern-display-name: calling.denoise bindings: ws: {} @@ -877,7 +833,6 @@ channels: x-fern-sdk-group-name: - calling - audio - - denoise.stop x-fern-display-name: calling.denoise.stop bindings: ws: {} @@ -897,7 +852,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - send_digits x-fern-display-name: calling.send_digits bindings: ws: {} @@ -917,7 +871,6 @@ channels: x-fern-sdk-group-name: - calling - transcription - - transcribe x-fern-display-name: calling.transcribe bindings: ws: {} @@ -935,7 +888,6 @@ channels: x-fern-sdk-group-name: - calling - transcription - - transcribe.stop x-fern-display-name: calling.transcribe.stop bindings: ws: {} @@ -955,7 +907,6 @@ channels: x-fern-sdk-group-name: - calling - audio - - echo x-fern-display-name: calling.echo bindings: ws: {} @@ -973,7 +924,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - bind_digit x-fern-display-name: calling.bind_digit bindings: ws: {} @@ -991,7 +941,6 @@ channels: x-fern-sdk-group-name: - calling - prompt - - clear_digit_bindings x-fern-display-name: calling.clear_digit_bindings bindings: ws: {} @@ -1015,7 +964,6 @@ channels: x-fern-sdk-group-name: - calling - transcription - - live_transcribe x-fern-display-name: calling.live_transcribe bindings: ws: {} @@ -1039,7 +987,6 @@ channels: x-fern-sdk-group-name: - calling - transcription - - live_translate x-fern-display-name: calling.live_translate bindings: ws: {} @@ -1059,7 +1006,6 @@ channels: x-fern-sdk-group-name: - calling - conferencing - - join_room x-fern-display-name: calling.join_room bindings: ws: {} @@ -1079,7 +1025,6 @@ channels: x-fern-sdk-group-name: - calling - conferencing - - leave_room x-fern-display-name: calling.leave_room bindings: ws: {} @@ -1127,7 +1072,6 @@ channels: x-fern-sdk-group-name: - calling - agent - - ai x-fern-display-name: calling.ai bindings: ws: {} @@ -1145,7 +1089,6 @@ channels: x-fern-sdk-group-name: - calling - agent - - ai.stop x-fern-display-name: calling.ai.stop bindings: ws: {} @@ -1165,7 +1108,6 @@ channels: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar x-fern-display-name: calling.ai_sidecar bindings: ws: {} @@ -1183,7 +1125,6 @@ channels: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar.poke x-fern-display-name: calling.ai_sidecar.poke bindings: ws: {} @@ -1201,7 +1142,6 @@ channels: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar.ask x-fern-display-name: calling.ai_sidecar.ask bindings: ws: {} @@ -1219,7 +1159,6 @@ channels: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar.stop x-fern-display-name: calling.ai_sidecar.stop bindings: ws: {} @@ -1237,7 +1176,6 @@ channels: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar.status x-fern-display-name: calling.ai_sidecar.status bindings: ws: {} @@ -1255,7 +1193,6 @@ channels: x-fern-sdk-group-name: - calling - agent - - amazon_bedrock x-fern-display-name: calling.amazon_bedrock bindings: ws: {} @@ -1273,7 +1210,6 @@ channels: x-fern-sdk-group-name: - calling - agent - - ai_message x-fern-display-name: calling.ai_message bindings: ws: {} @@ -1291,7 +1227,6 @@ channels: x-fern-sdk-group-name: - calling - agent - - ai_hold x-fern-display-name: calling.ai_hold bindings: ws: {} @@ -1309,7 +1244,6 @@ channels: x-fern-sdk-group-name: - calling - agent - - ai_unhold x-fern-display-name: calling.ai_unhold bindings: ws: {} @@ -1329,7 +1263,6 @@ channels: x-fern-sdk-group-name: - calling - events - - user_event x-fern-display-name: calling.user_event bindings: ws: {} @@ -1350,7 +1283,6 @@ channels: $ref: "#/components/messages/receiveEvent" x-fern-sdk-group-name: - messaging - - send x-fern-display-name: messaging.send bindings: ws: {} @@ -1365,7 +1297,6 @@ channels: $ref: "#/components/messages/tasksEvent" x-fern-sdk-group-name: - queuing - - relay.tasks x-fern-display-name: queuing.relay.tasks bindings: ws: {} @@ -1382,7 +1313,6 @@ channels: $ref: "#/components/messages/provisioningConfigureResponse" x-fern-sdk-group-name: - provisioning - - configure x-fern-display-name: provisioning.configure bindings: ws: {} @@ -1401,7 +1331,6 @@ channels: $ref: "#/components/messages/messageEvent" x-fern-sdk-group-name: - webrtc - - verto x-fern-display-name: webrtc.verto bindings: ws: {} @@ -1421,7 +1350,6 @@ operations: - $ref: "#/channels/signalwire.connect/messages/signalwireConnectResponse" x-fern-sdk-group-name: - signalwire - - connect x-fern-display-name: signalwire.connect onSignalwireConnectAuthorizationStateEvent: action: receive @@ -1462,7 +1390,6 @@ operations: - $ref: "#/channels/signalwire.receive/messages/signalwireReceiveResponse" x-fern-sdk-group-name: - signalwire - - receive x-fern-display-name: signalwire.receive onSignalwireReceiveCallReceiveEvent: action: receive @@ -1503,7 +1430,6 @@ operations: - $ref: "#/channels/signalwire.unreceive/messages/signalwireUnreceiveResponse" x-fern-sdk-group-name: - signalwire - - unreceive x-fern-display-name: signalwire.unreceive onSignalwireUnreceiveResponse: action: receive @@ -1529,7 +1455,6 @@ operations: x-fern-sdk-group-name: - calling - setup - - dial x-fern-display-name: calling.dial onCallingDialCallDialEvent: action: receive @@ -1571,7 +1496,6 @@ operations: x-fern-sdk-group-name: - calling - setup - - answer x-fern-display-name: calling.answer onCallingAnswerResponse: action: receive @@ -1597,7 +1521,6 @@ operations: x-fern-sdk-group-name: - calling - setup - - end x-fern-display-name: calling.end onCallingEndResponse: action: receive @@ -1623,7 +1546,6 @@ operations: x-fern-sdk-group-name: - calling - control - - connect x-fern-display-name: calling.connect onCallingConnectCallConnectEvent: action: receive @@ -1665,7 +1587,6 @@ operations: x-fern-sdk-group-name: - calling - control - - disconnect x-fern-display-name: calling.disconnect onCallingDisconnectResponse: action: receive @@ -1691,7 +1612,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - collect x-fern-display-name: calling.collect onCallingCollectCallCollectEvent: action: receive @@ -1725,7 +1645,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - collect.stop x-fern-display-name: calling.collect.stop onCallingCollectStopResponse: action: receive @@ -1751,7 +1670,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - collect.start_input_timers x-fern-display-name: calling.collect.start_input_timers onCallingCollectStartInputTimersResponse: action: receive @@ -1777,7 +1695,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - play_and_collect x-fern-display-name: calling.play_and_collect onCallingPlayAndCollectCallCollectEvent: action: receive @@ -1811,7 +1728,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - play_and_collect.stop x-fern-display-name: calling.play_and_collect.stop onCallingPlayAndCollectStopResponse: action: receive @@ -1837,7 +1753,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - play_and_collect.volume x-fern-display-name: calling.play_and_collect.volume onCallingPlayAndCollectVolumeResponse: action: receive @@ -1863,7 +1778,6 @@ operations: x-fern-sdk-group-name: - calling - queues - - queue.enter x-fern-display-name: calling.queue.enter onCallingQueueEnterCallQueueEvent: action: receive @@ -1897,7 +1811,6 @@ operations: x-fern-sdk-group-name: - calling - queues - - queue.leave x-fern-display-name: calling.queue.leave onCallingQueueLeaveResponse: action: receive @@ -1923,7 +1836,6 @@ operations: x-fern-sdk-group-name: - calling - recording - - record x-fern-display-name: calling.record onCallingRecordCallRecordEvent: action: receive @@ -1957,7 +1869,6 @@ operations: x-fern-sdk-group-name: - calling - recording - - record.pause x-fern-display-name: calling.record.pause onCallingRecordPauseResponse: action: receive @@ -1983,7 +1894,6 @@ operations: x-fern-sdk-group-name: - calling - recording - - record.resume x-fern-display-name: calling.record.resume onCallingRecordResumeResponse: action: receive @@ -2009,7 +1919,6 @@ operations: x-fern-sdk-group-name: - calling - recording - - record.stop x-fern-display-name: calling.record.stop onCallingRecordStopResponse: action: receive @@ -2035,7 +1944,6 @@ operations: x-fern-sdk-group-name: - calling - control - - refer x-fern-display-name: calling.refer onCallingReferCallReferEvent: action: receive @@ -2069,7 +1977,6 @@ operations: x-fern-sdk-group-name: - calling - control - - pass x-fern-display-name: calling.pass onCallingPassResponse: action: receive @@ -2095,7 +2002,6 @@ operations: x-fern-sdk-group-name: - calling - payments - - pay x-fern-display-name: calling.pay onCallingPayCallPayEvent: action: receive @@ -2129,7 +2035,6 @@ operations: x-fern-sdk-group-name: - calling - payments - - pay.stop x-fern-display-name: calling.pay.stop onCallingPayStopResponse: action: receive @@ -2155,7 +2060,6 @@ operations: x-fern-sdk-group-name: - calling - playback - - play x-fern-display-name: calling.play onCallingPlayCallPlayEvent: action: receive @@ -2189,7 +2093,6 @@ operations: x-fern-sdk-group-name: - calling - playback - - play.pause x-fern-display-name: calling.play.pause onCallingPlayPauseResponse: action: receive @@ -2215,7 +2118,6 @@ operations: x-fern-sdk-group-name: - calling - playback - - play.resume x-fern-display-name: calling.play.resume onCallingPlayResumeResponse: action: receive @@ -2241,7 +2143,6 @@ operations: x-fern-sdk-group-name: - calling - playback - - play.stop x-fern-display-name: calling.play.stop onCallingPlayStopResponse: action: receive @@ -2267,7 +2168,6 @@ operations: x-fern-sdk-group-name: - calling - playback - - play.volume x-fern-display-name: calling.play.volume onCallingPlayVolumeResponse: action: receive @@ -2293,7 +2193,6 @@ operations: x-fern-sdk-group-name: - calling - detection - - detect x-fern-display-name: calling.detect onCallingDetectCallDetectEvent: action: receive @@ -2327,7 +2226,6 @@ operations: x-fern-sdk-group-name: - calling - detection - - detect.stop x-fern-display-name: calling.detect.stop onCallingDetectStopResponse: action: receive @@ -2353,7 +2251,6 @@ operations: x-fern-sdk-group-name: - calling - fax - - send_fax x-fern-display-name: calling.send_fax onCallingSendFaxCallFaxEvent: action: receive @@ -2387,7 +2284,6 @@ operations: x-fern-sdk-group-name: - calling - fax - - send_fax.stop x-fern-display-name: calling.send_fax.stop onCallingSendFaxStopResponse: action: receive @@ -2413,7 +2309,6 @@ operations: x-fern-sdk-group-name: - calling - fax - - receive_fax x-fern-display-name: calling.receive_fax onCallingReceiveFaxCallFaxEvent: action: receive @@ -2447,7 +2342,6 @@ operations: x-fern-sdk-group-name: - calling - fax - - receive_fax.stop x-fern-display-name: calling.receive_fax.stop onCallingReceiveFaxStopResponse: action: receive @@ -2473,7 +2367,6 @@ operations: x-fern-sdk-group-name: - calling - media - - tap x-fern-display-name: calling.tap onCallingTapCallTapEvent: action: receive @@ -2507,7 +2400,6 @@ operations: x-fern-sdk-group-name: - calling - media - - tap.stop x-fern-display-name: calling.tap.stop onCallingTapStopResponse: action: receive @@ -2533,7 +2425,6 @@ operations: x-fern-sdk-group-name: - calling - media - - stream x-fern-display-name: calling.stream onCallingStreamCallStreamEvent: action: receive @@ -2567,7 +2458,6 @@ operations: x-fern-sdk-group-name: - calling - media - - stream.stop x-fern-display-name: calling.stream.stop onCallingStreamStopResponse: action: receive @@ -2593,7 +2483,6 @@ operations: x-fern-sdk-group-name: - calling - control - - transfer x-fern-display-name: calling.transfer onCallingTransferResponse: action: receive @@ -2619,7 +2508,6 @@ operations: x-fern-sdk-group-name: - calling - conferencing - - join_conference x-fern-display-name: calling.join_conference onCallingJoinConferenceConferenceEvent: action: receive @@ -2653,7 +2541,6 @@ operations: x-fern-sdk-group-name: - calling - conferencing - - leave_conference x-fern-display-name: calling.leave_conference onCallingLeaveConferenceConferenceEvent: action: receive @@ -2687,7 +2574,6 @@ operations: x-fern-sdk-group-name: - calling - audio - - denoise x-fern-display-name: calling.denoise onCallingDenoiseCallDenoiseEvent: action: receive @@ -2721,7 +2607,6 @@ operations: x-fern-sdk-group-name: - calling - audio - - denoise.stop x-fern-display-name: calling.denoise.stop onCallingDenoiseStopResponse: action: receive @@ -2747,7 +2632,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - send_digits x-fern-display-name: calling.send_digits onCallingSendDigitsCallSendDigitsEvent: action: receive @@ -2781,7 +2665,6 @@ operations: x-fern-sdk-group-name: - calling - transcription - - transcribe x-fern-display-name: calling.transcribe onCallingTranscribeCallTranscribeEvent: action: receive @@ -2815,7 +2698,6 @@ operations: x-fern-sdk-group-name: - calling - transcription - - transcribe.stop x-fern-display-name: calling.transcribe.stop onCallingTranscribeStopResponse: action: receive @@ -2841,7 +2723,6 @@ operations: x-fern-sdk-group-name: - calling - audio - - echo x-fern-display-name: calling.echo onCallingEchoCallEchoEvent: action: receive @@ -2875,7 +2756,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - bind_digit x-fern-display-name: calling.bind_digit onCallingBindDigitResponse: action: receive @@ -2901,7 +2781,6 @@ operations: x-fern-sdk-group-name: - calling - prompt - - clear_digit_bindings x-fern-display-name: calling.clear_digit_bindings onCallingClearDigitBindingsResponse: action: receive @@ -2927,7 +2806,6 @@ operations: x-fern-sdk-group-name: - calling - transcription - - live_transcribe x-fern-display-name: calling.live_transcribe onCallingLiveTranscribeTranscribeUtteranceEvent: action: receive @@ -2977,7 +2855,6 @@ operations: x-fern-sdk-group-name: - calling - transcription - - live_translate x-fern-display-name: calling.live_translate onCallingLiveTranslateTranslateTranscriptDeltaEvent: action: receive @@ -3027,7 +2904,6 @@ operations: x-fern-sdk-group-name: - calling - conferencing - - join_room x-fern-display-name: calling.join_room onCallingJoinRoomCallRoomEvent: action: receive @@ -3061,7 +2937,6 @@ operations: x-fern-sdk-group-name: - calling - conferencing - - leave_room x-fern-display-name: calling.leave_room onCallingLeaveRoomCallRoomEvent: action: receive @@ -3095,7 +2970,6 @@ operations: x-fern-sdk-group-name: - calling - agent - - ai x-fern-display-name: calling.ai onCallingAiCallAiEvent: action: receive @@ -3241,7 +3115,6 @@ operations: x-fern-sdk-group-name: - calling - agent - - ai.stop x-fern-display-name: calling.ai.stop onCallingAiStopResponse: action: receive @@ -3267,7 +3140,6 @@ operations: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar x-fern-display-name: calling.ai_sidecar onCallingAiSidecarAiSidecarEvent: action: receive @@ -3301,7 +3173,6 @@ operations: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar.poke x-fern-display-name: calling.ai_sidecar.poke onCallingAiSidecarPokeResponse: action: receive @@ -3327,7 +3198,6 @@ operations: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar.ask x-fern-display-name: calling.ai_sidecar.ask onCallingAiSidecarAskResponse: action: receive @@ -3353,7 +3223,6 @@ operations: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar.stop x-fern-display-name: calling.ai_sidecar.stop onCallingAiSidecarStopResponse: action: receive @@ -3379,7 +3248,6 @@ operations: x-fern-sdk-group-name: - calling - sidecar - - ai_sidecar.status x-fern-display-name: calling.ai_sidecar.status onCallingAiSidecarStatusResponse: action: receive @@ -3405,7 +3273,6 @@ operations: x-fern-sdk-group-name: - calling - agent - - amazon_bedrock x-fern-display-name: calling.amazon_bedrock onCallingAmazonBedrockResponse: action: receive @@ -3431,7 +3298,6 @@ operations: x-fern-sdk-group-name: - calling - agent - - ai_message x-fern-display-name: calling.ai_message onCallingAiMessageResponse: action: receive @@ -3457,7 +3323,6 @@ operations: x-fern-sdk-group-name: - calling - agent - - ai_hold x-fern-display-name: calling.ai_hold onCallingAiHoldResponse: action: receive @@ -3483,7 +3348,6 @@ operations: x-fern-sdk-group-name: - calling - agent - - ai_unhold x-fern-display-name: calling.ai_unhold onCallingAiUnholdResponse: action: receive @@ -3509,7 +3373,6 @@ operations: x-fern-sdk-group-name: - calling - events - - user_event x-fern-display-name: calling.user_event onCallingUserEventCallUserEvent: action: receive @@ -3542,7 +3405,6 @@ operations: - $ref: "#/channels/messaging.send/messages/messagingSendResponse" x-fern-sdk-group-name: - messaging - - send x-fern-display-name: messaging.send onMessagingSendStateEvent: action: receive @@ -3591,7 +3453,6 @@ operations: - $ref: "#/channels/provisioning.configure/messages/provisioningConfigureResponse" x-fern-sdk-group-name: - provisioning - - configure x-fern-display-name: provisioning.configure onProvisioningConfigureResponse: action: receive @@ -3616,7 +3477,6 @@ operations: - $ref: "#/channels/webrtc.verto/messages/webrtcVertoResponse" x-fern-sdk-group-name: - webrtc - - verto x-fern-display-name: webrtc.verto onWebrtcVertoMessageEvent: action: receive diff --git a/specs/relay/calling/groups.tsp b/specs/relay/calling/groups.tsp index 6c8d274c03..a1840351e9 100644 --- a/specs/relay/calling/groups.tsp +++ b/specs/relay/calling/groups.tsp @@ -1,107 +1,108 @@ namespace Relay.Calling; // Single source of truth for Fern nav grouping (`x-fern-sdk-group-name`) across the calling service. -// Each const is the full nav path `["calling", "
", ""]`: -// - middle element: the apis.yml section that auto-populates the channel (via a +// Each const is the nav path `["calling", "
"]`: +// - first element: the `calling` service package. +// - second element: the apis.yml section that auto-populates the channel (via a // `referenced-packages: calling.
` reference + the section's `skip-slug`). It is a // distinct umbrella word, deliberately NOT a real method name — a base channel like -// `calling.collect` would otherwise collide with a middle group named "collect". -// - leaf element: the canonical method name being referred to by `@channel`, minus the -// `calling.` service prefix (dots preserved, never camelCased). -// Renaming a section = edit the middle word here once. (TypeSpec 1.11 has no array-value spread, +// `calling.collect` would otherwise collide with a group named "collect". +// Channels sit directly in `calling.
` (no per-channel subpackage), so they render flat +// inside the one manually-set section instead of each getting its own nested folder. +// Renaming a section = edit the second word here once. (TypeSpec 1.11 has no array-value spread, // so each path is written in full.) // Call Setup & Lifecycle → calling.setup -const GroupSetupDial = #["calling", "setup", "dial"]; -const GroupSetupAnswer = #["calling", "setup", "answer"]; -const GroupSetupEnd = #["calling", "setup", "end"]; +const GroupSetupDial = #["calling", "setup"]; +const GroupSetupAnswer = #["calling", "setup"]; +const GroupSetupEnd = #["calling", "setup"]; // Call Control & Bridging → calling.control -const GroupControlConnect = #["calling", "control", "connect"]; -const GroupControlDisconnect = #["calling", "control", "disconnect"]; -const GroupControlTransfer = #["calling", "control", "transfer"]; -const GroupControlRefer = #["calling", "control", "refer"]; -const GroupControlPass = #["calling", "control", "pass"]; +const GroupControlConnect = #["calling", "control"]; +const GroupControlDisconnect = #["calling", "control"]; +const GroupControlTransfer = #["calling", "control"]; +const GroupControlRefer = #["calling", "control"]; +const GroupControlPass = #["calling", "control"]; // Playback → calling.playback -const GroupPlaybackPlay = #["calling", "playback", "play"]; -const GroupPlaybackPause = #["calling", "playback", "play.pause"]; -const GroupPlaybackResume = #["calling", "playback", "play.resume"]; -const GroupPlaybackStop = #["calling", "playback", "play.stop"]; -const GroupPlaybackVolume = #["calling", "playback", "play.volume"]; +const GroupPlaybackPlay = #["calling", "playback"]; +const GroupPlaybackPause = #["calling", "playback"]; +const GroupPlaybackResume = #["calling", "playback"]; +const GroupPlaybackStop = #["calling", "playback"]; +const GroupPlaybackVolume = #["calling", "playback"]; // Prompt & Collect Input → calling.prompt -const GroupPromptCollect = #["calling", "prompt", "collect"]; -const GroupPromptCollectStop = #["calling", "prompt", "collect.stop"]; -const GroupPromptCollectStartInputTimers = #["calling", "prompt", "collect.start_input_timers"]; -const GroupPromptPlayAndCollect = #["calling", "prompt", "play_and_collect"]; -const GroupPromptPlayAndCollectStop = #["calling", "prompt", "play_and_collect.stop"]; -const GroupPromptPlayAndCollectVolume = #["calling", "prompt", "play_and_collect.volume"]; -const GroupPromptSendDigits = #["calling", "prompt", "send_digits"]; -const GroupPromptBindDigit = #["calling", "prompt", "bind_digit"]; -const GroupPromptClearDigitBindings = #["calling", "prompt", "clear_digit_bindings"]; +const GroupPromptCollect = #["calling", "prompt"]; +const GroupPromptCollectStop = #["calling", "prompt"]; +const GroupPromptCollectStartInputTimers = #["calling", "prompt"]; +const GroupPromptPlayAndCollect = #["calling", "prompt"]; +const GroupPromptPlayAndCollectStop = #["calling", "prompt"]; +const GroupPromptPlayAndCollectVolume = #["calling", "prompt"]; +const GroupPromptSendDigits = #["calling", "prompt"]; +const GroupPromptBindDigit = #["calling", "prompt"]; +const GroupPromptClearDigitBindings = #["calling", "prompt"]; // Payments → calling.payments -const GroupPaymentsPay = #["calling", "payments", "pay"]; -const GroupPaymentsPayStop = #["calling", "payments", "pay.stop"]; +const GroupPaymentsPay = #["calling", "payments"]; +const GroupPaymentsPayStop = #["calling", "payments"]; // Recording → calling.recording -const GroupRecordingRecord = #["calling", "recording", "record"]; -const GroupRecordingPause = #["calling", "recording", "record.pause"]; -const GroupRecordingResume = #["calling", "recording", "record.resume"]; -const GroupRecordingStop = #["calling", "recording", "record.stop"]; +const GroupRecordingRecord = #["calling", "recording"]; +const GroupRecordingPause = #["calling", "recording"]; +const GroupRecordingResume = #["calling", "recording"]; +const GroupRecordingStop = #["calling", "recording"]; // Detection → calling.detection -const GroupDetectionDetect = #["calling", "detection", "detect"]; -const GroupDetectionStop = #["calling", "detection", "detect.stop"]; +const GroupDetectionDetect = #["calling", "detection"]; +const GroupDetectionStop = #["calling", "detection"]; // Fax → calling.fax -const GroupFaxSend = #["calling", "fax", "send_fax"]; -const GroupFaxSendStop = #["calling", "fax", "send_fax.stop"]; -const GroupFaxReceive = #["calling", "fax", "receive_fax"]; -const GroupFaxReceiveStop = #["calling", "fax", "receive_fax.stop"]; +const GroupFaxSend = #["calling", "fax"]; +const GroupFaxSendStop = #["calling", "fax"]; +const GroupFaxReceive = #["calling", "fax"]; +const GroupFaxReceiveStop = #["calling", "fax"]; // Media Streaming & Tap → calling.media -const GroupMediaTap = #["calling", "media", "tap"]; -const GroupMediaTapStop = #["calling", "media", "tap.stop"]; -const GroupMediaStream = #["calling", "media", "stream"]; -const GroupMediaStreamStop = #["calling", "media", "stream.stop"]; +const GroupMediaTap = #["calling", "media"]; +const GroupMediaTapStop = #["calling", "media"]; +const GroupMediaStream = #["calling", "media"]; +const GroupMediaStreamStop = #["calling", "media"]; // Transcription & Translation → calling.transcription -const GroupTranscriptionTranscribe = #["calling", "transcription", "transcribe"]; -const GroupTranscriptionStop = #["calling", "transcription", "transcribe.stop"]; -const GroupTranscriptionLiveTranscribe = #["calling", "transcription", "live_transcribe"]; -const GroupTranscriptionLiveTranslate = #["calling", "transcription", "live_translate"]; +const GroupTranscriptionTranscribe = #["calling", "transcription"]; +const GroupTranscriptionStop = #["calling", "transcription"]; +const GroupTranscriptionLiveTranscribe = #["calling", "transcription"]; +const GroupTranscriptionLiveTranslate = #["calling", "transcription"]; // Audio Processing → calling.audio -const GroupAudioDenoise = #["calling", "audio", "denoise"]; -const GroupAudioDenoiseStop = #["calling", "audio", "denoise.stop"]; -const GroupAudioEcho = #["calling", "audio", "echo"]; +const GroupAudioDenoise = #["calling", "audio"]; +const GroupAudioDenoiseStop = #["calling", "audio"]; +const GroupAudioEcho = #["calling", "audio"]; // Queues → calling.queues -const GroupQueuesEnter = #["calling", "queues", "queue.enter"]; -const GroupQueuesLeave = #["calling", "queues", "queue.leave"]; +const GroupQueuesEnter = #["calling", "queues"]; +const GroupQueuesLeave = #["calling", "queues"]; // Conferencing & Rooms → calling.conferencing -const GroupConferencingJoinConference = #["calling", "conferencing", "join_conference"]; -const GroupConferencingLeaveConference = #["calling", "conferencing", "leave_conference"]; -const GroupConferencingJoinRoom = #["calling", "conferencing", "join_room"]; -const GroupConferencingLeaveRoom = #["calling", "conferencing", "leave_room"]; +const GroupConferencingJoinConference = #["calling", "conferencing"]; +const GroupConferencingLeaveConference = #["calling", "conferencing"]; +const GroupConferencingJoinRoom = #["calling", "conferencing"]; +const GroupConferencingLeaveRoom = #["calling", "conferencing"]; // AI Agent → calling.agent -const GroupAgentAi = #["calling", "agent", "ai"]; -const GroupAgentAiStop = #["calling", "agent", "ai.stop"]; -const GroupAgentAiMessage = #["calling", "agent", "ai_message"]; -const GroupAgentAiHold = #["calling", "agent", "ai_hold"]; -const GroupAgentAiUnhold = #["calling", "agent", "ai_unhold"]; -const GroupAgentAmazonBedrock = #["calling", "agent", "amazon_bedrock"]; +const GroupAgentAi = #["calling", "agent"]; +const GroupAgentAiStop = #["calling", "agent"]; +const GroupAgentAiMessage = #["calling", "agent"]; +const GroupAgentAiHold = #["calling", "agent"]; +const GroupAgentAiUnhold = #["calling", "agent"]; +const GroupAgentAmazonBedrock = #["calling", "agent"]; // AI Sidecar → calling.sidecar -const GroupSidecarBase = #["calling", "sidecar", "ai_sidecar"]; -const GroupSidecarPoke = #["calling", "sidecar", "ai_sidecar.poke"]; -const GroupSidecarAsk = #["calling", "sidecar", "ai_sidecar.ask"]; -const GroupSidecarStop = #["calling", "sidecar", "ai_sidecar.stop"]; -const GroupSidecarStatus = #["calling", "sidecar", "ai_sidecar.status"]; +const GroupSidecarBase = #["calling", "sidecar"]; +const GroupSidecarPoke = #["calling", "sidecar"]; +const GroupSidecarAsk = #["calling", "sidecar"]; +const GroupSidecarStop = #["calling", "sidecar"]; +const GroupSidecarStatus = #["calling", "sidecar"]; // Custom Events → calling.events -const GroupEventsUserEvent = #["calling", "events", "user_event"]; +const GroupEventsUserEvent = #["calling", "events"]; diff --git a/specs/relay/messaging/operations/send/main.tsp b/specs/relay/messaging/operations/send/main.tsp index e9e389ee3f..9e05a38f77 100644 --- a/specs/relay/messaging/operations/send/main.tsp +++ b/specs/relay/messaging/operations/send/main.tsp @@ -10,7 +10,7 @@ using SignalWire.AsyncAPI; using TypeSpec.OpenAPI; namespace Relay.Messaging; -const GroupMessagingSend = #["messaging", "send"]; +const GroupMessagingSend = #["messaging"]; const messagingSend = "messaging.send"; const messagingSendResponse = "${messagingSend} response"; diff --git a/specs/relay/provisioning/operations/configure/main.tsp b/specs/relay/provisioning/operations/configure/main.tsp index 0daacaca1f..9ee0e9e29e 100644 --- a/specs/relay/provisioning/operations/configure/main.tsp +++ b/specs/relay/provisioning/operations/configure/main.tsp @@ -9,7 +9,7 @@ using SignalWire.AsyncAPI; using TypeSpec.OpenAPI; namespace Relay.Provisioning; -const GroupProvisioningConfigure = #["provisioning", "configure"]; +const GroupProvisioningConfigure = #["provisioning"]; const provisioningConfigure = "provisioning.configure"; const provisioningConfigureResponse = "${provisioningConfigure} response"; diff --git a/specs/relay/signalwire/operations/connect/main.tsp b/specs/relay/signalwire/operations/connect/main.tsp index 6b3ff72393..0c14db0f63 100644 --- a/specs/relay/signalwire/operations/connect/main.tsp +++ b/specs/relay/signalwire/operations/connect/main.tsp @@ -10,7 +10,7 @@ using SignalWire.AsyncAPI; using TypeSpec.OpenAPI; namespace Relay.Signalwire; -const GroupSignalwireConnect = #["signalwire", "connect"]; +const GroupSignalwireConnect = #["signalwire"]; const signalwireConnect = "signalwire.connect"; const signalwireConnectResponse = "${signalwireConnect} response"; diff --git a/specs/relay/signalwire/operations/disconnect/main.tsp b/specs/relay/signalwire/operations/disconnect/main.tsp index 50d109702b..529ef0701d 100644 --- a/specs/relay/signalwire/operations/disconnect/main.tsp +++ b/specs/relay/signalwire/operations/disconnect/main.tsp @@ -9,7 +9,7 @@ using SignalWire.AsyncAPI; using TypeSpec.OpenAPI; namespace Relay.Signalwire; -const GroupSignalwireDisconnect = #["signalwire", "disconnect"]; +const GroupSignalwireDisconnect = #["signalwire"]; const signalwireDisconnect = "signalwire.disconnect"; diff --git a/specs/relay/signalwire/operations/receive/main.tsp b/specs/relay/signalwire/operations/receive/main.tsp index cec42968f1..c3936f2d05 100644 --- a/specs/relay/signalwire/operations/receive/main.tsp +++ b/specs/relay/signalwire/operations/receive/main.tsp @@ -10,8 +10,8 @@ using SignalWire.AsyncAPI; using TypeSpec.OpenAPI; namespace Relay.Signalwire; -const GroupSignalwireReceive = #["signalwire", "receive"]; -const GroupSignalwireUnreceive = #["signalwire", "unreceive"]; +const GroupSignalwireReceive = #["signalwire"]; +const GroupSignalwireUnreceive = #["signalwire"]; const signalwireReceive = "signalwire.receive"; const signalwireReceiveResponse = "${signalwireReceive} response"; diff --git a/specs/relay/tasking/operations/tasks/main.tsp b/specs/relay/tasking/operations/tasks/main.tsp index 752a05088d..e3b4903098 100644 --- a/specs/relay/tasking/operations/tasks/main.tsp +++ b/specs/relay/tasking/operations/tasks/main.tsp @@ -7,7 +7,7 @@ using SignalWire.AsyncAPI; using TypeSpec.OpenAPI; namespace Relay.Tasking; -const GroupQueuingRelayTasks = #["queuing", "relay.tasks"]; +const GroupQueuingRelayTasks = #["queuing"]; @channel(queuingRelayTasks) @summary("Receive tasks delivered to a subscribed context") diff --git a/specs/relay/webrtc/operations/message/main.tsp b/specs/relay/webrtc/operations/message/main.tsp index edd5c0f82c..9a3d2886b5 100644 --- a/specs/relay/webrtc/operations/message/main.tsp +++ b/specs/relay/webrtc/operations/message/main.tsp @@ -10,7 +10,7 @@ using SignalWire.AsyncAPI; using TypeSpec.OpenAPI; namespace Relay.WebRTC; -const GroupWebrtcVerto = #["webrtc", "verto"]; +const GroupWebrtcVerto = #["webrtc"]; const webrtcVerto = "webrtc.verto"; const webrtcVertoResponse = "${webrtcVerto} response";