@mgamadeus/ddd-agents 0.5.16 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +170 -6
- package/boundary.json +13 -0
- package/dist/chat.js +148 -773
- package/dist/chat.js.map +1 -1
- package/dist/chunks/{canvas-title-slot-context-DK4sfhkl.js → ConversationMarkdown-BsCjyhj4.js} +14 -43
- package/dist/chunks/ConversationMarkdown-BsCjyhj4.js.map +1 -0
- package/dist/chunks/{ConversationMessageInputComposerWidgets-B3Zf69rD.js → ConversationMessageInputComposerWidgets-CE8LpyXY.js} +10 -37
- package/dist/chunks/ConversationMessageInputComposerWidgets-CE8LpyXY.js.map +1 -0
- package/dist/chunks/VoiceBarsIcon-BIcURsBF.js +643 -0
- package/dist/chunks/VoiceBarsIcon-BIcURsBF.js.map +1 -0
- package/dist/chunks/{WebSearchResultsConversationWidget-887v8Wen.js → WebSearchResultsConversationWidget-DXhfSikV.js} +2 -2
- package/dist/chunks/{WebSearchResultsConversationWidget-887v8Wen.js.map → WebSearchResultsConversationWidget-DXhfSikV.js.map} +1 -1
- package/dist/chunks/browser-request-interception-BnzFbH0m.js +335 -0
- package/dist/chunks/browser-request-interception-BnzFbH0m.js.map +1 -0
- package/dist/chunks/{canvas-reducers-CwFA3rQ6.js → canvas-reducers-D-YxAR4B.js} +2 -2
- package/dist/chunks/{canvas-reducers-CwFA3rQ6.js.map → canvas-reducers-D-YxAR4B.js.map} +1 -1
- package/dist/chunks/canvas-title-slot-context-D6UXrkdJ.js +36 -0
- package/dist/chunks/canvas-title-slot-context-D6UXrkdJ.js.map +1 -0
- package/dist/chunks/{canvasBodies-C7qqThc9.js → canvasBodies-CQEBkIVw.js} +4 -4
- package/dist/chunks/{canvasBodies-C7qqThc9.js.map → canvasBodies-CQEBkIVw.js.map} +1 -1
- package/dist/chunks/{canvasStorage-i2wKVSBf.js → canvasStorage-BbEI3h-8.js} +2 -2
- package/dist/chunks/{canvasStorage-i2wKVSBf.js.map → canvasStorage-BbEI3h-8.js.map} +1 -1
- package/dist/chunks/format-agent-voice-call-duration-C-3hRc9p.js +10 -0
- package/dist/chunks/format-agent-voice-call-duration-C-3hRc9p.js.map +1 -0
- package/dist/chunks/{link-navigation-CNX8Am2L.js → link-navigation-BUcy5qWW.js} +2 -2
- package/dist/chunks/{link-navigation-CNX8Am2L.js.map → link-navigation-BUcy5qWW.js.map} +1 -1
- package/dist/chunks/{realtime-arrival-BTLE3jjt.js → realtime-arrival-BfsAPwqQ.js} +8 -3
- package/dist/chunks/realtime-arrival-BfsAPwqQ.js.map +1 -0
- package/dist/chunks/use-agents-chat-store-CuIkCz9v.js +34 -0
- package/dist/chunks/use-agents-chat-store-CuIkCz9v.js.map +1 -0
- package/dist/chunks/{widget-name-resolver-BVEuAsW5.js → widget-name-resolver-B9k-s_cF.js} +3 -3
- package/dist/chunks/{widget-name-resolver-BVEuAsW5.js.map → widget-name-resolver-B9k-s_cF.js.map} +1 -1
- package/dist/chunks/withPollingChangeSubscription-CnQnubfK.js.map +1 -1
- package/dist/client-testing.js +4 -4
- package/dist/client.js +14 -3
- package/dist/client.js.map +1 -1
- package/dist/files/i18n-keys.json +1128 -100
- package/dist/image-render.js +65 -38
- package/dist/image-render.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/kit.js +2 -2
- package/dist/preview.js +23 -26
- package/dist/preview.js.map +1 -1
- package/dist/provider.js +1 -1
- package/dist/renderer.js +25 -24
- package/dist/renderer.js.map +1 -1
- package/dist/styles.css +531 -93
- package/dist/types/client/AgentsConversationClient.d.ts +4 -1
- package/dist/types/client/http/createAgentsHttpConversationClient.d.ts +2 -1
- package/dist/types/entries/voice-admin.d.ts +7 -0
- package/dist/types/entries/voice.d.ts +24 -0
- package/dist/types/image-render/frozen-widget-requests.d.ts +11 -2
- package/dist/types/image-render/widget-image-google-map.d.ts +5 -0
- package/dist/types/image-render/widget-image-static-assets.d.ts +2 -0
- package/dist/types/preview/widget-preview-requests.d.ts +6 -5
- package/dist/types/request-interception/browser-request-interception.d.ts +48 -0
- package/dist/types/request-interception/intercepted-xml-http-request-upload.d.ts +15 -0
- package/dist/types/ui/account-realtime.d.ts +50 -11
- package/dist/types/voice/AgentVoiceCallBand/AgentVoiceCallBand.d.ts +49 -0
- package/dist/types/voice/AgentVoiceCallBand/agent-voice-call-outcome-title-text-key.d.ts +8 -0
- package/dist/types/voice/AgentVoiceCallCaptions/AgentVoiceCallCaptions.d.ts +15 -0
- package/dist/types/voice/AgentVoiceCallCaptions/saved-messages-of-agent-voice-chat.d.ts +12 -0
- package/dist/types/voice/AgentVoiceCallProvider/AgentVoiceCallProvider.d.ts +21 -0
- package/dist/types/voice/AgentVoiceCallProvider/agent-voice-call-context.d.ts +17 -0
- package/dist/types/voice/AgentVoiceChatStartButton/AgentVoiceChatStartButton.d.ts +15 -0
- package/dist/types/voice/AgentVoiceIcons/AgentVoiceIcons.d.ts +10 -0
- package/dist/types/voice/AgentVoiceIncomingCall/AgentVoiceIncomingCall.d.ts +28 -0
- package/dist/types/voice/AgentVoiceInputGlow/AgentVoiceInputGlow.d.ts +11 -0
- package/dist/types/voice/AgentVoiceInputGlow/agent-voice-input-glow-voice.d.ts +8 -0
- package/dist/types/voice/admin/AgentVoiceCallConversationLink/AgentVoiceCallConversationLink.d.ts +10 -0
- package/dist/types/voice/admin/AgentVoiceCallDetailScreen/AgentVoiceCallDetailScreen.d.ts +27 -0
- package/dist/types/voice/admin/AgentVoiceCallStateBadges/AgentVoiceCallStateBadges.d.ts +12 -0
- package/dist/types/voice/admin/AgentVoiceCallsScreen/AgentVoiceCallsScreen.d.ts +33 -0
- package/dist/types/voice/admin/agent-voice-admin-api.d.ts +59 -0
- package/dist/types/voice/admin/agent-voice-admin-format.d.ts +38 -0
- package/dist/types/voice/admin/agent-voice-admin-types.d.ts +110 -0
- package/dist/types/voice/agent-voice-api.d.ts +114 -0
- package/dist/types/voice/call/agent-voice-call-elapsed-seconds.d.ts +6 -0
- package/dist/types/voice/call/agent-voice-call-end-reasons.d.ts +3 -0
- package/dist/types/voice/call/agent-voice-call-store.d.ts +111 -0
- package/dist/types/voice/call/agent-voice-call-turn.d.ts +4 -0
- package/dist/types/voice/call/build-unsaved-agent-voice-call-lines.d.ts +14 -0
- package/dist/types/voice/call/format-agent-voice-call-duration.d.ts +2 -0
- package/dist/types/voice/call/use-agent-voice-call-elapsed-seconds.d.ts +3 -0
- package/dist/types/voice/call/use-agent-voice-call-server-end.d.ts +15 -0
- package/dist/types/voice/call/use-agent-voice-call.d.ts +12 -0
- package/dist/types/voice/call/use-follow-agent-voice-call-conversation.d.ts +9 -0
- package/dist/types/voice/ring/agent-voice-caller-label.d.ts +21 -0
- package/dist/types/voice/ring/agent-voice-incoming-ring-list.d.ts +10 -0
- package/dist/types/voice/ring/agent-voice-incoming-ring-store.d.ts +47 -0
- package/dist/types/voice/ring/agent-voice-ring-source.d.ts +75 -0
- package/dist/types/voice/ring/agent-voice-ring.d.ts +35 -0
- package/dist/types/voice/ring/answer-incoming-agent-voice-call.d.ts +13 -0
- package/dist/types/voice/ring/use-agent-voice-incoming-rings.d.ts +14 -0
- package/dist/types/voice/ring/use-agent-voice-ring-tone.d.ts +6 -0
- package/dist/ui.js +82 -19
- package/dist/ui.js.map +1 -1
- package/dist/voice-admin.js +738 -0
- package/dist/voice-admin.js.map +1 -0
- package/dist/voice.js +1586 -0
- package/dist/voice.js.map +1 -0
- package/dist/widgets.js +4 -4
- package/package.json +23 -4
- package/public-api.json +156 -0
- package/dist/chunks/ConversationMessageInputComposerWidgets-B3Zf69rD.js.map +0 -1
- package/dist/chunks/canvas-title-slot-context-DK4sfhkl.js.map +0 -1
- package/dist/chunks/realtime-arrival-BTLE3jjt.js.map +0 -1
- package/dist/chunks/widget-image-readiness-signal-C58JkCQA.js +0 -25
- package/dist/chunks/widget-image-readiness-signal-C58JkCQA.js.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -5414,6 +5414,537 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
5414
5414
|
.agents_cardFooter_7HSIGK {
|
|
5415
5415
|
flex-wrap: wrap;
|
|
5416
5416
|
}
|
|
5417
|
+
}.agents_message_BScH1l {
|
|
5418
|
+
max-width: min(37.5rem, 100%);
|
|
5419
|
+
background-color: var(--agents-assistant-400, red);
|
|
5420
|
+
padding: 0.5rem 0.75rem;
|
|
5421
|
+
border-radius: 0.5rem;
|
|
5422
|
+
align-self: flex-end;
|
|
5423
|
+
overflow-wrap: anywhere;
|
|
5424
|
+
word-break: break-word;
|
|
5425
|
+
}
|
|
5426
|
+
|
|
5427
|
+
.agents_messageWithWidgetsAboveBubble_bWTYWp {
|
|
5428
|
+
display: flex;
|
|
5429
|
+
flex-direction: column;
|
|
5430
|
+
align-items: flex-end;
|
|
5431
|
+
gap: 0.5rem;
|
|
5432
|
+
align-self: flex-end;
|
|
5433
|
+
max-width: min(37.5rem, 100%);
|
|
5434
|
+
}
|
|
5435
|
+
|
|
5436
|
+
.agents_whiteBubble_4-I21V {
|
|
5437
|
+
background-color: var(--agents-bg, white);
|
|
5438
|
+
}
|
|
5439
|
+
|
|
5440
|
+
.agents_darkBubble_YdEIoi {
|
|
5441
|
+
background-color: var(--agents-chat-user-bubble-background);
|
|
5442
|
+
padding: 0.625rem 1rem;
|
|
5443
|
+
border-radius: 1.25rem;
|
|
5444
|
+
}
|
|
5445
|
+
|
|
5446
|
+
.agents_primaryBubble_jo9Zj- {
|
|
5447
|
+
background-color: var(--agents-primary-500);
|
|
5448
|
+
}.agents_responseContainer_1-FSNs {
|
|
5449
|
+
display: flex;
|
|
5450
|
+
flex-direction: column;
|
|
5451
|
+
justify-content: flex-start;
|
|
5452
|
+
align-items: flex-start;
|
|
5453
|
+
width: 100%;
|
|
5454
|
+
gap: 0.5rem;
|
|
5455
|
+
}
|
|
5456
|
+
|
|
5457
|
+
.agents_responseMessage_Xrs7fL {
|
|
5458
|
+
display: flex;
|
|
5459
|
+
width: 100%;
|
|
5460
|
+
flex-direction: column;
|
|
5461
|
+
gap: 0.5rem;
|
|
5462
|
+
}
|
|
5463
|
+
.agents_responseMessage_Xrs7fL [data-block-reveal=hidden] {
|
|
5464
|
+
opacity: 0;
|
|
5465
|
+
}
|
|
5466
|
+
.agents_responseMessage_Xrs7fL [data-block-reveal=revealed] {
|
|
5467
|
+
animation: agents_blockRevealFadeIn_KiBB0E 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
5468
|
+
}
|
|
5469
|
+
|
|
5470
|
+
@keyframes agents_blockRevealFadeIn_KiBB0E {
|
|
5471
|
+
from {
|
|
5472
|
+
opacity: 0;
|
|
5473
|
+
transform: translateY(24px);
|
|
5474
|
+
}
|
|
5475
|
+
to {
|
|
5476
|
+
opacity: 1;
|
|
5477
|
+
transform: none;
|
|
5478
|
+
}
|
|
5479
|
+
}
|
|
5480
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5481
|
+
.agents_responseMessage_Xrs7fL [data-block-reveal] {
|
|
5482
|
+
opacity: 1;
|
|
5483
|
+
animation: none;
|
|
5484
|
+
}
|
|
5485
|
+
}.agents_iconContainer_JupHNn {
|
|
5486
|
+
border-radius: 0.625rem;
|
|
5487
|
+
aspect-ratio: 1;
|
|
5488
|
+
width: 2rem;
|
|
5489
|
+
display: flex;
|
|
5490
|
+
align-items: center;
|
|
5491
|
+
justify-content: center;
|
|
5492
|
+
background-color: var(--agents-assistant-400, #3C28CC);
|
|
5493
|
+
}
|
|
5494
|
+
.agents_iconContainer_JupHNn path {
|
|
5495
|
+
fill: var(--agents-fg-on-accent) !important;
|
|
5496
|
+
}
|
|
5497
|
+
|
|
5498
|
+
.agents_responseHeader_ulXYcn {
|
|
5499
|
+
display: flex;
|
|
5500
|
+
flex-direction: row;
|
|
5501
|
+
gap: 0.5rem;
|
|
5502
|
+
align-items: center;
|
|
5503
|
+
margin-bottom: 1rem;
|
|
5504
|
+
}.agents_icon_DD3OXD {
|
|
5505
|
+
flex: none;
|
|
5506
|
+
fill: none;
|
|
5507
|
+
stroke: currentColor;
|
|
5508
|
+
stroke-width: 2.4;
|
|
5509
|
+
stroke-linecap: round;
|
|
5510
|
+
}/*
|
|
5511
|
+
* The start button: the send button's size and spot, in the agent's dark colour. Custom properties, each read with its
|
|
5512
|
+
* default: --agents-voice-surface, --agents-voice-on-surface, --agents-voice-start-button-size,
|
|
5513
|
+
* --agents-voice-focus-ring.
|
|
5514
|
+
*/
|
|
5515
|
+
.agents_startButton_DMqIXK {
|
|
5516
|
+
display: inline-flex;
|
|
5517
|
+
align-items: center;
|
|
5518
|
+
justify-content: center;
|
|
5519
|
+
width: var(--agents-voice-start-button-size, 2rem);
|
|
5520
|
+
height: var(--agents-voice-start-button-size, 2rem);
|
|
5521
|
+
padding: 0;
|
|
5522
|
+
border: none;
|
|
5523
|
+
border-radius: 50%;
|
|
5524
|
+
background: var(--agents-voice-surface, #00495d);
|
|
5525
|
+
color: var(--agents-voice-on-surface, #ffffff);
|
|
5526
|
+
cursor: pointer;
|
|
5527
|
+
animation: agents_startButtonIn_jCUQ9x 260ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
5528
|
+
transition: transform 150ms ease;
|
|
5529
|
+
}
|
|
5530
|
+
|
|
5531
|
+
.agents_startButton_DMqIXK:hover {
|
|
5532
|
+
transform: scale(1.06);
|
|
5533
|
+
}
|
|
5534
|
+
|
|
5535
|
+
.agents_startButton_DMqIXK:active {
|
|
5536
|
+
transform: scale(0.96);
|
|
5537
|
+
}
|
|
5538
|
+
|
|
5539
|
+
.agents_startButton_DMqIXK:focus-visible {
|
|
5540
|
+
outline: 0.125rem solid var(--agents-voice-focus-ring, #2563eb);
|
|
5541
|
+
outline-offset: 0.125rem;
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
.agents_startButton_DMqIXK:disabled {
|
|
5545
|
+
opacity: 0.45;
|
|
5546
|
+
cursor: default;
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
@keyframes agents_startButtonIn_jCUQ9x {
|
|
5550
|
+
from {
|
|
5551
|
+
opacity: 0;
|
|
5552
|
+
transform: scale(0.6);
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5555
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5556
|
+
.agents_startButton_DMqIXK {
|
|
5557
|
+
animation: none;
|
|
5558
|
+
}
|
|
5559
|
+
}/* The line icons take the current text colour. */
|
|
5560
|
+
.agents_icon_VX-p0I {
|
|
5561
|
+
flex: none;
|
|
5562
|
+
fill: none;
|
|
5563
|
+
stroke: currentColor;
|
|
5564
|
+
stroke-width: 2;
|
|
5565
|
+
stroke-linecap: round;
|
|
5566
|
+
stroke-linejoin: round;
|
|
5567
|
+
}/*
|
|
5568
|
+
* The band over the chat input: the agent's dark colour, rising from behind the input, which overlaps its lower edge
|
|
5569
|
+
* by the tuck. Same width as the input (it follows the chat's own side inset). Every colour and size an application
|
|
5570
|
+
* may want to change is a custom property read with its default here; set it on any ancestor (`:root`, the chat):
|
|
5571
|
+
*
|
|
5572
|
+
* --agents-voice-surface, --agents-voice-on-surface the band (also the start button and the incoming call's mark)
|
|
5573
|
+
* --agents-voice-end, --agents-voice-on-end End and Decline
|
|
5574
|
+
* --agents-voice-font-size, --agents-voice-caption-font-size
|
|
5575
|
+
* --agents-voice-band-side-inset, --agents-voice-band-max-width, --agents-voice-band-tuck,
|
|
5576
|
+
* --agents-voice-band-radius, --agents-voice-band-z-index
|
|
5577
|
+
* --agents-voice-action-height, --agents-voice-action-radius
|
|
5578
|
+
*/
|
|
5579
|
+
.agents_band_zaFYNK {
|
|
5580
|
+
--agents-voice-band-tuck-size: var(--agents-voice-band-tuck, 1.5rem);
|
|
5581
|
+
--agents-voice-band-glide: cubic-bezier(0.32, 0.72, 0, 1);
|
|
5582
|
+
position: relative;
|
|
5583
|
+
z-index: var(--agents-voice-band-z-index, 9);
|
|
5584
|
+
flex: none;
|
|
5585
|
+
width: calc(100% - 2 * var(--agents-voice-band-side-inset, var(--agents-chat-input-side-inset, 1.5rem)));
|
|
5586
|
+
max-width: var(--agents-voice-band-max-width, 50rem);
|
|
5587
|
+
margin-bottom: calc(-1 * var(--agents-voice-band-tuck-size));
|
|
5588
|
+
overflow: hidden;
|
|
5589
|
+
border-radius: var(--agents-voice-band-radius, 1.5rem) var(--agents-voice-band-radius, 1.5rem) 0 0;
|
|
5590
|
+
background: var(--agents-voice-surface, #00495d);
|
|
5591
|
+
color: var(--agents-voice-on-surface, #ffffff);
|
|
5592
|
+
font-size: var(--agents-voice-font-size, 0.875rem);
|
|
5593
|
+
line-height: 1.4;
|
|
5594
|
+
container-name: voiceCallBand;
|
|
5595
|
+
container-type: inline-size;
|
|
5596
|
+
/* The buttons' translucent fills blend with the band, not with the chat behind it. */
|
|
5597
|
+
isolation: isolate;
|
|
5598
|
+
animation: agents_bandRise_BBSBjs 640ms var(--agents-voice-band-glide) both;
|
|
5599
|
+
}
|
|
5600
|
+
|
|
5601
|
+
@keyframes agents_bandRise_BBSBjs {
|
|
5602
|
+
from {
|
|
5603
|
+
transform: translateY(100%);
|
|
5604
|
+
clip-path: inset(0 0 100% 0);
|
|
5605
|
+
}
|
|
5606
|
+
to {
|
|
5607
|
+
transform: none;
|
|
5608
|
+
clip-path: inset(0);
|
|
5609
|
+
}
|
|
5610
|
+
}
|
|
5611
|
+
.agents_content_q4jRea {
|
|
5612
|
+
display: flex;
|
|
5613
|
+
align-items: center;
|
|
5614
|
+
gap: 1rem;
|
|
5615
|
+
padding: 0.5rem 0.5rem calc(0.5rem + var(--agents-voice-band-tuck-size)) 1.25rem;
|
|
5616
|
+
}
|
|
5617
|
+
|
|
5618
|
+
.agents_content_q4jRea > * {
|
|
5619
|
+
animation: agents_bandContentIn_iQxKQo 520ms cubic-bezier(0.23, 1, 0.32, 1) 180ms backwards;
|
|
5620
|
+
}
|
|
5621
|
+
|
|
5622
|
+
.agents_content_q4jRea > :last-child {
|
|
5623
|
+
animation-delay: 260ms;
|
|
5624
|
+
}
|
|
5625
|
+
|
|
5626
|
+
@keyframes agents_bandContentIn_iQxKQo {
|
|
5627
|
+
from {
|
|
5628
|
+
opacity: 0;
|
|
5629
|
+
transform: translateY(0.5rem);
|
|
5630
|
+
}
|
|
5631
|
+
}
|
|
5632
|
+
.agents_spot_wdOO-R {
|
|
5633
|
+
flex: none;
|
|
5634
|
+
display: flex;
|
|
5635
|
+
align-items: center;
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
.agents_who_SEmzYy {
|
|
5639
|
+
flex: 1;
|
|
5640
|
+
min-width: 0;
|
|
5641
|
+
display: flex;
|
|
5642
|
+
align-items: baseline;
|
|
5643
|
+
gap: 0.5rem;
|
|
5644
|
+
}
|
|
5645
|
+
|
|
5646
|
+
/* The title and the time keep one line; only the status may take a second one. */
|
|
5647
|
+
.agents_who_SEmzYy > :not(.agents_status_saTxLl) {
|
|
5648
|
+
flex: none;
|
|
5649
|
+
white-space: nowrap;
|
|
5650
|
+
}
|
|
5651
|
+
|
|
5652
|
+
.agents_title_PBN6ka {
|
|
5653
|
+
font-weight: 500;
|
|
5654
|
+
}
|
|
5655
|
+
|
|
5656
|
+
.agents_time_aaWlsN {
|
|
5657
|
+
font-size: var(--agents-voice-caption-font-size, 0.75rem);
|
|
5658
|
+
font-variant-numeric: tabular-nums;
|
|
5659
|
+
opacity: 0.72;
|
|
5660
|
+
}
|
|
5661
|
+
|
|
5662
|
+
.agents_status_saTxLl {
|
|
5663
|
+
min-width: 0;
|
|
5664
|
+
display: -webkit-box;
|
|
5665
|
+
overflow: hidden;
|
|
5666
|
+
-webkit-box-orient: vertical;
|
|
5667
|
+
-webkit-line-clamp: 2;
|
|
5668
|
+
line-clamp: 2;
|
|
5669
|
+
font-size: var(--agents-voice-caption-font-size, 0.75rem);
|
|
5670
|
+
opacity: 0.72;
|
|
5671
|
+
}
|
|
5672
|
+
|
|
5673
|
+
.agents_actions_uyJzPl {
|
|
5674
|
+
flex: none;
|
|
5675
|
+
display: flex;
|
|
5676
|
+
gap: 0.5rem;
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5679
|
+
/* A pill on the dark band. */
|
|
5680
|
+
.agents_action_z96Tb1 {
|
|
5681
|
+
position: relative;
|
|
5682
|
+
display: inline-flex;
|
|
5683
|
+
align-items: center;
|
|
5684
|
+
gap: 0.25rem;
|
|
5685
|
+
height: var(--agents-voice-action-height, 2rem);
|
|
5686
|
+
padding: 0 0.875rem 0 0.75rem;
|
|
5687
|
+
border: none;
|
|
5688
|
+
border-radius: var(--agents-voice-action-radius, 1rem);
|
|
5689
|
+
background: color-mix(in srgb, var(--agents-voice-on-surface, #ffffff) 16%, transparent);
|
|
5690
|
+
color: var(--agents-voice-on-surface, #ffffff);
|
|
5691
|
+
font: inherit;
|
|
5692
|
+
font-size: var(--agents-voice-caption-font-size, 0.75rem);
|
|
5693
|
+
font-weight: 500;
|
|
5694
|
+
cursor: pointer;
|
|
5695
|
+
transition: background-color 150ms ease, transform 150ms ease;
|
|
5696
|
+
}
|
|
5697
|
+
|
|
5698
|
+
.agents_action_z96Tb1:hover {
|
|
5699
|
+
background: color-mix(in srgb, var(--agents-voice-on-surface, #ffffff) 24%, transparent);
|
|
5700
|
+
}
|
|
5701
|
+
|
|
5702
|
+
.agents_action_z96Tb1:active {
|
|
5703
|
+
transform: scale(0.97);
|
|
5704
|
+
}
|
|
5705
|
+
|
|
5706
|
+
.agents_action_z96Tb1:focus-visible {
|
|
5707
|
+
outline: 0.125rem solid var(--agents-voice-on-surface, #ffffff);
|
|
5708
|
+
outline-offset: 0.125rem;
|
|
5709
|
+
}
|
|
5710
|
+
|
|
5711
|
+
.agents_action_z96Tb1:disabled {
|
|
5712
|
+
opacity: 0.45;
|
|
5713
|
+
cursor: default;
|
|
5714
|
+
}
|
|
5715
|
+
|
|
5716
|
+
.agents_action_z96Tb1[aria-pressed=true],
|
|
5717
|
+
.agents_action_z96Tb1[data-variant=accept] {
|
|
5718
|
+
background: var(--agents-voice-on-surface, #ffffff);
|
|
5719
|
+
color: var(--agents-voice-surface, #00495d);
|
|
5720
|
+
}
|
|
5721
|
+
|
|
5722
|
+
.agents_action_z96Tb1[data-variant=end] {
|
|
5723
|
+
background: var(--agents-voice-end, #dc2626);
|
|
5724
|
+
color: var(--agents-voice-on-end, #ffffff);
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5727
|
+
.agents_action_z96Tb1[data-icon-only] {
|
|
5728
|
+
width: var(--agents-voice-action-height, 2rem);
|
|
5729
|
+
padding: 0;
|
|
5730
|
+
justify-content: center;
|
|
5731
|
+
}
|
|
5732
|
+
|
|
5733
|
+
.agents_action_z96Tb1[data-icon-only] .agents_actionLabel_ItbQmp {
|
|
5734
|
+
position: absolute;
|
|
5735
|
+
width: 1px;
|
|
5736
|
+
height: 1px;
|
|
5737
|
+
overflow: hidden;
|
|
5738
|
+
clip-path: inset(50%);
|
|
5739
|
+
white-space: nowrap;
|
|
5740
|
+
}
|
|
5741
|
+
|
|
5742
|
+
/* A narrow chat (a compact window, a phone): the buttons are their icons alone, their labels still naming them. */
|
|
5743
|
+
@container voiceCallBand (max-width: 520px) {
|
|
5744
|
+
.agents_action_z96Tb1 {
|
|
5745
|
+
width: var(--agents-voice-action-height, 2rem);
|
|
5746
|
+
padding: 0;
|
|
5747
|
+
justify-content: center;
|
|
5748
|
+
}
|
|
5749
|
+
.agents_action_z96Tb1 .agents_actionLabel_ItbQmp {
|
|
5750
|
+
position: absolute;
|
|
5751
|
+
width: 1px;
|
|
5752
|
+
height: 1px;
|
|
5753
|
+
overflow: hidden;
|
|
5754
|
+
clip-path: inset(50%);
|
|
5755
|
+
white-space: nowrap;
|
|
5756
|
+
}
|
|
5757
|
+
.agents_status_saTxLl {
|
|
5758
|
+
display: none;
|
|
5759
|
+
}
|
|
5760
|
+
}
|
|
5761
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5762
|
+
.agents_band_zaFYNK,
|
|
5763
|
+
.agents_content_q4jRea > * {
|
|
5764
|
+
animation: none;
|
|
5765
|
+
}
|
|
5766
|
+
}/* The captions: the same rhythm as the message list they end (--agents-voice-captions-gap changes it). */
|
|
5767
|
+
.agents_captions_PCkZmI {
|
|
5768
|
+
display: flex;
|
|
5769
|
+
flex-direction: column;
|
|
5770
|
+
gap: var(--agents-voice-captions-gap, var(--chat-messages-gap, 1.5rem));
|
|
5771
|
+
}
|
|
5772
|
+
|
|
5773
|
+
.agents_line_411mUr {
|
|
5774
|
+
display: flex;
|
|
5775
|
+
flex-direction: column;
|
|
5776
|
+
animation: agents_captionIn_vwHS-4 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
5777
|
+
}
|
|
5778
|
+
|
|
5779
|
+
@keyframes agents_captionIn_vwHS-4 {
|
|
5780
|
+
from {
|
|
5781
|
+
opacity: 0;
|
|
5782
|
+
filter: blur(0.25rem);
|
|
5783
|
+
transform: translateY(0.5rem);
|
|
5784
|
+
}
|
|
5785
|
+
}
|
|
5786
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5787
|
+
.agents_line_411mUr {
|
|
5788
|
+
animation: none;
|
|
5789
|
+
}
|
|
5790
|
+
}
|
|
5791
|
+
/*
|
|
5792
|
+
* The input glow: over the input's whole box, under the field. The field's own surface covers the canvases' middle,
|
|
5793
|
+
* so only what is past its edge shows. The canvases reach 200px past the box (CANVAS_PADDING_PX in the component).
|
|
5794
|
+
* The glow's shades are the custom properties --agents-voice-glow-color-1 … --agents-voice-glow-color-4, read by the
|
|
5795
|
+
* canvases with their defaults.
|
|
5796
|
+
*/
|
|
5797
|
+
.agents_glow_kSd-yQ {
|
|
5798
|
+
position: absolute;
|
|
5799
|
+
inset: 0;
|
|
5800
|
+
z-index: -1;
|
|
5801
|
+
pointer-events: none;
|
|
5802
|
+
}
|
|
5803
|
+
|
|
5804
|
+
.agents_halo_KYezvE,
|
|
5805
|
+
.agents_edge_QQWtWn {
|
|
5806
|
+
position: absolute;
|
|
5807
|
+
inset: -200px;
|
|
5808
|
+
width: calc(100% + 400px);
|
|
5809
|
+
height: calc(100% + 400px);
|
|
5810
|
+
}
|
|
5811
|
+
|
|
5812
|
+
/* The wide light, far and faint. */
|
|
5813
|
+
.agents_halo_KYezvE {
|
|
5814
|
+
filter: blur(18px) saturate(1.4);
|
|
5815
|
+
opacity: 0.55;
|
|
5816
|
+
}
|
|
5817
|
+
|
|
5818
|
+
/* The glow close to the field, soft but holding the wave's shape. */
|
|
5819
|
+
.agents_edge_QQWtWn {
|
|
5820
|
+
filter: blur(6px) saturate(1.3);
|
|
5821
|
+
opacity: 0.75;
|
|
5822
|
+
}/*
|
|
5823
|
+
* The incoming call: top centre, over every page. Custom properties, each read with its default:
|
|
5824
|
+
*
|
|
5825
|
+
* --agents-voice-incoming-call-top, --agents-voice-incoming-call-z-index
|
|
5826
|
+
* --agents-voice-card-surface, --agents-voice-card-text, --agents-voice-card-action-surface,
|
|
5827
|
+
* --agents-voice-card-padding, --agents-voice-card-radius, --agents-voice-card-shadow
|
|
5828
|
+
* --agents-voice-accept, --agents-voice-on-accept Accept
|
|
5829
|
+
* --agents-voice-surface, --agents-voice-on-surface the mark of the voice chat
|
|
5830
|
+
* --agents-voice-focus-ring, --agents-voice-font-size, --agents-voice-caption-font-size
|
|
5831
|
+
*/
|
|
5832
|
+
.agents_incomingCall_e0NnBQ {
|
|
5833
|
+
position: fixed;
|
|
5834
|
+
top: var(--agents-voice-incoming-call-top, 1.5rem);
|
|
5835
|
+
left: 50%;
|
|
5836
|
+
z-index: var(--agents-voice-incoming-call-z-index, 2147483000);
|
|
5837
|
+
display: flex;
|
|
5838
|
+
align-items: center;
|
|
5839
|
+
gap: 1rem;
|
|
5840
|
+
max-width: calc(100vw - 2rem);
|
|
5841
|
+
padding: var(--agents-voice-card-padding, 1rem);
|
|
5842
|
+
border-radius: var(--agents-voice-card-radius, 1rem);
|
|
5843
|
+
background: var(--agents-voice-card-surface, #ffffff);
|
|
5844
|
+
color: var(--agents-voice-card-text, #1f2329);
|
|
5845
|
+
box-shadow: var(--agents-voice-card-shadow, 0 0.125rem 0.125rem rgba(0, 0, 0, 0.08), 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05), 0 0.5rem 1.5rem rgba(0, 0, 0, 0.03));
|
|
5846
|
+
font-size: var(--agents-voice-font-size, 0.875rem);
|
|
5847
|
+
line-height: 1.4;
|
|
5848
|
+
transform: translateX(-50%);
|
|
5849
|
+
animation: agents_incomingCallIn_kOMMm5 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
5850
|
+
}
|
|
5851
|
+
|
|
5852
|
+
.agents_spot_AWueCe {
|
|
5853
|
+
flex: none;
|
|
5854
|
+
animation: agents_ringPulse_fsbsCX 1.5s ease-in-out infinite;
|
|
5855
|
+
}
|
|
5856
|
+
|
|
5857
|
+
.agents_mark_vjUGG5 {
|
|
5858
|
+
display: inline-flex;
|
|
5859
|
+
align-items: center;
|
|
5860
|
+
justify-content: center;
|
|
5861
|
+
width: 3rem;
|
|
5862
|
+
height: 3rem;
|
|
5863
|
+
border-radius: 50%;
|
|
5864
|
+
background: var(--agents-voice-surface, #00495d);
|
|
5865
|
+
color: var(--agents-voice-on-surface, #ffffff);
|
|
5866
|
+
}
|
|
5867
|
+
|
|
5868
|
+
.agents_caller_LkgBXQ {
|
|
5869
|
+
display: flex;
|
|
5870
|
+
flex-direction: column;
|
|
5871
|
+
min-width: 0;
|
|
5872
|
+
}
|
|
5873
|
+
|
|
5874
|
+
.agents_label_jIKQ1p {
|
|
5875
|
+
font-weight: 700;
|
|
5876
|
+
}
|
|
5877
|
+
|
|
5878
|
+
.agents_detail_d1wkjv {
|
|
5879
|
+
font-size: var(--agents-voice-caption-font-size, 0.75rem);
|
|
5880
|
+
}
|
|
5881
|
+
|
|
5882
|
+
.agents_actions_IQWAo5 {
|
|
5883
|
+
display: flex;
|
|
5884
|
+
flex: none;
|
|
5885
|
+
gap: 0.5rem;
|
|
5886
|
+
}
|
|
5887
|
+
|
|
5888
|
+
.agents_action_TQIDH- {
|
|
5889
|
+
display: inline-flex;
|
|
5890
|
+
align-items: center;
|
|
5891
|
+
gap: 0.25rem;
|
|
5892
|
+
height: 2.5rem;
|
|
5893
|
+
padding: 0 1rem 0 0.75rem;
|
|
5894
|
+
border: none;
|
|
5895
|
+
border-radius: 1.25rem;
|
|
5896
|
+
background: var(--agents-voice-card-action-surface, #f4f5f7);
|
|
5897
|
+
color: inherit;
|
|
5898
|
+
font: inherit;
|
|
5899
|
+
font-weight: 500;
|
|
5900
|
+
cursor: pointer;
|
|
5901
|
+
transition: transform 150ms ease;
|
|
5902
|
+
}
|
|
5903
|
+
|
|
5904
|
+
.agents_action_TQIDH-[data-variant=accept] {
|
|
5905
|
+
background: var(--agents-voice-accept, #2563eb);
|
|
5906
|
+
color: var(--agents-voice-on-accept, #ffffff);
|
|
5907
|
+
}
|
|
5908
|
+
|
|
5909
|
+
.agents_action_TQIDH-:active {
|
|
5910
|
+
transform: scale(0.97);
|
|
5911
|
+
}
|
|
5912
|
+
|
|
5913
|
+
.agents_action_TQIDH-:focus-visible {
|
|
5914
|
+
outline: 0.125rem solid var(--agents-voice-focus-ring, #2563eb);
|
|
5915
|
+
outline-offset: 0.125rem;
|
|
5916
|
+
}
|
|
5917
|
+
|
|
5918
|
+
.agents_action_TQIDH-:disabled {
|
|
5919
|
+
opacity: 0.45;
|
|
5920
|
+
cursor: default;
|
|
5921
|
+
}
|
|
5922
|
+
|
|
5923
|
+
@media (max-width: 480px) {
|
|
5924
|
+
.agents_incomingCall_e0NnBQ {
|
|
5925
|
+
flex-wrap: wrap;
|
|
5926
|
+
}
|
|
5927
|
+
.agents_actions_IQWAo5 {
|
|
5928
|
+
width: 100%;
|
|
5929
|
+
justify-content: flex-end;
|
|
5930
|
+
}
|
|
5931
|
+
}
|
|
5932
|
+
@keyframes agents_incomingCallIn_kOMMm5 {
|
|
5933
|
+
from {
|
|
5934
|
+
opacity: 0;
|
|
5935
|
+
transform: translate(-50%, -8px);
|
|
5936
|
+
}
|
|
5937
|
+
}
|
|
5938
|
+
@keyframes agents_ringPulse_fsbsCX {
|
|
5939
|
+
50% {
|
|
5940
|
+
transform: scale(1.08);
|
|
5941
|
+
}
|
|
5942
|
+
}
|
|
5943
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5944
|
+
.agents_incomingCall_e0NnBQ,
|
|
5945
|
+
.agents_spot_AWueCe {
|
|
5946
|
+
animation: none;
|
|
5947
|
+
}
|
|
5417
5948
|
}.agents_stripReveal_6XAjCM {
|
|
5418
5949
|
display: grid;
|
|
5419
5950
|
grid-template-rows: 0fr;
|
|
@@ -6385,93 +6916,6 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
6385
6916
|
--agents-skeleton-radius: 0.5rem;
|
|
6386
6917
|
width: 90%;
|
|
6387
6918
|
height: 15.5rem;
|
|
6388
|
-
}.agents_message_BScH1l {
|
|
6389
|
-
max-width: min(37.5rem, 100%);
|
|
6390
|
-
background-color: var(--agents-assistant-400, red);
|
|
6391
|
-
padding: 0.5rem 0.75rem;
|
|
6392
|
-
border-radius: 0.5rem;
|
|
6393
|
-
align-self: flex-end;
|
|
6394
|
-
overflow-wrap: anywhere;
|
|
6395
|
-
word-break: break-word;
|
|
6396
|
-
}
|
|
6397
|
-
|
|
6398
|
-
.agents_messageWithWidgetsAboveBubble_bWTYWp {
|
|
6399
|
-
display: flex;
|
|
6400
|
-
flex-direction: column;
|
|
6401
|
-
align-items: flex-end;
|
|
6402
|
-
gap: 0.5rem;
|
|
6403
|
-
align-self: flex-end;
|
|
6404
|
-
max-width: min(37.5rem, 100%);
|
|
6405
|
-
}
|
|
6406
|
-
|
|
6407
|
-
.agents_whiteBubble_4-I21V {
|
|
6408
|
-
background-color: var(--agents-bg, white);
|
|
6409
|
-
}
|
|
6410
|
-
|
|
6411
|
-
.agents_darkBubble_YdEIoi {
|
|
6412
|
-
background-color: var(--agents-chat-user-bubble-background);
|
|
6413
|
-
padding: 0.625rem 1rem;
|
|
6414
|
-
border-radius: 1.25rem;
|
|
6415
|
-
}
|
|
6416
|
-
|
|
6417
|
-
.agents_primaryBubble_jo9Zj- {
|
|
6418
|
-
background-color: var(--agents-primary-500);
|
|
6419
|
-
}.agents_responseContainer_1-FSNs {
|
|
6420
|
-
display: flex;
|
|
6421
|
-
flex-direction: column;
|
|
6422
|
-
justify-content: flex-start;
|
|
6423
|
-
align-items: flex-start;
|
|
6424
|
-
width: 100%;
|
|
6425
|
-
gap: 0.5rem;
|
|
6426
|
-
}
|
|
6427
|
-
|
|
6428
|
-
.agents_responseMessage_Xrs7fL {
|
|
6429
|
-
display: flex;
|
|
6430
|
-
width: 100%;
|
|
6431
|
-
flex-direction: column;
|
|
6432
|
-
gap: 0.5rem;
|
|
6433
|
-
}
|
|
6434
|
-
.agents_responseMessage_Xrs7fL [data-block-reveal=hidden] {
|
|
6435
|
-
opacity: 0;
|
|
6436
|
-
}
|
|
6437
|
-
.agents_responseMessage_Xrs7fL [data-block-reveal=revealed] {
|
|
6438
|
-
animation: agents_blockRevealFadeIn_KiBB0E 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
6439
|
-
}
|
|
6440
|
-
|
|
6441
|
-
@keyframes agents_blockRevealFadeIn_KiBB0E {
|
|
6442
|
-
from {
|
|
6443
|
-
opacity: 0;
|
|
6444
|
-
transform: translateY(24px);
|
|
6445
|
-
}
|
|
6446
|
-
to {
|
|
6447
|
-
opacity: 1;
|
|
6448
|
-
transform: none;
|
|
6449
|
-
}
|
|
6450
|
-
}
|
|
6451
|
-
@media (prefers-reduced-motion: reduce) {
|
|
6452
|
-
.agents_responseMessage_Xrs7fL [data-block-reveal] {
|
|
6453
|
-
opacity: 1;
|
|
6454
|
-
animation: none;
|
|
6455
|
-
}
|
|
6456
|
-
}.agents_iconContainer_JupHNn {
|
|
6457
|
-
border-radius: 0.625rem;
|
|
6458
|
-
aspect-ratio: 1;
|
|
6459
|
-
width: 2rem;
|
|
6460
|
-
display: flex;
|
|
6461
|
-
align-items: center;
|
|
6462
|
-
justify-content: center;
|
|
6463
|
-
background-color: var(--agents-assistant-400, #3C28CC);
|
|
6464
|
-
}
|
|
6465
|
-
.agents_iconContainer_JupHNn path {
|
|
6466
|
-
fill: var(--agents-fg-on-accent) !important;
|
|
6467
|
-
}
|
|
6468
|
-
|
|
6469
|
-
.agents_responseHeader_ulXYcn {
|
|
6470
|
-
display: flex;
|
|
6471
|
-
flex-direction: row;
|
|
6472
|
-
gap: 0.5rem;
|
|
6473
|
-
align-items: center;
|
|
6474
|
-
margin-bottom: 1rem;
|
|
6475
6919
|
}.agents_responseContainer_LFzKoO {
|
|
6476
6920
|
display: flex;
|
|
6477
6921
|
flex-direction: column;
|
|
@@ -6504,12 +6948,6 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
6504
6948
|
gap: 0.5rem;
|
|
6505
6949
|
align-items: center;
|
|
6506
6950
|
margin-bottom: 1rem;
|
|
6507
|
-
}.agents_icon_DD3OXD {
|
|
6508
|
-
flex: none;
|
|
6509
|
-
fill: none;
|
|
6510
|
-
stroke: currentColor;
|
|
6511
|
-
stroke-width: 2.4;
|
|
6512
|
-
stroke-linecap: round;
|
|
6513
6951
|
}.agents_markerRow_zl8Pcg {
|
|
6514
6952
|
display: flex;
|
|
6515
6953
|
justify-content: center;
|
|
@@ -31,8 +31,11 @@ export interface AgentsConversationClient {
|
|
|
31
31
|
* The account-level realtime read of the signed-in account: the open realtime messages addressed to the account
|
|
32
32
|
* (not to a conversation; for every client of the account or this one) and the listener credential without a
|
|
33
33
|
* conversation. Optional: `createAccountRealtimePoll` (`/ui`) polls it for a client that shows no conversation.
|
|
34
|
+
* The read states a client id, by which the server knows a client that only polls: `clientId` when the caller
|
|
35
|
+
* hands one in (the `clientId` option of the poll), else the binding's own (the HTTP binding: its `uiClient`'s,
|
|
36
|
+
* else one it creates once and keeps while it lives).
|
|
34
37
|
*/
|
|
35
|
-
getAccountRealtimeMessages?: () => Promise<AccountRealtimeRead>;
|
|
38
|
+
getAccountRealtimeMessages?: (clientId?: string) => Promise<AccountRealtimeRead>;
|
|
36
39
|
/** The newest page, each message with its delegated children's `{ id, runState }`. */
|
|
37
40
|
getNewestMessagesPage: (conversationId: number, pageSize: number) => Promise<ConversationMessagesPage>;
|
|
38
41
|
/** The page before `beforeIndex` (scroll-up). */
|
|
@@ -45,7 +45,8 @@ export interface AgentsHttpConversationClientOptions extends AgentsConversationC
|
|
|
45
45
|
/**
|
|
46
46
|
* The UI side of `Agent.UI` (`AgentUIClient` of `@mgamadeus/ddd-agents/ui`): its client id and UI state ride on every
|
|
47
47
|
* write and every run-state read; a client tool request the run-state read delivers goes to it, and the binding
|
|
48
|
-
* posts its answer (`POST /{conversationId}/clientToolRequests/{requestId}/answer`). Default: none
|
|
48
|
+
* posts its answer (`POST /{conversationId}/clientToolRequests/{requestId}/answer`). Default: none; the account
|
|
49
|
+
* read alone then states a client id the binding creates once (`getAccountRealtimeMessages`).
|
|
49
50
|
*/
|
|
50
51
|
uiClient?: AgentUIClientBinding;
|
|
51
52
|
/**
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { AGENT_VOICE_CALLS_TAG, type AgentVoiceAdminApi, agentVoiceAdminEndpointDefinitions, buildAgentVoiceAdminCallsFilters, buildAgentVoiceAdminRequests, createAgentVoiceAdminApi, type CreateAgentVoiceAdminApiOptions, createStaticAgentVoiceAdminApi, type StaticAgentVoiceAdminData, } from "../voice/admin/agent-voice-admin-api";
|
|
2
|
+
export type { AgentVoiceAdminCall, AgentVoiceAdminCallDerivedValues, AgentVoiceAdminCallDirection, AgentVoiceAdminCallEndReason, AgentVoiceAdminCallIdArg, AgentVoiceAdminCallResponse, AgentVoiceAdminCallsArg, AgentVoiceAdminCallsResponse, AgentVoiceAdminCallState, AgentVoiceAdminChangeHistory, AgentVoiceAdminCurrency, AgentVoiceAdminElements, AgentVoiceAdminMoneyAmount, } from "../voice/admin/agent-voice-admin-types";
|
|
3
|
+
export { AGENT_VOICE_ADMIN_ERROR_CALL_NOT_FOUND, AGENT_VOICE_ADMIN_ERROR_FEATURE_NOT_AVAILABLE, AGENT_VOICE_CALL_DIRECTION, AGENT_VOICE_CALL_END_REASON, AGENT_VOICE_CALL_END_REASONS, AGENT_VOICE_CALL_STATE, agentVoiceAdminCallDerivedValuesByCallIdOf, agentVoiceAdminCallDurationInSecondsOf, agentVoiceAdminCallStartTimeOf, formatAgentVoiceAdminCallCosts, isAgentVoiceAdminError, readAgentVoiceAdminWholeNumber, toAgentVoiceAdminDayBound, } from "../voice/admin/agent-voice-admin-format";
|
|
4
|
+
export { AgentVoiceCallConversationLink, type AgentVoiceCallConversationLinkProps, } from "../voice/admin/AgentVoiceCallConversationLink/AgentVoiceCallConversationLink";
|
|
5
|
+
export { AgentVoiceCallStateBadges, type AgentVoiceCallStateBadgesProps, } from "../voice/admin/AgentVoiceCallStateBadges/AgentVoiceCallStateBadges";
|
|
6
|
+
export { AGENT_VOICE_CALLS_MAX_PAGE_SIZE, AgentVoiceCallsScreen, type AgentVoiceCallsScreenProps, } from "../voice/admin/AgentVoiceCallsScreen/AgentVoiceCallsScreen";
|
|
7
|
+
export { AgentVoiceCallDetailScreen, type AgentVoiceCallDetailScreenProps, } from "../voice/admin/AgentVoiceCallDetailScreen/AgentVoiceCallDetailScreen";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type { AgentVoiceAdminCall, AgentVoiceAdminCallDerivedValues, AgentVoiceAdminCallDirection, AgentVoiceAdminCallEndReason, AgentVoiceAdminCallIdArg, AgentVoiceAdminCallResponse, AgentVoiceAdminCallsArg, AgentVoiceAdminCallsResponse, AgentVoiceAdminCallState, AgentVoiceAdminChangeHistory, AgentVoiceAdminCurrency, AgentVoiceAdminElements, AgentVoiceAdminMoneyAmount, } from "../voice/admin/agent-voice-admin-types";
|
|
2
|
+
export { AGENT_VOICE_ERROR_CODE_INVALID_OPEN_ANSWER, type AgentVoiceApi, AgentVoiceApiError, type AgentVoiceBaseApi, type AgentVoiceFetchOptions, type AgentVoiceRequest, buildAgentVoiceRequests, createAgentVoiceApi, type CreateAgentVoiceApiOptions, createAgentVoiceFetchBaseApi, type CreateAgentVoiceFetchBaseApiOptions, readAgentVoiceErrorCode, } from "../voice/agent-voice-api";
|
|
3
|
+
export { AGENT_VOICE_CALL_END_REASON_ENDED_BY_AGENT, AGENT_VOICE_CALL_END_REASON_LIMIT_REACHED, type AgentVoiceCallLine, type AgentVoiceCallPhase, type AgentVoiceCallSnapshot, type AgentVoiceCallSpeaker, bindAgentVoiceApi, checkAgentVoiceCallEndedOnServer, dismissAgentVoiceCallOutcome, endAgentVoiceCallFromServer, hangUpAgentVoiceCall, IDLE_AGENT_VOICE_CALL, isAgentVoiceCallActive, isAgentVoiceCallShownInAgentSpace, readAgentVoiceCallSnapshot, startAgentVoiceCall, type StartAgentVoiceCallParams, toggleAgentVoiceCallMute, useAgentVoiceCallSnapshot, useAgentVoiceCallValue, useIsAgentVoiceCallActive, } from "../voice/call/agent-voice-call-store";
|
|
4
|
+
export { type AgentVoiceCall, useAgentVoiceCall } from "../voice/call/use-agent-voice-call";
|
|
5
|
+
export { type AgentVoiceCallTurn, turnOfAgentVoiceCall } from "../voice/call/agent-voice-call-turn";
|
|
6
|
+
export { formatAgentVoiceCallDuration } from "../voice/call/format-agent-voice-call-duration";
|
|
7
|
+
export { useAgentVoiceCallElapsedSeconds } from "../voice/call/use-agent-voice-call-elapsed-seconds";
|
|
8
|
+
export { type AgentVoiceConversationChangeSubscription, useAgentVoiceCallServerEnd, } from "../voice/call/use-agent-voice-call-server-end";
|
|
9
|
+
export type { AgentVoiceConversationOfCallChangedHandler } from "../voice/call/use-follow-agent-voice-call-conversation";
|
|
10
|
+
export { buildUnsavedAgentVoiceCallLines, type SavedAgentVoiceCallMessage, } from "../voice/call/build-unsaved-agent-voice-call-lines";
|
|
11
|
+
export { AGENT_VOICE_RING_MESSAGE_TYPE, type AgentVoiceRing, pickRingingAgentVoiceCall, readAgentVoiceRingOfRealtimeMessage, } from "../voice/ring/agent-voice-ring";
|
|
12
|
+
export { AgentVoiceAccountRealtimeRingSource, type AgentVoiceAccountRealtimePollStarter, type AgentVoiceRingSource, createAgentVoiceRingSource, } from "../voice/ring/agent-voice-ring-source";
|
|
13
|
+
export { acceptAgentVoiceIncomingRing, type AgentVoiceIncomingRingSnapshot, declineAgentVoiceIncomingRing, pickAgentVoiceIncomingCard, readAgentVoiceIncomingRingSnapshot, useAgentVoiceIncomingRing, useAgentVoiceRingBandHost, useAgentVoiceRingCover, } from "../voice/ring/agent-voice-incoming-ring-store";
|
|
14
|
+
export { AGENT_VOICE_ANSWER_REFUSAL_TEXT_KEYS, type AgentVoiceAnswerRefusal, } from "../voice/ring/answer-incoming-agent-voice-call";
|
|
15
|
+
export { type AgentVoiceCallerLabel, type AgentVoiceCallerLabelTextKey, buildAgentVoiceCallerLabel, pickAgentVoiceCallerLabelTextKey, } from "../voice/ring/agent-voice-caller-label";
|
|
16
|
+
export { useAgentVoiceRingTone } from "../voice/ring/use-agent-voice-ring-tone";
|
|
17
|
+
export { AgentVoiceCallProvider, type AgentVoiceCallProviderProps } from "../voice/AgentVoiceCallProvider/AgentVoiceCallProvider";
|
|
18
|
+
export { type AgentVoiceTranslateText, useAgentVoiceTranslateText, } from "../voice/AgentVoiceCallProvider/agent-voice-call-context";
|
|
19
|
+
export { AgentVoiceChatStartButton, type AgentVoiceChatStartButtonProps, } from "../voice/AgentVoiceChatStartButton/AgentVoiceChatStartButton";
|
|
20
|
+
export { AgentVoiceCallBand, type AgentVoiceCallBandProps, AgentVoiceCallBandView, type AgentVoiceCallBandViewProps, type AgentVoiceCallIncomingRing, } from "../voice/AgentVoiceCallBand/AgentVoiceCallBand";
|
|
21
|
+
export { AgentVoiceCallCaptions, type AgentVoiceCallCaptionsProps } from "../voice/AgentVoiceCallCaptions/AgentVoiceCallCaptions";
|
|
22
|
+
export { AgentVoiceInputGlow, type AgentVoiceInputGlowProps } from "../voice/AgentVoiceInputGlow/AgentVoiceInputGlow";
|
|
23
|
+
export { AgentVoiceIncomingCall, type AgentVoiceIncomingCallProps } from "../voice/AgentVoiceIncomingCall/AgentVoiceIncomingCall";
|
|
24
|
+
export { VoiceBarsIcon as AgentVoiceBarsIcon, type VoiceBarsIconProps as AgentVoiceIconProps, } from "../chat/ConversationMessage/ConversationCallMarkerChip/VoiceBarsIcon/VoiceBarsIcon";
|