Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: stop ringing on other devices when a call is declined (#7092)

teo0716c2ca2734
diff --git a/.sqlx/query-6638c210bf2607e21c6267615139eddbd4a5defd711b6e6b3363965337c84ea0.json b/.sqlx/query-6638c210bf2607e21c6267615139eddbd4a5defd711b6e6b3363965337c84ea0.json
new file mode 100644
index 0000000000..a09d1a6ba1
--- /dev/null
+++ b/.sqlx/query-6638c210bf2607e21c6267615139eddbd4a5defd711b6e6b3363965337c84ea0.json
@@ -0,0 +1,15 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n INSERT INTO call_declines (call_id, user_id)\n VALUES ($1, $2)\n ON CONFLICT (call_id, user_id) DO NOTHING\n ",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "6638c210bf2607e21c6267615139eddbd4a5defd711b6e6b3363965337c84ea0"
+}
diff --git a/.sqlx/query-aeb9ca755ce7dddf54c30f4b2aeb207852e97d83c9233dbe9964d5dc9536c2fe.json b/.sqlx/query-aeb9ca755ce7dddf54c30f4b2aeb207852e97d83c9233dbe9964d5dc9536c2fe.json
new file mode 100644
index 0000000000..67a7b57f31
--- /dev/null
+++ b/.sqlx/query-aeb9ca755ce7dddf54c30f4b2aeb207852e97d83c9233dbe9964d5dc9536c2fe.json
@@ -0,0 +1,23 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n SELECT EXISTS(\n SELECT 1 FROM call_declines\n WHERE call_id = $1 AND user_id = $2\n ) as \"exists!\"\n ",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "exists!",
+ "type_info": "Bool"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "aeb9ca755ce7dddf54c30f4b2aeb207852e97d83c9233dbe9964d5dc9536c2fe"
+}
diff --git a/apps/web/src/features/block-call/sidebar/incoming-calls.ts b/apps/web/src/features/block-call/sidebar/incoming-calls.ts
index 8a518d07b6..b00a6f9d71 100644
--- a/apps/web/src/features/block-call/sidebar/incoming-calls.ts
+++ b/apps/web/src/features/block-call/sidebar/incoming-calls.ts
@@ -8,13 +8,14 @@ import {
createCallResolutionsEffect,
getCallRecordResolution,
publishCallResolution,
+ resolvesRingFor,
} from '@channel/Call/call-resolution';
import { silenceIncomingCallRing } from '@channel/Call/ring-coordination';
import { DEV_MODE_ENV } from '@core/constant/featureFlags';
import { useChannelsContext } from '@core/context/channels';
import { useUserId } from '@core/context/user';
import { isTabFocused } from '@core/signal/tabFocus';
-import { fetchCallRecord } from '@queries/call/call';
+import { declineCall, fetchCallRecord } from '@queries/call/call';
import {
type Accessor,
createEffect,
@@ -72,15 +73,44 @@ export function dismissIncomingCall(callId: string) {
}
/**
- * Dismisses an incoming call in this tab and silences its audible ring in
- * every tab — the tab making noise may be a sibling (see
- * `ring-coordination.ts`). Use for explicit user dismissals; programmatic
- * paths (resolutions, auto-dismiss, joining) run in every tab already and
- * should use `dismissIncomingCall`.
+ * Declines an incoming call: dismisses it in this tab, publishes a local
+ * `declined` resolution so sibling tabs stop immediately, silences its audible
+ * ring in every tab — the tab making noise may be a sibling (see
+ * `ring-coordination.ts`) — and tells the backend, which stops the ring on
+ * the user's other devices (phone, other browsers) via `call_declined`. Use
+ * for explicit user dismissals; programmatic paths (resolutions,
+ * auto-dismiss, joining) run in every tab already and should use
+ * `dismissIncomingCall`.
+ *
+ * Dev-only debug calls (`window.macroDebugIncomingCall`) have no server
+ * record, so they are only dismissed locally.
*/
-export function dismissIncomingCallEverywhere(callId: string) {
+export function dismissIncomingCallEverywhere(
+ callId: string,
+ declinedBy?: string | null
+) {
+ const call = incomingCalls().find((candidate) => candidate.callId === callId);
silenceIncomingCallRing(callId);
dismissIncomingCall(callId);
+ if (declinedBy) {
+ publishCallResolution({ type: 'declined', callId, declinedBy });
+ }
+ if (!call || isDebugIncomingCall(call)) return;
+ void declineOnOtherDevices(call.callId);
+}
+
+// Best-effort: the local dismissal already happened, and a lost request only
+// leaves the other devices ringing until reconciliation or their own timeout.
+async function declineOnOtherDevices(callId: string) {
+ try {
+ await declineCall(callId);
+ } catch (error) {
+ console.warn('failed to decline incoming call', error);
+ }
+}
+
+function isDebugIncomingCall(call: IncomingCall) {
+ return DEV_MODE_ENV && call.callId.startsWith('debug-');
}
function addIncomingCall(call: IncomingCall) {
@@ -168,9 +198,7 @@ export function IncomingCallEvents() {
const userId = useUserId();
createCallResolutionsEffect((resolution) => {
- if (resolution.type === 'answered' && resolution.answeredBy !== userId()) {
- return;
- }
+ if (!resolvesRingFor(resolution, userId())) return;
dismissIncomingCall(resolution.callId);
});
@@ -220,9 +248,7 @@ export function IncomingCallEvents() {
// Dev-only debug calls (`window.macroDebugIncomingCall`) have no server
// record to reconcile against.
const reconcilableCalls = createMemo(() =>
- incomingCalls().filter(
- (call) => !(DEV_MODE_ENV && call.callId.startsWith('debug-'))
- )
+ incomingCalls().filter((call) => !isDebugIncomingCall(call))
);
const shouldReconcile = createMemo(
() => reconcilableCalls().length > 0 && !!userId()
diff --git a/apps/web/src/features/channel/Call/CallStartedNotifier.tsx b/apps/web/src/features/channel/Call/CallStartedNotifier.tsx
index 5c082ab5e7..7eed48b4ae 100644
--- a/apps/web/src/features/channel/Call/CallStartedNotifier.tsx
+++ b/apps/web/src/features/channel/Call/CallStartedNotifier.tsx
@@ -12,6 +12,7 @@ import { createCallEventsEffect } from './call-events';
import {
createCallResolutionsEffect,
publishCallResolution,
+ resolvesRingFor,
} from './call-resolution';
import { joinChannelCall } from './join-channel-call';
import {
@@ -211,10 +212,11 @@ function startRingingLoop(
* Listens for `call_started` websocket events broadcast to channel members
* and surfaces a browser notification + ring tone for the recipients.
*
- * Also resolves the ring remotely: `call_answered` (sent to just this user
- * when they join the call on any device, e.g. answering on iPhone) and
- * `call_ended` both stop the ring and close the incoming-call notification —
- * the user is already in the call, or there is no longer a call to answer.
+ * Also resolves the ring remotely: `call_answered` and `call_declined` (each
+ * sent to just this user when they answer or decline on any device, e.g. on
+ * the iPhone lock screen) and `call_ended` all stop the ring and close the
+ * incoming-call notification — the user is already in the call, has turned it
+ * down, or there is no longer a call to answer.
*
* This component is the sole bridge from those one-shot websocket events to
* published call resolutions (`call-resolution.ts`) — resolution consumers
@@ -244,8 +246,9 @@ export function CallStartedNotifier() {
attachRingCoordination();
createCallResolutionsEffect((resolution) => {
+ if (!resolvesRingFor(resolution, userId())) return;
+
if (resolution.type === 'answered') {
- if (resolution.answeredBy !== userId()) return;
stopCallRinger(resolution.callId);
closeCallNotification(resolution.callId);
// The creator's other devices never receive call_started; a refetch
@@ -254,6 +257,14 @@ export function CallStartedNotifier() {
return;
}
+ if (resolution.type === 'declined') {
+ // The call is still live for other members, so only this user's ring
+ // and toast go away; the active-call caches stay untouched.
+ stopCallRinger(resolution.callId);
+ closeCallNotification(resolution.callId);
+ return;
+ }
+
stopCallRinger(resolution.callId);
// Close the toast too, not just the ring. It is `requireInteraction`, so
// an ended call's notification otherwise sits on screen until clicked —
@@ -282,6 +293,16 @@ export function CallStartedNotifier() {
});
},
+ onCallDeclined: ({ callId, declinedBy }) => {
+ const decliningUserId = declinedBy ?? userId();
+ if (!decliningUserId) return;
+ publishCallResolution({
+ type: 'declined',
+ callId,
+ declinedBy: decliningUserId,
+ });
+ },
+
onCallStarted: ({ channelId, callId, createdBy, isFromSelf }) => {
const createdAt = new Date().toISOString();
setActiveCallStartedCache({
diff --git a/apps/web/src/features/channel/Call/call-events.ts b/apps/web/src/features/channel/Call/call-events.ts
index 862d4a8e34..6caa8b0ec8 100644
--- a/apps/web/src/features/channel/Call/call-events.ts
+++ b/apps/web/src/features/channel/Call/call-events.ts
@@ -30,6 +30,8 @@ type CallAnsweredWirePayload = {
user_id?: string | null;
};
+type CallDeclinedWirePayload = CallAnsweredWirePayload;
+
type CallShareWithTeamToggledWirePayload = {
channel_id?: string;
call_id?: string;
@@ -60,6 +62,17 @@ export type CallAnsweredEvent = {
answeredBy: string | null;
};
+/**
+ * The user declined a call on one of their devices (e.g. the iPhone lock
+ * screen). Sent only to the declining user's own connections, so every other
+ * device can stop ringing; the call keeps going for other members.
+ */
+export type CallDeclinedEvent = {
+ channelId: string | null;
+ callId: string;
+ declinedBy: string | null;
+};
+
/** A participant flipped the call's share-with-team flag. */
export type CallShareWithTeamToggledEvent = {
channelId: string;
@@ -72,6 +85,7 @@ export type CallEvent =
| ({ type: 'call_started' } & CallStartedEvent)
| ({ type: 'call_ended' } & CallEndedEvent)
| ({ type: 'call_answered' } & CallAnsweredEvent)
+ | ({ type: 'call_declined' } & CallDeclinedEvent)
| ({
type: 'call_share_with_team_toggled';
} & CallShareWithTeamToggledEvent);
@@ -82,6 +96,7 @@ const CALL_EVENT_TYPES = new Set<string>([
'call_started',
'call_ended',
'call_answered',
+ 'call_declined',
'call_share_with_team_toggled',
]);
@@ -140,6 +155,20 @@ export function parseCallEvent(
answeredBy: answeredBy ?? null,
};
})
+ .with('call_declined', (eventType) => {
+ const {
+ channel_id: channelId,
+ call_id: callId,
+ user_id: declinedBy,
+ } = payload as CallDeclinedWirePayload;
+ if (!callId) return null;
+ return {
+ type: eventType,
+ channelId: channelId ?? null,
+ callId,
+ declinedBy: declinedBy ?? null,
+ };
+ })
.with('call_share_with_team_toggled', (eventType) => {
const {
channel_id: channelId,
@@ -170,6 +199,7 @@ type CallEventHandlers = {
onCallStarted?: (event: CallStartedEvent & { isFromSelf: boolean }) => void;
onCallEnded?: (event: CallEndedEvent) => void;
onCallAnswered?: (event: CallAnsweredEvent) => void;
+ onCallDeclined?: (event: CallDeclinedEvent) => void;
onShareWithTeamToggled?: (event: CallShareWithTeamToggledEvent) => void;
};
@@ -216,6 +246,15 @@ export function createCallEventsEffect(handlers: CallEventHandlers) {
answeredBy: event.answeredBy,
});
})
+ .with({ type: 'call_declined' }, (event) => {
+ // Sent only to the declining user's connections, but guard anyway.
+ if (event.declinedBy && event.declinedBy !== userId()) return;
+ handlers.onCallDeclined?.({
+ channelId: event.channelId,
+ callId: event.callId,
+ declinedBy: event.declinedBy,
+ });
+ })
.with({ type: 'call_share_with_team_toggled' }, (event) => {
handlers.onShareWithTeamToggled?.({
channelId: event.channelId,
diff --git a/apps/web/src/features/channel/Call/call-resolution.ts b/apps/web/src/features/channel/Call/call-resolution.ts
index c99b73919e..08af900546 100644
--- a/apps/web/src/features/channel/Call/call-resolution.ts
+++ b/apps/web/src/features/channel/Call/call-resolution.ts
@@ -4,9 +4,9 @@ import { onCleanup } from 'solid-js';
import { match, P } from 'ts-pattern';
/**
- * Cross-tab fan-out of terminal incoming-call states ("answered"/"ended"), so
- * a ring resolved in one tab stops in every tab even when a background tab
- * missed the one-shot websocket event.
+ * Cross-tab fan-out of terminal incoming-call states ("answered", "declined",
+ * "ended"), so a ring resolved in one tab stops in every tab even when a
+ * background tab missed the one-shot websocket event.
*
* Resolutions publish over the shared cross-tab bus — see `cross-tab-bus.ts`
* for the transport (BroadcastChannel with a localStorage `storage` event
@@ -22,6 +22,15 @@ export type CallResolution =
callId: string;
answeredBy: string;
}
+ | {
+ /**
+ * The user declined on one of their devices. Per-user like `answered`:
+ * other channel members keep ringing.
+ */
+ type: 'declined';
+ callId: string;
+ declinedBy: string;
+ }
| {
type: 'ended';
callId: string;
@@ -30,10 +39,33 @@ export type CallResolution =
type CallResolutionHandler = (resolution: CallResolution) => void;
+/**
+ * Whether the resolution ends `userId`'s ring: `ended` applies to everyone,
+ * while `answered` and `declined` only to the user who acted.
+ */
+export function resolvesRingFor(
+ resolution: CallResolution,
+ userId: string | null | undefined
+): boolean {
+ return match(resolution)
+ .with({ type: 'answered' }, ({ answeredBy }) => answeredBy === userId)
+ .with({ type: 'declined' }, ({ declinedBy }) => declinedBy === userId)
+ .with({ type: 'ended' }, () => true)
+ .exhaustive();
+}
+
function getResolutionKey(resolution: CallResolution) {
- return resolution.type === 'answered'
- ? `${resolution.type}:${resolution.callId}:${resolution.answeredBy}`
- : `${resolution.type}:${resolution.callId}`;
+ return match(resolution)
+ .with(
+ { type: 'answered' },
+ ({ type, callId, answeredBy }) => `${type}:${callId}:${answeredBy}`
+ )
+ .with(
+ { type: 'declined' },
+ ({ type, callId, declinedBy }) => `${type}:${callId}:${declinedBy}`
+ )
+ .with({ type: 'ended' }, ({ type, callId }) => `${type}:${callId}`)
+ .exhaustive();
}
function parseCallResolution(value: unknown): CallResolution | null {
@@ -42,6 +74,10 @@ function parseCallResolution(value: unknown): CallResolution | null {
{ type: 'answered', callId: P.string, answeredBy: P.string },
({ type, callId, answeredBy }) => ({ type, callId, answeredBy })
)
+ .with(
+ { type: 'declined', callId: P.string, declinedBy: P.string },
+ ({ type, callId, declinedBy }) => ({ type, callId, declinedBy })
+ )
.with(
{ type: 'ended', callId: P.string, channelId: P.string },
({ type, callId, channelId }) => ({ type, callId, channelId })
@@ -81,12 +117,13 @@ export function createCallResolutionsEffect(handler: CallResolutionHandler) {
/**
* Converts authoritative call-record state into a terminal ring resolution.
* A historic participant row still counts as answered even if the user has
- * since left while the call remains active.
+ * since left while the call remains active. A viewer decline recovers rings
+ * that missed the one-shot `call_declined` websocket event.
*/
export function getCallRecordResolution(
record: Pick<
CallRecord,
- 'callId' | 'channelId' | 'isActive' | 'participants'
+ 'callId' | 'channelId' | 'isActive' | 'participants' | 'viewerHasDeclined'
>,
userId: string
): CallResolution | null {
@@ -110,5 +147,13 @@ export function getCallRecordResolution(
};
}
+ if (record.viewerHasDeclined) {
+ return {
+ type: 'declined',
+ callId: record.callId,
+ declinedBy: userId,
+ };
+ }
+
return null;
}
diff --git a/apps/web/src/features/channel/Call/tests/call-events.test.ts b/apps/web/src/features/channel/Call/tests/call-events.test.ts
index ec0ac704a3..7f37783f03 100644
--- a/apps/web/src/features/channel/Call/tests/call-events.test.ts
+++ b/apps/web/src/features/channel/Call/tests/call-events.test.ts
@@ -13,10 +13,11 @@ vi.mock('@service-connection/websocket', () => ({
const wire = (payload: unknown) => JSON.stringify(payload);
describe('isCallEventType', () => {
- it('accepts the four call events', () => {
+ it('accepts the five call events', () => {
expect(isCallEventType('call_started')).toBe(true);
expect(isCallEventType('call_ended')).toBe(true);
expect(isCallEventType('call_answered')).toBe(true);
+ expect(isCallEventType('call_declined')).toBe(true);
expect(isCallEventType('call_share_with_team_toggled')).toBe(true);
});
@@ -72,6 +73,28 @@ describe('parseCallEvent', () => {
});
});
+ it('parses call_declined with the declining user', () => {
+ expect(
+ parseCallEvent(
+ 'call_declined',
+ wire({ channel_id: 'chan-1', call_id: 'call-1', user_id: 'user-2' })
+ )
+ ).toEqual({
+ type: 'call_declined',
+ channelId: 'chan-1',
+ callId: 'call-1',
+ declinedBy: 'user-2',
+ });
+ expect(
+ parseCallEvent('call_declined', wire({ call_id: 'call-1' }))
+ ).toEqual({
+ type: 'call_declined',
+ channelId: null,
+ callId: 'call-1',
+ declinedBy: null,
+ });
+ });
+
it('parses call_share_with_team_toggled', () => {
expect(
parseCallEvent(
@@ -110,6 +133,7 @@ describe('parseCallEvent', () => {
['call_ended', { call_id: 'call-1' }],
['call_ended', { channel_id: 'chan-1' }],
['call_answered', { channel_id: 'chan-1' }],
+ ['call_declined', { channel_id: 'chan-1' }],
])('returns null when %s is missing a required id', (type, payload) => {
expect(parseCallEvent(type, wire(payload))).toBe(null);
});
diff --git a/apps/web/src/features/channel/Call/tests/call-resolution.test.ts b/apps/web/src/features/channel/Call/tests/call-resolution.test.ts
index 53583d52fa..870edd83f5 100644
--- a/apps/web/src/features/channel/Call/tests/call-resolution.test.ts
+++ b/apps/web/src/features/channel/Call/tests/call-resolution.test.ts
@@ -80,19 +80,27 @@ describe('call resolution signaling', () => {
channelId: 'channel-1',
callId: 'call-2',
};
+ const declined = {
+ type: 'declined',
+ callId: 'call-3',
+ declinedBy: 'macro|[email protected]',
+ };
MockBroadcastChannel.instance?.emit(answered);
MockBroadcastChannel.instance?.emit({ type: 'answered' });
+ MockBroadcastChannel.instance?.emit({ type: 'declined', callId: 'call-3' });
window.dispatchEvent(
new StorageEvent('storage', {
key: 'macro.call-resolution',
newValue: JSON.stringify(ended),
})
);
+ MockBroadcastChannel.instance?.emit(declined);
expect(handler).toHaveBeenNthCalledWith(1, answered);
expect(handler).toHaveBeenNthCalledWith(2, ended);
- expect(handler).toHaveBeenCalledTimes(2);
+ expect(handler).toHaveBeenNthCalledWith(3, declined);
+ expect(handler).toHaveBeenCalledTimes(3);
unsubscribe();
});
@@ -120,6 +128,33 @@ describe('call resolution signaling', () => {
});
});
+describe('resolvesRingFor', () => {
+ it('scopes answered and declined to the acting user and ended to everyone', async () => {
+ const { resolvesRingFor } = await import('../call-resolution');
+ const me = 'macro|[email protected]';
+ const other = 'macro|[email protected]';
+
+ expect(
+ resolvesRingFor({ type: 'answered', callId: 'c', answeredBy: me }, me)
+ ).toBe(true);
+ expect(
+ resolvesRingFor({ type: 'answered', callId: 'c', answeredBy: other }, me)
+ ).toBe(false);
+ expect(
+ resolvesRingFor({ type: 'declined', callId: 'c', declinedBy: me }, me)
+ ).toBe(true);
+ expect(
+ resolvesRingFor({ type: 'declined', callId: 'c', declinedBy: other }, me)
+ ).toBe(false);
+ expect(
+ resolvesRingFor({ type: 'declined', callId: 'c', declinedBy: me }, null)
+ ).toBe(false);
+ expect(
+ resolvesRingFor({ type: 'ended', callId: 'c', channelId: 'ch' }, me)
+ ).toBe(true);
+ });
+});
+
describe('getCallRecordResolution', () => {
it('does not publish a channel ring resolution for a standalone meeting', async () => {
const { getCallRecordResolution } = await import('../call-resolution');
@@ -130,6 +165,7 @@ describe('getCallRecordResolution', () => {
channelId: null,
isActive: false,
participants: [],
+ viewerHasDeclined: false,
},
)
@@ -151,6 +187,7 @@ describe('getCallRecordResolution', () => {
leftAt: '2026-08-10T10:01:00.000Z',
},
],
+ viewerHasDeclined: false,
},
)
@@ -177,12 +214,61 @@ describe('getCallRecordResolution', () => {
leftAt: '2026-08-10T10:01:00.000Z',
},
],
+ viewerHasDeclined: false,
},
)
).toBeNull();
});
+ it('resolves a viewer decline when the websocket event was missed', async () => {
+ const { getCallRecordResolution } = await import('../call-resolution');
+
+ expect(
+ getCallRecordResolution(
+ {
+ callId: 'call-1',
+ channelId: 'channel-1',
+ isActive: true,
+ participants: [],
+ viewerHasDeclined: true,
+ },
+ )
+ ).toEqual({
+ type: 'declined',
+ callId: 'call-1',
+ declinedBy: 'macro|[email protected]',
+ });
+ });
+
+ it('prefers answered over an earlier viewer decline', async () => {
+ const { getCallRecordResolution } = await import('../call-resolution');
+
+ expect(
+ getCallRecordResolution(
+ {
+ callId: 'call-1',
+ channelId: 'channel-1',
+ isActive: true,
+ participants: [
+ {
+ userId: 'macro|[email protected]',
+ joinedAt: '2026-08-10T10:00:00.000Z',
+ leftAt: null,
+ },
+ ],
+ viewerHasDeclined: true,
+ },
+ )
+ ).toEqual({
+ type: 'answered',
+ callId: 'call-1',
+ answeredBy: 'macro|[email protected]',
+ });
+ });
+
it('resolves an inactive call as ended and leaves an unanswered call alone', async () => {
const { getCallRecordResolution } = await import('../call-resolution');
const unansweredRecord = {
@@ -190,6 +276,7 @@ describe('getCallRecordResolution', () => {
channelId: 'channel-1',
isActive: true,
participants: [],
+ viewerHasDeclined: false,
};
expect(
diff --git a/apps/web/src/features/channels-view/components/rail/ChannelRailItems.tsx b/apps/web/src/features/channels-view/components/rail/ChannelRailItems.tsx
index 6cccf2f088..7a023f541c 100644
--- a/apps/web/src/features/channels-view/components/rail/ChannelRailItems.tsx
+++ b/apps/web/src/features/channels-view/components/rail/ChannelRailItems.tsx
@@ -138,6 +138,7 @@ export function IncomingCallActions(props: {
class?: string;
layout?: 'compact' | 'wide';
}) {
+ const userId = useUserId();
const isWide = () => props.layout === 'wide';
return (
@@ -162,7 +163,7 @@ export function IncomingCallActions(props: {
onClick={(event) => {
event.preventDefault();
event.stopPropagation();
- dismissIncomingCallEverywhere(callId());
+ dismissIncomingCallEverywhere(callId(), userId());
}}
>
<XIcon class="size-3" />
diff --git a/apps/web/src/lib/queries/call/call.ts b/apps/web/src/lib/queries/call/call.ts
index 778c534eb3..1fb35dd6e6 100644
--- a/apps/web/src/lib/queries/call/call.ts
+++ b/apps/web/src/lib/queries/call/call.ts
@@ -34,6 +34,16 @@ export function requestCallToken(channelId: string) {
return throwOnErr(() => callServiceClient.getOrCreateCall(channelId));
}
+/**
+ * Declines this ringing call for the user so their other devices stop ringing.
+ * Bound to `callId` so a stale incoming-call UI cannot decline a replacement
+ * call. Nothing to cache: the call stays active for other members, and the
+ * caller's own ring is already dismissed locally.
+ */
+export function declineCall(callId: string) {
+ return throwOnErr(() => callServiceClient.declineCall(callId));
+}
+
/**
* All active calls in channels the user is a member of, newest first. One
* request app-wide; the websocket
diff --git a/apps/web/src/lib/service-clients/service-call/client.ts b/apps/web/src/lib/service-clients/service-call/client.ts
index 6261856285..6a6ac12ae7 100644
--- a/apps/web/src/lib/service-clients/service-call/client.ts
+++ b/apps/web/src/lib/service-clients/service-call/client.ts
@@ -183,6 +183,21 @@ export const callServiceClient = {
).map((result) => result);
},
+ /**
+ * `POST /call/record/{callId}/decline`: declines this ringing call without
+ * joining it, so the user's other devices stop ringing. Bound to `callId`
+ * so a stale ring cannot decline a newer call in the same channel. 404 when
+ * the call already ended or was replaced.
+ */
+ async declineCall(callId: string) {
+ return (
+ await fetchWithToken<Record<string, never>>(
+ `${host}/call/record/${callId}/decline`,
+ { method: 'POST' }
+ )
+ ).map(() => undefined);
+ },
+
async checkActiveCall(channelId: string) {
return (
await fetchWithToken<CallActiveResponse>(
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/callRecord.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/callRecord.ts
index 47d7cb3fac..2820726b78 100644
--- a/apps/web/src/lib/service-clients/service-storage/generated/schemas/callRecord.ts
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/callRecord.ts
@@ -75,4 +75,8 @@ once summarization has run; active calls always return `None`. */
/** Transcript segments ordered by `sequence_num`. */
transcript: CallRecordTranscriptSegment[];
userAccessLevel?: CallRecordUserAccessLevel;
+ /** Whether the authenticated viewer has declined this call on any device.
+Set on the single-record read so clients that missed `call_declined`
+can still stop ringing via reconciliation; `false` in list contexts. */
+ viewerHasDeclined?: boolean;
}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/ringStatus.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/ringStatus.ts
index 191b6d8e9f..c1308b0747 100644
--- a/apps/web/src/lib/service-clients/service-storage/generated/schemas/ringStatus.ts
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/ringStatus.ts
@@ -15,5 +15,6 @@ export type RingStatus = (typeof RingStatus)[keyof typeof RingStatus];
export const RingStatus = {
ringing: 'ringing',
answered: 'answered',
+ declined: 'declined',
ended: 'ended',
} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/zod.ts b/apps/web/src/lib/service-clients/service-storage/generated/zod.ts
index c4a0f12d20..3446fd4512 100644
--- a/apps/web/src/lib/service-clients/service-storage/generated/zod.ts
+++ b/apps/web/src/lib/service-clients/service-storage/generated/zod.ts
@@ -2484,6 +2484,12 @@ export const getCallRecordResponse = zod
.describe('Ordered from least to most access top -> bottom'),
])
.optional(),
+ viewerHasDeclined: zod
+ .boolean()
+ .optional()
+ .describe(
+ 'Whether the authenticated viewer has declined this call on any device.\nSet on the single-record read so clients that missed `call_declined`\ncan still stop ringing via reconciliation; `false` in list contexts.'
+ ),
})
.describe(
'Full record of a call, unifying rows from `calls` (active) and\n`call_records` (archived) into a single response shape.'
@@ -2581,6 +2587,17 @@ export const editCallRecordBody = zod
})
.describe('Edit call request, as supplied by inbound callers.');
+/**
+ * Declines the identified active call for the caller without joining it.
+Bound to `call_id` so a stale incoming-call UI cannot decline a newer call
+that replaced it in the same channel. The caller's other devices are told
+to stop ringing (`call_declined`); the call continues for everyone else.
+ * @summary Handler for `POST /call/record/{call_id}/decline`.
+ */
+export const declineCallParams = zod.object({
+ call_id: zod.uuid().describe('Call ID'),
+});
+
/**
* @summary Handle `POST /call/record/{call_id}/link` through the call domain service.
*/
@@ -2687,13 +2704,25 @@ export const getRingStatusParams = zod.object({
export const getRingStatusResponse = zod
.object({
status: zod
- .enum(['ringing', 'answered', 'ended'])
+ .enum(['ringing', 'answered', 'declined', 'ended'])
.describe(
'Per-user status of an incoming-call ring, as reported by the\nring-status endpoint while a native client is ringing.'
),
})
.describe('Response body for `GET \/call\/ring-status\/{call_id}`.');
+/**
+ * Declines a ringing call from a native client, e.g. the iPhone lock-screen
+decline button, so the user's other devices stop ringing. Authorized like
+[`ring_status_handler`]: the bearer credential is the recipient's LiveKit
+JWT from the VoIP push payload, which identifies both the room and the
+declining user.
+ * @summary Handler for `POST /call/ring-status/{call_id}/decline`.
+ */
+export const declineRingParams = zod.object({
+ call_id: zod.uuid().describe('Call ID'),
+});
+
/**
* Gets or creates a call for the channel. If a call already exists, joins it;
otherwise creates a new one. Always returns a join token.
diff --git a/apps/web/src/lib/service-clients/service-storage/openapi.json b/apps/web/src/lib/service-clients/service-storage/openapi.json
index 512fe2b3a8..733b898731 100644
--- a/apps/web/src/lib/service-clients/service-storage/openapi.json
+++ b/apps/web/src/lib/service-clients/service-storage/openapi.json
@@ -2148,6 +2148,61 @@
}
}
},
+ "/call/record/{call_id}/decline": {
+ "post": {
+ "tags": ["call::inbound::axum_router"],
+ "summary": "Handler for `POST /call/record/{call_id}/decline`.",
+ "description": "Declines the identified active call for the caller without joining it.\nBound to `call_id` so a stale incoming-call UI cannot decline a newer call\nthat replaced it in the same channel. The caller's other devices are told\nto stop ringing (`call_declined`); the call continues for everyone else.",
+ "operationId": "decline_call",
+ "parameters": [
+ {
+ "name": "call_id",
+ "in": "path",
+ "description": "Call ID",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Decline recorded"
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "The call is no longer active",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/call/record/{call_id}/link": {
"post": {
"tags": ["call::inbound::axum_router::meetings"],
@@ -2417,6 +2472,61 @@
}
}
},
+ "/call/ring-status/{call_id}/decline": {
+ "post": {
+ "tags": ["call::inbound::axum_router"],
+ "summary": "Handler for `POST /call/ring-status/{call_id}/decline`.",
+ "description": "Declines a ringing call from a native client, e.g. the iPhone lock-screen\ndecline button, so the user's other devices stop ringing. Authorized like\n[`ring_status_handler`]: the bearer credential is the recipient's LiveKit\nJWT from the VoIP push payload, which identifies both the room and the\ndeclining user.",
+ "operationId": "decline_ring",
+ "parameters": [
+ {
+ "name": "call_id",
+ "in": "path",
+ "description": "Call ID",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Decline recorded"
+ },
+ "401": {
+ "description": "Missing or invalid bearer token",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "The call is no longer ringing",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/call/webhook": {
"post": {
"tags": ["call::inbound::axum_router"],
@@ -20122,6 +20232,10 @@
"description": "The caller's effective access level on this call. Set only on the\nsingle-record read; `None` in list contexts."
}
]
+ },
+ "viewerHasDeclined": {
+ "type": "boolean",
+ "description": "Whether the authenticated viewer has declined this call on any device.\nSet on the single-record read so clients that missed `call_declined`\ncan still stop ringing via reconciliation; `false` in list contexts."
}
}
},
@@ -34134,7 +34248,7 @@
"RingStatus": {
"type": "string",
"description": "Per-user status of an incoming-call ring, as reported by the\nring-status endpoint while a native client is ringing.",
- "enum": ["ringing", "answered", "ended"]
+ "enum": ["ringing", "answered", "declined", "ended"]
},
"RingStatusResponse": {
"type": "object",
diff --git a/apps/web/tauri/callkit_plugin/ios/Sources/IncomingCallCoordinator.swift b/apps/web/tauri/callkit_plugin/ios/Sources/IncomingCallCoordinator.swift
index e4c06aefeb..bf6cf00e65 100644
--- a/apps/web/tauri/callkit_plugin/ios/Sources/IncomingCallCoordinator.swift
+++ b/apps/web/tauri/callkit_plugin/ios/Sources/IncomingCallCoordinator.swift
@@ -20,6 +20,9 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
private var pendingCalls: [UUID: PendingCallInfo] = [:]
private var pendingCallTokens: [UUID: PendingCallToken] = [:]
+ /// Ring-status URLs from VoIP payloads, kept while the call is ringing so
+ /// a decline on this device can be reported with the same credential.
+ private var pendingRingStatusUrls: [UUID: String] = [:]
private var ringPollers: [UUID: RingStatePoller] = [:]
private var activeCallUUID: UUID?
private var activeNativeMediaUUID: UUID?
@@ -346,6 +349,7 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
provider.reportCall(with: staleUUID, endedAt: nil, reason: .failed)
pendingCalls.removeValue(forKey: staleUUID)
pendingCallTokens.removeValue(forKey: staleUUID)
+ pendingRingStatusUrls.removeValue(forKey: staleUUID)
stopRingStatePolling(uuid: staleUUID)
}
@@ -360,6 +364,11 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
pendingCallTokens.removeValue(forKey: uuid)
print("[CallKit] VoIP payload missing native connection credentials; lock-screen answer will not connect natively")
}
+ if let ringStatusUrl {
+ pendingRingStatusUrls[uuid] = ringStatusUrl
+ } else {
+ pendingRingStatusUrls.removeValue(forKey: uuid)
+ }
// A ring must not displace an active call's UUID: every leave path keys
// off activeCallUUID, and the ring's later cleanup would nil it, leaving
// the active call impossible to end from the app. The ringing call
@@ -387,6 +396,7 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
print("[CallKit] reportNewIncomingCall failed uuid=\(uuid.uuidString) error=\(String(describing: error))")
self?.pendingCalls.removeValue(forKey: uuid)
self?.pendingCallTokens.removeValue(forKey: uuid)
+ self?.pendingRingStatusUrls.removeValue(forKey: uuid)
if self?.activeCallUUID == uuid { self?.activeCallUUID = nil }
} else {
print("[CallKit] reportNewIncomingCall succeeded uuid=\(uuid.uuidString)")
@@ -403,6 +413,7 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
stopAllRingStatePolling()
pendingCalls.removeAll()
pendingCallTokens.removeAll()
+ pendingRingStatusUrls.removeAll()
activeCallUUID = nil
isCallKitAudioSessionActive = false
pendingAnsweredCall = nil
@@ -436,6 +447,7 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
// in `didReceiveIncomingPushWith` fail this now-active outgoing call.
pendingCalls.removeValue(forKey: uuid)
pendingCallTokens.removeValue(forKey: uuid)
+ pendingRingStatusUrls.removeValue(forKey: uuid)
provider.reportOutgoingCall(with: uuid, startedConnectingAt: Date())
mediaSessionProvider().prepareForCallKitAudio()
action.fulfill()
@@ -495,6 +507,7 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
activeCallUUID = answeredUUID
pendingCalls.removeValue(forKey: answeredUUID)
pendingCallTokens.removeValue(forKey: answeredUUID)
+ pendingRingStatusUrls.removeValue(forKey: answeredUUID)
print("[CallKit] Fulfilling CXAnswerCallAction uuid=\(answeredUUID.uuidString)")
applyProviderConfiguration(reason: "answer action fulfillment")
@@ -531,6 +544,13 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
func provider(_ provider: CXProvider, perform action: CXEndCallAction) {
let callId = action.callUUID.uuidString
print("[CallKit] CXEndCallAction received uuid=\(callId)")
+ // Ending a call that is still pending (never answered here, not an
+ // outgoing call) is the user declining the incoming ring — e.g. the
+ // lock-screen Decline button. Tell the backend before the state is
+ // cleared so the user's other devices stop ringing too.
+ if pendingCalls[action.callUUID] != nil, !outgoingCallUUIDs.contains(action.callUUID) {
+ reportDecline(uuid: action.callUUID)
+ }
onCallEnded(callId)
// Keyed off the session as well as activeNativeMediaUUID: if the
@@ -587,6 +607,7 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
stopRingStatePolling(uuid: uuid)
pendingCalls.removeValue(forKey: uuid)
pendingCallTokens.removeValue(forKey: uuid)
+ pendingRingStatusUrls.removeValue(forKey: uuid)
if activeCallUUID == uuid {
activeCallUUID = nil
// The pending answered call belongs to the active call; clearing an
@@ -646,6 +667,18 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
}
}
+ /// Report a local decline of a ringing call to the backend (best-effort).
+ /// Needs the VoIP payload's ring-status URL and LiveKit token; older
+ /// backends without either simply leave other devices ringing as before.
+ private func reportDecline(uuid: UUID) {
+ guard let ringStatusUrl = pendingRingStatusUrls[uuid],
+ let token = pendingCallTokens[uuid]?.token else {
+ print("[CallKit] Skipping decline report; no ring credential uuid=\(uuid.uuidString)")
+ return
+ }
+ RingDeclineReporter.report(uuid: uuid, ringStatusUrl: ringStatusUrl, bearerToken: token)
+ }
+
private func handleRemoteRingResolution(uuid: UUID, status: RingStatePoller.ResolvedStatus) {
stopRingStatePolling(uuid: uuid)
// A late in-flight response can land after the ring resolved locally
@@ -656,8 +689,13 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
print("[CallKit] Ignoring remote ring resolution; call no longer pending uuid=\(uuid.uuidString)")
return
}
- let reason: CXCallEndedReason = status == .answered ? .answeredElsewhere : .remoteEnded
- print("[CallKit] Ending ringing call from remote resolution uuid=\(uuid.uuidString) reason=\(status == .answered ? "answeredElsewhere" : "remoteEnded")")
+ let reason: CXCallEndedReason
+ switch status {
+ case .answered: reason = .answeredElsewhere
+ case .declined: reason = .declinedElsewhere
+ case .ended: reason = .remoteEnded
+ }
+ print("[CallKit] Ending ringing call from remote resolution uuid=\(uuid.uuidString) reason=\(reason.rawValue)")
// reportCall(with:endedAt:reason:) does not trigger the
// CXEndCallAction delegate, so notify JS and clear state here.
provider.reportCall(with: uuid, endedAt: nil, reason: reason)
diff --git a/apps/web/tauri/callkit_plugin/ios/Sources/RingDeclineReporter.swift b/apps/web/tauri/callkit_plugin/ios/Sources/RingDeclineReporter.swift
new file mode 100644
index 0000000000..c9975070cc
--- /dev/null
+++ b/apps/web/tauri/callkit_plugin/ios/Sources/RingDeclineReporter.swift
@@ -0,0 +1,61 @@
+import Foundation
+import UIKit
+
+/// Tells the backend that the user declined a ringing CallKit call on this
+/// device, so their other devices stop ringing (`call_declined` over the
+/// websocket, `declined` from the ring-status poll). Authorized with the same
+/// VoIP-delivered LiveKit token the ring-status poller uses; the decline URL
+/// is the ring-status URL plus `/decline`.
+///
+/// A lock-screen decline usually suspends the app right after CallKit ends
+/// the call, so the request runs under a background task. It is
+/// fire-and-forget: a failure only leaves the other devices ringing until
+/// their own timeout.
+enum RingDeclineReporter {
+ private static let session: URLSession = {
+ let config = URLSessionConfiguration.ephemeral
+ config.timeoutIntervalForRequest = 5
+ return URLSession(configuration: config)
+ }()
+
+ static func declineUrl(fromRingStatusUrl ringStatusUrl: String) -> URL? {
+ guard var components = URLComponents(string: ringStatusUrl) else { return nil }
+ let base = components.path.hasSuffix("/") ? String(components.path.dropLast()) : components.path
+ components.path = base + "/decline"
+ return components.url
+ }
+
+ static func report(uuid: UUID, ringStatusUrl: String, bearerToken: String) {
+ guard let url = declineUrl(fromRingStatusUrl: ringStatusUrl) else {
+ print("[CallKit] Invalid ringStatusUrl for decline uuid=\(uuid.uuidString)")
+ return
+ }
+
+ var backgroundTask: UIBackgroundTaskIdentifier = .invalid
+ let finish = {
+ guard backgroundTask != .invalid else { return }
+ UIApplication.shared.endBackgroundTask(backgroundTask)
+ backgroundTask = .invalid
+ }
+ backgroundTask = UIApplication.shared.beginBackgroundTask(withName: "CallKitReportDecline") {
+ DispatchQueue.main.async(execute: finish)
+ }
+
+ var request = URLRequest(url: url)
+ request.httpMethod = "POST"
+ request.setValue("Bearer \(bearerToken)", forHTTPHeaderField: "Authorization")
+ print("[CallKit] Reporting decline uuid=\(uuid.uuidString)")
+ let task = session.dataTask(with: request) { _, response, error in
+ if let error {
+ print("[CallKit] Decline report failed uuid=\(uuid.uuidString) error=\(error.localizedDescription)")
+ } else if let http = response as? HTTPURLResponse, !(200 ..< 300).contains(http.statusCode) {
+ // 404 means the call already ended or was replaced; nothing left to decline.
+ print("[CallKit] Decline report rejected uuid=\(uuid.uuidString) httpStatus=\(http.statusCode)")
+ } else {
+ print("[CallKit] Decline reported uuid=\(uuid.uuidString)")
+ }
+ DispatchQueue.main.async(execute: finish)
+ }
+ task.resume()
+ }
+}
diff --git a/apps/web/tauri/callkit_plugin/ios/Sources/RingStatePoller.swift b/apps/web/tauri/callkit_plugin/ios/Sources/RingStatePoller.swift
index 951d5c8bf5..510e2d7b0f 100644
--- a/apps/web/tauri/callkit_plugin/ios/Sources/RingStatePoller.swift
+++ b/apps/web/tauri/callkit_plugin/ios/Sources/RingStatePoller.swift
@@ -2,7 +2,8 @@ import Foundation
/// Polls the backend ring-status endpoint while a CallKit incoming call is
/// ringing, so the ring can be ended when the user answers on another device
-/// (answered elsewhere) or the call ends before anyone answers (remote ended).
+/// (answered elsewhere), declines on another device (declined elsewhere), or
+/// the call ends before anyone answers (remote ended).
///
/// All mutable state is main-thread only, matching the coordinator's
/// threading convention; URLSession completion handlers hop to main before
@@ -10,6 +11,7 @@ import Foundation
final class RingStatePoller {
enum ResolvedStatus {
case answered
+ case declined
case ended
}
@@ -131,6 +133,8 @@ final class RingStatePoller {
switch decoded.status {
case "answered":
resolve(.answered)
+ case "declined":
+ resolve(.declined)
case "ended":
resolve(.ended)
case "ringing":
diff --git a/crates/call/src/domain/models.rs b/crates/call/src/domain/models.rs
index 6ce6224b9f..804ed70e0a 100644
--- a/crates/call/src/domain/models.rs
+++ b/crates/call/src/domain/models.rs
@@ -128,6 +128,8 @@ pub enum RingStatus {
Ringing,
/// This user joined the call on some device — stop ringing (answered elsewhere).
Answered,
+ /// This user declined the call on some device — stop ringing (declined elsewhere).
+ Declined,
/// The call is over (or was replaced by a newer call) — stop ringing (remote ended).
Ended,
}
@@ -522,6 +524,11 @@ pub struct CallRecord {
/// single-record read; `None` in list contexts.
#[serde(skip_serializing_if = "Option::is_none")]
pub user_access_level: Option<AccessLevel>,
+ /// Whether the authenticated viewer has declined this call on any device.
+ /// Set on the single-record read so clients that missed `call_declined`
+ /// can still stop ringing via reconciliation; `false` in list contexts.
+ #[serde(default, skip_serializing_if = "std::ops::Not::not")]
+ pub viewer_has_declined: bool,
/// Macro-account participants (both active and historic).
pub participants: Vec<CallRecordParticipant>,
/// Non-account guests (both active and historic). Guests only ever exist
diff --git a/crates/call/src/domain/ports.rs b/crates/call/src/domain/ports.rs
index 0611fab882..c1786605de 100644
--- a/crates/call/src/domain/ports.rs
+++ b/crates/call/src/domain/ports.rs
@@ -270,6 +270,21 @@ pub trait CallRepository: Send + Sync + 'static {
user_id: &str,
) -> impl Future<Output = Result<bool, Self::Err>> + Send;
+ /// Record that a user declined an active call. Idempotent: declining the
+ /// same call twice keeps the first decline.
+ fn record_decline<'a>(
+ &self,
+ call_id: &Uuid,
+ user_id: MacroUserIdStr<'a>,
+ ) -> impl Future<Output = Result<(), Self::Err>> + Send;
+
+ /// Check if a user has declined an active call on any of their devices.
+ fn has_declined(
+ &self,
+ call_id: &Uuid,
+ user_id: &str,
+ ) -> impl Future<Output = Result<bool, Self::Err>> + Send;
+
/// Delete a call record (when the call ends).
fn delete_call(&self, call_id: &Uuid) -> impl Future<Output = Result<(), Self::Err>> + Send;
@@ -892,6 +907,31 @@ pub trait CallService: Send + Sync + 'static {
user_id: MacroUserIdStr<'a>,
) -> impl Future<Output = Result<LeaveCallResponse, CallError>> + Send;
+ /// Decline a specific active call for this user without joining it.
+ ///
+ /// Records the decline and notifies the user's other connected clients
+ /// (`call_declined`) so they stop ringing; the call itself keeps going
+ /// for everyone else. Bound to `call_id` so a stale ring for a replaced
+ /// call cannot decline the channel's newer active call. Returns
+ /// [`CallError::NotFound`] when that call is no longer active.
+ fn decline_call<'a>(
+ &self,
+ call_id: &Uuid,
+ user_id: MacroUserIdStr<'a>,
+ ) -> impl Future<Output = Result<(), CallError>> + Send;
+
+ /// Decline a ringing call from a native client, authenticated like
+ /// [`Self::get_ring_status`] with the RTC access token from its VoIP push
+ /// payload. Has the same effect as [`Self::decline_call`] for the token's
+ /// identity. Returns [`CallError::Auth`] when the token is invalid or
+ /// carries no room grant, and [`CallError::NotFound`] when the room's
+ /// active call is not the one being declined.
+ fn decline_ring(
+ &self,
+ call_id: &Uuid,
+ bearer_token: &str,
+ ) -> impl Future<Output = Result<(), CallError>> + Send;
+
/// Report the per-user ring status for a call. The caller authenticates
/// with the RTC access token delivered in its VoIP push payload; the
/// token's identity determines whose participation is checked. Returns
diff --git a/crates/call/src/domain/service.rs b/crates/call/src/domain/service.rs
index 38cc8acf23..9052461650 100644
--- a/crates/call/src/domain/service.rs
+++ b/crates/call/src/domain/service.rs
@@ -416,23 +416,87 @@ impl<
.await
.inspect_err(|e| tracing::error!(error=?e, "failed to send call answered event"));
}
+
+ /// Notify a user's own connections that they declined a call (best-effort).
+ ///
+ /// Same audience as [`Self::send_call_answered_event`]: only the declining
+ /// user's clients, so a decline on one device (e.g. the iPhone lock
+ /// screen) stops the ring on the rest without touching other members.
+ async fn send_call_declined_event(
+ &self,
+ channel_id: &Option<Uuid>,
+ call_id: &Uuid,
+ user_id: MacroUserIdStr<'_>,
+ ) {
+ let _ = self
+ .connection_service
+ .send_channel_message(
+ &[user_id.copied()],
+ "call_declined",
+ serde_json::json!({
+ "channel_id": channel_id,
+ "call_id": call_id,
+ "user_id": user_id,
+ }),
+ )
+ .await
+ .inspect_err(|e| tracing::error!(error=?e, "failed to send call declined event"));
+ }
+
+ /// Persist a user's decline of `call` and fan it out to their devices.
+ async fn decline_active_call(
+ &self,
+ call: &Call,
+ user_id: MacroUserIdStr<'_>,
+ ) -> Result<(), CallError> {
+ self.repo
+ .record_decline(&call.id, user_id.copied())
+ .await
+ .map_err(|e| CallError::Internal(e.into()))?;
+ self.send_call_declined_event(&call.channel_id, &call.id, user_id)
+ .await;
+ Ok(())
+ }
+
+ /// Resolve the room and identity a VoIP-delivered RTC token authorizes.
+ fn verify_ring_token(
+ &self,
+ bearer_token: &str,
+ ) -> Result<(String, MacroUserIdStr<'static>), CallError> {
+ let verified = self
+ .rtc_client
+ .verify_access_token(bearer_token)
+ .map_err(|e| {
+ tracing::warn!(error=?e, "ring token verification failed");
+ CallError::Auth
+ })?;
+ let room = verified.room.ok_or(CallError::Auth)?;
+ let identity = MacroUserIdStr::parse_from_str(&verified.identity)
+ .map_err(|_| CallError::Auth)?
+ .into_owned();
+ Ok((room, identity))
+ }
}
/// Decide the per-user ring status from the room's active call (if any),
/// the call id the client is polling for, and whether the user is an
-/// active participant of that call.
+/// active participant of, or has declined, that call.
///
/// A room whose active call differs from the polled one means the polled
/// call is over and a newer call replaced it — the stale ring is dead.
+/// Joining outranks an earlier decline: a user who declined on one device
+/// and then picked up on another is in the call.
fn resolve_ring_status(
active_call: Option<&Call>,
requested_call_id: &Uuid,
is_participant: bool,
+ has_declined: bool,
) -> RingStatus {
match active_call {
None => RingStatus::Ended,
Some(call) if call.id != *requested_call_id => RingStatus::Ended,
Some(_) if is_participant => RingStatus::Answered,
+ Some(_) if has_declined => RingStatus::Declined,
Some(_) => RingStatus::Ringing,
}
}
@@ -1112,22 +1176,44 @@ impl<
})
}
+ #[tracing::instrument(err, skip(self))]
+ async fn decline_call(
+ &self,
+ call_id: &Uuid,
+ user_id: MacroUserIdStr<'_>,
+ ) -> Result<(), CallError> {
+ let call = self
+ .repo
+ .get_call_by_id(call_id)
+ .await
+ .map_err(|e| CallError::Internal(e.into()))?
+ .ok_or_else(|| CallError::NotFound(call_id.to_string()))?;
+
+ self.decline_active_call(&call, user_id).await
+ }
+
+ #[tracing::instrument(err, skip(self, bearer_token))]
+ async fn decline_ring(&self, call_id: &Uuid, bearer_token: &str) -> Result<(), CallError> {
+ let (room, identity) = self.verify_ring_token(bearer_token)?;
+
+ let call = self
+ .repo
+ .get_call_by_room_name(&room)
+ .await
+ .map_err(|e| CallError::Internal(e.into()))?
+ .filter(|call| call.id == *call_id)
+ .ok_or_else(|| CallError::NotFound(call_id.to_string()))?;
+
+ self.decline_active_call(&call, identity).await
+ }
+
#[tracing::instrument(err, skip(self, bearer_token))]
async fn get_ring_status(
&self,
call_id: &Uuid,
bearer_token: &str,
) -> Result<RingStatusResponse, CallError> {
- let verified = self
- .rtc_client
- .verify_access_token(bearer_token)
- .map_err(|e| {
- tracing::warn!(error=?e, "ring-status token verification failed");
- CallError::Auth
- })?;
- let room = verified.room.ok_or(CallError::Auth)?;
- let identity =
- MacroUserIdStr::parse_from_str(&verified.identity).map_err(|_| CallError::Auth)?;
+ let (room, identity) = self.verify_ring_token(bearer_token)?;
let active_call = self
.repo
@@ -1135,19 +1221,32 @@ impl<
.await
.map_err(|e| CallError::Internal(e.into()))?;
- // Only consult participation when the room's active call is the one
- // being polled — otherwise the answer is Ended regardless.
- let is_participant = match &active_call {
- Some(call) if call.id == *call_id => self
- .repo
- .is_participant(&call.id, identity.as_ref())
- .await
- .map_err(|e| CallError::Internal(e.into()))?,
- _ => false,
+ // Only consult participation and declines when the room's active call
+ // is the one being polled — otherwise the answer is Ended regardless.
+ let (is_participant, has_declined) = match &active_call {
+ Some(call) if call.id == *call_id => {
+ let is_participant = self
+ .repo
+ .is_participant(&call.id, identity.as_ref())
+ .await
+ .map_err(|e| CallError::Internal(e.into()))?;
+ let has_declined = self
+ .repo
+ .has_declined(&call.id, identity.as_ref())
+ .await
+ .map_err(|e| CallError::Internal(e.into()))?;
+ (is_participant, has_declined)
+ }
+ _ => (false, false),
};
Ok(RingStatusResponse {
- status: resolve_ring_status(active_call.as_ref(), call_id, is_participant),
+ status: resolve_ring_status(
+ active_call.as_ref(),
+ call_id,
+ is_participant,
+ has_declined,
+ ),
})
}
@@ -1447,6 +1546,17 @@ impl<
None => None,
};
+ // Only active calls keep decline rows; archived calls drop them with
+ // the call, and an inactive record already resolves as ended.
+ record.viewer_has_declined = if record.is_active {
+ self.repo
+ .has_declined(&call_id, user_id.as_ref())
+ .await
+ .map_err(|e| CallError::Internal(e.into()))?
+ } else {
+ false
+ };
+
Ok(record)
}
diff --git a/crates/call/src/domain/service/test.rs b/crates/call/src/domain/service/test.rs
index 8d0b2e143b..d29a7f7a6a 100644
--- a/crates/call/src/domain/service/test.rs
+++ b/crates/call/src/domain/service/test.rs
@@ -1528,6 +1528,7 @@ fn call_record_for_mutation() -> CallRecord {
is_active: false,
status: None,
user_access_level: None,
+ viewer_has_declined: false,
participants: Vec::new(),
guests: Vec::new(),
transcript: Vec::new(),
@@ -2442,6 +2443,10 @@ async fn graphql_team_sharing_still_rejects_active_calls() {
repo.expect_resolve_channel_name()
.times(1)
.returning(|_, _| Box::pin(async { Ok(None) }));
+ // Loading an active call record resolves the viewer's decline state.
+ repo.expect_has_declined()
+ .times(1)
+ .returning(|_, _| Box::pin(async { Ok(false) }));
let event_broker = RecordingEventBroker::default();
let service = build_mutation_service(repo, event_broker.clone());
@@ -2666,6 +2671,7 @@ fn summarized_call_record(custom_name: Option<&str>) -> CallRecord {
is_active: false,
status: None,
user_access_level: None,
+ viewer_has_declined: false,
participants: Vec::new(),
guests: Vec::new(),
transcript: vec![CallRecordTranscriptSegment {
@@ -3328,7 +3334,7 @@ fn active_call(call_id: Uuid) -> Call {
fn resolve_ring_status_reports_ended_when_no_active_call() {
let call_id = Uuid::from_u128(1);
assert_eq!(
- resolve_ring_status(None, &call_id, false),
+ resolve_ring_status(None, &call_id, false, false),
RingStatus::Ended
);
}
@@ -3338,7 +3344,7 @@ fn resolve_ring_status_reports_ended_when_a_newer_call_replaced_the_polled_one()
let polled = Uuid::from_u128(1);
let newer = active_call(Uuid::from_u128(2));
assert_eq!(
- resolve_ring_status(Some(&newer), &polled, true),
+ resolve_ring_status(Some(&newer), &polled, true, true),
RingStatus::Ended,
"a different active call in the room means the polled ring is dead"
);
@@ -3349,21 +3355,283 @@ fn resolve_ring_status_reports_answered_when_user_is_a_participant() {
let call_id = Uuid::from_u128(1);
let call = active_call(call_id);
assert_eq!(
- resolve_ring_status(Some(&call), &call_id, true),
+ resolve_ring_status(Some(&call), &call_id, true, false),
RingStatus::Answered
);
}
+#[test]
+fn resolve_ring_status_reports_declined_when_user_declined_elsewhere() {
+ let call_id = Uuid::from_u128(1);
+ let call = active_call(call_id);
+ assert_eq!(
+ resolve_ring_status(Some(&call), &call_id, false, true),
+ RingStatus::Declined
+ );
+}
+
+#[test]
+fn resolve_ring_status_prefers_answered_over_an_earlier_decline() {
+ let call_id = Uuid::from_u128(1);
+ let call = active_call(call_id);
+ assert_eq!(
+ resolve_ring_status(Some(&call), &call_id, true, true),
+ RingStatus::Answered,
+ "a user who declined on one device and then joined on another is in the call"
+ );
+}
+
#[test]
fn resolve_ring_status_reports_ringing_when_user_has_not_joined() {
let call_id = Uuid::from_u128(1);
let call = active_call(call_id);
assert_eq!(
- resolve_ring_status(Some(&call), &call_id, false),
+ resolve_ring_status(Some(&call), &call_id, false, false),
RingStatus::Ringing
);
}
+const DECLINE_CALL_ID: Uuid = Uuid::from_u128(0x0198a1b2_c3d4_7e5f_8061_728394a5b6d0);
+const DECLINE_CHANNEL_ID: Uuid = Uuid::from_u128(0x3f6f8b0a_6f9f_4a3f_9c3a_2b1e5d4c7a91);
+const DECLINE_ROOM: &str = "decline-room";
+
+fn declinable_call() -> Call {
+ Call {
+ id: DECLINE_CALL_ID,
+ channel_id: Some(DECLINE_CHANNEL_ID),
+ room_name: DECLINE_ROOM.to_string(),
+ created_by: STARTED_EVENT_CREATOR.to_string(),
+ created_at: started_event_timestamp(),
+ egress_id: None,
+ }
+}
+
+fn expect_recorded_decline(repo: &mut MockCallRepository, expected_user: &'static str) {
+ repo.expect_record_decline()
+ .withf(move |call_id, user_id| {
+ *call_id == DECLINE_CALL_ID && user_id.as_ref() == user(expected_user).as_ref()
+ })
+ .times(1)
+ .returning(|_, _| Box::pin(async { Ok(()) }));
+}
+
+fn build_ring_token_service(
+ repo: MockCallRepository,
+ rtc_client: MockCallRtcClient,
+ connection_service: RecordingConnectionService,
+) -> impl CallService {
+ let service: CallServiceImpl<_, _, _, _, _, _, NoopCallSummarizer> = CallServiceImpl::new(
+ repo,
+ rtc_client,
+ connection_service,
+ NoOpEntityAccessService,
+ StubNotificationIngress,
+ StubRecordingStorage,
+ "wss://livekit.example.com",
+ );
+ service
+}
+
+fn ring_token_client(identity: &'static str, room: Option<&'static str>) -> MockCallRtcClient {
+ let mut rtc_client = MockCallRtcClient::new();
+ rtc_client
+ .expect_verify_access_token()
+ .times(1)
+ .returning(move |_| {
+ Ok(VerifiedRingToken {
+ identity: user(identity).as_ref().to_string(),
+ room: room.map(str::to_string),
+ })
+ });
+ rtc_client
+}
+
+#[tokio::test]
+async fn decline_call_records_decline_and_notifies_only_the_declining_user() {
+ let mut repo = MockCallRepository::new();
+ repo.expect_get_call_by_id()
+ .withf(|call_id| *call_id == DECLINE_CALL_ID)
+ .times(1)
+ .returning(|_| Box::pin(async { Ok(Some(declinable_call())) }));
+ expect_recorded_decline(&mut repo, "[email protected]");
+ let connection_service = RecordingConnectionService::default();
+ let service = build_get_or_create_service(
+ repo,
+ connection_service.clone(),
+ RecordingEventBroker::default(),
+ false,
+ );
+
+ service
+ .decline_call(&DECLINE_CALL_ID, user("[email protected]"))
+ .await
+ .expect("declining an active call succeeds");
+
+ let messages = connection_service.messages();
+ let [message] = messages.as_slice() else {
+ panic!("expected exactly one channel message")
+ };
+ assert_eq!(message.message_type, "call_declined");
+ assert_eq!(
+ message.users,
+ vec![user("[email protected]").as_ref().to_string()],
+ "only the declining user's own devices are told to stop ringing"
+ );
+ assert_eq!(
+ message.message,
+ json!({
+ "channel_id": DECLINE_CHANNEL_ID,
+ "call_id": DECLINE_CALL_ID,
+ "user_id": user("[email protected]").as_ref(),
+ })
+ );
+}
+
+#[tokio::test]
+async fn decline_call_without_an_active_call_is_not_found() {
+ let mut repo = MockCallRepository::new();
+ repo.expect_get_call_by_id()
+ .withf(|call_id| *call_id == DECLINE_CALL_ID)
+ .times(1)
+ .returning(|_| Box::pin(async { Ok(None) }));
+ repo.expect_record_decline().times(0);
+ let connection_service = RecordingConnectionService::default();
+ let service = build_get_or_create_service(
+ repo,
+ connection_service.clone(),
+ RecordingEventBroker::default(),
+ false,
+ );
+
+ let result = service
+ .decline_call(&DECLINE_CALL_ID, user("[email protected]"))
+ .await;
+
+ assert!(matches!(result, Err(CallError::NotFound(_))));
+ assert!(connection_service.messages().is_empty());
+}
+
+#[tokio::test]
+async fn decline_call_ignores_a_stale_call_id_after_the_channel_moved_on() {
+ let mut repo = MockCallRepository::new();
+ let stale_call_id = Uuid::from_u128(0xdead);
+ repo.expect_get_call_by_id()
+ .withf(move |call_id| *call_id == stale_call_id)
+ .times(1)
+ .returning(|_| Box::pin(async { Ok(None) }));
+ repo.expect_record_decline().times(0);
+ let connection_service = RecordingConnectionService::default();
+ let service = build_get_or_create_service(
+ repo,
+ connection_service.clone(),
+ RecordingEventBroker::default(),
+ false,
+ );
+
+ let result = service
+ .decline_call(&stale_call_id, user("[email protected]"))
+ .await;
+
+ assert!(matches!(result, Err(CallError::NotFound(_))));
+ assert!(connection_service.messages().is_empty());
+}
+
+#[tokio::test]
+async fn decline_ring_declines_for_the_token_identity() {
+ let mut repo = MockCallRepository::new();
+ repo.expect_get_call_by_room_name()
+ .withf(|room| room == DECLINE_ROOM)
+ .times(1)
+ .returning(|_| Box::pin(async { Ok(Some(declinable_call())) }));
+ expect_recorded_decline(&mut repo, "[email protected]");
+ let connection_service = RecordingConnectionService::default();
+ let service = build_ring_token_service(
+ repo,
+ ring_token_client("[email protected]", Some(DECLINE_ROOM)),
+ connection_service.clone(),
+ );
+
+ service
+ .decline_ring(&DECLINE_CALL_ID, "voip-token")
+ .await
+ .expect("declining a ringing call succeeds");
+
+ let messages = connection_service.messages();
+ let [message] = messages.as_slice() else {
+ panic!("expected exactly one channel message")
+ };
+ assert_eq!(message.message_type, "call_declined");
+ assert_eq!(
+ message.users,
+ vec![user("[email protected]").as_ref().to_string()]
+ );
+}
+
+#[tokio::test]
+async fn decline_ring_rejects_a_token_without_a_room_grant() {
+ let mut repo = MockCallRepository::new();
+ repo.expect_record_decline().times(0);
+ let service = build_ring_token_service(
+ repo,
+ ring_token_client("[email protected]", None),
+ RecordingConnectionService::default(),
+ );
+
+ let result = service.decline_ring(&DECLINE_CALL_ID, "voip-token").await;
+
+ assert!(matches!(result, Err(CallError::Auth)));
+}
+
+#[tokio::test]
+async fn decline_ring_ignores_a_call_the_room_has_moved_on_from() {
+ let mut repo = MockCallRepository::new();
+ repo.expect_get_call_by_room_name()
+ .times(1)
+ .returning(|_| Box::pin(async { Ok(Some(declinable_call())) }));
+ repo.expect_record_decline().times(0);
+ let connection_service = RecordingConnectionService::default();
+ let service = build_ring_token_service(
+ repo,
+ ring_token_client("[email protected]", Some(DECLINE_ROOM)),
+ connection_service.clone(),
+ );
+
+ let stale_call_id = Uuid::from_u128(0xdead);
+ let result = service.decline_ring(&stale_call_id, "voip-token").await;
+
+ assert!(matches!(result, Err(CallError::NotFound(_))));
+ assert!(connection_service.messages().is_empty());
+}
+
+#[tokio::test]
+async fn get_ring_status_reports_declined_for_the_token_identity() {
+ let mut repo = MockCallRepository::new();
+ repo.expect_get_call_by_room_name()
+ .times(1)
+ .returning(|_| Box::pin(async { Ok(Some(declinable_call())) }));
+ repo.expect_is_participant()
+ .times(1)
+ .returning(|_, _| Box::pin(async { Ok(false) }));
+ repo.expect_has_declined()
+ .withf(|call_id, user_id| {
+ *call_id == DECLINE_CALL_ID && user_id == user("[email protected]").as_ref()
+ })
+ .times(1)
+ .returning(|_, _| Box::pin(async { Ok(true) }));
+ let service = build_ring_token_service(
+ repo,
+ ring_token_client("[email protected]", Some(DECLINE_ROOM)),
+ RecordingConnectionService::default(),
+ );
+
+ let response = service
+ .get_ring_status(&DECLINE_CALL_ID, "voip-token")
+ .await
+ .expect("ring status resolves");
+
+ assert_eq!(response.status, RingStatus::Declined);
+}
+
#[cfg(feature = "outbound")]
#[sqlx::test(
fixtures(path = "../../../fixtures", scripts("call_repo")),
diff --git a/crates/call/src/inbound/axum_router.rs b/crates/call/src/inbound/axum_router.rs
index 56387e7cfc..c5136b42fd 100644
--- a/crates/call/src/inbound/axum_router.rs
+++ b/crates/call/src/inbound/axum_router.rs
@@ -102,6 +102,7 @@ impl<S, Svc, Auth> FromRef<CallRouterState<S, Svc, Auth>> for MacroAuthorization
/// - `GET /{channel_id}/active` — check if an active call exists
/// - `GET /active` — list all active calls in channels the caller is a member of
/// - `DELETE /{channel_id}` — leave or end a call
+/// - `POST /record/{call_id}/decline` — decline a ringing call on every device
/// - `GET /record/{call_id}` — get a full call record (transcript + participants)
/// - `PATCH /record/{call_id}` — edit a call record (share permissions, team sharing, name)
/// - `PATCH /record/{call_id}/transcript` — set per-diarized-speaker custom_speaker overrides
@@ -169,6 +170,10 @@ where
"/record/preview",
post(get_batch_call_record_preview_handler::<S, Svc, Auth>),
)
+ .route(
+ "/record/{call_id}/decline",
+ post(decline_call_handler::<S, Svc, Auth>),
+ )
.route(
"/record/{call_id}",
get(get_call_record_handler::<S, Svc, Auth>)
@@ -217,6 +222,7 @@ impl<S: CallService> WebhookRouterState<S> {
/// - `POST /join/{token}/leave` — RTC-token-authorized leave (per-IP rate limited)
/// - `POST /webhook` — signed LiveKit events
/// - `GET /ring-status/{call_id}` — status authorized by the VoIP-delivered RTC token
+/// - `POST /ring-status/{call_id}/decline` — decline authorized by the same token
pub fn webhook_router<S, R, T>(state: WebhookRouterState<S>, rate_limiter: R) -> Router<T>
where
S: CallService,
@@ -247,6 +253,10 @@ where
.merge(preview)
.route("/webhook", post(webhook_handler::<S>))
.route("/ring-status/{call_id}", get(ring_status_handler::<S>))
+ .route(
+ "/ring-status/{call_id}/decline",
+ post(decline_ring_handler::<S>),
+ )
.with_state(state)
}
@@ -703,6 +713,53 @@ pub async fn leave_or_end_call_handler<
Ok(Json(response))
}
+/// Permission `POST /call/record/{call_id}/decline` requires: whoever can see
+/// the call may turn down its ring for themselves. Call access resolves to an
+/// access level, never a channel role, so a participant-role marker here would
+/// reject every user.
+pub(crate) type DeclineCallPermission = ViewAccessLevel;
+
+/// Handler for `POST /call/record/{call_id}/decline`.
+///
+/// Declines the identified active call for the caller without joining it.
+/// Bound to `call_id` so a stale incoming-call UI cannot decline a newer call
+/// that replaced it in the same channel. The caller's other devices are told
+/// to stop ringing (`call_declined`); the call continues for everyone else.
+#[utoipa::path(
+ post,
+ operation_id = "decline_call",
+ path = "/call/record/{call_id}/decline",
+ params(
+ ("call_id" = Uuid, Path, description = "Call ID"),
+ ),
+ responses(
+ (status = 204, description = "Decline recorded"),
+ (status = 401, body = ErrorResponse),
+ (status = 404, body = ErrorResponse, description = "The call is no longer active"),
+ (status = 500, body = ErrorResponse),
+ )
+)]
+#[tracing::instrument(err, skip_all)]
+pub async fn decline_call_handler<
+ S: CallService,
+ Svc: EntityAccessService,
+ Auth: MacroAuthorizationService,
+>(
+ State(state): State<CallRouterState<S, Svc, Auth>>,
+ access: CallAccessLevelExtractor<DeclineCallPermission, Svc, Auth>,
+ user: MacroAuthorizationExtractor<Auth, UserOrInternal>,
+) -> Result<StatusCode, CallError> {
+ let call_id = Uuid::parse_str(&access.entity_access_receipt.entity().entity_id)
+ .map_err(|_| CallError::Internal(anyhow::anyhow!("invalid call_id in receipt")))?;
+
+ state
+ .service
+ .decline_call(&call_id, user.authorization.user.macro_user_id.clone())
+ .await?;
+
+ Ok(StatusCode::NO_CONTENT)
+}
+
/// Handler for `POST /call/webhook`.
///
/// Receives webhook events from the RTC provider (e.g. LiveKit).
@@ -776,6 +833,44 @@ pub async fn ring_status_handler<S: CallService>(
Ok(Json(response))
}
+/// Handler for `POST /call/ring-status/{call_id}/decline`.
+///
+/// Declines a ringing call from a native client, e.g. the iPhone lock-screen
+/// decline button, so the user's other devices stop ringing. Authorized like
+/// [`ring_status_handler`]: the bearer credential is the recipient's LiveKit
+/// JWT from the VoIP push payload, which identifies both the room and the
+/// declining user.
+#[utoipa::path(
+ post,
+ operation_id = "decline_ring",
+ path = "/call/ring-status/{call_id}/decline",
+ params(
+ ("call_id" = Uuid, Path, description = "Call ID"),
+ ),
+ responses(
+ (status = 204, description = "Decline recorded"),
+ (status = 401, body = ErrorResponse, description = "Missing or invalid bearer token"),
+ (status = 404, body = ErrorResponse, description = "The call is no longer ringing"),
+ (status = 500, body = ErrorResponse),
+ )
+)]
+#[tracing::instrument(err, skip_all)]
+pub async fn decline_ring_handler<S: CallService>(
+ State(state): State<WebhookRouterState<S>>,
+ axum::extract::Path(call_id): axum::extract::Path<Uuid>,
+ headers: axum::http::HeaderMap,
+) -> Result<StatusCode, CallError> {
+ let bearer = headers
+ .get(axum::http::header::AUTHORIZATION)
+ .and_then(|v| v.to_str().ok())
+ .and_then(|v| v.strip_prefix("Bearer "))
+ .ok_or(CallError::Auth)?;
+
+ state.service.decline_ring(&call_id, bearer).await?;
+
+ Ok(StatusCode::NO_CONTENT)
+}
+
/// Handler for `POST /call/{channel_id}/transcript`.
///
/// Receives transcript segments from the transcription agent.
diff --git a/crates/call/src/inbound/axum_router/test.rs b/crates/call/src/inbound/axum_router/test.rs
index 03f183eedd..6a2f1da37e 100644
--- a/crates/call/src/inbound/axum_router/test.rs
+++ b/crates/call/src/inbound/axum_router/test.rs
@@ -2,6 +2,9 @@ use axum::http::StatusCode;
use axum::response::IntoResponse;
use crate::domain::models::CallError;
+use entity_access::domain::models::{AccessLevel, EntityPermission};
+
+use super::DeclineCallPermission;
#[test]
fn maps_domain_errors_to_status_codes() {
@@ -42,6 +45,16 @@ fn maps_domain_errors_to_status_codes() {
}
}
+/// The entity-access service resolves a call to an access level, never a
+/// channel role, so the decline route must accept a plain viewer.
+#[test]
+fn decline_accepts_the_permission_call_access_resolves_to() {
+ let viewer = EntityPermission::AccessLevel {
+ access_level: AccessLevel::View,
+ };
+ assert!(viewer.satisfies::<DeclineCallPermission>());
+}
+
mod public_routes {
use std::sync::Arc;
use std::time::Duration;
diff --git a/crates/call/src/outbound/pg_call_repo.rs b/crates/call/src/outbound/pg_call_repo.rs
index c65cd27d4e..6d31f383bb 100644
--- a/crates/call/src/outbound/pg_call_repo.rs
+++ b/crates/call/src/outbound/pg_call_repo.rs
@@ -900,6 +900,42 @@ impl CallRepository for PgCallRepo {
.await
}
+ #[tracing::instrument(err, skip(self))]
+ async fn record_decline(
+ &self,
+ call_id: &Uuid,
+ user_id: MacroUserIdStr<'_>,
+ ) -> Result<(), Self::Err> {
+ sqlx::query!(
+ r#"
+ INSERT INTO call_declines (call_id, user_id)
+ VALUES ($1, $2)
+ ON CONFLICT (call_id, user_id) DO NOTHING
+ "#,
+ call_id,
+ user_id.as_ref(),
+ )
+ .execute(&self.pool)
+ .await?;
+ Ok(())
+ }
+
+ #[tracing::instrument(err, skip(self))]
+ async fn has_declined(&self, call_id: &Uuid, user_id: &str) -> Result<bool, Self::Err> {
+ sqlx::query_scalar!(
+ r#"
+ SELECT EXISTS(
+ SELECT 1 FROM call_declines
+ WHERE call_id = $1 AND user_id = $2
+ ) as "exists!"
+ "#,
+ call_id,
+ user_id,
+ )
+ .fetch_one(&self.pool)
+ .await
+ }
+
#[tracing::instrument(err, skip(self))]
async fn delete_call(&self, call_id: &Uuid) -> Result<(), Self::Err> {
let mut tx = self.pool.begin().await?;
@@ -1331,6 +1367,7 @@ impl CallRepository for PgCallRepo {
team_share_access_level: active.team_share_access_level,
is_active: true,
status: None,
+ viewer_has_declined: false,
participants,
guests,
transcript,
@@ -1441,6 +1478,7 @@ impl CallRepository for PgCallRepo {
team_share_access_level: archived.team_share_access_level,
is_active: false,
status: None,
+ viewer_has_declined: false,
participants,
guests,
transcript,
@@ -1865,6 +1903,7 @@ impl CallRepository for PgCallRepo {
team_share_access_level: row.team_share_access_level,
is_active: row.is_active,
status: Some(call_status_from_sql(&row.status)),
+ viewer_has_declined: false,
participants,
guests,
transcript: Vec::new(),
diff --git a/crates/call/src/outbound/pg_call_repo/test.rs b/crates/call/src/outbound/pg_call_repo/test.rs
index aa39a5a8a6..93aafb7543 100644
--- a/crates/call/src/outbound/pg_call_repo/test.rs
+++ b/crates/call/src/outbound/pg_call_repo/test.rs
@@ -390,6 +390,46 @@ async fn remove_participant_removes_from_db(pool: Pool<Postgres>) -> anyhow::Res
Ok(())
}
+// -- record_decline / has_declined ----------------------------------------------
+
+#[sqlx::test(
+ fixtures(path = "../../../fixtures", scripts("call_repo")),
+ migrator = "MACRO_DB_MIGRATIONS"
+)]
+async fn record_decline_is_idempotent_and_scoped_to_the_user(
+ pool: Pool<Postgres>,
+) -> anyhow::Result<()> {
+ let repo = repo(pool);
+
+ assert!(!repo.has_declined(&CALL1, &USER_C.as_ref()).await?);
+
+ repo.record_decline(&CALL1, USER_C.deref().copied()).await?;
+ repo.record_decline(&CALL1, USER_C.deref().copied()).await?;
+
+ assert!(repo.has_declined(&CALL1, &USER_C.as_ref()).await?);
+ assert!(!repo.has_declined(&CALL1, &USER_B.as_ref()).await?);
+ Ok(())
+}
+
+#[sqlx::test(
+ fixtures(path = "../../../fixtures", scripts("call_repo")),
+ migrator = "MACRO_DB_MIGRATIONS"
+)]
+async fn declines_are_dropped_with_the_call(pool: Pool<Postgres>) -> anyhow::Result<()> {
+ let repo = repo(pool.clone());
+
+ repo.record_decline(&CALL1, USER_C.deref().copied()).await?;
+ repo.delete_call(&CALL1).await?;
+
+ let remaining: i64 =
+ sqlx::query_scalar("SELECT COUNT(*) FROM call_declines WHERE call_id = $1")
+ .bind(CALL1)
+ .fetch_one(&pool)
+ .await?;
+ assert_eq!(remaining, 0);
+ Ok(())
+}
+
// -- find_active_call_for_user ------------------------------------------------
#[sqlx::test(
diff --git a/crates/macro_db_client/migrations/20260927210829_call_declines.sql b/crates/macro_db_client/migrations/20260927210829_call_declines.sql
new file mode 100644
index 0000000000..40715cbf21
--- /dev/null
+++ b/crates/macro_db_client/migrations/20260927210829_call_declines.sql
@@ -0,0 +1,11 @@
+-- Per-user declines of a ringing channel call. A row means the user declined
+-- the call on one of their devices, so their other devices should stop
+-- ringing. Rows live only as long as the active call: archiving deletes the
+-- `calls` row and cascades here.
+
+CREATE TABLE IF NOT EXISTS call_declines (
+ call_id UUID NOT NULL REFERENCES calls(id) ON DELETE CASCADE,
+ user_id TEXT NOT NULL,
+ declined_at TIMESTAMPTZ NOT NULL DEFAULT now(),
+ PRIMARY KEY (call_id, user_id)
+);
diff --git a/crates/models_soup/src/call_record/test.rs b/crates/models_soup/src/call_record/test.rs
index 861ed27a6c..163e6b5833 100644
--- a/crates/models_soup/src/call_record/test.rs
+++ b/crates/models_soup/src/call_record/test.rs
@@ -40,6 +40,7 @@ fn record_with_participants(user_ids: &[&str]) -> CallRecord {
guests: Vec::new(),
transcript: Vec::new(),
user_access_level: None,
+ viewer_has_declined: false,
}
}
diff --git a/crates/soup/src/domain/service/tests.rs b/crates/soup/src/domain/service/tests.rs
index 1947ca81f1..326ca88936 100644
--- a/crates/soup/src/domain/service/tests.rs
+++ b/crates/soup/src/domain/service/tests.rs
@@ -253,6 +253,7 @@ fn call_record(
is_active: true,
status: None,
user_access_level: None,
+ viewer_has_declined: false,
participants: Vec::new(),
guests: Vec::new(),
transcript: Vec::new(),
diff --git a/docs/AGENT_GUIDE/channels.md b/docs/AGENT_GUIDE/channels.md
index 2d333b361d..0a23346119 100644
--- a/docs/AGENT_GUIDE/channels.md
+++ b/docs/AGENT_GUIDE/channels.md
@@ -1045,6 +1045,14 @@ the chime. Closing the audible tab lets the other take over while the call is
still ringing. Answering or dismissing stops ringing across tabs. An unanswered
call stops ringing after 30 seconds, including after a tab takes over.
+Declining is per user and per device set, not per tab: the sidebar `X` and the
+rail `Decline` button send `POST /call/record/{call_id}/decline`, and every other
+signed-in device of the same user (other browsers, the iPhone's CallKit ring)
+stops ringing via `call_declined`. Declining on the iPhone lock screen does the
+same for the browser. Other channel members keep ringing, and the call stays
+active for them. Closing only the browser notification toast silences the chime
+without declining.
+
## Onboarding channel
New users get `Macro Support x <name>` seeded with a welcome message that @mentions them —
diff --git a/packages/sdk/generated/storage/index.ts b/packages/sdk/generated/storage/index.ts
index d5220d1bb4..f7f15d0dcb 100644
--- a/packages/sdk/generated/storage/index.ts
+++ b/packages/sdk/generated/storage/index.ts
@@ -1,4 +1,4 @@
// This file is auto-generated by @hey-api/openapi-ts
export { type Options, Sdk } from './sdk.gen';
-export type { AccessiblePipeline, AccessLevel, ActiveCallsResponse, ActiveCallSummary, ActiveMeeting, ActiveMeetingsResponse, ActivityType, AddFavoriteData, AddFavoriteError, AddFavoriteErrors, AddFavoriteRequest, AddFavoriteResponse, AddFavoriteResponses, AddParticipantsData, AddParticipantsError, AddParticipantsErrors, AddParticipantsRequest, AddParticipantsResponses, AddPinHandlerData, AddPinHandlerError, AddPinHandlerErrors, AddPinHandlerResponse, AddPinHandlerResponses, AddPinRequest, Agent, AgentActionId, AgentChannelScope, AgentMcpServer, AgentMcpServers, AgentPullRequestState, AgentSessionFilters, AgentSessionLifecycleEvent, Anchor, AnchorId, AnchorResponse, AnnotationIncrementalUpdate, Answer, ApiActivity, ApiAttachmentChannelReference, ApiAttachmentEntityReference, ApiAttachmentGenericReference, ApiChannelAttachment, ApiChannelAttachmentsPage, ApiChannelDetail, ApiChannelListMessage, ApiChannelListPage, ApiChannelListParticipant, ApiChannelListType, ApiChannelParticipant, ApiChannelWithLatest, ApiEntityFilterAst, ApiGroupByField, ApiGroupMeta, ApiParticipantListRole, ApiParticipantRole, ApiPropertyEntityType, AppliedOps, ApplyCrmPipelineOpsData, ApplyCrmPipelineOpsResponse, ApplyCrmPipelineOpsResponses, ApplyDatabaseOpsData, ApplyDatabaseOpsError, ApplyDatabaseOpsErrors, ApplyDatabaseOpsResponse, ApplyDatabaseOpsResponses, ApplyOpsRequest, ApplyOpsResponse, ApproveHarnessPairingData, ApproveHarnessPairingError, ApproveHarnessPairingErrors, ApproveHarnessPairingResponse, ApproveHarnessPairingResponses, ApprovePairingRequest, AttachmentChange, AttendeeResponseStatus, Audience, Awareness, AwarenessRelay, BasicDocument, BasicDocumentSubType, BomPart, BookingTarget, Bot, BotChannel, BotChannelType, BotId, BotKind, BotOwner, BotOwnerProfile, BotSenderProfile, BotToken, BranchNameResponse, BTreeMap, BulkWakeupRequest, BulkWakeupResponse, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponse, BulkWakeupSyncServiceDocumentsResponses, CalendarAttendee, CalendarEvent, CalendarEventFilters, CalendarEventSourceContent, CalendarMentionEvent, CalendarMentionPreviewItem, CalendarMentionPreviewKind, CalendarMentionPreviewRequest, CalendarMentionPreviewRequestItem, CalendarMentionPreviewResponse, CalendarOccurrence, CalendarOccurrenceItem, CalendarOccurrenceResponse, CalendarSyncStatus, CallActiveResponse, CallFilters, CallRecord, CallRecordGuest, CallRecordParticipant, CallRecordPreview, CallRecordPreviewData, CallRecordTranscriptSegment, CallStatus, CallTokenResponse, CallWebhookData, CallWebhookError, CallWebhookErrors, CallWebhookResponses, CancelSlackImportData, CancelSlackImportErrors, CancelSlackImportResponse, CancelSlackImportResponses, CardPosition, CastVerdict, CellValue, CellWrite, ChangedFileDto, ChangesetDto, ChangesetSourceDto, Channel, ChannelCreatedMetadata, ChannelDeletedMetadata, ChannelFilters, ChannelJoinCodeResponse, ChannelLabel, ChannelLabelRule, ChannelLabelsList, ChannelMessage, ChannelParticipant, ChannelParticipantAddedMetadata, ChannelParticipantRemovedMetadata, ChannelPictureChangedMetadata, ChannelPreview, ChannelPreviewData, ChannelSender, ChannelSharePermission, ChannelThreadFilters, ChannelTopicEvent, ChannelType, ChannelUpdatedMetadata, ChannelWebhookRequest, ChannelWebhookResponse, ChannelWithParticipants, Chat, ChatFilters, CheckActiveCallData, CheckActiveCallError, CheckActiveCallErrors, CheckActiveCallResponse, CheckActiveCallResponses, ClaimedPairing, ClaimHarnessPairingData, ClaimHarnessPairingError, ClaimHarnessPairingErrors, ClaimHarnessPairingResponse, ClaimHarnessPairingResponses, ClaimPairingRequest, ClientOptions, CloudStorageItemType, CollaborateFormData, CollaborateFormError, CollaborateFormErrors, CollaborateFormResponse, CollaborateFormResponses, CollabSurfaceResponse, CollabSurfaceTokenResponse, Column, ColumnCast, ColumnChange, ColumnChangeKind, ColumnConfig, ColumnConversion, ColumnConversionRequest, ColumnDetail, ColumnKind, ColumnProtection, ColumnResult, CommandFailure, CommandRejectedMetadata, CommittedChange, CompleteSlackImportUploadsData, CompleteSlackImportUploadsErrors, CompleteSlackImportUploadsResponse, CompleteSlackImportUploadsResponses, CompleteUploads, ConferenceProvider, Conjunction, ConversationId, ConversationKind, ConversationMetadata, ConversationProgress, ConversationSeal, ConversationStatus, ConvertDatabaseColumnData, ConvertDatabaseColumnError, ConvertDatabaseColumnErrors, ConvertDatabaseColumnResponse, ConvertDatabaseColumnResponses, ConvertedCell, CopyDocumentData, CopyDocumentError, CopyDocumentErrors, CopyDocumentQueryParams, CopyDocumentRequest, CopyDocumentResponse, CopyDocumentResponse2, CopyDocumentResponses, CountedReaction, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentRequest, CreateAgentResponse, CreateAgentResponses, CreateAnchorData, CreateAnchorError, CreateAnchorErrors, CreateAnchorResponse, CreateAnchorResponses, CreateBotRequest, CreateBulkDocumentResponse, CreateBulkDocumentResponseData, CreateChannelData, CreateChannelError, CreateChannelErrors, CreateChannelLabelData, CreateChannelLabelError, CreateChannelLabelErrors, CreateChannelLabelRequest, CreateChannelLabelResponse, CreateChannelLabelResponses, CreateChannelRequest, CreateChannelResponse, CreateChannelResponse2, CreateChannelResponses, CreateChannelScopedBotData, CreateChannelScopedBotError, CreateChannelScopedBotErrors, CreateChannelScopedBotRequest, CreateChannelScopedBotResponse, CreateChannelScopedBotResponse2, CreateChannelScopedBotResponses, CreateCollabSurfaceTokenData, CreateCollabSurfaceTokenError, CreateCollabSurfaceTokenErrors, CreateCollabSurfaceTokenResponse, CreateCollabSurfaceTokenResponses, CreateCrmCompanyData, CreateCrmCompanyError, CreateCrmCompanyErrors, CreateCrmCompanyRequest, CreateCrmCompanyResponse, CreateCrmCompanyResponses, CreateCrmContactData, CreateCrmContactError, CreateCrmContactErrors, CreateCrmContactRequest, CreateCrmContactResponse, CreateCrmContactResponses, CreateCrmPipelineData, CreateCrmPipelineResponse, CreateCrmPipelineResponses, CreateDatabaseData, CreateDatabaseError, CreateDatabaseErrors, CreateDatabaseRequest, CreateDatabaseResponse, CreateDatabaseResponses, CreateDocumentData, CreateDocumentError, CreateDocumentErrors, CreateDocumentRequest, CreateDocumentResponse, CreateDocumentResponseData, CreateDocumentResponses, CreatedPairing, CreatedUserApiKey, CreateEntityMentionData, CreateEntityMentionError, CreateEntityMentionErrors, CreateEntityMentionRequest, CreateEntityMentionResponse, CreateEntityMentionResponse2, CreateEntityMentionResponses, CreateForm, CreateFormData, CreateFormError, CreateFormErrors, CreateFormResponse, CreateFormResponses, CreateHarnessPairingData, CreateHarnessPairingError, CreateHarnessPairingErrors, CreateHarnessPairingResponse, CreateHarnessPairingResponses, CreateImport, CreateInitiativeData, CreateInitiativeError, CreateInitiativeErrors, CreateInitiativeRequest, CreateInitiativeResponse, CreateInitiativeResponses, CreateInstructionsDocumentResponse, CreateInstructionsHandlerData, CreateInstructionsHandlerError, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponse, CreateInstructionsHandlerResponses, CreateMarkdownDocumentRequest, CreateMarkdownDocumentResponse, CreateMarkdownHandlerData, CreateMarkdownHandlerError, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponse, CreateMarkdownHandlerResponses, CreateMeetingRequest, CreatePairingRequest, CreatePipeline, CreateProjectHandlerData, CreateProjectHandlerError, CreateProjectHandlerErrors, CreateProjectHandlerResponse, CreateProjectHandlerResponses, CreateProjectRequest, CreateProjectResponse, CreateSkillHandlerData, CreateSkillHandlerError, CreateSkillHandlerErrors, CreateSkillHandlerResponse, CreateSkillHandlerResponses, CreateSkillRequest, CreateSkillResponse, CreateSlackImportData, CreateSlackImportErrors, CreateSlackImportResponse, CreateSlackImportResponses, CreateSnippetHandlerData, CreateSnippetHandlerError, CreateSnippetHandlerErrors, CreateSnippetHandlerResponse, CreateSnippetHandlerResponses, CreateSnippetRequest, CreateSnippetResponse, CreateTaskHandlerData, CreateTaskHandlerError, CreateTaskHandlerErrors, CreateTaskHandlerResponse, CreateTaskHandlerResponses, CreateTaskRequest, CreateTaskResponse, CreateToken, CreateUnthreadedAnchorRequest, CreateUnthreadedAnchorResponse, CreateUnthreadedPdfAnchorRequest, CreateUserApiKeyData, CreateUserApiKeyError, CreateUserApiKeyErrors, CreateUserApiKeyRequest, CreateUserApiKeyResponse, CreateUserApiKeyResponses, CreateViewHandlerData, CreateViewHandlerError, CreateViewHandlerErrors, CreateViewHandlerResponse, CreateViewHandlerResponses, CreateViewRequest, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookRequest, CreateWebhookResponse, CreateWebhookResponse2, CreateWebhookResponses, CrmCompanyFilters, CrmCompanyResponse, CrmContactResponse, CrmDomainResponse, CrmPermissionRole, CrmStageInput, CrmStageResponse, CrmStagesResponse, CrmTeamSettingsResponse, CustomSpeakerAssignment, Database, DatabaseDetail, DatabaseOp, DatabaseView, DataType, DateOperator, DeleteAnchorData, DeleteAnchorError, DeleteAnchorErrors, DeleteAnchorResponse, DeleteAnchorResponses, DeleteCallRecordData, DeleteCallRecordError, DeleteCallRecordErrors, DeleteCallRecordResponse, DeleteCallRecordResponses, DeleteChannelData, DeleteChannelError, DeleteChannelErrors, DeleteChannelLabelData, DeleteChannelLabelError, DeleteChannelLabelErrors, DeleteChannelLabelResponse, DeleteChannelLabelResponses, DeleteChannelResponse, DeleteChannelResponses, DeleteCollabSurfaceData, DeleteCollabSurfaceError, DeleteCollabSurfaceErrors, DeleteCollabSurfaceResponse, DeleteCollabSurfaceResponses, DeleteDocumentData, DeleteDocumentError, DeleteDocumentErrors, DeleteDocumentResponse, DeleteDocumentResponses, DeleteEntityMentionData, DeleteEntityMentionError, DeleteEntityMentionErrors, DeleteEntityMentionResponse, DeleteEntityMentionResponse2, DeleteEntityMentionResponses, DeleteHarnessData, DeleteHarnessError, DeleteHarnessErrors, DeleteHarnessResponse, DeleteHarnessResponses, DeleteHistoryHandlerData, DeleteHistoryHandlerError, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponse, DeleteHistoryHandlerResponses, DeleteInitiativeData, DeleteInitiativeError, DeleteInitiativeErrors, DeleteInitiativeResponse, DeleteInitiativeResponses, DeleteProjectHandlerData, DeleteProjectHandlerError, DeleteProjectHandlerErrors, DeleteProjectHandlerResponse, DeleteProjectHandlerResponses, DeleteSelfHarnessData, DeleteSelfHarnessError, DeleteSelfHarnessErrors, DeleteSelfHarnessResponse, DeleteSelfHarnessResponses, DeleteUnthreadedAnchorRequest, DeleteUnthreadedAnchorResponse, DeleteUnthreadedPdfAnchorRequest, DeleteUserApiKeyData, DeleteUserApiKeyError, DeleteUserApiKeyErrors, DeleteUserApiKeyResponse, DeleteUserApiKeyResponses, DeleteUserDocumentViewLocationData, DeleteUserDocumentViewLocationError, DeleteUserDocumentViewLocationErrors, DeleteUserDocumentViewLocationResponse, DeleteUserDocumentViewLocationResponses, DeleteViewHandlerData, DeleteViewHandlerError, DeleteViewHandlerErrors, DeleteViewHandlerResponses, DeleteWebhookData, DeleteWebhookError, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DocumentBasic, DocumentContent, DocumentContentLocation, DocumentContentState, DocumentContentUploadedMetadata, DocumentCopiedMetadata, DocumentCreatedMetadata, DocumentDeletedMetadata, DocumentFilters, DocumentId, DocumentInteractionMetadata, DocumentMetadata, DocumentMetadataWithContent, DocumentPermissionsToken, DocumentPermissionsTokenRequest, DocumentPermissionsTokenResponse, DocumentPreview, DocumentPreviewData, DocumentPreviewDataSubType, DocumentPurgedMetadata, DocumentResponse, DocumentResponseMetadata, DocumentResponseMetadataWithContent, DocumentStorageServiceApiVersion, DocumentSubType, DocumentSyncContentUpdatedMetadata, DocumentSyncEditor, DocumentTeamShareResponse, DocumentTopicEvent, DocumentUpdatedMetadata, EditAnchorData, EditAnchorError, EditAnchorErrors, EditAnchorRequest, EditAnchorResponse, EditAnchorResponse2, EditAnchorResponses, EditCallRecordData, EditCallRecordError, EditCallRecordErrors, EditCallRecordRequest, EditCallRecordResponse, EditCallRecordResponses, EditCallTranscriptData, EditCallTranscriptError, EditCallTranscriptErrors, EditCallTranscriptRequest, EditCallTranscriptResponse, EditCallTranscriptResponses, EditDocumentData, EditDocumentError, EditDocumentErrors, EditDocumentResponse, EditDocumentResponse2, EditDocumentResponses, EditDocumentServiceArgs, EditMyFormResponseData, EditMyFormResponseError, EditMyFormResponseErrors, EditMyFormResponseResponse, EditMyFormResponseResponses, EditPdfAnchorRequest, EditPdfPlaceableCommentAnchorRequest, EditProjectV2Data, EditProjectV2Error, EditProjectV2Errors, EditProjectV2Response, EditProjectV2Responses, EditThreadV2Data, EditThreadV2Error, EditThreadV2Errors, EditThreadV2Response, EditThreadV2Responses, EmailFilters, EmailFollowup, EmailFollowupCommand, EmailFollowupResponse, EmailReminderCondition, EmailReminderPage, EmailReminderSummary, EmptyResponse, EnsureCollabSurfaceData, EnsureCollabSurfaceError, EnsureCollabSurfaceErrors, EnsureCollabSurfaceRequest, EnsureCollabSurfaceResponse, EnsureCollabSurfaceResponses, EnsureStarterHandlerData, EnsureStarterHandlerErrors, EnsureStarterHandlerResponse, EnsureStarterHandlerResponses, EntityFilters, EntityKind, EntityMessageCreateData, EntityMessageCreateResponse, EntityMessageCreateResponses, EntityMessageDeleteMessageData, EntityMessageDeleteMessageResponse, EntityMessageDeleteMessageResponses, EntityMessageDeleteThreadData, EntityMessageDeleteThreadResponse, EntityMessageDeleteThreadResponses, EntityMessageEditData, EntityMessageEditResponse, EntityMessageEditResponses, EntityMessageGetMessageData, EntityMessageGetMessageResponse, EntityMessageGetMessageResponses, EntityMessageGetThreadData, EntityMessageGetThreadResponse, EntityMessageGetThreadResponses, EntityMessageLegacyData, EntityMessageLegacyResponse, EntityMessageLegacyResponses, EntityMessagePatchThreadData, EntityMessagePatchThreadResponse, EntityMessagePatchThreadResponses, EntityMessageReactData, EntityMessageReactResponse, EntityMessageReactResponses, EntityMessageTypingData, EntityMessageTypingResponse, EntityMessageTypingResponses, EntityPermission, EntityPermissionResponse, EntityRef, EntityReference, EntityType, ErrorResponse, EventReminderOverride, EventReminders, EventStatus, EventTime, EventTransparency, EventType, EventVisibility, ExcludedDefaultView, ExcludeDefaultViewHandlerData, ExcludeDefaultViewHandlerError, ExcludeDefaultViewHandlerErrors, ExcludeDefaultViewHandlerResponses, ExcludeDefaultViewRequest, ExportDocumentData, ExportDocumentError, ExportDocumentErrors, ExportDocumentResponse, ExportDocumentResponse2, ExportDocumentResponses, Favorite, FavoriteEntityRef, FavoritesList, FileChangeKindDto, FileSystemNodeWithIds, FileType, FileTypeUpdate, FilterCondition, FilterGroup, FilterNode, FilterTest, FinalizeSlackImportData, FinalizeSlackImportErrors, FinalizeSlackImportResponse, FinalizeSlackImportResponses, FolderItem, FollowupState, ForeignEntity, ForeignEntityFilters, Form, FormAccess, FormCollaboration, FormDetail, FormErrorCode, FormErrorResponse, FormLayout, FormPublicationProblem, FormQuestionDetail, FormResponse, FormSection, FormSectionDetail, FormSource, FormStatus, FormTally, Formula, GenericErrorResponse, GenericResponse, GenericSuccessResponse, GetActiveCallsData, GetActiveCallsError, GetActiveCallsErrors, GetActiveCallsResponse, GetActiveCallsResponses, GetActivityData, GetActivityError, GetActivityErrors, GetActivityResponse, GetActivityResponses, GetAttachmentReferencesData, GetAttachmentReferencesError, GetAttachmentReferencesErrors, GetAttachmentReferencesResponse, GetAttachmentReferencesResponse2, GetAttachmentReferencesResponses, GetBatchCallRecordPreviewData, GetBatchCallRecordPreviewError, GetBatchCallRecordPreviewErrors, GetBatchCallRecordPreviewRequest, GetBatchCallRecordPreviewResponse, GetBatchCallRecordPreviewResponse2, GetBatchCallRecordPreviewResponses, GetBatchChannelPreviewData, GetBatchChannelPreviewError, GetBatchChannelPreviewErrors, GetBatchChannelPreviewRequest, GetBatchChannelPreviewResponse, GetBatchChannelPreviewResponse2, GetBatchChannelPreviewResponses, GetBatchPreviewHandlerData, GetBatchPreviewHandlerError, GetBatchPreviewHandlerErrors, GetBatchPreviewHandlerResponse, GetBatchPreviewHandlerResponses, GetBatchPreviewRequest, GetBatchPreviewResponse, GetBatchProjectPreviewData, GetBatchProjectPreviewError, GetBatchProjectPreviewErrors, GetBatchProjectPreviewRequest, GetBatchProjectPreviewResponse, GetBatchProjectPreviewResponse2, GetBatchProjectPreviewResponses, GetBotOwnerProfilesData, GetBotOwnerProfilesError, GetBotOwnerProfilesErrors, GetBotOwnerProfilesResponse, GetBotOwnerProfilesResponses, GetCallRecordData, GetCallRecordError, GetCallRecordErrors, GetCallRecordResponse, GetCallRecordResponses, GetChannelAttachmentsData, GetChannelAttachmentsError, GetChannelAttachmentsErrors, GetChannelAttachmentsResponse, GetChannelAttachmentsResponses, GetChannelData, GetChannelError, GetChannelErrors, GetChannelJoinLinkData, GetChannelJoinLinkError, GetChannelJoinLinkErrors, GetChannelJoinLinkResponse, GetChannelJoinLinkResponses, GetChannelParticipantsData, GetChannelParticipantsError, GetChannelParticipantsErrors, GetChannelParticipantsResponse, GetChannelParticipantsResponses, GetChannelResponse, GetChannelResponses, GetChannelsData, GetChannelsError, GetChannelsErrors, GetChannelsResponse, GetChannelsResponses, GetCollabSurfaceData, GetCollabSurfaceError, GetCollabSurfaceErrors, GetCollabSurfaceResponse, GetCollabSurfaceResponses, GetCompanyData, GetCompanyError, GetCompanyErrors, GetCompanyResponse, GetCompanyResponses, GetContactByEmailData, GetContactByEmailError, GetContactByEmailErrors, GetContactByEmailResponse, GetContactByEmailResponse2, GetContactByEmailResponses, GetContactData, GetContactError, GetContactErrors, GetContactResponse, GetContactResponses, GetCrmPipelineData, GetCrmPipelineResponse, GetCrmPipelineResponses, GetCrmPipelineRowsData, GetCrmPipelineRowsResponse, GetCrmPipelineRowsResponses, GetCrmPipelineTableData, GetCrmPipelineTableResponse, GetCrmPipelineTableResponses, GetCrmTeamSettingsData, GetCrmTeamSettingsError, GetCrmTeamSettingsErrors, GetCrmTeamSettingsResponse, GetCrmTeamSettingsResponses, GetDatabaseData, GetDatabaseError, GetDatabaseErrors, GetDatabasePermissionsData, GetDatabasePermissionsError, GetDatabasePermissionsErrors, GetDatabasePermissionsResponse, GetDatabasePermissionsResponses, GetDatabaseQueryData, GetDatabaseQueryError, GetDatabaseQueryErrors, GetDatabaseQueryResponse, GetDatabaseQueryResponses, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseRowHistoryData, GetDatabaseRowHistoryError, GetDatabaseRowHistoryErrors, GetDatabaseRowHistoryResponse, GetDatabaseRowHistoryResponses, GetDatabaseTableChangesData, GetDatabaseTableChangesError, GetDatabaseTableChangesErrors, GetDatabaseTableChangesResponse, GetDatabaseTableChangesResponses, GetDatabaseViewPositionsData, GetDatabaseViewPositionsError, GetDatabaseViewPositionsErrors, GetDatabaseViewPositionsResponse, GetDatabaseViewPositionsResponses, GetDocumentAnchorsData, GetDocumentAnchorsError, GetDocumentAnchorsErrors, GetDocumentAnchorsResponse, GetDocumentAnchorsResponses, GetDocumentBranchNameData, GetDocumentBranchNameError, GetDocumentBranchNameErrors, GetDocumentBranchNameResponse, GetDocumentBranchNameResponses, GetDocumentByTeamSlugData, GetDocumentByTeamSlugError, GetDocumentByTeamSlugErrors, GetDocumentByTeamSlugResponse, GetDocumentByTeamSlugResponses, GetDocumentData, GetDocumentError, GetDocumentErrors, GetDocumentGithubPullRequestsData, GetDocumentGithubPullRequestsError, GetDocumentGithubPullRequestsErrors, GetDocumentGithubPullRequestsResponse, GetDocumentGithubPullRequestsResponses, GetDocumentKeyResponse, GetDocumentKeyResponseData, GetDocumentListHandlerData, GetDocumentListHandlerError, GetDocumentListHandlerErrors, GetDocumentListHandlerResponse, GetDocumentListHandlerResponses, GetDocumentListResult, GetDocumentLocationV3Data, GetDocumentLocationV3Error, GetDocumentLocationV3Errors, GetDocumentLocationV3Response, GetDocumentLocationV3Responses, GetDocumentPermissionsResponseDataV2, GetDocumentPermissionsTokenData, GetDocumentPermissionsTokenError, GetDocumentPermissionsTokenErrors, GetDocumentPermissionsTokenResponse, GetDocumentPermissionsTokenResponses, GetDocumentPermissionsV2Data, GetDocumentPermissionsV2Error, GetDocumentPermissionsV2Errors, GetDocumentPermissionsV2Response, GetDocumentPermissionsV2Responses, GetDocumentProcessingResult, GetDocumentProcessingResultData, GetDocumentProcessingResultError, GetDocumentProcessingResultErrors, GetDocumentProcessingResultResponse, GetDocumentProcessingResultResponse2, GetDocumentProcessingResultResponses, GetDocumentResponse, GetDocumentResponse2, GetDocumentResponseData, GetDocumentResponses, GetDocumentSearchResponse, GetDocumentShortIdData, GetDocumentShortIdError, GetDocumentShortIdErrors, GetDocumentShortIdResponse, GetDocumentShortIdResponses, GetDocumentsResponse, GetDocumentTeamShareData, GetDocumentTeamShareError, GetDocumentTeamShareErrors, GetDocumentTeamShareResponse, GetDocumentTeamShareResponses, GetDocumentUserAccessLevelResponse, GetDocumentVersionData, GetDocumentVersionError, GetDocumentVersionErrors, GetDocumentVersionResponse, GetDocumentVersionResponses, GetDocumentViewsHandlerData, GetDocumentViewsHandlerError, GetDocumentViewsHandlerErrors, GetDocumentViewsHandlerResponse, GetDocumentViewsHandlerResponses, GetEmailFollowupData, GetEmailFollowupError, GetEmailFollowupErrors, GetEmailFollowupResponse, GetEmailFollowupResponses, GetEntityPermissionData, GetEntityPermissionErrors, GetEntityPermissionResponse, GetEntityPermissionResponses, GetForeignEntityBySourceData, GetForeignEntityBySourceError, GetForeignEntityBySourceErrors, GetForeignEntityBySourceResponse, GetForeignEntityBySourceResponses, GetForeignEntityData, GetForeignEntityError, GetForeignEntityErrors, GetForeignEntityResponse, GetForeignEntityResponses, GetFormData, GetFormError, GetFormErrors, GetFormPermissionsData, GetFormPermissionsError, GetFormPermissionsErrors, GetFormPermissionsResponse, GetFormPermissionsResponses, GetFormResponse, GetFormResponses, GetFormResponseSummaryData, GetFormResponseSummaryError, GetFormResponseSummaryErrors, GetFormResponseSummaryResponse, GetFormResponseSummaryResponses, GetFormTallyData, GetFormTallyError, GetFormTallyErrors, GetFormTallyResponse, GetFormTallyResponses, GetGithubPullRequestChangesData, GetGithubPullRequestChangesError, GetGithubPullRequestChangesErrors, GetGithubPullRequestChangesPatchData, GetGithubPullRequestChangesPatchError, GetGithubPullRequestChangesPatchErrors, GetGithubPullRequestChangesPatchResponse, GetGithubPullRequestChangesPatchResponses, GetGithubPullRequestChangesResponse, GetGithubPullRequestChangesResponses, GetGithubPullRequestData, GetGithubPullRequestError, GetGithubPullRequestErrors, GetGithubPullRequestFacetsData, GetGithubPullRequestFacetsError, GetGithubPullRequestFacetsErrors, GetGithubPullRequestFacetsResponse, GetGithubPullRequestFacetsResponses, GetGithubPullRequestResponse, GetGithubPullRequestResponses, GetGithubPullRequestTasksData, GetGithubPullRequestTasksError, GetGithubPullRequestTasksErrors, GetGithubPullRequestTasksResponse, GetGithubPullRequestTasksResponses, GetHarnessPairingData, GetHarnessPairingError, GetHarnessPairingErrors, GetHarnessPairingResponse, GetHarnessPairingResponses, GetHistoryHandlerData, GetHistoryHandlerError, GetHistoryHandlerErrors, GetHistoryHandlerResponse, GetHistoryHandlerResponses, GetInitiativeData, GetInitiativeError, GetInitiativeErrors, GetInitiativeResponse, GetInitiativeResponses, GetInstructionsDocumentResponse, GetInstructionsHandlerData, GetInstructionsHandlerError, GetInstructionsHandlerErrors, GetInstructionsHandlerResponse, GetInstructionsHandlerResponses, GetItemsSoupData, GetItemsSoupError, GetItemsSoupErrors, GetItemsSoupResponse, GetItemsSoupResponses, GetLocationHandlerData, GetLocationHandlerError, GetLocationHandlerErrors, GetLocationHandlerResponse, GetLocationHandlerResponses, GetMyFormResponseData, GetMyFormResponseError, GetMyFormResponseErrors, GetMyFormResponseResponse, GetMyFormResponseResponses, GetOrCreateAction, GetOrCreateCallData, GetOrCreateCallError, GetOrCreateCallErrors, GetOrCreateCallResponse, GetOrCreateCallResponses, GetOrCreateChannelResponse, GetOrCreateDmData, GetOrCreateDmError, GetOrCreateDmErrors, GetOrCreateDmRequest, GetOrCreateDmResponse, GetOrCreateDmResponses, GetOrCreatePrivateData, GetOrCreatePrivateError, GetOrCreatePrivateErrors, GetOrCreatePrivateRequest, GetOrCreatePrivateResponse, GetOrCreatePrivateResponses, GetPendingProjectsHandlerData, GetPendingProjectsHandlerError, GetPendingProjectsHandlerErrors, GetPendingProjectsHandlerResponse, GetPendingProjectsHandlerResponses, GetPinsHandlerData, GetPinsHandlerError, GetPinsHandlerErrors, GetPinsHandlerResponse, GetPinsHandlerResponses, GetPinsResponse, GetProjectContentHandlerData, GetProjectContentHandlerError, GetProjectContentHandlerErrors, GetProjectContentHandlerResponse, GetProjectContentHandlerResponses, GetProjectContentResponse, GetProjectHandlerData, GetProjectHandlerError, GetProjectHandlerErrors, GetProjectHandlerResponse, GetProjectHandlerResponses, GetProjectPermissionsV2Data, GetProjectPermissionsV2Error, GetProjectPermissionsV2Errors, GetProjectPermissionsV2Response, GetProjectPermissionsV2Responses, GetProjectResponse, GetProjectResponseData, GetProjectsHandlerData, GetProjectsHandlerError, GetProjectsHandlerErrors, GetProjectsHandlerResponse, GetProjectsHandlerResponses, GetProjectsResponse, GetProjectUserAccessLevelData, GetProjectUserAccessLevelError, GetProjectUserAccessLevelErrors, GetProjectUserAccessLevelResponse, GetProjectUserAccessLevelResponses, GetRingStatusData, GetRingStatusError, GetRingStatusErrors, GetRingStatusResponse, GetRingStatusResponses, GetSelfBotData, GetSelfBotError, GetSelfBotErrors, GetSelfBotResponse, GetSelfBotResponses, GetSelfHarnessData, GetSelfHarnessError, GetSelfHarnessErrors, GetSelfHarnessResponse, GetSelfHarnessResponses, GetSlackImportData, GetSlackImportErrors, GetSlackImportResponse, GetSlackImportResponses, GetSystemSkillsHandlerData, GetSystemSkillsHandlerError, GetSystemSkillsHandlerErrors, GetSystemSkillsHandlerResponse, GetSystemSkillsHandlerResponses, GetUserDocumentsHandlerData, GetUserDocumentsHandlerError, GetUserDocumentsHandlerErrors, GetUserDocumentsHandlerResponse, GetUserDocumentsHandlerResponses, GetUserDocumentViewLocationData, GetUserDocumentViewLocationError, GetUserDocumentViewLocationErrors, GetUserDocumentViewLocationResponse, GetUserDocumentViewLocationResponses, GetUserHistoryResponse, GetViewsHandlerData, GetViewsHandlerError, GetViewsHandlerErrors, GetViewsHandlerResponse, GetViewsHandlerResponses, GetWebhookData, GetWebhookError, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GithubLabelFacet, GithubPullRequest, GithubPullRequestChangesPatchResponse, GithubPullRequestChangesResponse, GithubPullRequestCheckRun, GithubPullRequestComment, GithubPullRequestFacets, GithubPullRequestLabel, GithubPullRequestReview, GithubPullRequestReviewDecision, GithubPullRequestReviewState, GithubPullRequestsResponse, GithubPullRequestTasks, GithubPullRequestTasksRequest, GithubPullRequestTasksResponse, GithubPullRequestUser, GithubRepositoryFacet, GithubUserFacet, GitRefDto, GroupedInitialParams, GroupedPageParams, GroupedSoupGroupPage, GroupedSoupInitialPage, GroupedSoupPage, GroupedSoupSort, GuestId, GuestJoinRequest, HandlerData, HandlerError, HandlerErrors, HandlerResponse, HandlerResponses, Harness, HarnessAgent, HarnessId, HarnessOwner, HarnessSession, HashMap, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, HighlightType, ImportCounters, ImportDatabaseTableData, ImportDatabaseTableError, ImportDatabaseTableErrors, ImportDatabaseTableResponse, ImportDatabaseTableResponses, ImportedAuthor, ImportError, ImportLimits, ImportPage, ImportProgress, ImportTable, ImportWarning, InferColumnTypeOutcome, InferColumnTypeRequest, InferDatabaseColumnTypeData, InferDatabaseColumnTypeError, InferDatabaseColumnTypeErrors, InferDatabaseColumnTypeResponse, InferDatabaseColumnTypeResponses, InFlightTurnSummary, IngestTranscriptData, IngestTranscriptError, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsError, InitializeUserDocumentsErrors, InitializeUserDocumentsResponse, InitializeUserDocumentsResponses, InitialPropertyValue, InitiativeDetail, InitiativeFilters, InitiativeId, InitiativeList, InitiativeSummary, InputReceivedMetadata, InstallSyncData, InstallSyncErrors, InteractionReason, InviteMeetingRequest, InviteMeetingUsersRequest, Item, ItemWithUserAccessLevel, JobId, JobProcessingResultHandlerData, JobProcessingResultHandlerError, JobProcessingResultHandlerErrors, JobProcessingResultHandlerResponse, JobProcessingResultHandlerResponses, JobStatus, JoinChannelByCodeData, JoinChannelByCodeError, JoinChannelByCodeErrors, JoinChannelByCodeResponses, JoinChannelData, JoinChannelError, JoinChannelErrors, JoinChannelResponses, KeySegment, Lane, LaneKey, LatestMessage, LayoutProblem, LeaveCallResponse, LeaveChannelData, LeaveChannelError, LeaveChannelErrors, LeaveChannelResponses, LeaveOrEndCallData, LeaveOrEndCallError, LeaveOrEndCallErrors, LeaveOrEndCallResponse, LeaveOrEndCallResponses, LinkShare, ListAccessibleFormsData, ListAccessibleFormsError, ListAccessibleFormsErrors, ListAccessibleFormsResponse, ListAccessibleFormsResponses, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListBotChannelsData, ListBotChannelsError, ListBotChannelsErrors, ListBotChannelsResponse, ListBotChannelsResponses, ListChannelLabelsData, ListChannelLabelsError, ListChannelLabelsErrors, ListChannelLabelsResponse, ListChannelLabelsResponses, ListCompanyContactsData, ListCompanyContactsError, ListCompanyContactsErrors, ListCompanyContactsResponse, ListCompanyContactsResponses, ListCrmPipelinesData, ListCrmPipelinesResponse, ListCrmPipelinesResponses, ListDatabaseColumnCastsData, ListDatabaseColumnCastsError, ListDatabaseColumnCastsErrors, ListDatabaseColumnCastsResponse, ListDatabaseColumnCastsResponses, ListDatabasesData, ListDatabasesError, ListDatabasesErrors, ListDatabasesResponse, ListDatabasesResponses, ListedDatabase, ListedForm, ListEmailRemindersData, ListEmailRemindersError, ListEmailRemindersErrors, ListEmailRemindersResponse, ListEmailRemindersResponses, ListFavoritesData, ListFavoritesError, ListFavoritesErrors, ListFavoritesResponse, ListFavoritesResponses, ListFormsData, ListFormsError, ListFormsErrors, ListFormsResponse, ListFormsResponses, ListHarnessAgentsData, ListHarnessAgentsError, ListHarnessAgentsErrors, ListHarnessAgentsResponse, ListHarnessAgentsResponses, ListHarnessesData, ListHarnessesError, ListHarnessesErrors, ListHarnessesResponse, ListHarnessesResponses, ListHarnessSessionsData, ListHarnessSessionsError, ListHarnessSessionsErrors, ListHarnessSessionsResponse, ListHarnessSessionsResponses, ListInitiativesData, ListInitiativesError, ListInitiativesErrors, ListInitiativesResponse, ListInitiativesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponse, ListOccurrencesResponses, ListSlackImportsData, ListSlackImportsResponse, ListSlackImportsResponses, ListTeamCalendarData, ListTeamCalendarResponse, ListTeamCalendarResponses, ListTeamOutOfOfficeData, ListTeamOutOfOfficeErrors, ListTeamOutOfOfficeResponse, ListTeamOutOfOfficeResponses, ListUserApiKeysData, ListUserApiKeysError, ListUserApiKeysErrors, ListUserApiKeysResponse, ListUserApiKeysResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponse2, ListWebhooksResponses, LocationResponseData, LocationResponseV3, MacroUserIdStr, Meeting, MeetingCancelData, MeetingCancelError, MeetingCancelErrors, MeetingCancelPreparationData, MeetingCancelPreparationError, MeetingCancelPreparationErrors, MeetingCancelPreparationResponse, MeetingCancelPreparationResponses, MeetingCancelResponse, MeetingCancelResponses, MeetingCreateData, MeetingCreateError, MeetingCreateErrors, MeetingCreateResponse, MeetingCreateResponses, MeetingGuestJoinData, MeetingGuestJoinError, MeetingGuestJoinErrors, MeetingGuestJoinResponse, MeetingGuestJoinResponses, MeetingGuestParticipantsData, MeetingGuestParticipantsError, MeetingGuestParticipantsErrors, MeetingGuestParticipantsResponse, MeetingGuestParticipantsResponses, MeetingInviteData, MeetingInviteError, MeetingInviteErrors, MeetingInvitePermissions, MeetingInvitePermissionsData, MeetingInvitePermissionsError, MeetingInvitePermissionsErrors, MeetingInvitePermissionsResponse, MeetingInvitePermissionsResponses, MeetingInviteResponse, MeetingInviteResponses, MeetingInviteUsersData, MeetingInviteUsersError, MeetingInviteUsersErrors, MeetingInviteUsersResponse, MeetingInviteUsersResponses, MeetingJoinData, MeetingJoinError, MeetingJoinErrors, MeetingJoinResponse, MeetingJoinResponses, MeetingLeaveData, MeetingLeaveError, MeetingLeaveErrors, MeetingLeaveResponse, MeetingLeaveResponses, MeetingListActiveData, MeetingListActiveError, MeetingListActiveErrors, MeetingListActiveResponse, MeetingListActiveResponses, MeetingListData, MeetingListError, MeetingListErrors, MeetingListResponse, MeetingListResponses, MeetingLookupData, MeetingLookupError, MeetingLookupErrors, MeetingLookupResponse, MeetingLookupResponses, MeetingParticipant, MeetingParticipants, MeetingParticipantsData, MeetingParticipantsError, MeetingParticipantsErrors, MeetingParticipantsResponse, MeetingParticipantsResponses, MeetingPreparation, MeetingPrepareData, MeetingPrepareError, MeetingPrepareErrors, MeetingPrepareResponse, MeetingPrepareResponses, MeetingShareData, MeetingShareError, MeetingShareErrors, MeetingShareResponse, MeetingShareResponses, MeetingsResponse, MeetingToken, MeetingUpdateData, MeetingUpdateError, MeetingUpdateErrors, MeetingUpdateResponse, MeetingUpdateResponses, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponse, MentionPreviewsResponses, Message, MessageAttachment, MessageAttachmentCreatedMetadata, MessageAttachmentRemovedMetadata, MessageChange, MessageCursor, MessageDeletedMetadata, MessageDirection, MessageEvent, MessageEventAttachment, MessageListItem, MessageMentionedMetadata, MessagePage, MessageParent, MessagePatch, MessagePatchedMetadata, MessagePostedMetadata, MessageThread, MessageThreadPreview, MessageTimelineData, MessageTimelineEntriesData, MessageTimelineEntriesResponse, MessageTimelineEntriesResponses, MessageTimelineEntry, MessageTimelinePage, MessageTimelineQuery, MessageTimelineResponse, MessageTimelineResponses, MessageTopicEvent, MyResponse, NewAttachment, NewColumn, NewOption, NewThreadAnchor, NewView, NotificationFilters, NotificationState, NumberOperator, OpBatch, Operator, OpRefusalResponse, OpResult, OptionRef, PairingDetails, Params, ParticipantRole, PatchBotRequest, PatchChannelData, PatchChannelError, PatchChannelErrors, PatchChannelRequest, PatchChannelResponse, PatchChannelResponses, PatchMessageNotificationPolicy, PatchProjectRequestV2, PatchThreadRequestV2, PatchViewHandlerData, PatchViewHandlerError, PatchViewHandlerErrors, PatchViewHandlerResponses, PatchWebhookData, PatchWebhookError, PatchWebhookErrors, PatchWebhookRequest, PatchWebhookResponse, PatchWebhookResponses, PdfAnchor, PdfAnchorId, PdfHighlightAnchor, PdfHighlightAnchorRequest, PdfHighlightRect, PdfHighlightRectAnchorRequest, PdfPlaceableCommentAnchor, PendingClaimResponse, PermanentlyDeleteDocumentData, PermanentlyDeleteDocumentError, PermanentlyDeleteDocumentErrors, PermanentlyDeleteDocumentResponse, PermanentlyDeleteDocumentResponses, PermanentlyDeleteProjectData, PermanentlyDeleteProjectError, PermanentlyDeleteProjectErrors, PermanentlyDeleteProjectResponse, PermanentlyDeleteProjectResponses, PinnedItem, PinRequest, Pipeline, PipelineRecordType, PipelineSharing, PostActivityData, PostActivityError, PostActivityErrors, PostActivityRequest, PostActivityResponse, PostActivityResponses, PostChannelBotWebhookData, PostChannelBotWebhookError, PostChannelBotWebhookErrors, PostChannelBotWebhookResponse, PostChannelBotWebhookResponses, PostGroupedSoupAstGroupPageRequest, PostGroupedSoupAstInitialRequest, PostGroupedSoupAstRequest, PostItemsSoupAstData, PostItemsSoupAstError, PostItemsSoupAstErrors, PostItemsSoupAstGroupedData, PostItemsSoupAstGroupedError, PostItemsSoupAstGroupedErrors, PostItemsSoupAstGroupedResponse, PostItemsSoupAstGroupedResponses, PostItemsSoupAstResponse, PostItemsSoupAstResponses, PostItemsSoupData, PostItemsSoupError, PostItemsSoupErrors, PostItemsSoupResponse, PostItemsSoupResponses, PostMessage, PostMessageNotificationPolicy, PostSoupAstRequest, PostSoupRequest, PresaveDocumentHandlerData, PresaveDocumentHandlerError, PresaveDocumentHandlerErrors, PresaveDocumentHandlerResponse, PresaveDocumentHandlerResponses, PreSaveDocumentRequest, PreSaveDocumentResponse, PreSaveDocumentResponseData, PresenceOperator, PresignedUrl, PreviewSmartTagData, PreviewSmartTagError, PreviewSmartTagErrors, PreviewSmartTagResponse, PreviewSmartTagResponses, Project, ProjectDeleteResponseData, ProjectDocumentStatus, ProjectFilters, ProjectPreview, ProjectPreviewData, PropertyDefinition, PropertyDefinitionWithOptions, PropertyFilter, PropertyInput, PropertyOption, PropertyOptionValue, PropertyOwner, PropertyValue, PutCrmTeamSettingsData, PutCrmTeamSettingsError, PutCrmTeamSettingsErrors, PutCrmTeamSettingsResponse, PutCrmTeamSettingsResponses, PutCrmTeamStagesData, PutCrmTeamStagesError, PutCrmTeamStagesErrors, PutCrmTeamStagesResponse, PutCrmTeamStagesResponses, PutFormLayoutData, PutFormLayoutError, PutFormLayoutErrors, PutFormLayoutResponse, PutFormLayoutResponses, QueryCrmPipelineRowsData, QueryCrmPipelineRowsResponse, QueryCrmPipelineRowsResponses, QueryDefinition, QuestionLayout, QuestionOption, QuestionTally, ReactionInput, RecentlyDeletedData, RecentlyDeletedError, RecentlyDeletedErrors, RecentlyDeletedResponse, RecentlyDeletedResponseData, RecentlyDeletedResponses, RegisterSlackImportUploadsData, RegisterSlackImportUploadsErrors, RegisterSlackImportUploadsResponse, RegisterSlackImportUploadsResponses, RegisterUploads, RemoveBotFromChannelByBotData, RemoveBotFromChannelByBotError, RemoveBotFromChannelByBotErrors, RemoveBotFromChannelByBotResponse, RemoveBotFromChannelByBotResponses, RemoveFavoriteByEntityData, RemoveFavoriteByEntityError, RemoveFavoriteByEntityErrors, RemoveFavoriteByEntityResponses, RemoveParticipantsData, RemoveParticipantsError, RemoveParticipantsErrors, RemoveParticipantsRequest, RemoveParticipantsResponses, RemovePinHandlerData, RemovePinHandlerError, RemovePinHandlerErrors, RemovePinHandlerResponse, RemovePinHandlerResponses, RenameChannelLabelData, RenameChannelLabelError, RenameChannelLabelErrors, RenameChannelLabelRequest, RenameChannelLabelResponse, RenameChannelLabelResponses, RenameCrmPipelineData, RenameCrmPipelineResponse, RenameCrmPipelineResponses, RenamePipeline, ReorderFavoritesData, ReorderFavoritesError, ReorderFavoritesErrors, ReorderFavoritesRequest, ReorderFavoritesResponses, ReorderPinRequest, ReorderPinsHandlerData, ReorderPinsHandlerError, ReorderPinsHandlerErrors, ReorderPinsHandlerResponse, ReorderPinsHandlerResponses, ReplaceCrmStagesRequest, RequestedHarnessScope, RequestedLayout, ResetCrmTeamStagesData, ResetCrmTeamStagesError, ResetCrmTeamStagesErrors, ResetCrmTeamStagesResponse, ResetCrmTeamStagesResponses, ResponseStatus, ResponseSummary, RevertDeleteDocumentData, RevertDeleteDocumentError, RevertDeleteDocumentErrors, RevertDeleteDocumentResponse, RevertDeleteDocumentResponses, RevertDeleteProjectData, RevertDeleteProjectError, RevertDeleteProjectErrors, RevertDeleteProjectResponse, RevertDeleteProjectResponses, RingStatus, RingStatusResponse, RowChange, RowChangeKind, RowChanges, RowHistoryEntry, RowHistoryResponse, RowId, RowsChange, RowsResult, S3ObjectInfo, SaveBomPart, SaveDatabaseQueryData, SaveDatabaseQueryError, SaveDatabaseQueryErrors, SaveDatabaseQueryResponse, SaveDatabaseQueryResponses, SaveDocumentHandlerData, SaveDocumentHandlerError, SaveDocumentHandlerErrors, SaveDocumentHandlerResponse, SaveDocumentHandlerResponses, SaveDocumentRequest, SaveDocumentResponse, SaveDocumentResponseData, SavedQuery, SaveQueryRequest, SearchContactsData, SearchContactsError, SearchContactsErrors, SearchContactsResponse, SearchContactsResponse2, SearchContactsResponses, SearchState, SectionCount, SessionDeletedMetadata, SessionIdentity, SessionMentionedMetadata, SessionOpenedMetadata, SessionRenamedMetadata, SessionSettledMetadata, SessionStoppedMetadata, SetChannelLabelData, SetChannelLabelError, SetChannelLabelErrors, SetChannelLabelRequest, SetChannelLabelResponse, SetChannelLabelResponses, SetChannelPictureData, SetChannelPictureError, SetChannelPictureErrors, SetChannelPictureRequest, SetChannelPictureResponse, SetChannelPictureResponses, SetCompanyHiddenData, SetCompanyHiddenError, SetCompanyHiddenErrors, SetCompanyHiddenRequest, SetCompanyHiddenResponse, SetCompanyHiddenResponses, SetCompanyNameRequest, SetContactHiddenData, SetContactHiddenError, SetContactHiddenErrors, SetContactHiddenRequest, SetContactHiddenResponse, SetContactHiddenResponses, SetContactNameRequest, SetCrmCompanyNameData, SetCrmCompanyNameError, SetCrmCompanyNameErrors, SetCrmCompanyNameResponse, SetCrmCompanyNameResponses, SetCrmContactNameData, SetCrmContactNameError, SetCrmContactNameErrors, SetCrmContactNameResponse, SetCrmContactNameResponses, SetDocumentTeamShareData, SetDocumentTeamShareError, SetDocumentTeamShareErrors, SetDocumentTeamShareRequest, SetDocumentTeamShareResponse, SetDocumentTeamShareResponses, SetEmailFollowupData, SetEmailFollowupError, SetEmailFollowupErrors, SetEmailFollowupResponse, SetEmailFollowupResponses, SetEmailSyncData, SetEmailSyncError, SetEmailSyncErrors, SetEmailSyncRequest, SetEmailSyncResponse, SetEmailSyncResponses, SetOperator, SetPropertyValue, Sha256Digest, ShareCrmPipelineData, ShareCrmPipelineResponse, ShareCrmPipelineResponses, ShareDatabaseAwarenessData, ShareDatabaseAwarenessError, ShareDatabaseAwarenessErrors, ShareDatabaseAwarenessResponse, ShareDatabaseAwarenessResponses, SharedEmailFilter, SharePermissionV2, SharePipeline, ShortIdResponse, SimpleMention, SimpleSaveData, SimpleSaveError, SimpleSaveErrors, SimpleSaveResponse, SimpleSaveResponses, SkippedCell, SlackCompleteRequest, SlackCreateRequest, SlackRegisterRequest, SlackTimestamp, SlackUserId, SmartTagChannelMatch, SmartTagPreview, SortDirection, SortKey, SoupAgentSessionSoupPropertiesField, SoupApiItem, SoupApiSort, SoupApiSortDirection, SoupAttachment, SoupCalendarEventSoupPropertiesField, SoupCalendarEventTime, SoupCallRecordGuest, SoupCallRecordParticipant, SoupCallRecordSoupPropertiesField, SoupChannel, SoupChannelThread, SoupChatSoupPropertiesField, SoupContact, SoupCountedReaction, SoupCrmCompanySoupPropertiesField, SoupCrmContactSoupPropertiesField, SoupCrmDomain, SoupDatabaseRowSoupPropertiesField, SoupDocumentSoupPropertiesField, SoupDocumentSubType, SoupEmailThreadPreview, SoupEnrichedEmailThreadPreviewSoupPropertiesField, SoupForeignEntity, SoupInitiativeSoupPropertiesField, SoupItem, SoupLabel, SoupLabelListVisibility, SoupLabelType, SoupMessageAttachment, SoupMessageListVisibility, SoupMessageSender, SoupMessageSenderType, SoupPage, SoupProjectSoupPropertiesField, SoupPropertiesField, SoupProperty, SoupThreadInfo, SoupThreadReply, SourceBinding, SourceId, SourceIdentity, StarterDatabase, StarterDocumentsResponse, StorageRow, StorageRows, StorageRowsQuery, StoredGithubPullRequest, StreamEventsData, StreamEventsError, StreamEventsErrors, StreamEventsResponse, StreamEventsResponses, String, Submission, SubmissionOutcome, SubmitFormResponseData, SubmitFormResponseError, SubmitFormResponseErrors, SubmitFormResponseResponse, SubmitFormResponseResponses, SuccessResponse, SurfaceState, SyncServiceVersionId, SystemSkillSummary, Table, TableChange, TableChanged, TableChanges, TableDetail, TableResult, TableVersion, TagFilterMode, TakenId, TallyBucket, TallyValue, TaskFilters, TeamCalendarContent, TeamCalendarCoverage, TeamCalendarDetails, TeamCalendarItem, TeamCalendarMember, TeamCalendarPage, TeamCalendarSharing, TeamOutOfOfficeItem, TeamOutOfOfficeResponse, TeamRole, TextOperator, ThreadAnchor, ThreadOrigin, ThreadPatch, ThreadState, TimelineActivity, ToggleShareWithTeamData, ToggleShareWithTeamError, ToggleShareWithTeamErrors, ToggleShareWithTeamResponse, ToggleShareWithTeamResponses, TouchedColumn, TouchedRow, TranscribeDictationData, TranscribeDictationError, TranscribeDictationErrors, TranscribeDictationResponse, TranscribeDictationResponses, TranscribeResponse, TranscriptSegmentRequest, TrashCrmPipelineData, TrashCrmPipelineResponse, TrashCrmPipelineResponses, TrashPipeline, TurnEndedMetadata, TurnStartedMetadata, TurnSummary, TypedSuccessResponse, TypedSuccessResponseGetDocumentResponseData, TypingInput, UndoChangeResponse, UndoDatabaseChangeData, UndoDatabaseChangeError, UndoDatabaseChangeErrors, UndoDatabaseChangeResponse, UndoDatabaseChangeResponses, UndoOutcome, UndoRefusal, UnlockedBooking, UpdateAgentData, UpdateAgentError, UpdateAgentErrors, UpdateAgentRequest, UpdateAgentResponse, UpdateAgentResponses, UpdateChannelSharePermission, UpdateCrmTeamSettingsRequest, UpdateDatabasePermissionsData, UpdateDatabasePermissionsError, UpdateDatabasePermissionsErrors, UpdateDatabasePermissionsResponse, UpdateDatabasePermissionsResponses, UpdateForm, UpdateFormData, UpdateFormError, UpdateFormErrors, UpdateFormPermissionsData, UpdateFormPermissionsError, UpdateFormPermissionsErrors, UpdateFormPermissionsResponse, UpdateFormPermissionsResponses, UpdateFormResponse, UpdateFormResponses, UpdateInitiativeData, UpdateInitiativeError, UpdateInitiativeErrors, UpdateInitiativeRequest, UpdateInitiativeResponse, UpdateInitiativeResponses, UpdateMeetingRequest, UpdateOperation, UpdateSharePermissionRequestV2, UploadDescriptor, UploadDocumentStatus, UploadExtractFolderHandlerData, UploadExtractFolderHandlerError, UploadExtractFolderHandlerErrors, UploadExtractFolderHandlerResponse, UploadExtractFolderHandlerResponses, UploadExtractFolderRequest, UploadFolderHandlerData, UploadFolderHandlerError, UploadFolderHandlerErrors, UploadFolderHandlerResponse, UploadFolderHandlerResponses, UploadFolderRequest, UploadGrant, UploadId, UpsertHistoryHandlerData, UpsertHistoryHandlerError, UpsertHistoryHandlerErrors, UpsertHistoryHandlerResponse, UpsertHistoryHandlerResponses, UpsertUserDocumentViewLocationData, UpsertUserDocumentViewLocationError, UpsertUserDocumentViewLocationErrors, UpsertUserDocumentViewLocationRequest, UpsertUserDocumentViewLocationResponse, UpsertUserDocumentViewLocationResponses, UserApiKeyId, UserApiKeyInfo, UserApiKeysList, UserDocumentsResponse, UserDocumentViewLocation, UserDocumentViewLocationResponse, UserPinsResponse, UserViewsResponse, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenError, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponse, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookError, ValidateWebhookErrors, ValidateWebhookResponse, ValidateWebhookResponse2, ValidateWebhookResponses, Vec, VersionedTable, View, ViewChange, ViewColumn, ViewLayout, ViewPatch, ViewPosition, ViewPositionsResponse, ViewQuery, ViewResult, ViewsResponse, WaitingForInputMetadata, Webhook, WebhookEvent, WebhookFilter, WebhookScope, WebhookStatus, WebhookValidationTestEvent, Widget, WithCallId, WithChannelId, WithDocumentId, WithProjectId } from './types.gen';
+export type { AccessiblePipeline, AccessLevel, ActiveCallsResponse, ActiveCallSummary, ActiveMeeting, ActiveMeetingsResponse, ActivityType, AddFavoriteData, AddFavoriteError, AddFavoriteErrors, AddFavoriteRequest, AddFavoriteResponse, AddFavoriteResponses, AddParticipantsData, AddParticipantsError, AddParticipantsErrors, AddParticipantsRequest, AddParticipantsResponses, AddPinHandlerData, AddPinHandlerError, AddPinHandlerErrors, AddPinHandlerResponse, AddPinHandlerResponses, AddPinRequest, Agent, AgentActionId, AgentChannelScope, AgentMcpServer, AgentMcpServers, AgentPullRequestState, AgentSessionFilters, AgentSessionLifecycleEvent, Anchor, AnchorId, AnchorResponse, AnnotationIncrementalUpdate, Answer, ApiActivity, ApiAttachmentChannelReference, ApiAttachmentEntityReference, ApiAttachmentGenericReference, ApiChannelAttachment, ApiChannelAttachmentsPage, ApiChannelDetail, ApiChannelListMessage, ApiChannelListPage, ApiChannelListParticipant, ApiChannelListType, ApiChannelParticipant, ApiChannelWithLatest, ApiEntityFilterAst, ApiGroupByField, ApiGroupMeta, ApiParticipantListRole, ApiParticipantRole, ApiPropertyEntityType, AppliedOps, ApplyCrmPipelineOpsData, ApplyCrmPipelineOpsResponse, ApplyCrmPipelineOpsResponses, ApplyDatabaseOpsData, ApplyDatabaseOpsError, ApplyDatabaseOpsErrors, ApplyDatabaseOpsResponse, ApplyDatabaseOpsResponses, ApplyOpsRequest, ApplyOpsResponse, ApproveHarnessPairingData, ApproveHarnessPairingError, ApproveHarnessPairingErrors, ApproveHarnessPairingResponse, ApproveHarnessPairingResponses, ApprovePairingRequest, AttachmentChange, AttendeeResponseStatus, Audience, Awareness, AwarenessRelay, BasicDocument, BasicDocumentSubType, BomPart, BookingTarget, Bot, BotChannel, BotChannelType, BotId, BotKind, BotOwner, BotOwnerProfile, BotSenderProfile, BotToken, BranchNameResponse, BTreeMap, BulkWakeupRequest, BulkWakeupResponse, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponse, BulkWakeupSyncServiceDocumentsResponses, CalendarAttendee, CalendarEvent, CalendarEventFilters, CalendarEventSourceContent, CalendarMentionEvent, CalendarMentionPreviewItem, CalendarMentionPreviewKind, CalendarMentionPreviewRequest, CalendarMentionPreviewRequestItem, CalendarMentionPreviewResponse, CalendarOccurrence, CalendarOccurrenceItem, CalendarOccurrenceResponse, CalendarSyncStatus, CallActiveResponse, CallFilters, CallRecord, CallRecordGuest, CallRecordParticipant, CallRecordPreview, CallRecordPreviewData, CallRecordTranscriptSegment, CallStatus, CallTokenResponse, CallWebhookData, CallWebhookError, CallWebhookErrors, CallWebhookResponses, CancelSlackImportData, CancelSlackImportErrors, CancelSlackImportResponse, CancelSlackImportResponses, CardPosition, CastVerdict, CellValue, CellWrite, ChangedFileDto, ChangesetDto, ChangesetSourceDto, Channel, ChannelCreatedMetadata, ChannelDeletedMetadata, ChannelFilters, ChannelJoinCodeResponse, ChannelLabel, ChannelLabelRule, ChannelLabelsList, ChannelMessage, ChannelParticipant, ChannelParticipantAddedMetadata, ChannelParticipantRemovedMetadata, ChannelPictureChangedMetadata, ChannelPreview, ChannelPreviewData, ChannelSender, ChannelSharePermission, ChannelThreadFilters, ChannelTopicEvent, ChannelType, ChannelUpdatedMetadata, ChannelWebhookRequest, ChannelWebhookResponse, ChannelWithParticipants, Chat, ChatFilters, CheckActiveCallData, CheckActiveCallError, CheckActiveCallErrors, CheckActiveCallResponse, CheckActiveCallResponses, ClaimedPairing, ClaimHarnessPairingData, ClaimHarnessPairingError, ClaimHarnessPairingErrors, ClaimHarnessPairingResponse, ClaimHarnessPairingResponses, ClaimPairingRequest, ClientOptions, CloudStorageItemType, CollaborateFormData, CollaborateFormError, CollaborateFormErrors, CollaborateFormResponse, CollaborateFormResponses, CollabSurfaceResponse, CollabSurfaceTokenResponse, Column, ColumnCast, ColumnChange, ColumnChangeKind, ColumnConfig, ColumnConversion, ColumnConversionRequest, ColumnDetail, ColumnKind, ColumnProtection, ColumnResult, CommandFailure, CommandRejectedMetadata, CommittedChange, CompleteSlackImportUploadsData, CompleteSlackImportUploadsErrors, CompleteSlackImportUploadsResponse, CompleteSlackImportUploadsResponses, CompleteUploads, ConferenceProvider, Conjunction, ConversationId, ConversationKind, ConversationMetadata, ConversationProgress, ConversationSeal, ConversationStatus, ConvertDatabaseColumnData, ConvertDatabaseColumnError, ConvertDatabaseColumnErrors, ConvertDatabaseColumnResponse, ConvertDatabaseColumnResponses, ConvertedCell, CopyDocumentData, CopyDocumentError, CopyDocumentErrors, CopyDocumentQueryParams, CopyDocumentRequest, CopyDocumentResponse, CopyDocumentResponse2, CopyDocumentResponses, CountedReaction, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentRequest, CreateAgentResponse, CreateAgentResponses, CreateAnchorData, CreateAnchorError, CreateAnchorErrors, CreateAnchorResponse, CreateAnchorResponses, CreateBotRequest, CreateBulkDocumentResponse, CreateBulkDocumentResponseData, CreateChannelData, CreateChannelError, CreateChannelErrors, CreateChannelLabelData, CreateChannelLabelError, CreateChannelLabelErrors, CreateChannelLabelRequest, CreateChannelLabelResponse, CreateChannelLabelResponses, CreateChannelRequest, CreateChannelResponse, CreateChannelResponse2, CreateChannelResponses, CreateChannelScopedBotData, CreateChannelScopedBotError, CreateChannelScopedBotErrors, CreateChannelScopedBotRequest, CreateChannelScopedBotResponse, CreateChannelScopedBotResponse2, CreateChannelScopedBotResponses, CreateCollabSurfaceTokenData, CreateCollabSurfaceTokenError, CreateCollabSurfaceTokenErrors, CreateCollabSurfaceTokenResponse, CreateCollabSurfaceTokenResponses, CreateCrmCompanyData, CreateCrmCompanyError, CreateCrmCompanyErrors, CreateCrmCompanyRequest, CreateCrmCompanyResponse, CreateCrmCompanyResponses, CreateCrmContactData, CreateCrmContactError, CreateCrmContactErrors, CreateCrmContactRequest, CreateCrmContactResponse, CreateCrmContactResponses, CreateCrmPipelineData, CreateCrmPipelineResponse, CreateCrmPipelineResponses, CreateDatabaseData, CreateDatabaseError, CreateDatabaseErrors, CreateDatabaseRequest, CreateDatabaseResponse, CreateDatabaseResponses, CreateDocumentData, CreateDocumentError, CreateDocumentErrors, CreateDocumentRequest, CreateDocumentResponse, CreateDocumentResponseData, CreateDocumentResponses, CreatedPairing, CreatedUserApiKey, CreateEntityMentionData, CreateEntityMentionError, CreateEntityMentionErrors, CreateEntityMentionRequest, CreateEntityMentionResponse, CreateEntityMentionResponse2, CreateEntityMentionResponses, CreateForm, CreateFormData, CreateFormError, CreateFormErrors, CreateFormResponse, CreateFormResponses, CreateHarnessPairingData, CreateHarnessPairingError, CreateHarnessPairingErrors, CreateHarnessPairingResponse, CreateHarnessPairingResponses, CreateImport, CreateInitiativeData, CreateInitiativeError, CreateInitiativeErrors, CreateInitiativeRequest, CreateInitiativeResponse, CreateInitiativeResponses, CreateInstructionsDocumentResponse, CreateInstructionsHandlerData, CreateInstructionsHandlerError, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponse, CreateInstructionsHandlerResponses, CreateMarkdownDocumentRequest, CreateMarkdownDocumentResponse, CreateMarkdownHandlerData, CreateMarkdownHandlerError, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponse, CreateMarkdownHandlerResponses, CreateMeetingRequest, CreatePairingRequest, CreatePipeline, CreateProjectHandlerData, CreateProjectHandlerError, CreateProjectHandlerErrors, CreateProjectHandlerResponse, CreateProjectHandlerResponses, CreateProjectRequest, CreateProjectResponse, CreateSkillHandlerData, CreateSkillHandlerError, CreateSkillHandlerErrors, CreateSkillHandlerResponse, CreateSkillHandlerResponses, CreateSkillRequest, CreateSkillResponse, CreateSlackImportData, CreateSlackImportErrors, CreateSlackImportResponse, CreateSlackImportResponses, CreateSnippetHandlerData, CreateSnippetHandlerError, CreateSnippetHandlerErrors, CreateSnippetHandlerResponse, CreateSnippetHandlerResponses, CreateSnippetRequest, CreateSnippetResponse, CreateTaskHandlerData, CreateTaskHandlerError, CreateTaskHandlerErrors, CreateTaskHandlerResponse, CreateTaskHandlerResponses, CreateTaskRequest, CreateTaskResponse, CreateToken, CreateUnthreadedAnchorRequest, CreateUnthreadedAnchorResponse, CreateUnthreadedPdfAnchorRequest, CreateUserApiKeyData, CreateUserApiKeyError, CreateUserApiKeyErrors, CreateUserApiKeyRequest, CreateUserApiKeyResponse, CreateUserApiKeyResponses, CreateViewHandlerData, CreateViewHandlerError, CreateViewHandlerErrors, CreateViewHandlerResponse, CreateViewHandlerResponses, CreateViewRequest, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookRequest, CreateWebhookResponse, CreateWebhookResponse2, CreateWebhookResponses, CrmCompanyFilters, CrmCompanyResponse, CrmContactResponse, CrmDomainResponse, CrmPermissionRole, CrmStageInput, CrmStageResponse, CrmStagesResponse, CrmTeamSettingsResponse, CustomSpeakerAssignment, Database, DatabaseDetail, DatabaseOp, DatabaseView, DataType, DateOperator, DeclineCallData, DeclineCallError, DeclineCallErrors, DeclineCallResponse, DeclineCallResponses, DeclineRingData, DeclineRingError, DeclineRingErrors, DeclineRingResponse, DeclineRingResponses, DeleteAnchorData, DeleteAnchorError, DeleteAnchorErrors, DeleteAnchorResponse, DeleteAnchorResponses, DeleteCallRecordData, DeleteCallRecordError, DeleteCallRecordErrors, DeleteCallRecordResponse, DeleteCallRecordResponses, DeleteChannelData, DeleteChannelError, DeleteChannelErrors, DeleteChannelLabelData, DeleteChannelLabelError, DeleteChannelLabelErrors, DeleteChannelLabelResponse, DeleteChannelLabelResponses, DeleteChannelResponse, DeleteChannelResponses, DeleteCollabSurfaceData, DeleteCollabSurfaceError, DeleteCollabSurfaceErrors, DeleteCollabSurfaceResponse, DeleteCollabSurfaceResponses, DeleteDocumentData, DeleteDocumentError, DeleteDocumentErrors, DeleteDocumentResponse, DeleteDocumentResponses, DeleteEntityMentionData, DeleteEntityMentionError, DeleteEntityMentionErrors, DeleteEntityMentionResponse, DeleteEntityMentionResponse2, DeleteEntityMentionResponses, DeleteHarnessData, DeleteHarnessError, DeleteHarnessErrors, DeleteHarnessResponse, DeleteHarnessResponses, DeleteHistoryHandlerData, DeleteHistoryHandlerError, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponse, DeleteHistoryHandlerResponses, DeleteInitiativeData, DeleteInitiativeError, DeleteInitiativeErrors, DeleteInitiativeResponse, DeleteInitiativeResponses, DeleteProjectHandlerData, DeleteProjectHandlerError, DeleteProjectHandlerErrors, DeleteProjectHandlerResponse, DeleteProjectHandlerResponses, DeleteSelfHarnessData, DeleteSelfHarnessError, DeleteSelfHarnessErrors, DeleteSelfHarnessResponse, DeleteSelfHarnessResponses, DeleteUnthreadedAnchorRequest, DeleteUnthreadedAnchorResponse, DeleteUnthreadedPdfAnchorRequest, DeleteUserApiKeyData, DeleteUserApiKeyError, DeleteUserApiKeyErrors, DeleteUserApiKeyResponse, DeleteUserApiKeyResponses, DeleteUserDocumentViewLocationData, DeleteUserDocumentViewLocationError, DeleteUserDocumentViewLocationErrors, DeleteUserDocumentViewLocationResponse, DeleteUserDocumentViewLocationResponses, DeleteViewHandlerData, DeleteViewHandlerError, DeleteViewHandlerErrors, DeleteViewHandlerResponses, DeleteWebhookData, DeleteWebhookError, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DocumentBasic, DocumentContent, DocumentContentLocation, DocumentContentState, DocumentContentUploadedMetadata, DocumentCopiedMetadata, DocumentCreatedMetadata, DocumentDeletedMetadata, DocumentFilters, DocumentId, DocumentInteractionMetadata, DocumentMetadata, DocumentMetadataWithContent, DocumentPermissionsToken, DocumentPermissionsTokenRequest, DocumentPermissionsTokenResponse, DocumentPreview, DocumentPreviewData, DocumentPreviewDataSubType, DocumentPurgedMetadata, DocumentResponse, DocumentResponseMetadata, DocumentResponseMetadataWithContent, DocumentStorageServiceApiVersion, DocumentSubType, DocumentSyncContentUpdatedMetadata, DocumentSyncEditor, DocumentTeamShareResponse, DocumentTopicEvent, DocumentUpdatedMetadata, EditAnchorData, EditAnchorError, EditAnchorErrors, EditAnchorRequest, EditAnchorResponse, EditAnchorResponse2, EditAnchorResponses, EditCallRecordData, EditCallRecordError, EditCallRecordErrors, EditCallRecordRequest, EditCallRecordResponse, EditCallRecordResponses, EditCallTranscriptData, EditCallTranscriptError, EditCallTranscriptErrors, EditCallTranscriptRequest, EditCallTranscriptResponse, EditCallTranscriptResponses, EditDocumentData, EditDocumentError, EditDocumentErrors, EditDocumentResponse, EditDocumentResponse2, EditDocumentResponses, EditDocumentServiceArgs, EditMyFormResponseData, EditMyFormResponseError, EditMyFormResponseErrors, EditMyFormResponseResponse, EditMyFormResponseResponses, EditPdfAnchorRequest, EditPdfPlaceableCommentAnchorRequest, EditProjectV2Data, EditProjectV2Error, EditProjectV2Errors, EditProjectV2Response, EditProjectV2Responses, EditThreadV2Data, EditThreadV2Error, EditThreadV2Errors, EditThreadV2Response, EditThreadV2Responses, EmailFilters, EmailFollowup, EmailFollowupCommand, EmailFollowupResponse, EmailReminderCondition, EmailReminderPage, EmailReminderSummary, EmptyResponse, EnsureCollabSurfaceData, EnsureCollabSurfaceError, EnsureCollabSurfaceErrors, EnsureCollabSurfaceRequest, EnsureCollabSurfaceResponse, EnsureCollabSurfaceResponses, EnsureStarterHandlerData, EnsureStarterHandlerErrors, EnsureStarterHandlerResponse, EnsureStarterHandlerResponses, EntityFilters, EntityKind, EntityMessageCreateData, EntityMessageCreateResponse, EntityMessageCreateResponses, EntityMessageDeleteMessageData, EntityMessageDeleteMessageResponse, EntityMessageDeleteMessageResponses, EntityMessageDeleteThreadData, EntityMessageDeleteThreadResponse, EntityMessageDeleteThreadResponses, EntityMessageEditData, EntityMessageEditResponse, EntityMessageEditResponses, EntityMessageGetMessageData, EntityMessageGetMessageResponse, EntityMessageGetMessageResponses, EntityMessageGetThreadData, EntityMessageGetThreadResponse, EntityMessageGetThreadResponses, EntityMessageLegacyData, EntityMessageLegacyResponse, EntityMessageLegacyResponses, EntityMessagePatchThreadData, EntityMessagePatchThreadResponse, EntityMessagePatchThreadResponses, EntityMessageReactData, EntityMessageReactResponse, EntityMessageReactResponses, EntityMessageTypingData, EntityMessageTypingResponse, EntityMessageTypingResponses, EntityPermission, EntityPermissionResponse, EntityRef, EntityReference, EntityType, ErrorResponse, EventReminderOverride, EventReminders, EventStatus, EventTime, EventTransparency, EventType, EventVisibility, ExcludedDefaultView, ExcludeDefaultViewHandlerData, ExcludeDefaultViewHandlerError, ExcludeDefaultViewHandlerErrors, ExcludeDefaultViewHandlerResponses, ExcludeDefaultViewRequest, ExportDocumentData, ExportDocumentError, ExportDocumentErrors, ExportDocumentResponse, ExportDocumentResponse2, ExportDocumentResponses, Favorite, FavoriteEntityRef, FavoritesList, FileChangeKindDto, FileSystemNodeWithIds, FileType, FileTypeUpdate, FilterCondition, FilterGroup, FilterNode, FilterTest, FinalizeSlackImportData, FinalizeSlackImportErrors, FinalizeSlackImportResponse, FinalizeSlackImportResponses, FolderItem, FollowupState, ForeignEntity, ForeignEntityFilters, Form, FormAccess, FormCollaboration, FormDetail, FormErrorCode, FormErrorResponse, FormLayout, FormPublicationProblem, FormQuestionDetail, FormResponse, FormSection, FormSectionDetail, FormSource, FormStatus, FormTally, Formula, GenericErrorResponse, GenericResponse, GenericSuccessResponse, GetActiveCallsData, GetActiveCallsError, GetActiveCallsErrors, GetActiveCallsResponse, GetActiveCallsResponses, GetActivityData, GetActivityError, GetActivityErrors, GetActivityResponse, GetActivityResponses, GetAttachmentReferencesData, GetAttachmentReferencesError, GetAttachmentReferencesErrors, GetAttachmentReferencesResponse, GetAttachmentReferencesResponse2, GetAttachmentReferencesResponses, GetBatchCallRecordPreviewData, GetBatchCallRecordPreviewError, GetBatchCallRecordPreviewErrors, GetBatchCallRecordPreviewRequest, GetBatchCallRecordPreviewResponse, GetBatchCallRecordPreviewResponse2, GetBatchCallRecordPreviewResponses, GetBatchChannelPreviewData, GetBatchChannelPreviewError, GetBatchChannelPreviewErrors, GetBatchChannelPreviewRequest, GetBatchChannelPreviewResponse, GetBatchChannelPreviewResponse2, GetBatchChannelPreviewResponses, GetBatchPreviewHandlerData, GetBatchPreviewHandlerError, GetBatchPreviewHandlerErrors, GetBatchPreviewHandlerResponse, GetBatchPreviewHandlerResponses, GetBatchPreviewRequest, GetBatchPreviewResponse, GetBatchProjectPreviewData, GetBatchProjectPreviewError, GetBatchProjectPreviewErrors, GetBatchProjectPreviewRequest, GetBatchProjectPreviewResponse, GetBatchProjectPreviewResponse2, GetBatchProjectPreviewResponses, GetBotOwnerProfilesData, GetBotOwnerProfilesError, GetBotOwnerProfilesErrors, GetBotOwnerProfilesResponse, GetBotOwnerProfilesResponses, GetCallRecordData, GetCallRecordError, GetCallRecordErrors, GetCallRecordResponse, GetCallRecordResponses, GetChannelAttachmentsData, GetChannelAttachmentsError, GetChannelAttachmentsErrors, GetChannelAttachmentsResponse, GetChannelAttachmentsResponses, GetChannelData, GetChannelError, GetChannelErrors, GetChannelJoinLinkData, GetChannelJoinLinkError, GetChannelJoinLinkErrors, GetChannelJoinLinkResponse, GetChannelJoinLinkResponses, GetChannelParticipantsData, GetChannelParticipantsError, GetChannelParticipantsErrors, GetChannelParticipantsResponse, GetChannelParticipantsResponses, GetChannelResponse, GetChannelResponses, GetChannelsData, GetChannelsError, GetChannelsErrors, GetChannelsResponse, GetChannelsResponses, GetCollabSurfaceData, GetCollabSurfaceError, GetCollabSurfaceErrors, GetCollabSurfaceResponse, GetCollabSurfaceResponses, GetCompanyData, GetCompanyError, GetCompanyErrors, GetCompanyResponse, GetCompanyResponses, GetContactByEmailData, GetContactByEmailError, GetContactByEmailErrors, GetContactByEmailResponse, GetContactByEmailResponse2, GetContactByEmailResponses, GetContactData, GetContactError, GetContactErrors, GetContactResponse, GetContactResponses, GetCrmPipelineData, GetCrmPipelineResponse, GetCrmPipelineResponses, GetCrmPipelineRowsData, GetCrmPipelineRowsResponse, GetCrmPipelineRowsResponses, GetCrmPipelineTableData, GetCrmPipelineTableResponse, GetCrmPipelineTableResponses, GetCrmTeamSettingsData, GetCrmTeamSettingsError, GetCrmTeamSettingsErrors, GetCrmTeamSettingsResponse, GetCrmTeamSettingsResponses, GetDatabaseData, GetDatabaseError, GetDatabaseErrors, GetDatabasePermissionsData, GetDatabasePermissionsError, GetDatabasePermissionsErrors, GetDatabasePermissionsResponse, GetDatabasePermissionsResponses, GetDatabaseQueryData, GetDatabaseQueryError, GetDatabaseQueryErrors, GetDatabaseQueryResponse, GetDatabaseQueryResponses, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseRowHistoryData, GetDatabaseRowHistoryError, GetDatabaseRowHistoryErrors, GetDatabaseRowHistoryResponse, GetDatabaseRowHistoryResponses, GetDatabaseTableChangesData, GetDatabaseTableChangesError, GetDatabaseTableChangesErrors, GetDatabaseTableChangesResponse, GetDatabaseTableChangesResponses, GetDatabaseViewPositionsData, GetDatabaseViewPositionsError, GetDatabaseViewPositionsErrors, GetDatabaseViewPositionsResponse, GetDatabaseViewPositionsResponses, GetDocumentAnchorsData, GetDocumentAnchorsError, GetDocumentAnchorsErrors, GetDocumentAnchorsResponse, GetDocumentAnchorsResponses, GetDocumentBranchNameData, GetDocumentBranchNameError, GetDocumentBranchNameErrors, GetDocumentBranchNameResponse, GetDocumentBranchNameResponses, GetDocumentByTeamSlugData, GetDocumentByTeamSlugError, GetDocumentByTeamSlugErrors, GetDocumentByTeamSlugResponse, GetDocumentByTeamSlugResponses, GetDocumentData, GetDocumentError, GetDocumentErrors, GetDocumentGithubPullRequestsData, GetDocumentGithubPullRequestsError, GetDocumentGithubPullRequestsErrors, GetDocumentGithubPullRequestsResponse, GetDocumentGithubPullRequestsResponses, GetDocumentKeyResponse, GetDocumentKeyResponseData, GetDocumentListHandlerData, GetDocumentListHandlerError, GetDocumentListHandlerErrors, GetDocumentListHandlerResponse, GetDocumentListHandlerResponses, GetDocumentListResult, GetDocumentLocationV3Data, GetDocumentLocationV3Error, GetDocumentLocationV3Errors, GetDocumentLocationV3Response, GetDocumentLocationV3Responses, GetDocumentPermissionsResponseDataV2, GetDocumentPermissionsTokenData, GetDocumentPermissionsTokenError, GetDocumentPermissionsTokenErrors, GetDocumentPermissionsTokenResponse, GetDocumentPermissionsTokenResponses, GetDocumentPermissionsV2Data, GetDocumentPermissionsV2Error, GetDocumentPermissionsV2Errors, GetDocumentPermissionsV2Response, GetDocumentPermissionsV2Responses, GetDocumentProcessingResult, GetDocumentProcessingResultData, GetDocumentProcessingResultError, GetDocumentProcessingResultErrors, GetDocumentProcessingResultResponse, GetDocumentProcessingResultResponse2, GetDocumentProcessingResultResponses, GetDocumentResponse, GetDocumentResponse2, GetDocumentResponseData, GetDocumentResponses, GetDocumentSearchResponse, GetDocumentShortIdData, GetDocumentShortIdError, GetDocumentShortIdErrors, GetDocumentShortIdResponse, GetDocumentShortIdResponses, GetDocumentsResponse, GetDocumentTeamShareData, GetDocumentTeamShareError, GetDocumentTeamShareErrors, GetDocumentTeamShareResponse, GetDocumentTeamShareResponses, GetDocumentUserAccessLevelResponse, GetDocumentVersionData, GetDocumentVersionError, GetDocumentVersionErrors, GetDocumentVersionResponse, GetDocumentVersionResponses, GetDocumentViewsHandlerData, GetDocumentViewsHandlerError, GetDocumentViewsHandlerErrors, GetDocumentViewsHandlerResponse, GetDocumentViewsHandlerResponses, GetEmailFollowupData, GetEmailFollowupError, GetEmailFollowupErrors, GetEmailFollowupResponse, GetEmailFollowupResponses, GetEntityPermissionData, GetEntityPermissionErrors, GetEntityPermissionResponse, GetEntityPermissionResponses, GetForeignEntityBySourceData, GetForeignEntityBySourceError, GetForeignEntityBySourceErrors, GetForeignEntityBySourceResponse, GetForeignEntityBySourceResponses, GetForeignEntityData, GetForeignEntityError, GetForeignEntityErrors, GetForeignEntityResponse, GetForeignEntityResponses, GetFormData, GetFormError, GetFormErrors, GetFormPermissionsData, GetFormPermissionsError, GetFormPermissionsErrors, GetFormPermissionsResponse, GetFormPermissionsResponses, GetFormResponse, GetFormResponses, GetFormResponseSummaryData, GetFormResponseSummaryError, GetFormResponseSummaryErrors, GetFormResponseSummaryResponse, GetFormResponseSummaryResponses, GetFormTallyData, GetFormTallyError, GetFormTallyErrors, GetFormTallyResponse, GetFormTallyResponses, GetGithubPullRequestChangesData, GetGithubPullRequestChangesError, GetGithubPullRequestChangesErrors, GetGithubPullRequestChangesPatchData, GetGithubPullRequestChangesPatchError, GetGithubPullRequestChangesPatchErrors, GetGithubPullRequestChangesPatchResponse, GetGithubPullRequestChangesPatchResponses, GetGithubPullRequestChangesResponse, GetGithubPullRequestChangesResponses, GetGithubPullRequestData, GetGithubPullRequestError, GetGithubPullRequestErrors, GetGithubPullRequestFacetsData, GetGithubPullRequestFacetsError, GetGithubPullRequestFacetsErrors, GetGithubPullRequestFacetsResponse, GetGithubPullRequestFacetsResponses, GetGithubPullRequestResponse, GetGithubPullRequestResponses, GetGithubPullRequestTasksData, GetGithubPullRequestTasksError, GetGithubPullRequestTasksErrors, GetGithubPullRequestTasksResponse, GetGithubPullRequestTasksResponses, GetHarnessPairingData, GetHarnessPairingError, GetHarnessPairingErrors, GetHarnessPairingResponse, GetHarnessPairingResponses, GetHistoryHandlerData, GetHistoryHandlerError, GetHistoryHandlerErrors, GetHistoryHandlerResponse, GetHistoryHandlerResponses, GetInitiativeData, GetInitiativeError, GetInitiativeErrors, GetInitiativeResponse, GetInitiativeResponses, GetInstructionsDocumentResponse, GetInstructionsHandlerData, GetInstructionsHandlerError, GetInstructionsHandlerErrors, GetInstructionsHandlerResponse, GetInstructionsHandlerResponses, GetItemsSoupData, GetItemsSoupError, GetItemsSoupErrors, GetItemsSoupResponse, GetItemsSoupResponses, GetLocationHandlerData, GetLocationHandlerError, GetLocationHandlerErrors, GetLocationHandlerResponse, GetLocationHandlerResponses, GetMyFormResponseData, GetMyFormResponseError, GetMyFormResponseErrors, GetMyFormResponseResponse, GetMyFormResponseResponses, GetOrCreateAction, GetOrCreateCallData, GetOrCreateCallError, GetOrCreateCallErrors, GetOrCreateCallResponse, GetOrCreateCallResponses, GetOrCreateChannelResponse, GetOrCreateDmData, GetOrCreateDmError, GetOrCreateDmErrors, GetOrCreateDmRequest, GetOrCreateDmResponse, GetOrCreateDmResponses, GetOrCreatePrivateData, GetOrCreatePrivateError, GetOrCreatePrivateErrors, GetOrCreatePrivateRequest, GetOrCreatePrivateResponse, GetOrCreatePrivateResponses, GetPendingProjectsHandlerData, GetPendingProjectsHandlerError, GetPendingProjectsHandlerErrors, GetPendingProjectsHandlerResponse, GetPendingProjectsHandlerResponses, GetPinsHandlerData, GetPinsHandlerError, GetPinsHandlerErrors, GetPinsHandlerResponse, GetPinsHandlerResponses, GetPinsResponse, GetProjectContentHandlerData, GetProjectContentHandlerError, GetProjectContentHandlerErrors, GetProjectContentHandlerResponse, GetProjectContentHandlerResponses, GetProjectContentResponse, GetProjectHandlerData, GetProjectHandlerError, GetProjectHandlerErrors, GetProjectHandlerResponse, GetProjectHandlerResponses, GetProjectPermissionsV2Data, GetProjectPermissionsV2Error, GetProjectPermissionsV2Errors, GetProjectPermissionsV2Response, GetProjectPermissionsV2Responses, GetProjectResponse, GetProjectResponseData, GetProjectsHandlerData, GetProjectsHandlerError, GetProjectsHandlerErrors, GetProjectsHandlerResponse, GetProjectsHandlerResponses, GetProjectsResponse, GetProjectUserAccessLevelData, GetProjectUserAccessLevelError, GetProjectUserAccessLevelErrors, GetProjectUserAccessLevelResponse, GetProjectUserAccessLevelResponses, GetRingStatusData, GetRingStatusError, GetRingStatusErrors, GetRingStatusResponse, GetRingStatusResponses, GetSelfBotData, GetSelfBotError, GetSelfBotErrors, GetSelfBotResponse, GetSelfBotResponses, GetSelfHarnessData, GetSelfHarnessError, GetSelfHarnessErrors, GetSelfHarnessResponse, GetSelfHarnessResponses, GetSlackImportData, GetSlackImportErrors, GetSlackImportResponse, GetSlackImportResponses, GetSystemSkillsHandlerData, GetSystemSkillsHandlerError, GetSystemSkillsHandlerErrors, GetSystemSkillsHandlerResponse, GetSystemSkillsHandlerResponses, GetUserDocumentsHandlerData, GetUserDocumentsHandlerError, GetUserDocumentsHandlerErrors, GetUserDocumentsHandlerResponse, GetUserDocumentsHandlerResponses, GetUserDocumentViewLocationData, GetUserDocumentViewLocationError, GetUserDocumentViewLocationErrors, GetUserDocumentViewLocationResponse, GetUserDocumentViewLocationResponses, GetUserHistoryResponse, GetViewsHandlerData, GetViewsHandlerError, GetViewsHandlerErrors, GetViewsHandlerResponse, GetViewsHandlerResponses, GetWebhookData, GetWebhookError, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GithubLabelFacet, GithubPullRequest, GithubPullRequestChangesPatchResponse, GithubPullRequestChangesResponse, GithubPullRequestCheckRun, GithubPullRequestComment, GithubPullRequestFacets, GithubPullRequestLabel, GithubPullRequestReview, GithubPullRequestReviewDecision, GithubPullRequestReviewState, GithubPullRequestsResponse, GithubPullRequestTasks, GithubPullRequestTasksRequest, GithubPullRequestTasksResponse, GithubPullRequestUser, GithubRepositoryFacet, GithubUserFacet, GitRefDto, GroupedInitialParams, GroupedPageParams, GroupedSoupGroupPage, GroupedSoupInitialPage, GroupedSoupPage, GroupedSoupSort, GuestId, GuestJoinRequest, HandlerData, HandlerError, HandlerErrors, HandlerResponse, HandlerResponses, Harness, HarnessAgent, HarnessId, HarnessOwner, HarnessSession, HashMap, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, HighlightType, ImportCounters, ImportDatabaseTableData, ImportDatabaseTableError, ImportDatabaseTableErrors, ImportDatabaseTableResponse, ImportDatabaseTableResponses, ImportedAuthor, ImportError, ImportLimits, ImportPage, ImportProgress, ImportTable, ImportWarning, InferColumnTypeOutcome, InferColumnTypeRequest, InferDatabaseColumnTypeData, InferDatabaseColumnTypeError, InferDatabaseColumnTypeErrors, InferDatabaseColumnTypeResponse, InferDatabaseColumnTypeResponses, InFlightTurnSummary, IngestTranscriptData, IngestTranscriptError, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsError, InitializeUserDocumentsErrors, InitializeUserDocumentsResponse, InitializeUserDocumentsResponses, InitialPropertyValue, InitiativeDetail, InitiativeFilters, InitiativeId, InitiativeList, InitiativeSummary, InputReceivedMetadata, InstallSyncData, InstallSyncErrors, InteractionReason, InviteMeetingRequest, InviteMeetingUsersRequest, Item, ItemWithUserAccessLevel, JobId, JobProcessingResultHandlerData, JobProcessingResultHandlerError, JobProcessingResultHandlerErrors, JobProcessingResultHandlerResponse, JobProcessingResultHandlerResponses, JobStatus, JoinChannelByCodeData, JoinChannelByCodeError, JoinChannelByCodeErrors, JoinChannelByCodeResponses, JoinChannelData, JoinChannelError, JoinChannelErrors, JoinChannelResponses, KeySegment, Lane, LaneKey, LatestMessage, LayoutProblem, LeaveCallResponse, LeaveChannelData, LeaveChannelError, LeaveChannelErrors, LeaveChannelResponses, LeaveOrEndCallData, LeaveOrEndCallError, LeaveOrEndCallErrors, LeaveOrEndCallResponse, LeaveOrEndCallResponses, LinkShare, ListAccessibleFormsData, ListAccessibleFormsError, ListAccessibleFormsErrors, ListAccessibleFormsResponse, ListAccessibleFormsResponses, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListBotChannelsData, ListBotChannelsError, ListBotChannelsErrors, ListBotChannelsResponse, ListBotChannelsResponses, ListChannelLabelsData, ListChannelLabelsError, ListChannelLabelsErrors, ListChannelLabelsResponse, ListChannelLabelsResponses, ListCompanyContactsData, ListCompanyContactsError, ListCompanyContactsErrors, ListCompanyContactsResponse, ListCompanyContactsResponses, ListCrmPipelinesData, ListCrmPipelinesResponse, ListCrmPipelinesResponses, ListDatabaseColumnCastsData, ListDatabaseColumnCastsError, ListDatabaseColumnCastsErrors, ListDatabaseColumnCastsResponse, ListDatabaseColumnCastsResponses, ListDatabasesData, ListDatabasesError, ListDatabasesErrors, ListDatabasesResponse, ListDatabasesResponses, ListedDatabase, ListedForm, ListEmailRemindersData, ListEmailRemindersError, ListEmailRemindersErrors, ListEmailRemindersResponse, ListEmailRemindersResponses, ListFavoritesData, ListFavoritesError, ListFavoritesErrors, ListFavoritesResponse, ListFavoritesResponses, ListFormsData, ListFormsError, ListFormsErrors, ListFormsResponse, ListFormsResponses, ListHarnessAgentsData, ListHarnessAgentsError, ListHarnessAgentsErrors, ListHarnessAgentsResponse, ListHarnessAgentsResponses, ListHarnessesData, ListHarnessesError, ListHarnessesErrors, ListHarnessesResponse, ListHarnessesResponses, ListHarnessSessionsData, ListHarnessSessionsError, ListHarnessSessionsErrors, ListHarnessSessionsResponse, ListHarnessSessionsResponses, ListInitiativesData, ListInitiativesError, ListInitiativesErrors, ListInitiativesResponse, ListInitiativesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponse, ListOccurrencesResponses, ListSlackImportsData, ListSlackImportsResponse, ListSlackImportsResponses, ListTeamCalendarData, ListTeamCalendarResponse, ListTeamCalendarResponses, ListTeamOutOfOfficeData, ListTeamOutOfOfficeErrors, ListTeamOutOfOfficeResponse, ListTeamOutOfOfficeResponses, ListUserApiKeysData, ListUserApiKeysError, ListUserApiKeysErrors, ListUserApiKeysResponse, ListUserApiKeysResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponse2, ListWebhooksResponses, LocationResponseData, LocationResponseV3, MacroUserIdStr, Meeting, MeetingCancelData, MeetingCancelError, MeetingCancelErrors, MeetingCancelPreparationData, MeetingCancelPreparationError, MeetingCancelPreparationErrors, MeetingCancelPreparationResponse, MeetingCancelPreparationResponses, MeetingCancelResponse, MeetingCancelResponses, MeetingCreateData, MeetingCreateError, MeetingCreateErrors, MeetingCreateResponse, MeetingCreateResponses, MeetingGuestJoinData, MeetingGuestJoinError, MeetingGuestJoinErrors, MeetingGuestJoinResponse, MeetingGuestJoinResponses, MeetingGuestParticipantsData, MeetingGuestParticipantsError, MeetingGuestParticipantsErrors, MeetingGuestParticipantsResponse, MeetingGuestParticipantsResponses, MeetingInviteData, MeetingInviteError, MeetingInviteErrors, MeetingInvitePermissions, MeetingInvitePermissionsData, MeetingInvitePermissionsError, MeetingInvitePermissionsErrors, MeetingInvitePermissionsResponse, MeetingInvitePermissionsResponses, MeetingInviteResponse, MeetingInviteResponses, MeetingInviteUsersData, MeetingInviteUsersError, MeetingInviteUsersErrors, MeetingInviteUsersResponse, MeetingInviteUsersResponses, MeetingJoinData, MeetingJoinError, MeetingJoinErrors, MeetingJoinResponse, MeetingJoinResponses, MeetingLeaveData, MeetingLeaveError, MeetingLeaveErrors, MeetingLeaveResponse, MeetingLeaveResponses, MeetingListActiveData, MeetingListActiveError, MeetingListActiveErrors, MeetingListActiveResponse, MeetingListActiveResponses, MeetingListData, MeetingListError, MeetingListErrors, MeetingListResponse, MeetingListResponses, MeetingLookupData, MeetingLookupError, MeetingLookupErrors, MeetingLookupResponse, MeetingLookupResponses, MeetingParticipant, MeetingParticipants, MeetingParticipantsData, MeetingParticipantsError, MeetingParticipantsErrors, MeetingParticipantsResponse, MeetingParticipantsResponses, MeetingPreparation, MeetingPrepareData, MeetingPrepareError, MeetingPrepareErrors, MeetingPrepareResponse, MeetingPrepareResponses, MeetingShareData, MeetingShareError, MeetingShareErrors, MeetingShareResponse, MeetingShareResponses, MeetingsResponse, MeetingToken, MeetingUpdateData, MeetingUpdateError, MeetingUpdateErrors, MeetingUpdateResponse, MeetingUpdateResponses, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponse, MentionPreviewsResponses, Message, MessageAttachment, MessageAttachmentCreatedMetadata, MessageAttachmentRemovedMetadata, MessageChange, MessageCursor, MessageDeletedMetadata, MessageDirection, MessageEvent, MessageEventAttachment, MessageListItem, MessageMentionedMetadata, MessagePage, MessageParent, MessagePatch, MessagePatchedMetadata, MessagePostedMetadata, MessageThread, MessageThreadPreview, MessageTimelineData, MessageTimelineEntriesData, MessageTimelineEntriesResponse, MessageTimelineEntriesResponses, MessageTimelineEntry, MessageTimelinePage, MessageTimelineQuery, MessageTimelineResponse, MessageTimelineResponses, MessageTopicEvent, MyResponse, NewAttachment, NewColumn, NewOption, NewThreadAnchor, NewView, NotificationFilters, NotificationState, NumberOperator, OpBatch, Operator, OpRefusalResponse, OpResult, OptionRef, PairingDetails, Params, ParticipantRole, PatchBotRequest, PatchChannelData, PatchChannelError, PatchChannelErrors, PatchChannelRequest, PatchChannelResponse, PatchChannelResponses, PatchMessageNotificationPolicy, PatchProjectRequestV2, PatchThreadRequestV2, PatchViewHandlerData, PatchViewHandlerError, PatchViewHandlerErrors, PatchViewHandlerResponses, PatchWebhookData, PatchWebhookError, PatchWebhookErrors, PatchWebhookRequest, PatchWebhookResponse, PatchWebhookResponses, PdfAnchor, PdfAnchorId, PdfHighlightAnchor, PdfHighlightAnchorRequest, PdfHighlightRect, PdfHighlightRectAnchorRequest, PdfPlaceableCommentAnchor, PendingClaimResponse, PermanentlyDeleteDocumentData, PermanentlyDeleteDocumentError, PermanentlyDeleteDocumentErrors, PermanentlyDeleteDocumentResponse, PermanentlyDeleteDocumentResponses, PermanentlyDeleteProjectData, PermanentlyDeleteProjectError, PermanentlyDeleteProjectErrors, PermanentlyDeleteProjectResponse, PermanentlyDeleteProjectResponses, PinnedItem, PinRequest, Pipeline, PipelineRecordType, PipelineSharing, PostActivityData, PostActivityError, PostActivityErrors, PostActivityRequest, PostActivityResponse, PostActivityResponses, PostChannelBotWebhookData, PostChannelBotWebhookError, PostChannelBotWebhookErrors, PostChannelBotWebhookResponse, PostChannelBotWebhookResponses, PostGroupedSoupAstGroupPageRequest, PostGroupedSoupAstInitialRequest, PostGroupedSoupAstRequest, PostItemsSoupAstData, PostItemsSoupAstError, PostItemsSoupAstErrors, PostItemsSoupAstGroupedData, PostItemsSoupAstGroupedError, PostItemsSoupAstGroupedErrors, PostItemsSoupAstGroupedResponse, PostItemsSoupAstGroupedResponses, PostItemsSoupAstResponse, PostItemsSoupAstResponses, PostItemsSoupData, PostItemsSoupError, PostItemsSoupErrors, PostItemsSoupResponse, PostItemsSoupResponses, PostMessage, PostMessageNotificationPolicy, PostSoupAstRequest, PostSoupRequest, PresaveDocumentHandlerData, PresaveDocumentHandlerError, PresaveDocumentHandlerErrors, PresaveDocumentHandlerResponse, PresaveDocumentHandlerResponses, PreSaveDocumentRequest, PreSaveDocumentResponse, PreSaveDocumentResponseData, PresenceOperator, PresignedUrl, PreviewSmartTagData, PreviewSmartTagError, PreviewSmartTagErrors, PreviewSmartTagResponse, PreviewSmartTagResponses, Project, ProjectDeleteResponseData, ProjectDocumentStatus, ProjectFilters, ProjectPreview, ProjectPreviewData, PropertyDefinition, PropertyDefinitionWithOptions, PropertyFilter, PropertyInput, PropertyOption, PropertyOptionValue, PropertyOwner, PropertyValue, PutCrmTeamSettingsData, PutCrmTeamSettingsError, PutCrmTeamSettingsErrors, PutCrmTeamSettingsResponse, PutCrmTeamSettingsResponses, PutCrmTeamStagesData, PutCrmTeamStagesError, PutCrmTeamStagesErrors, PutCrmTeamStagesResponse, PutCrmTeamStagesResponses, PutFormLayoutData, PutFormLayoutError, PutFormLayoutErrors, PutFormLayoutResponse, PutFormLayoutResponses, QueryCrmPipelineRowsData, QueryCrmPipelineRowsResponse, QueryCrmPipelineRowsResponses, QueryDefinition, QuestionLayout, QuestionOption, QuestionTally, ReactionInput, RecentlyDeletedData, RecentlyDeletedError, RecentlyDeletedErrors, RecentlyDeletedResponse, RecentlyDeletedResponseData, RecentlyDeletedResponses, RegisterSlackImportUploadsData, RegisterSlackImportUploadsErrors, RegisterSlackImportUploadsResponse, RegisterSlackImportUploadsResponses, RegisterUploads, RemoveBotFromChannelByBotData, RemoveBotFromChannelByBotError, RemoveBotFromChannelByBotErrors, RemoveBotFromChannelByBotResponse, RemoveBotFromChannelByBotResponses, RemoveFavoriteByEntityData, RemoveFavoriteByEntityError, RemoveFavoriteByEntityErrors, RemoveFavoriteByEntityResponses, RemoveParticipantsData, RemoveParticipantsError, RemoveParticipantsErrors, RemoveParticipantsRequest, RemoveParticipantsResponses, RemovePinHandlerData, RemovePinHandlerError, RemovePinHandlerErrors, RemovePinHandlerResponse, RemovePinHandlerResponses, RenameChannelLabelData, RenameChannelLabelError, RenameChannelLabelErrors, RenameChannelLabelRequest, RenameChannelLabelResponse, RenameChannelLabelResponses, RenameCrmPipelineData, RenameCrmPipelineResponse, RenameCrmPipelineResponses, RenamePipeline, ReorderFavoritesData, ReorderFavoritesError, ReorderFavoritesErrors, ReorderFavoritesRequest, ReorderFavoritesResponses, ReorderPinRequest, ReorderPinsHandlerData, ReorderPinsHandlerError, ReorderPinsHandlerErrors, ReorderPinsHandlerResponse, ReorderPinsHandlerResponses, ReplaceCrmStagesRequest, RequestedHarnessScope, RequestedLayout, ResetCrmTeamStagesData, ResetCrmTeamStagesError, ResetCrmTeamStagesErrors, ResetCrmTeamStagesResponse, ResetCrmTeamStagesResponses, ResponseStatus, ResponseSummary, RevertDeleteDocumentData, RevertDeleteDocumentError, RevertDeleteDocumentErrors, RevertDeleteDocumentResponse, RevertDeleteDocumentResponses, RevertDeleteProjectData, RevertDeleteProjectError, RevertDeleteProjectErrors, RevertDeleteProjectResponse, RevertDeleteProjectResponses, RingStatus, RingStatusResponse, RowChange, RowChangeKind, RowChanges, RowHistoryEntry, RowHistoryResponse, RowId, RowsChange, RowsResult, S3ObjectInfo, SaveBomPart, SaveDatabaseQueryData, SaveDatabaseQueryError, SaveDatabaseQueryErrors, SaveDatabaseQueryResponse, SaveDatabaseQueryResponses, SaveDocumentHandlerData, SaveDocumentHandlerError, SaveDocumentHandlerErrors, SaveDocumentHandlerResponse, SaveDocumentHandlerResponses, SaveDocumentRequest, SaveDocumentResponse, SaveDocumentResponseData, SavedQuery, SaveQueryRequest, SearchContactsData, SearchContactsError, SearchContactsErrors, SearchContactsResponse, SearchContactsResponse2, SearchContactsResponses, SearchState, SectionCount, SessionDeletedMetadata, SessionIdentity, SessionMentionedMetadata, SessionOpenedMetadata, SessionRenamedMetadata, SessionSettledMetadata, SessionStoppedMetadata, SetChannelLabelData, SetChannelLabelError, SetChannelLabelErrors, SetChannelLabelRequest, SetChannelLabelResponse, SetChannelLabelResponses, SetChannelPictureData, SetChannelPictureError, SetChannelPictureErrors, SetChannelPictureRequest, SetChannelPictureResponse, SetChannelPictureResponses, SetCompanyHiddenData, SetCompanyHiddenError, SetCompanyHiddenErrors, SetCompanyHiddenRequest, SetCompanyHiddenResponse, SetCompanyHiddenResponses, SetCompanyNameRequest, SetContactHiddenData, SetContactHiddenError, SetContactHiddenErrors, SetContactHiddenRequest, SetContactHiddenResponse, SetContactHiddenResponses, SetContactNameRequest, SetCrmCompanyNameData, SetCrmCompanyNameError, SetCrmCompanyNameErrors, SetCrmCompanyNameResponse, SetCrmCompanyNameResponses, SetCrmContactNameData, SetCrmContactNameError, SetCrmContactNameErrors, SetCrmContactNameResponse, SetCrmContactNameResponses, SetDocumentTeamShareData, SetDocumentTeamShareError, SetDocumentTeamShareErrors, SetDocumentTeamShareRequest, SetDocumentTeamShareResponse, SetDocumentTeamShareResponses, SetEmailFollowupData, SetEmailFollowupError, SetEmailFollowupErrors, SetEmailFollowupResponse, SetEmailFollowupResponses, SetEmailSyncData, SetEmailSyncError, SetEmailSyncErrors, SetEmailSyncRequest, SetEmailSyncResponse, SetEmailSyncResponses, SetOperator, SetPropertyValue, Sha256Digest, ShareCrmPipelineData, ShareCrmPipelineResponse, ShareCrmPipelineResponses, ShareDatabaseAwarenessData, ShareDatabaseAwarenessError, ShareDatabaseAwarenessErrors, ShareDatabaseAwarenessResponse, ShareDatabaseAwarenessResponses, SharedEmailFilter, SharePermissionV2, SharePipeline, ShortIdResponse, SimpleMention, SimpleSaveData, SimpleSaveError, SimpleSaveErrors, SimpleSaveResponse, SimpleSaveResponses, SkippedCell, SlackCompleteRequest, SlackCreateRequest, SlackRegisterRequest, SlackTimestamp, SlackUserId, SmartTagChannelMatch, SmartTagPreview, SortDirection, SortKey, SoupAgentSessionSoupPropertiesField, SoupApiItem, SoupApiSort, SoupApiSortDirection, SoupAttachment, SoupCalendarEventSoupPropertiesField, SoupCalendarEventTime, SoupCallRecordGuest, SoupCallRecordParticipant, SoupCallRecordSoupPropertiesField, SoupChannel, SoupChannelThread, SoupChatSoupPropertiesField, SoupContact, SoupCountedReaction, SoupCrmCompanySoupPropertiesField, SoupCrmContactSoupPropertiesField, SoupCrmDomain, SoupDatabaseRowSoupPropertiesField, SoupDocumentSoupPropertiesField, SoupDocumentSubType, SoupEmailThreadPreview, SoupEnrichedEmailThreadPreviewSoupPropertiesField, SoupForeignEntity, SoupInitiativeSoupPropertiesField, SoupItem, SoupLabel, SoupLabelListVisibility, SoupLabelType, SoupMessageAttachment, SoupMessageListVisibility, SoupMessageSender, SoupMessageSenderType, SoupPage, SoupProjectSoupPropertiesField, SoupPropertiesField, SoupProperty, SoupThreadInfo, SoupThreadReply, SourceBinding, SourceId, SourceIdentity, StarterDatabase, StarterDocumentsResponse, StorageRow, StorageRows, StorageRowsQuery, StoredGithubPullRequest, StreamEventsData, StreamEventsError, StreamEventsErrors, StreamEventsResponse, StreamEventsResponses, String, Submission, SubmissionOutcome, SubmitFormResponseData, SubmitFormResponseError, SubmitFormResponseErrors, SubmitFormResponseResponse, SubmitFormResponseResponses, SuccessResponse, SurfaceState, SyncServiceVersionId, SystemSkillSummary, Table, TableChange, TableChanged, TableChanges, TableDetail, TableResult, TableVersion, TagFilterMode, TakenId, TallyBucket, TallyValue, TaskFilters, TeamCalendarContent, TeamCalendarCoverage, TeamCalendarDetails, TeamCalendarItem, TeamCalendarMember, TeamCalendarPage, TeamCalendarSharing, TeamOutOfOfficeItem, TeamOutOfOfficeResponse, TeamRole, TextOperator, ThreadAnchor, ThreadOrigin, ThreadPatch, ThreadState, TimelineActivity, ToggleShareWithTeamData, ToggleShareWithTeamError, ToggleShareWithTeamErrors, ToggleShareWithTeamResponse, ToggleShareWithTeamResponses, TouchedColumn, TouchedRow, TranscribeDictationData, TranscribeDictationError, TranscribeDictationErrors, TranscribeDictationResponse, TranscribeDictationResponses, TranscribeResponse, TranscriptSegmentRequest, TrashCrmPipelineData, TrashCrmPipelineResponse, TrashCrmPipelineResponses, TrashPipeline, TurnEndedMetadata, TurnStartedMetadata, TurnSummary, TypedSuccessResponse, TypedSuccessResponseGetDocumentResponseData, TypingInput, UndoChangeResponse, UndoDatabaseChangeData, UndoDatabaseChangeError, UndoDatabaseChangeErrors, UndoDatabaseChangeResponse, UndoDatabaseChangeResponses, UndoOutcome, UndoRefusal, UnlockedBooking, UpdateAgentData, UpdateAgentError, UpdateAgentErrors, UpdateAgentRequest, UpdateAgentResponse, UpdateAgentResponses, UpdateChannelSharePermission, UpdateCrmTeamSettingsRequest, UpdateDatabasePermissionsData, UpdateDatabasePermissionsError, UpdateDatabasePermissionsErrors, UpdateDatabasePermissionsResponse, UpdateDatabasePermissionsResponses, UpdateForm, UpdateFormData, UpdateFormError, UpdateFormErrors, UpdateFormPermissionsData, UpdateFormPermissionsError, UpdateFormPermissionsErrors, UpdateFormPermissionsResponse, UpdateFormPermissionsResponses, UpdateFormResponse, UpdateFormResponses, UpdateInitiativeData, UpdateInitiativeError, UpdateInitiativeErrors, UpdateInitiativeRequest, UpdateInitiativeResponse, UpdateInitiativeResponses, UpdateMeetingRequest, UpdateOperation, UpdateSharePermissionRequestV2, UploadDescriptor, UploadDocumentStatus, UploadExtractFolderHandlerData, UploadExtractFolderHandlerError, UploadExtractFolderHandlerErrors, UploadExtractFolderHandlerResponse, UploadExtractFolderHandlerResponses, UploadExtractFolderRequest, UploadFolderHandlerData, UploadFolderHandlerError, UploadFolderHandlerErrors, UploadFolderHandlerResponse, UploadFolderHandlerResponses, UploadFolderRequest, UploadGrant, UploadId, UpsertHistoryHandlerData, UpsertHistoryHandlerError, UpsertHistoryHandlerErrors, UpsertHistoryHandlerResponse, UpsertHistoryHandlerResponses, UpsertUserDocumentViewLocationData, UpsertUserDocumentViewLocationError, UpsertUserDocumentViewLocationErrors, UpsertUserDocumentViewLocationRequest, UpsertUserDocumentViewLocationResponse, UpsertUserDocumentViewLocationResponses, UserApiKeyId, UserApiKeyInfo, UserApiKeysList, UserDocumentsResponse, UserDocumentViewLocation, UserDocumentViewLocationResponse, UserPinsResponse, UserViewsResponse, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenError, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponse, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookError, ValidateWebhookErrors, ValidateWebhookResponse, ValidateWebhookResponse2, ValidateWebhookResponses, Vec, VersionedTable, View, ViewChange, ViewColumn, ViewLayout, ViewPatch, ViewPosition, ViewPositionsResponse, ViewQuery, ViewResult, ViewsResponse, WaitingForInputMetadata, Webhook, WebhookEvent, WebhookFilter, WebhookScope, WebhookStatus, WebhookValidationTestEvent, Widget, WithCallId, WithChannelId, WithDocumentId, WithProjectId } from './types.gen';
diff --git a/packages/sdk/generated/storage/sdk.gen.ts b/packages/sdk/generated/storage/sdk.gen.ts
index 9a97b852d6..5999a84448 100644
--- a/packages/sdk/generated/storage/sdk.gen.ts
+++ b/packages/sdk/generated/storage/sdk.gen.ts
@@ -2,7 +2,7 @@
import type { Client, ClientMeta, Options as Options2, RequestResult, ServerSentEventsResult, TDataShape } from './client';
import { client } from './client.gen';
-import type { AddFavoriteData, AddFavoriteErrors, AddFavoriteResponses, AddParticipantsData, AddParticipantsErrors, AddParticipantsResponses, AddPinHandlerData, AddPinHandlerErrors, AddPinHandlerResponses, ApplyCrmPipelineOpsData, ApplyCrmPipelineOpsResponses, ApplyDatabaseOpsData, ApplyDatabaseOpsErrors, ApplyDatabaseOpsResponses, ApproveHarnessPairingData, ApproveHarnessPairingErrors, ApproveHarnessPairingResponses, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponses, CallWebhookData, CallWebhookErrors, CallWebhookResponses, CancelSlackImportData, CancelSlackImportErrors, CancelSlackImportResponses, CheckActiveCallData, CheckActiveCallErrors, CheckActiveCallResponses, ClaimHarnessPairingData, ClaimHarnessPairingErrors, ClaimHarnessPairingResponses, CollaborateFormData, CollaborateFormErrors, CollaborateFormResponses, CompleteSlackImportUploadsData, CompleteSlackImportUploadsErrors, CompleteSlackImportUploadsResponses, ConvertDatabaseColumnData, ConvertDatabaseColumnErrors, ConvertDatabaseColumnResponses, CopyDocumentData, CopyDocumentErrors, CopyDocumentResponses, CreateAgentData, CreateAgentErrors, CreateAgentResponses, CreateAnchorData, CreateAnchorErrors, CreateAnchorResponses, CreateChannelData, CreateChannelErrors, CreateChannelLabelData, CreateChannelLabelErrors, CreateChannelLabelResponses, CreateChannelResponses, CreateChannelScopedBotData, CreateChannelScopedBotErrors, CreateChannelScopedBotResponses, CreateCollabSurfaceTokenData, CreateCollabSurfaceTokenErrors, CreateCollabSurfaceTokenResponses, CreateCrmCompanyData, CreateCrmCompanyErrors, CreateCrmCompanyResponses, CreateCrmContactData, CreateCrmContactErrors, CreateCrmContactResponses, CreateCrmPipelineData, CreateCrmPipelineResponses, CreateDatabaseData, CreateDatabaseErrors, CreateDatabaseResponses, CreateDocumentData, CreateDocumentErrors, CreateDocumentResponses, CreateEntityMentionData, CreateEntityMentionErrors, CreateEntityMentionResponses, CreateFormData, CreateFormErrors, CreateFormResponses, CreateHarnessPairingData, CreateHarnessPairingErrors, CreateHarnessPairingResponses, CreateInitiativeData, CreateInitiativeErrors, CreateInitiativeResponses, CreateInstructionsHandlerData, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponses, CreateMarkdownHandlerData, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponses, CreateProjectHandlerData, CreateProjectHandlerErrors, CreateProjectHandlerResponses, CreateSkillHandlerData, CreateSkillHandlerErrors, CreateSkillHandlerResponses, CreateSlackImportData, CreateSlackImportErrors, CreateSlackImportResponses, CreateSnippetHandlerData, CreateSnippetHandlerErrors, CreateSnippetHandlerResponses, CreateTaskHandlerData, CreateTaskHandlerErrors, CreateTaskHandlerResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, CreateViewHandlerData, CreateViewHandlerErrors, CreateViewHandlerResponses, CreateWebhookData, CreateWebhookErrors, CreateWebhookResponses, DeleteAnchorData, DeleteAnchorErrors, DeleteAnchorResponses, DeleteCallRecordData, DeleteCallRecordErrors, DeleteCallRecordResponses, DeleteChannelData, DeleteChannelErrors, DeleteChannelLabelData, DeleteChannelLabelErrors, DeleteChannelLabelResponses, DeleteChannelResponses, DeleteCollabSurfaceData, DeleteCollabSurfaceErrors, DeleteCollabSurfaceResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteEntityMentionData, DeleteEntityMentionErrors, DeleteEntityMentionResponses, DeleteHarnessData, DeleteHarnessErrors, DeleteHarnessResponses, DeleteHistoryHandlerData, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponses, DeleteInitiativeData, DeleteInitiativeErrors, DeleteInitiativeResponses, DeleteProjectHandlerData, DeleteProjectHandlerErrors, DeleteProjectHandlerResponses, DeleteSelfHarnessData, DeleteSelfHarnessErrors, DeleteSelfHarnessResponses, DeleteUserApiKeyData, DeleteUserApiKeyErrors, DeleteUserApiKeyResponses, DeleteUserDocumentViewLocationData, DeleteUserDocumentViewLocationErrors, DeleteUserDocumentViewLocationResponses, DeleteViewHandlerData, DeleteViewHandlerErrors, DeleteViewHandlerResponses, DeleteWebhookData, DeleteWebhookErrors, DeleteWebhookResponses, EditAnchorData, EditAnchorErrors, EditAnchorResponses, EditCallRecordData, EditCallRecordErrors, EditCallRecordResponses, EditCallTranscriptData, EditCallTranscriptErrors, EditCallTranscriptResponses, EditDocumentData, EditDocumentErrors, EditDocumentResponses, EditMyFormResponseData, EditMyFormResponseErrors, EditMyFormResponseResponses, EditProjectV2Data, EditProjectV2Errors, EditProjectV2Responses, EditThreadV2Data, EditThreadV2Errors, EditThreadV2Responses, EnsureCollabSurfaceData, EnsureCollabSurfaceErrors, EnsureCollabSurfaceResponses, EnsureStarterHandlerData, EnsureStarterHandlerErrors, EnsureStarterHandlerResponses, EntityMessageCreateData, EntityMessageCreateResponses, EntityMessageDeleteMessageData, EntityMessageDeleteMessageResponses, EntityMessageDeleteThreadData, EntityMessageDeleteThreadResponses, EntityMessageEditData, EntityMessageEditResponses, EntityMessageGetMessageData, EntityMessageGetMessageResponses, EntityMessageGetThreadData, EntityMessageGetThreadResponses, EntityMessageLegacyData, EntityMessageLegacyResponses, EntityMessagePatchThreadData, EntityMessagePatchThreadResponses, EntityMessageReactData, EntityMessageReactResponses, EntityMessageTypingData, EntityMessageTypingResponses, ExcludeDefaultViewHandlerData, ExcludeDefaultViewHandlerErrors, ExcludeDefaultViewHandlerResponses, ExportDocumentData, ExportDocumentErrors, ExportDocumentResponses, FinalizeSlackImportData, FinalizeSlackImportErrors, FinalizeSlackImportResponses, GetActiveCallsData, GetActiveCallsErrors, GetActiveCallsResponses, GetActivityData, GetActivityErrors, GetActivityResponses, GetAttachmentReferencesData, GetAttachmentReferencesErrors, GetAttachmentReferencesResponses, GetBatchCallRecordPreviewData, GetBatchCallRecordPreviewErrors, GetBatchCallRecordPreviewResponses, GetBatchChannelPreviewData, GetBatchChannelPreviewErrors, GetBatchChannelPreviewResponses, GetBatchPreviewHandlerData, GetBatchPreviewHandlerErrors, GetBatchPreviewHandlerResponses, GetBatchProjectPreviewData, GetBatchProjectPreviewErrors, GetBatchProjectPreviewResponses, GetBotOwnerProfilesData, GetBotOwnerProfilesErrors, GetBotOwnerProfilesResponses, GetCallRecordData, GetCallRecordErrors, GetCallRecordResponses, GetChannelAttachmentsData, GetChannelAttachmentsErrors, GetChannelAttachmentsResponses, GetChannelData, GetChannelErrors, GetChannelJoinLinkData, GetChannelJoinLinkErrors, GetChannelJoinLinkResponses, GetChannelParticipantsData, GetChannelParticipantsErrors, GetChannelParticipantsResponses, GetChannelResponses, GetChannelsData, GetChannelsErrors, GetChannelsResponses, GetCollabSurfaceData, GetCollabSurfaceErrors, GetCollabSurfaceResponses, GetCompanyData, GetCompanyErrors, GetCompanyResponses, GetContactByEmailData, GetContactByEmailErrors, GetContactByEmailResponses, GetContactData, GetContactErrors, GetContactResponses, GetCrmPipelineData, GetCrmPipelineResponses, GetCrmPipelineRowsData, GetCrmPipelineRowsResponses, GetCrmPipelineTableData, GetCrmPipelineTableResponses, GetCrmTeamSettingsData, GetCrmTeamSettingsErrors, GetCrmTeamSettingsResponses, GetDatabaseData, GetDatabaseErrors, GetDatabasePermissionsData, GetDatabasePermissionsErrors, GetDatabasePermissionsResponses, GetDatabaseQueryData, GetDatabaseQueryErrors, GetDatabaseQueryResponses, GetDatabaseResponses, GetDatabaseRowHistoryData, GetDatabaseRowHistoryErrors, GetDatabaseRowHistoryResponses, GetDatabaseTableChangesData, GetDatabaseTableChangesErrors, GetDatabaseTableChangesResponses, GetDatabaseViewPositionsData, GetDatabaseViewPositionsErrors, GetDatabaseViewPositionsResponses, GetDocumentAnchorsData, GetDocumentAnchorsErrors, GetDocumentAnchorsResponses, GetDocumentBranchNameData, GetDocumentBranchNameErrors, GetDocumentBranchNameResponses, GetDocumentByTeamSlugData, GetDocumentByTeamSlugErrors, GetDocumentByTeamSlugResponses, GetDocumentData, GetDocumentErrors, GetDocumentGithubPullRequestsData, GetDocumentGithubPullRequestsErrors, GetDocumentGithubPullRequestsResponses, GetDocumentListHandlerData, GetDocumentListHandlerErrors, GetDocumentListHandlerResponses, GetDocumentLocationV3Data, GetDocumentLocationV3Errors, GetDocumentLocationV3Responses, GetDocumentPermissionsTokenData, GetDocumentPermissionsTokenErrors, GetDocumentPermissionsTokenResponses, GetDocumentPermissionsV2Data, GetDocumentPermissionsV2Errors, GetDocumentPermissionsV2Responses, GetDocumentProcessingResultData, GetDocumentProcessingResultErrors, GetDocumentProcessingResultResponses, GetDocumentResponses, GetDocumentShortIdData, GetDocumentShortIdErrors, GetDocumentShortIdResponses, GetDocumentTeamShareData, GetDocumentTeamShareErrors, GetDocumentTeamShareResponses, GetDocumentVersionData, GetDocumentVersionErrors, GetDocumentVersionResponses, GetDocumentViewsHandlerData, GetDocumentViewsHandlerErrors, GetDocumentViewsHandlerResponses, GetEmailFollowupData, GetEmailFollowupErrors, GetEmailFollowupResponses, GetEntityPermissionData, GetEntityPermissionErrors, GetEntityPermissionResponses, GetForeignEntityBySourceData, GetForeignEntityBySourceErrors, GetForeignEntityBySourceResponses, GetForeignEntityData, GetForeignEntityErrors, GetForeignEntityResponses, GetFormData, GetFormErrors, GetFormPermissionsData, GetFormPermissionsErrors, GetFormPermissionsResponses, GetFormResponses, GetFormResponseSummaryData, GetFormResponseSummaryErrors, GetFormResponseSummaryResponses, GetFormTallyData, GetFormTallyErrors, GetFormTallyResponses, GetGithubPullRequestChangesData, GetGithubPullRequestChangesErrors, GetGithubPullRequestChangesPatchData, GetGithubPullRequestChangesPatchErrors, GetGithubPullRequestChangesPatchResponses, GetGithubPullRequestChangesResponses, GetGithubPullRequestData, GetGithubPullRequestErrors, GetGithubPullRequestFacetsData, GetGithubPullRequestFacetsErrors, GetGithubPullRequestFacetsResponses, GetGithubPullRequestResponses, GetGithubPullRequestTasksData, GetGithubPullRequestTasksErrors, GetGithubPullRequestTasksResponses, GetHarnessPairingData, GetHarnessPairingErrors, GetHarnessPairingResponses, GetHistoryHandlerData, GetHistoryHandlerErrors, GetHistoryHandlerResponses, GetInitiativeData, GetInitiativeErrors, GetInitiativeResponses, GetInstructionsHandlerData, GetInstructionsHandlerErrors, GetInstructionsHandlerResponses, GetItemsSoupData, GetItemsSoupErrors, GetItemsSoupResponses, GetLocationHandlerData, GetLocationHandlerErrors, GetLocationHandlerResponses, GetMyFormResponseData, GetMyFormResponseErrors, GetMyFormResponseResponses, GetOrCreateCallData, GetOrCreateCallErrors, GetOrCreateCallResponses, GetOrCreateDmData, GetOrCreateDmErrors, GetOrCreateDmResponses, GetOrCreatePrivateData, GetOrCreatePrivateErrors, GetOrCreatePrivateResponses, GetPendingProjectsHandlerData, GetPendingProjectsHandlerErrors, GetPendingProjectsHandlerResponses, GetPinsHandlerData, GetPinsHandlerErrors, GetPinsHandlerResponses, GetProjectContentHandlerData, GetProjectContentHandlerErrors, GetProjectContentHandlerResponses, GetProjectHandlerData, GetProjectHandlerErrors, GetProjectHandlerResponses, GetProjectPermissionsV2Data, GetProjectPermissionsV2Errors, GetProjectPermissionsV2Responses, GetProjectsHandlerData, GetProjectsHandlerErrors, GetProjectsHandlerResponses, GetProjectUserAccessLevelData, GetProjectUserAccessLevelErrors, GetProjectUserAccessLevelResponses, GetRingStatusData, GetRingStatusErrors, GetRingStatusResponses, GetSelfBotData, GetSelfBotErrors, GetSelfBotResponses, GetSelfHarnessData, GetSelfHarnessErrors, GetSelfHarnessResponses, GetSlackImportData, GetSlackImportErrors, GetSlackImportResponses, GetSystemSkillsHandlerData, GetSystemSkillsHandlerErrors, GetSystemSkillsHandlerResponses, GetUserDocumentsHandlerData, GetUserDocumentsHandlerErrors, GetUserDocumentsHandlerResponses, GetUserDocumentViewLocationData, GetUserDocumentViewLocationErrors, GetUserDocumentViewLocationResponses, GetViewsHandlerData, GetViewsHandlerErrors, GetViewsHandlerResponses, GetWebhookData, GetWebhookErrors, GetWebhookResponses, HandlerData, HandlerErrors, HandlerResponses, HealthHandlerData, HealthHandlerResponses, ImportDatabaseTableData, ImportDatabaseTableErrors, ImportDatabaseTableResponses, InferDatabaseColumnTypeData, InferDatabaseColumnTypeErrors, InferDatabaseColumnTypeResponses, IngestTranscriptData, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsErrors, InitializeUserDocumentsResponses, InstallSyncData, InstallSyncErrors, JobProcessingResultHandlerData, JobProcessingResultHandlerErrors, JobProcessingResultHandlerResponses, JoinChannelByCodeData, JoinChannelByCodeErrors, JoinChannelByCodeResponses, JoinChannelData, JoinChannelErrors, JoinChannelResponses, LeaveChannelData, LeaveChannelErrors, LeaveChannelResponses, LeaveOrEndCallData, LeaveOrEndCallErrors, LeaveOrEndCallResponses, ListAccessibleFormsData, ListAccessibleFormsErrors, ListAccessibleFormsResponses, ListAgentsData, ListAgentsErrors, ListAgentsResponses, ListBotChannelsData, ListBotChannelsErrors, ListBotChannelsResponses, ListChannelLabelsData, ListChannelLabelsErrors, ListChannelLabelsResponses, ListCompanyContactsData, ListCompanyContactsErrors, ListCompanyContactsResponses, ListCrmPipelinesData, ListCrmPipelinesResponses, ListDatabaseColumnCastsData, ListDatabaseColumnCastsErrors, ListDatabaseColumnCastsResponses, ListDatabasesData, ListDatabasesErrors, ListDatabasesResponses, ListEmailRemindersData, ListEmailRemindersErrors, ListEmailRemindersResponses, ListFavoritesData, ListFavoritesErrors, ListFavoritesResponses, ListFormsData, ListFormsErrors, ListFormsResponses, ListHarnessAgentsData, ListHarnessAgentsErrors, ListHarnessAgentsResponses, ListHarnessesData, ListHarnessesErrors, ListHarnessesResponses, ListHarnessSessionsData, ListHarnessSessionsErrors, ListHarnessSessionsResponses, ListInitiativesData, ListInitiativesErrors, ListInitiativesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponses, ListSlackImportsData, ListSlackImportsResponses, ListTeamCalendarData, ListTeamCalendarResponses, ListTeamOutOfOfficeData, ListTeamOutOfOfficeErrors, ListTeamOutOfOfficeResponses, ListUserApiKeysData, ListUserApiKeysErrors, ListUserApiKeysResponses, ListWebhooksData, ListWebhooksErrors, ListWebhooksResponses, MeetingCancelData, MeetingCancelErrors, MeetingCancelPreparationData, MeetingCancelPreparationErrors, MeetingCancelPreparationResponses, MeetingCancelResponses, MeetingCreateData, MeetingCreateErrors, MeetingCreateResponses, MeetingGuestJoinData, MeetingGuestJoinErrors, MeetingGuestJoinResponses, MeetingGuestParticipantsData, MeetingGuestParticipantsErrors, MeetingGuestParticipantsResponses, MeetingInviteData, MeetingInviteErrors, MeetingInvitePermissionsData, MeetingInvitePermissionsErrors, MeetingInvitePermissionsResponses, MeetingInviteResponses, MeetingInviteUsersData, MeetingInviteUsersErrors, MeetingInviteUsersResponses, MeetingJoinData, MeetingJoinErrors, MeetingJoinResponses, MeetingLeaveData, MeetingLeaveErrors, MeetingLeaveResponses, MeetingListActiveData, MeetingListActiveErrors, MeetingListActiveResponses, MeetingListData, MeetingListErrors, MeetingListResponses, MeetingLookupData, MeetingLookupErrors, MeetingLookupResponses, MeetingParticipantsData, MeetingParticipantsErrors, MeetingParticipantsResponses, MeetingPrepareData, MeetingPrepareErrors, MeetingPrepareResponses, MeetingShareData, MeetingShareErrors, MeetingShareResponses, MeetingUpdateData, MeetingUpdateErrors, MeetingUpdateResponses, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponses, MessageTimelineData, MessageTimelineEntriesData, MessageTimelineEntriesResponses, MessageTimelineResponses, PatchChannelData, PatchChannelErrors, PatchChannelResponses, PatchViewHandlerData, PatchViewHandlerErrors, PatchViewHandlerResponses, PatchWebhookData, PatchWebhookErrors, PatchWebhookResponses, PermanentlyDeleteDocumentData, PermanentlyDeleteDocumentErrors, PermanentlyDeleteDocumentResponses, PermanentlyDeleteProjectData, PermanentlyDeleteProjectErrors, PermanentlyDeleteProjectResponses, PostActivityData, PostActivityErrors, PostActivityResponses, PostChannelBotWebhookData, PostChannelBotWebhookErrors, PostChannelBotWebhookResponses, PostItemsSoupAstData, PostItemsSoupAstErrors, PostItemsSoupAstGroupedData, PostItemsSoupAstGroupedErrors, PostItemsSoupAstGroupedResponses, PostItemsSoupAstResponses, PostItemsSoupData, PostItemsSoupErrors, PostItemsSoupResponses, PresaveDocumentHandlerData, PresaveDocumentHandlerErrors, PresaveDocumentHandlerResponses, PreviewSmartTagData, PreviewSmartTagErrors, PreviewSmartTagResponses, PutCrmTeamSettingsData, PutCrmTeamSettingsErrors, PutCrmTeamSettingsResponses, PutCrmTeamStagesData, PutCrmTeamStagesErrors, PutCrmTeamStagesResponses, PutFormLayoutData, PutFormLayoutErrors, PutFormLayoutResponses, QueryCrmPipelineRowsData, QueryCrmPipelineRowsResponses, RecentlyDeletedData, RecentlyDeletedErrors, RecentlyDeletedResponses, RegisterSlackImportUploadsData, RegisterSlackImportUploadsErrors, RegisterSlackImportUploadsResponses, RemoveBotFromChannelByBotData, RemoveBotFromChannelByBotErrors, RemoveBotFromChannelByBotResponses, RemoveFavoriteByEntityData, RemoveFavoriteByEntityErrors, RemoveFavoriteByEntityResponses, RemoveParticipantsData, RemoveParticipantsErrors, RemoveParticipantsResponses, RemovePinHandlerData, RemovePinHandlerErrors, RemovePinHandlerResponses, RenameChannelLabelData, RenameChannelLabelErrors, RenameChannelLabelResponses, RenameCrmPipelineData, RenameCrmPipelineResponses, ReorderFavoritesData, ReorderFavoritesErrors, ReorderFavoritesResponses, ReorderPinsHandlerData, ReorderPinsHandlerErrors, ReorderPinsHandlerResponses, ResetCrmTeamStagesData, ResetCrmTeamStagesErrors, ResetCrmTeamStagesResponses, RevertDeleteDocumentData, RevertDeleteDocumentErrors, RevertDeleteDocumentResponses, RevertDeleteProjectData, RevertDeleteProjectErrors, RevertDeleteProjectResponses, SaveDatabaseQueryData, SaveDatabaseQueryErrors, SaveDatabaseQueryResponses, SaveDocumentHandlerData, SaveDocumentHandlerErrors, SaveDocumentHandlerResponses, SearchContactsData, SearchContactsErrors, SearchContactsResponses, SetChannelLabelData, SetChannelLabelErrors, SetChannelLabelResponses, SetChannelPictureData, SetChannelPictureErrors, SetChannelPictureResponses, SetCompanyHiddenData, SetCompanyHiddenErrors, SetCompanyHiddenResponses, SetContactHiddenData, SetContactHiddenErrors, SetContactHiddenResponses, SetCrmCompanyNameData, SetCrmCompanyNameErrors, SetCrmCompanyNameResponses, SetCrmContactNameData, SetCrmContactNameErrors, SetCrmContactNameResponses, SetDocumentTeamShareData, SetDocumentTeamShareErrors, SetDocumentTeamShareResponses, SetEmailFollowupData, SetEmailFollowupErrors, SetEmailFollowupResponses, SetEmailSyncData, SetEmailSyncErrors, SetEmailSyncResponses, ShareCrmPipelineData, ShareCrmPipelineResponses, ShareDatabaseAwarenessData, ShareDatabaseAwarenessErrors, ShareDatabaseAwarenessResponses, SimpleSaveData, SimpleSaveErrors, SimpleSaveResponses, StreamEventsData, StreamEventsErrors, StreamEventsResponse, StreamEventsResponses, SubmitFormResponseData, SubmitFormResponseErrors, SubmitFormResponseResponses, ToggleShareWithTeamData, ToggleShareWithTeamErrors, ToggleShareWithTeamResponses, TranscribeDictationData, TranscribeDictationErrors, TranscribeDictationResponses, TrashCrmPipelineData, TrashCrmPipelineResponses, UndoDatabaseChangeData, UndoDatabaseChangeErrors, UndoDatabaseChangeResponses, UpdateAgentData, UpdateAgentErrors, UpdateAgentResponses, UpdateDatabasePermissionsData, UpdateDatabasePermissionsErrors, UpdateDatabasePermissionsResponses, UpdateFormData, UpdateFormErrors, UpdateFormPermissionsData, UpdateFormPermissionsErrors, UpdateFormPermissionsResponses, UpdateFormResponses, UpdateInitiativeData, UpdateInitiativeErrors, UpdateInitiativeResponses, UploadExtractFolderHandlerData, UploadExtractFolderHandlerErrors, UploadExtractFolderHandlerResponses, UploadFolderHandlerData, UploadFolderHandlerErrors, UploadFolderHandlerResponses, UpsertHistoryHandlerData, UpsertHistoryHandlerErrors, UpsertHistoryHandlerResponses, UpsertUserDocumentViewLocationData, UpsertUserDocumentViewLocationErrors, UpsertUserDocumentViewLocationResponses, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookErrors, ValidateWebhookResponses } from './types.gen';
+import type { AddFavoriteData, AddFavoriteErrors, AddFavoriteResponses, AddParticipantsData, AddParticipantsErrors, AddParticipantsResponses, AddPinHandlerData, AddPinHandlerErrors, AddPinHandlerResponses, ApplyCrmPipelineOpsData, ApplyCrmPipelineOpsResponses, ApplyDatabaseOpsData, ApplyDatabaseOpsErrors, ApplyDatabaseOpsResponses, ApproveHarnessPairingData, ApproveHarnessPairingErrors, ApproveHarnessPairingResponses, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponses, CallWebhookData, CallWebhookErrors, CallWebhookResponses, CancelSlackImportData, CancelSlackImportErrors, CancelSlackImportResponses, CheckActiveCallData, CheckActiveCallErrors, CheckActiveCallResponses, ClaimHarnessPairingData, ClaimHarnessPairingErrors, ClaimHarnessPairingResponses, CollaborateFormData, CollaborateFormErrors, CollaborateFormResponses, CompleteSlackImportUploadsData, CompleteSlackImportUploadsErrors, CompleteSlackImportUploadsResponses, ConvertDatabaseColumnData, ConvertDatabaseColumnErrors, ConvertDatabaseColumnResponses, CopyDocumentData, CopyDocumentErrors, CopyDocumentResponses, CreateAgentData, CreateAgentErrors, CreateAgentResponses, CreateAnchorData, CreateAnchorErrors, CreateAnchorResponses, CreateChannelData, CreateChannelErrors, CreateChannelLabelData, CreateChannelLabelErrors, CreateChannelLabelResponses, CreateChannelResponses, CreateChannelScopedBotData, CreateChannelScopedBotErrors, CreateChannelScopedBotResponses, CreateCollabSurfaceTokenData, CreateCollabSurfaceTokenErrors, CreateCollabSurfaceTokenResponses, CreateCrmCompanyData, CreateCrmCompanyErrors, CreateCrmCompanyResponses, CreateCrmContactData, CreateCrmContactErrors, CreateCrmContactResponses, CreateCrmPipelineData, CreateCrmPipelineResponses, CreateDatabaseData, CreateDatabaseErrors, CreateDatabaseResponses, CreateDocumentData, CreateDocumentErrors, CreateDocumentResponses, CreateEntityMentionData, CreateEntityMentionErrors, CreateEntityMentionResponses, CreateFormData, CreateFormErrors, CreateFormResponses, CreateHarnessPairingData, CreateHarnessPairingErrors, CreateHarnessPairingResponses, CreateInitiativeData, CreateInitiativeErrors, CreateInitiativeResponses, CreateInstructionsHandlerData, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponses, CreateMarkdownHandlerData, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponses, CreateProjectHandlerData, CreateProjectHandlerErrors, CreateProjectHandlerResponses, CreateSkillHandlerData, CreateSkillHandlerErrors, CreateSkillHandlerResponses, CreateSlackImportData, CreateSlackImportErrors, CreateSlackImportResponses, CreateSnippetHandlerData, CreateSnippetHandlerErrors, CreateSnippetHandlerResponses, CreateTaskHandlerData, CreateTaskHandlerErrors, CreateTaskHandlerResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, CreateViewHandlerData, CreateViewHandlerErrors, CreateViewHandlerResponses, CreateWebhookData, CreateWebhookErrors, CreateWebhookResponses, DeclineCallData, DeclineCallErrors, DeclineCallResponses, DeclineRingData, DeclineRingErrors, DeclineRingResponses, DeleteAnchorData, DeleteAnchorErrors, DeleteAnchorResponses, DeleteCallRecordData, DeleteCallRecordErrors, DeleteCallRecordResponses, DeleteChannelData, DeleteChannelErrors, DeleteChannelLabelData, DeleteChannelLabelErrors, DeleteChannelLabelResponses, DeleteChannelResponses, DeleteCollabSurfaceData, DeleteCollabSurfaceErrors, DeleteCollabSurfaceResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteEntityMentionData, DeleteEntityMentionErrors, DeleteEntityMentionResponses, DeleteHarnessData, DeleteHarnessErrors, DeleteHarnessResponses, DeleteHistoryHandlerData, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponses, DeleteInitiativeData, DeleteInitiativeErrors, DeleteInitiativeResponses, DeleteProjectHandlerData, DeleteProjectHandlerErrors, DeleteProjectHandlerResponses, DeleteSelfHarnessData, DeleteSelfHarnessErrors, DeleteSelfHarnessResponses, DeleteUserApiKeyData, DeleteUserApiKeyErrors, DeleteUserApiKeyResponses, DeleteUserDocumentViewLocationData, DeleteUserDocumentViewLocationErrors, DeleteUserDocumentViewLocationResponses, DeleteViewHandlerData, DeleteViewHandlerErrors, DeleteViewHandlerResponses, DeleteWebhookData, DeleteWebhookErrors, DeleteWebhookResponses, EditAnchorData, EditAnchorErrors, EditAnchorResponses, EditCallRecordData, EditCallRecordErrors, EditCallRecordResponses, EditCallTranscriptData, EditCallTranscriptErrors, EditCallTranscriptResponses, EditDocumentData, EditDocumentErrors, EditDocumentResponses, EditMyFormResponseData, EditMyFormResponseErrors, EditMyFormResponseResponses, EditProjectV2Data, EditProjectV2Errors, EditProjectV2Responses, EditThreadV2Data, EditThreadV2Errors, EditThreadV2Responses, EnsureCollabSurfaceData, EnsureCollabSurfaceErrors, EnsureCollabSurfaceResponses, EnsureStarterHandlerData, EnsureStarterHandlerErrors, EnsureStarterHandlerResponses, EntityMessageCreateData, EntityMessageCreateResponses, EntityMessageDeleteMessageData, EntityMessageDeleteMessageResponses, EntityMessageDeleteThreadData, EntityMessageDeleteThreadResponses, EntityMessageEditData, EntityMessageEditResponses, EntityMessageGetMessageData, EntityMessageGetMessageResponses, EntityMessageGetThreadData, EntityMessageGetThreadResponses, EntityMessageLegacyData, EntityMessageLegacyResponses, EntityMessagePatchThreadData, EntityMessagePatchThreadResponses, EntityMessageReactData, EntityMessageReactResponses, EntityMessageTypingData, EntityMessageTypingResponses, ExcludeDefaultViewHandlerData, ExcludeDefaultViewHandlerErrors, ExcludeDefaultViewHandlerResponses, ExportDocumentData, ExportDocumentErrors, ExportDocumentResponses, FinalizeSlackImportData, FinalizeSlackImportErrors, FinalizeSlackImportResponses, GetActiveCallsData, GetActiveCallsErrors, GetActiveCallsResponses, GetActivityData, GetActivityErrors, GetActivityResponses, GetAttachmentReferencesData, GetAttachmentReferencesErrors, GetAttachmentReferencesResponses, GetBatchCallRecordPreviewData, GetBatchCallRecordPreviewErrors, GetBatchCallRecordPreviewResponses, GetBatchChannelPreviewData, GetBatchChannelPreviewErrors, GetBatchChannelPreviewResponses, GetBatchPreviewHandlerData, GetBatchPreviewHandlerErrors, GetBatchPreviewHandlerResponses, GetBatchProjectPreviewData, GetBatchProjectPreviewErrors, GetBatchProjectPreviewResponses, GetBotOwnerProfilesData, GetBotOwnerProfilesErrors, GetBotOwnerProfilesResponses, GetCallRecordData, GetCallRecordErrors, GetCallRecordResponses, GetChannelAttachmentsData, GetChannelAttachmentsErrors, GetChannelAttachmentsResponses, GetChannelData, GetChannelErrors, GetChannelJoinLinkData, GetChannelJoinLinkErrors, GetChannelJoinLinkResponses, GetChannelParticipantsData, GetChannelParticipantsErrors, GetChannelParticipantsResponses, GetChannelResponses, GetChannelsData, GetChannelsErrors, GetChannelsResponses, GetCollabSurfaceData, GetCollabSurfaceErrors, GetCollabSurfaceResponses, GetCompanyData, GetCompanyErrors, GetCompanyResponses, GetContactByEmailData, GetContactByEmailErrors, GetContactByEmailResponses, GetContactData, GetContactErrors, GetContactResponses, GetCrmPipelineData, GetCrmPipelineResponses, GetCrmPipelineRowsData, GetCrmPipelineRowsResponses, GetCrmPipelineTableData, GetCrmPipelineTableResponses, GetCrmTeamSettingsData, GetCrmTeamSettingsErrors, GetCrmTeamSettingsResponses, GetDatabaseData, GetDatabaseErrors, GetDatabasePermissionsData, GetDatabasePermissionsErrors, GetDatabasePermissionsResponses, GetDatabaseQueryData, GetDatabaseQueryErrors, GetDatabaseQueryResponses, GetDatabaseResponses, GetDatabaseRowHistoryData, GetDatabaseRowHistoryErrors, GetDatabaseRowHistoryResponses, GetDatabaseTableChangesData, GetDatabaseTableChangesErrors, GetDatabaseTableChangesResponses, GetDatabaseViewPositionsData, GetDatabaseViewPositionsErrors, GetDatabaseViewPositionsResponses, GetDocumentAnchorsData, GetDocumentAnchorsErrors, GetDocumentAnchorsResponses, GetDocumentBranchNameData, GetDocumentBranchNameErrors, GetDocumentBranchNameResponses, GetDocumentByTeamSlugData, GetDocumentByTeamSlugErrors, GetDocumentByTeamSlugResponses, GetDocumentData, GetDocumentErrors, GetDocumentGithubPullRequestsData, GetDocumentGithubPullRequestsErrors, GetDocumentGithubPullRequestsResponses, GetDocumentListHandlerData, GetDocumentListHandlerErrors, GetDocumentListHandlerResponses, GetDocumentLocationV3Data, GetDocumentLocationV3Errors, GetDocumentLocationV3Responses, GetDocumentPermissionsTokenData, GetDocumentPermissionsTokenErrors, GetDocumentPermissionsTokenResponses, GetDocumentPermissionsV2Data, GetDocumentPermissionsV2Errors, GetDocumentPermissionsV2Responses, GetDocumentProcessingResultData, GetDocumentProcessingResultErrors, GetDocumentProcessingResultResponses, GetDocumentResponses, GetDocumentShortIdData, GetDocumentShortIdErrors, GetDocumentShortIdResponses, GetDocumentTeamShareData, GetDocumentTeamShareErrors, GetDocumentTeamShareResponses, GetDocumentVersionData, GetDocumentVersionErrors, GetDocumentVersionResponses, GetDocumentViewsHandlerData, GetDocumentViewsHandlerErrors, GetDocumentViewsHandlerResponses, GetEmailFollowupData, GetEmailFollowupErrors, GetEmailFollowupResponses, GetEntityPermissionData, GetEntityPermissionErrors, GetEntityPermissionResponses, GetForeignEntityBySourceData, GetForeignEntityBySourceErrors, GetForeignEntityBySourceResponses, GetForeignEntityData, GetForeignEntityErrors, GetForeignEntityResponses, GetFormData, GetFormErrors, GetFormPermissionsData, GetFormPermissionsErrors, GetFormPermissionsResponses, GetFormResponses, GetFormResponseSummaryData, GetFormResponseSummaryErrors, GetFormResponseSummaryResponses, GetFormTallyData, GetFormTallyErrors, GetFormTallyResponses, GetGithubPullRequestChangesData, GetGithubPullRequestChangesErrors, GetGithubPullRequestChangesPatchData, GetGithubPullRequestChangesPatchErrors, GetGithubPullRequestChangesPatchResponses, GetGithubPullRequestChangesResponses, GetGithubPullRequestData, GetGithubPullRequestErrors, GetGithubPullRequestFacetsData, GetGithubPullRequestFacetsErrors, GetGithubPullRequestFacetsResponses, GetGithubPullRequestResponses, GetGithubPullRequestTasksData, GetGithubPullRequestTasksErrors, GetGithubPullRequestTasksResponses, GetHarnessPairingData, GetHarnessPairingErrors, GetHarnessPairingResponses, GetHistoryHandlerData, GetHistoryHandlerErrors, GetHistoryHandlerResponses, GetInitiativeData, GetInitiativeErrors, GetInitiativeResponses, GetInstructionsHandlerData, GetInstructionsHandlerErrors, GetInstructionsHandlerResponses, GetItemsSoupData, GetItemsSoupErrors, GetItemsSoupResponses, GetLocationHandlerData, GetLocationHandlerErrors, GetLocationHandlerResponses, GetMyFormResponseData, GetMyFormResponseErrors, GetMyFormResponseResponses, GetOrCreateCallData, GetOrCreateCallErrors, GetOrCreateCallResponses, GetOrCreateDmData, GetOrCreateDmErrors, GetOrCreateDmResponses, GetOrCreatePrivateData, GetOrCreatePrivateErrors, GetOrCreatePrivateResponses, GetPendingProjectsHandlerData, GetPendingProjectsHandlerErrors, GetPendingProjectsHandlerResponses, GetPinsHandlerData, GetPinsHandlerErrors, GetPinsHandlerResponses, GetProjectContentHandlerData, GetProjectContentHandlerErrors, GetProjectContentHandlerResponses, GetProjectHandlerData, GetProjectHandlerErrors, GetProjectHandlerResponses, GetProjectPermissionsV2Data, GetProjectPermissionsV2Errors, GetProjectPermissionsV2Responses, GetProjectsHandlerData, GetProjectsHandlerErrors, GetProjectsHandlerResponses, GetProjectUserAccessLevelData, GetProjectUserAccessLevelErrors, GetProjectUserAccessLevelResponses, GetRingStatusData, GetRingStatusErrors, GetRingStatusResponses, GetSelfBotData, GetSelfBotErrors, GetSelfBotResponses, GetSelfHarnessData, GetSelfHarnessErrors, GetSelfHarnessResponses, GetSlackImportData, GetSlackImportErrors, GetSlackImportResponses, GetSystemSkillsHandlerData, GetSystemSkillsHandlerErrors, GetSystemSkillsHandlerResponses, GetUserDocumentsHandlerData, GetUserDocumentsHandlerErrors, GetUserDocumentsHandlerResponses, GetUserDocumentViewLocationData, GetUserDocumentViewLocationErrors, GetUserDocumentViewLocationResponses, GetViewsHandlerData, GetViewsHandlerErrors, GetViewsHandlerResponses, GetWebhookData, GetWebhookErrors, GetWebhookResponses, HandlerData, HandlerErrors, HandlerResponses, HealthHandlerData, HealthHandlerResponses, ImportDatabaseTableData, ImportDatabaseTableErrors, ImportDatabaseTableResponses, InferDatabaseColumnTypeData, InferDatabaseColumnTypeErrors, InferDatabaseColumnTypeResponses, IngestTranscriptData, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsErrors, InitializeUserDocumentsResponses, InstallSyncData, InstallSyncErrors, JobProcessingResultHandlerData, JobProcessingResultHandlerErrors, JobProcessingResultHandlerResponses, JoinChannelByCodeData, JoinChannelByCodeErrors, JoinChannelByCodeResponses, JoinChannelData, JoinChannelErrors, JoinChannelResponses, LeaveChannelData, LeaveChannelErrors, LeaveChannelResponses, LeaveOrEndCallData, LeaveOrEndCallErrors, LeaveOrEndCallResponses, ListAccessibleFormsData, ListAccessibleFormsErrors, ListAccessibleFormsResponses, ListAgentsData, ListAgentsErrors, ListAgentsResponses, ListBotChannelsData, ListBotChannelsErrors, ListBotChannelsResponses, ListChannelLabelsData, ListChannelLabelsErrors, ListChannelLabelsResponses, ListCompanyContactsData, ListCompanyContactsErrors, ListCompanyContactsResponses, ListCrmPipelinesData, ListCrmPipelinesResponses, ListDatabaseColumnCastsData, ListDatabaseColumnCastsErrors, ListDatabaseColumnCastsResponses, ListDatabasesData, ListDatabasesErrors, ListDatabasesResponses, ListEmailRemindersData, ListEmailRemindersErrors, ListEmailRemindersResponses, ListFavoritesData, ListFavoritesErrors, ListFavoritesResponses, ListFormsData, ListFormsErrors, ListFormsResponses, ListHarnessAgentsData, ListHarnessAgentsErrors, ListHarnessAgentsResponses, ListHarnessesData, ListHarnessesErrors, ListHarnessesResponses, ListHarnessSessionsData, ListHarnessSessionsErrors, ListHarnessSessionsResponses, ListInitiativesData, ListInitiativesErrors, ListInitiativesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponses, ListSlackImportsData, ListSlackImportsResponses, ListTeamCalendarData, ListTeamCalendarResponses, ListTeamOutOfOfficeData, ListTeamOutOfOfficeErrors, ListTeamOutOfOfficeResponses, ListUserApiKeysData, ListUserApiKeysErrors, ListUserApiKeysResponses, ListWebhooksData, ListWebhooksErrors, ListWebhooksResponses, MeetingCancelData, MeetingCancelErrors, MeetingCancelPreparationData, MeetingCancelPreparationErrors, MeetingCancelPreparationResponses, MeetingCancelResponses, MeetingCreateData, MeetingCreateErrors, MeetingCreateResponses, MeetingGuestJoinData, MeetingGuestJoinErrors, MeetingGuestJoinResponses, MeetingGuestParticipantsData, MeetingGuestParticipantsErrors, MeetingGuestParticipantsResponses, MeetingInviteData, MeetingInviteErrors, MeetingInvitePermissionsData, MeetingInvitePermissionsErrors, MeetingInvitePermissionsResponses, MeetingInviteResponses, MeetingInviteUsersData, MeetingInviteUsersErrors, MeetingInviteUsersResponses, MeetingJoinData, MeetingJoinErrors, MeetingJoinResponses, MeetingLeaveData, MeetingLeaveErrors, MeetingLeaveResponses, MeetingListActiveData, MeetingListActiveErrors, MeetingListActiveResponses, MeetingListData, MeetingListErrors, MeetingListResponses, MeetingLookupData, MeetingLookupErrors, MeetingLookupResponses, MeetingParticipantsData, MeetingParticipantsErrors, MeetingParticipantsResponses, MeetingPrepareData, MeetingPrepareErrors, MeetingPrepareResponses, MeetingShareData, MeetingShareErrors, MeetingShareResponses, MeetingUpdateData, MeetingUpdateErrors, MeetingUpdateResponses, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponses, MessageTimelineData, MessageTimelineEntriesData, MessageTimelineEntriesResponses, MessageTimelineResponses, PatchChannelData, PatchChannelErrors, PatchChannelResponses, PatchViewHandlerData, PatchViewHandlerErrors, PatchViewHandlerResponses, PatchWebhookData, PatchWebhookErrors, PatchWebhookResponses, PermanentlyDeleteDocumentData, PermanentlyDeleteDocumentErrors, PermanentlyDeleteDocumentResponses, PermanentlyDeleteProjectData, PermanentlyDeleteProjectErrors, PermanentlyDeleteProjectResponses, PostActivityData, PostActivityErrors, PostActivityResponses, PostChannelBotWebhookData, PostChannelBotWebhookErrors, PostChannelBotWebhookResponses, PostItemsSoupAstData, PostItemsSoupAstErrors, PostItemsSoupAstGroupedData, PostItemsSoupAstGroupedErrors, PostItemsSoupAstGroupedResponses, PostItemsSoupAstResponses, PostItemsSoupData, PostItemsSoupErrors, PostItemsSoupResponses, PresaveDocumentHandlerData, PresaveDocumentHandlerErrors, PresaveDocumentHandlerResponses, PreviewSmartTagData, PreviewSmartTagErrors, PreviewSmartTagResponses, PutCrmTeamSettingsData, PutCrmTeamSettingsErrors, PutCrmTeamSettingsResponses, PutCrmTeamStagesData, PutCrmTeamStagesErrors, PutCrmTeamStagesResponses, PutFormLayoutData, PutFormLayoutErrors, PutFormLayoutResponses, QueryCrmPipelineRowsData, QueryCrmPipelineRowsResponses, RecentlyDeletedData, RecentlyDeletedErrors, RecentlyDeletedResponses, RegisterSlackImportUploadsData, RegisterSlackImportUploadsErrors, RegisterSlackImportUploadsResponses, RemoveBotFromChannelByBotData, RemoveBotFromChannelByBotErrors, RemoveBotFromChannelByBotResponses, RemoveFavoriteByEntityData, RemoveFavoriteByEntityErrors, RemoveFavoriteByEntityResponses, RemoveParticipantsData, RemoveParticipantsErrors, RemoveParticipantsResponses, RemovePinHandlerData, RemovePinHandlerErrors, RemovePinHandlerResponses, RenameChannelLabelData, RenameChannelLabelErrors, RenameChannelLabelResponses, RenameCrmPipelineData, RenameCrmPipelineResponses, ReorderFavoritesData, ReorderFavoritesErrors, ReorderFavoritesResponses, ReorderPinsHandlerData, ReorderPinsHandlerErrors, ReorderPinsHandlerResponses, ResetCrmTeamStagesData, ResetCrmTeamStagesErrors, ResetCrmTeamStagesResponses, RevertDeleteDocumentData, RevertDeleteDocumentErrors, RevertDeleteDocumentResponses, RevertDeleteProjectData, RevertDeleteProjectErrors, RevertDeleteProjectResponses, SaveDatabaseQueryData, SaveDatabaseQueryErrors, SaveDatabaseQueryResponses, SaveDocumentHandlerData, SaveDocumentHandlerErrors, SaveDocumentHandlerResponses, SearchContactsData, SearchContactsErrors, SearchContactsResponses, SetChannelLabelData, SetChannelLabelErrors, SetChannelLabelResponses, SetChannelPictureData, SetChannelPictureErrors, SetChannelPictureResponses, SetCompanyHiddenData, SetCompanyHiddenErrors, SetCompanyHiddenResponses, SetContactHiddenData, SetContactHiddenErrors, SetContactHiddenResponses, SetCrmCompanyNameData, SetCrmCompanyNameErrors, SetCrmCompanyNameResponses, SetCrmContactNameData, SetCrmContactNameErrors, SetCrmContactNameResponses, SetDocumentTeamShareData, SetDocumentTeamShareErrors, SetDocumentTeamShareResponses, SetEmailFollowupData, SetEmailFollowupErrors, SetEmailFollowupResponses, SetEmailSyncData, SetEmailSyncErrors, SetEmailSyncResponses, ShareCrmPipelineData, ShareCrmPipelineResponses, ShareDatabaseAwarenessData, ShareDatabaseAwarenessErrors, ShareDatabaseAwarenessResponses, SimpleSaveData, SimpleSaveErrors, SimpleSaveResponses, StreamEventsData, StreamEventsErrors, StreamEventsResponse, StreamEventsResponses, SubmitFormResponseData, SubmitFormResponseErrors, SubmitFormResponseResponses, ToggleShareWithTeamData, ToggleShareWithTeamErrors, ToggleShareWithTeamResponses, TranscribeDictationData, TranscribeDictationErrors, TranscribeDictationResponses, TrashCrmPipelineData, TrashCrmPipelineResponses, UndoDatabaseChangeData, UndoDatabaseChangeErrors, UndoDatabaseChangeResponses, UpdateAgentData, UpdateAgentErrors, UpdateAgentResponses, UpdateDatabasePermissionsData, UpdateDatabasePermissionsErrors, UpdateDatabasePermissionsResponses, UpdateFormData, UpdateFormErrors, UpdateFormPermissionsData, UpdateFormPermissionsErrors, UpdateFormPermissionsResponses, UpdateFormResponses, UpdateInitiativeData, UpdateInitiativeErrors, UpdateInitiativeResponses, UploadExtractFolderHandlerData, UploadExtractFolderHandlerErrors, UploadExtractFolderHandlerResponses, UploadFolderHandlerData, UploadFolderHandlerErrors, UploadFolderHandlerResponses, UpsertHistoryHandlerData, UpsertHistoryHandlerErrors, UpsertHistoryHandlerResponses, UpsertUserDocumentViewLocationData, UpsertUserDocumentViewLocationErrors, UpsertUserDocumentViewLocationResponses, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookErrors, ValidateWebhookResponses } from './types.gen';
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
/**
@@ -427,6 +427,18 @@ export class Sdk extends HeyApiClient {
});
}
+ /**
+ * Handler for `POST /call/record/{call_id}/decline`.
+ *
+ * Declines the identified active call for the caller without joining it.
+ * Bound to `call_id` so a stale incoming-call UI cannot decline a newer call
+ * that replaced it in the same channel. The caller's other devices are told
+ * to stop ringing (`call_declined`); the call continues for everyone else.
+ */
+ public declineCall<ThrowOnError extends boolean = false>(options: Options<DeclineCallData, ThrowOnError>): RequestResult<DeclineCallResponses, DeclineCallErrors, ThrowOnError> {
+ return (options.client ?? this.client).post<DeclineCallResponses, DeclineCallErrors, ThrowOnError>({ url: '/call/record/{call_id}/decline', ...options });
+ }
+
/**
* Handle `POST /call/record/{call_id}/link` through the call domain service.
*/
@@ -479,6 +491,19 @@ export class Sdk extends HeyApiClient {
return (options.client ?? this.client).get<GetRingStatusResponses, GetRingStatusErrors, ThrowOnError>({ url: '/call/ring-status/{call_id}', ...options });
}
+ /**
+ * Handler for `POST /call/ring-status/{call_id}/decline`.
+ *
+ * Declines a ringing call from a native client, e.g. the iPhone lock-screen
+ * decline button, so the user's other devices stop ringing. Authorized like
+ * [`ring_status_handler`]: the bearer credential is the recipient's LiveKit
+ * JWT from the VoIP push payload, which identifies both the room and the
+ * declining user.
+ */
+ public declineRing<ThrowOnError extends boolean = false>(options: Options<DeclineRingData, ThrowOnError>): RequestResult<DeclineRingResponses, DeclineRingErrors, ThrowOnError> {
+ return (options.client ?? this.client).post<DeclineRingResponses, DeclineRingErrors, ThrowOnError>({ url: '/call/ring-status/{call_id}/decline', ...options });
+ }
+
/**
* Handler for `POST /call/webhook`.
*
diff --git a/packages/sdk/generated/storage/types.gen.ts b/packages/sdk/generated/storage/types.gen.ts
index 031da37b0f..f2d5ee43f6 100644
--- a/packages/sdk/generated/storage/types.gen.ts
+++ b/packages/sdk/generated/storage/types.gen.ts
@@ -1920,6 +1920,12 @@ export type CallRecord = {
*/
transcript: Array<CallRecordTranscriptSegment>;
userAccessLevel?: null | AccessLevel;
+ /**
+ * Whether the authenticated viewer has declined this call on any device.
+ * Set on the single-record read so clients that missed `call_declined`
+ * can still stop ringing via reconciliation; `false` in list contexts.
+ */
+ viewerHasDeclined?: boolean;
};
/**
@@ -10568,7 +10574,7 @@ export type ResponseSummary = {
* Per-user status of an incoming-call ring, as reported by the
* ring-status endpoint while a native client is ringing.
*/
-export type RingStatus = 'ringing' | 'answered' | 'ended';
+export type RingStatus = 'ringing' | 'answered' | 'declined' | 'ended';
/**
* Response body for `GET /call/ring-status/{call_id}`.
@@ -15519,6 +15525,38 @@ export type EditCallRecordResponses = {
export type EditCallRecordResponse = EditCallRecordResponses[keyof EditCallRecordResponses];
+export type DeclineCallData = {
+ body?: never;
+ path: {
+ /**
+ * Call ID
+ */
+ call_id: string;
+ };
+ query?: never;
+ url: '/call/record/{call_id}/decline';
+};
+
+export type DeclineCallErrors = {
+ 401: ErrorResponse;
+ /**
+ * The call is no longer active
+ */
+ 404: ErrorResponse;
+ 500: ErrorResponse;
+};
+
+export type DeclineCallError = DeclineCallErrors[keyof DeclineCallErrors];
+
+export type DeclineCallResponses = {
+ /**
+ * Decline recorded
+ */
+ 204: void;
+};
+
+export type DeclineCallResponse = DeclineCallResponses[keyof DeclineCallResponses];
+
export type MeetingShareData = {
body?: never;
path: {
@@ -15634,6 +15672,41 @@ export type GetRingStatusResponses = {
export type GetRingStatusResponse = GetRingStatusResponses[keyof GetRingStatusResponses];
+export type DeclineRingData = {
+ body?: never;
+ path: {
+ /**
+ * Call ID
+ */
+ call_id: string;
+ };
+ query?: never;
+ url: '/call/ring-status/{call_id}/decline';
+};
+
+export type DeclineRingErrors = {
+ /**
+ * Missing or invalid bearer token
+ */
+ 401: ErrorResponse;
+ /**
+ * The call is no longer ringing
+ */
+ 404: ErrorResponse;
+ 500: ErrorResponse;
+};
+
+export type DeclineRingError = DeclineRingErrors[keyof DeclineRingErrors];
+
+export type DeclineRingResponses = {
+ /**
+ * Decline recorded
+ */
+ 204: void;
+};
+
+export type DeclineRingResponse = DeclineRingResponses[keyof DeclineRingResponses];
+
export type CallWebhookData = {
body?: never;
path?: never;
diff --git a/packages/sdk/specs/storage.json b/packages/sdk/specs/storage.json
index 512fe2b3a8..733b898731 100644
--- a/packages/sdk/specs/storage.json
+++ b/packages/sdk/specs/storage.json
@@ -2148,6 +2148,61 @@
}
}
},
+ "/call/record/{call_id}/decline": {
+ "post": {
+ "tags": ["call::inbound::axum_router"],
+ "summary": "Handler for `POST /call/record/{call_id}/decline`.",
+ "description": "Declines the identified active call for the caller without joining it.\nBound to `call_id` so a stale incoming-call UI cannot decline a newer call\nthat replaced it in the same channel. The caller's other devices are told\nto stop ringing (`call_declined`); the call continues for everyone else.",
+ "operationId": "decline_call",
+ "parameters": [
+ {
+ "name": "call_id",
+ "in": "path",
+ "description": "Call ID",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Decline recorded"
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "The call is no longer active",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/call/record/{call_id}/link": {
"post": {
"tags": ["call::inbound::axum_router::meetings"],
@@ -2417,6 +2472,61 @@
}
}
},
+ "/call/ring-status/{call_id}/decline": {
+ "post": {
+ "tags": ["call::inbound::axum_router"],
+ "summary": "Handler for `POST /call/ring-status/{call_id}/decline`.",
+ "description": "Declines a ringing call from a native client, e.g. the iPhone lock-screen\ndecline button, so the user's other devices stop ringing. Authorized like\n[`ring_status_handler`]: the bearer credential is the recipient's LiveKit\nJWT from the VoIP push payload, which identifies both the room and the\ndeclining user.",
+ "operationId": "decline_ring",
+ "parameters": [
+ {
+ "name": "call_id",
+ "in": "path",
+ "description": "Call ID",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Decline recorded"
+ },
+ "401": {
+ "description": "Missing or invalid bearer token",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "The call is no longer ringing",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/call/webhook": {
"post": {
"tags": ["call::inbound::axum_router"],
@@ -20122,6 +20232,10 @@
"description": "The caller's effective access level on this call. Set only on the\nsingle-record read; `None` in list contexts."
}
]
+ },
+ "viewerHasDeclined": {
+ "type": "boolean",
+ "description": "Whether the authenticated viewer has declined this call on any device.\nSet on the single-record read so clients that missed `call_declined`\ncan still stop ringing via reconciliation; `false` in list contexts."
}
}
},
@@ -34134,7 +34248,7 @@
"RingStatus": {
"type": "string",
"description": "Per-user status of an incoming-call ring, as reported by the\nring-status endpoint while a native client is ringing.",
- "enum": ["ringing", "answered", "ended"]
+ "enum": ["ringing", "answered", "declined", "ended"]
},
"RingStatusResponse": {
"type": "object",
diff --git a/packages/sdk/src/coverage/skipped.ts b/packages/sdk/src/coverage/skipped.ts
index 5770887f68..4d2af6a84b 100644
--- a/packages/sdk/src/coverage/skipped.ts
+++ b/packages/sdk/src/coverage/skipped.ts
@@ -322,6 +322,9 @@ export const storageExcluded = [
'createCollabSurfaceToken',
'createInstructionsHandler',
'createViewHandler',
+ // Declining a ringing call is a live-device session flow, like leaving.
+ 'declineCall',
+ 'declineRing',
'deleteCollabSurface',
'ensureCollabSurface',
// First-run sample content is provisioned by the app's feature-gated onboarding.
diff --git a/services/document_storage_service/src/api/swagger.rs b/services/document_storage_service/src/api/swagger.rs
index c51dc72c13..8ef5e70130 100644
--- a/services/document_storage_service/src/api/swagger.rs
+++ b/services/document_storage_service/src/api/swagger.rs
@@ -372,6 +372,7 @@ use utoipa::OpenApi;
call::inbound::axum_router::check_active_call_handler,
call::inbound::axum_router::get_active_calls_handler,
call::inbound::axum_router::leave_or_end_call_handler,
+ call::inbound::axum_router::decline_call_handler,
call::inbound::axum_router::get_call_record_handler,
call::inbound::axum_router::edit_call_record_handler,
call::inbound::axum_router::edit_call_transcript_handler,
@@ -387,6 +388,7 @@ use utoipa::OpenApi;
webhook::inbound::axum_router::validate_webhook,
webhook::inbound::stream_router::stream_events,
call::inbound::axum_router::ring_status_handler,
+ call::inbound::axum_router::decline_ring_handler,
call::inbound::axum_router::transcript_handler,
// pins