@gravity-rail/sdk 0.47.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +117 -9
- package/dist/agui.cjs +17 -2
- package/dist/agui.cjs.map +1 -1
- package/dist/agui.d.cts +9 -1
- package/dist/agui.d.ts +9 -1
- package/dist/agui.js +15 -1
- package/dist/agui.js.map +1 -1
- package/dist/{chat-interaction-Bqj3Vbst.d.cts → chat-interaction-CmGKKlnL.d.ts} +244 -37
- package/dist/{chat-interaction-DiZVtDRE.d.ts → chat-interaction-THDGF4ko.d.cts} +244 -37
- package/dist/{chunk-72SWNLVD.js → chunk-MMDSZ25F.js} +1 -1
- package/dist/chunk-MMDSZ25F.js.map +1 -0
- package/dist/{chunk-N4GQWNGU.js → chunk-QRZVXPR4.js} +204 -50
- package/dist/chunk-QRZVXPR4.js.map +1 -0
- package/dist/{chunk-67QXTQVL.js → chunk-TGL72KPS.js} +59 -118
- package/dist/chunk-TGL72KPS.js.map +1 -0
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +4 -4
- package/dist/helpers.d.ts +4 -4
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +262 -164
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +262 -164
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +148 -6
- package/dist/internal.d.ts +148 -6
- package/dist/internal.js +9 -3
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-D7U4kDIy.d.cts → member-import-9zHkUjcn.d.cts} +1 -1
- package/dist/{member-import-C2Xt_o5d.d.ts → member-import-ocJ_K474.d.ts} +1 -1
- package/dist/{revision-state-ZC4qP3CS.d.cts → path-BQgkft9c.d.ts} +64 -3
- package/dist/{revision-state-DaVz2528.d.ts → path-DZbDwvpS.d.cts} +64 -3
- package/dist/schemas.cjs +59 -16
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +22 -3
- package/dist/schemas.d.ts +22 -3
- package/dist/schemas.js +59 -17
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-Ca6yfsj2.d.cts → tasks-DsNsbco5.d.cts} +66 -14
- package/dist/{tasks-Ca6yfsj2.d.ts → tasks-DsNsbco5.d.ts} +66 -14
- package/package.json +2 -2
- package/dist/chunk-67QXTQVL.js.map +0 -1
- package/dist/chunk-72SWNLVD.js.map +0 -1
- package/dist/chunk-N4GQWNGU.js.map +0 -1
|
@@ -313,6 +313,8 @@ interface SchemaField {
|
|
|
313
313
|
options?: EnumOption$1[] | null;
|
|
314
314
|
/** Referenced DataType ID for reference fields */
|
|
315
315
|
referencedTypeId?: number | null;
|
|
316
|
+
/** Server-issued reference field identity; preserve on schema round trips */
|
|
317
|
+
referenceFieldId?: number | null;
|
|
316
318
|
/** Whether to index this field */
|
|
317
319
|
shouldIndex?: boolean;
|
|
318
320
|
/** Whether only admins can see this field */
|
|
@@ -351,6 +353,7 @@ declare const SchemaFieldFieldType: {
|
|
|
351
353
|
readonly array: "array";
|
|
352
354
|
readonly object: "object";
|
|
353
355
|
readonly function: "function";
|
|
356
|
+
readonly reference: "reference";
|
|
354
357
|
};
|
|
355
358
|
/**
|
|
356
359
|
* Disclosure severity for audit and access policy
|
|
@@ -488,7 +491,6 @@ interface AdminAccountResponse {
|
|
|
488
491
|
stripeCustomerId: string | null;
|
|
489
492
|
locale: string | null;
|
|
490
493
|
timezone: string | null;
|
|
491
|
-
workspaceUuids: string[];
|
|
492
494
|
customers?: AccountCustomerRef[];
|
|
493
495
|
pendingDeletion?: boolean;
|
|
494
496
|
deletionRequestedAt?: string | null;
|
|
@@ -2972,6 +2974,17 @@ interface AssistantMessageActionParams {
|
|
|
2972
2974
|
* JSON lacks the new key.
|
|
2973
2975
|
*/
|
|
2974
2976
|
waitForResponse?: boolean;
|
|
2977
|
+
/**
|
|
2978
|
+
* Barge-in control for a line that must be heard in full. When false, a
|
|
2979
|
+
* native realtime provider with a canned-speech primitive (xAI
|
|
2980
|
+
* `force_message`) drops caller audio until the line finishes, so the
|
|
2981
|
+
* caller cannot talk over it. Defaults to true — a caller can barge in on
|
|
2982
|
+
* canned speech. Independent of `waitForResponse` (turn ownership vs
|
|
2983
|
+
* barge-in): do not derive one from the other. Only a native canned-speech
|
|
2984
|
+
* provider can honour it; other render paths warn rather than silently
|
|
2985
|
+
* deliver an interruptible line.
|
|
2986
|
+
*/
|
|
2987
|
+
allowInterrupt?: boolean;
|
|
2975
2988
|
}
|
|
2976
2989
|
/** Another field of the same Form, set by the same `form:update_field` write. */
|
|
2977
2990
|
interface FormFieldUpdateAdditionalField {
|
|
@@ -3513,7 +3526,9 @@ interface OIDCAdminConfigInput {
|
|
|
3513
3526
|
postLogoutRedirectUris?: string[] | null;
|
|
3514
3527
|
}
|
|
3515
3528
|
/**
|
|
3516
|
-
*
|
|
3529
|
+
* Legacy workspace summary shape.
|
|
3530
|
+
* @deprecated Organization details no longer embed workspace collections.
|
|
3531
|
+
* Use getOrganizationWorkspaceSummaries for a paginated workspace directory.
|
|
3517
3532
|
*/
|
|
3518
3533
|
interface MemberWorkspaceInfo {
|
|
3519
3534
|
uuid: string;
|
|
@@ -3522,7 +3537,7 @@ interface MemberWorkspaceInfo {
|
|
|
3522
3537
|
}
|
|
3523
3538
|
/**
|
|
3524
3539
|
* Organization info for non-admin members
|
|
3525
|
-
* Shows basic
|
|
3540
|
+
* Shows basic organization information and the member's role.
|
|
3526
3541
|
*/
|
|
3527
3542
|
interface MemberOrgView {
|
|
3528
3543
|
viewType: 'member';
|
|
@@ -3532,7 +3547,6 @@ interface MemberOrgView {
|
|
|
3532
3547
|
slug: string | null;
|
|
3533
3548
|
logoUrl: string | null;
|
|
3534
3549
|
role: string;
|
|
3535
|
-
workspaces: MemberWorkspaceInfo[];
|
|
3536
3550
|
}
|
|
3537
3551
|
interface CreateOrganizationRequest {
|
|
3538
3552
|
name: string;
|
|
@@ -5524,6 +5538,8 @@ interface DataField {
|
|
|
5524
5538
|
fieldType: DataFieldType;
|
|
5525
5539
|
options?: EnumOption[];
|
|
5526
5540
|
referencedTypeId?: number;
|
|
5541
|
+
/** Server-issued reference definition identity. */
|
|
5542
|
+
referenceFieldId?: number;
|
|
5527
5543
|
shouldIndex?: boolean;
|
|
5528
5544
|
indexStatus?: IndexStatus;
|
|
5529
5545
|
adminOnly?: boolean;
|
|
@@ -5915,12 +5931,20 @@ type UpdateInquiryInput = z.infer<typeof UpdateInquirySchema>;
|
|
|
5915
5931
|
type EnrichInquiryInput = z.infer<typeof EnrichInquirySchema>;
|
|
5916
5932
|
type DeleteInquiryInput = z.infer<typeof DeleteInquirySchema>;
|
|
5917
5933
|
|
|
5934
|
+
declare const OutcomeTaskRoutingSchema: z.ZodObject<{
|
|
5935
|
+
kind: z.ZodLiteral<"outcome">;
|
|
5936
|
+
outcome: z.ZodString;
|
|
5937
|
+
}, z.core.$strip>;
|
|
5918
5938
|
declare const ChildTaskFormDataSchema: z.ZodObject<{
|
|
5919
5939
|
taskId: z.ZodNumber;
|
|
5920
5940
|
choicePrompt: z.ZodOptional<z.ZodString>;
|
|
5921
5941
|
autoNext: z.ZodOptional<z.ZodBoolean>;
|
|
5922
5942
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5923
5943
|
celCondition: z.ZodOptional<z.ZodString>;
|
|
5944
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5945
|
+
kind: z.ZodLiteral<"outcome">;
|
|
5946
|
+
outcome: z.ZodString;
|
|
5947
|
+
}, z.core.$strip>>>;
|
|
5924
5948
|
}, z.core.$strip>;
|
|
5925
5949
|
declare const AbilityDataSchema: z.ZodObject<{
|
|
5926
5950
|
uuid: z.ZodString;
|
|
@@ -5940,7 +5964,19 @@ declare const TaskFormDataSchema: z.ZodObject<{
|
|
|
5940
5964
|
autoNext: z.ZodOptional<z.ZodBoolean>;
|
|
5941
5965
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5942
5966
|
celCondition: z.ZodOptional<z.ZodString>;
|
|
5967
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5968
|
+
kind: z.ZodLiteral<"outcome">;
|
|
5969
|
+
outcome: z.ZodString;
|
|
5970
|
+
}, z.core.$strip>>>;
|
|
5943
5971
|
}, z.core.$strip>>>;
|
|
5972
|
+
insertBetween: z.ZodOptional<z.ZodObject<{
|
|
5973
|
+
parentTaskId: z.ZodNumber;
|
|
5974
|
+
childTaskId: z.ZodNumber;
|
|
5975
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5976
|
+
kind: z.ZodLiteral<"outcome">;
|
|
5977
|
+
outcome: z.ZodString;
|
|
5978
|
+
}, z.core.$strip>>>;
|
|
5979
|
+
}, z.core.$strip>>;
|
|
5944
5980
|
workflowId: z.ZodNumber;
|
|
5945
5981
|
celGuard: z.ZodOptional<z.ZodString>;
|
|
5946
5982
|
abilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5972,7 +6008,19 @@ declare const CreateTaskSchema: z.ZodObject<{
|
|
|
5972
6008
|
autoNext: z.ZodOptional<z.ZodBoolean>;
|
|
5973
6009
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5974
6010
|
celCondition: z.ZodOptional<z.ZodString>;
|
|
6011
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6012
|
+
kind: z.ZodLiteral<"outcome">;
|
|
6013
|
+
outcome: z.ZodString;
|
|
6014
|
+
}, z.core.$strip>>>;
|
|
5975
6015
|
}, z.core.$strip>>>;
|
|
6016
|
+
insertBetween: z.ZodOptional<z.ZodObject<{
|
|
6017
|
+
parentTaskId: z.ZodNumber;
|
|
6018
|
+
childTaskId: z.ZodNumber;
|
|
6019
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6020
|
+
kind: z.ZodLiteral<"outcome">;
|
|
6021
|
+
outcome: z.ZodString;
|
|
6022
|
+
}, z.core.$strip>>>;
|
|
6023
|
+
}, z.core.$strip>>;
|
|
5976
6024
|
workflowId: z.ZodNumber;
|
|
5977
6025
|
celGuard: z.ZodOptional<z.ZodString>;
|
|
5978
6026
|
abilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5986,9 +6034,17 @@ declare const CreateTaskSchema: z.ZodObject<{
|
|
|
5986
6034
|
declare const UpdateTaskSchema: z.ZodObject<{
|
|
5987
6035
|
wid: z.ZodString;
|
|
5988
6036
|
taskId: z.ZodNumber;
|
|
5989
|
-
|
|
6037
|
+
workflowId: z.ZodOptional<z.ZodNumber>;
|
|
5990
6038
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6039
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5991
6040
|
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6041
|
+
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6042
|
+
uuid: z.ZodString;
|
|
6043
|
+
abilityType: z.ZodString;
|
|
6044
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6045
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6046
|
+
celCondition: z.ZodOptional<z.ZodString>;
|
|
6047
|
+
}, z.core.$strip>>>>;
|
|
5992
6048
|
isAdmin: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5993
6049
|
childTasks: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5994
6050
|
taskId: z.ZodNumber;
|
|
@@ -5996,16 +6052,12 @@ declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
5996
6052
|
autoNext: z.ZodOptional<z.ZodBoolean>;
|
|
5997
6053
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5998
6054
|
celCondition: z.ZodOptional<z.ZodString>;
|
|
6055
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6056
|
+
kind: z.ZodLiteral<"outcome">;
|
|
6057
|
+
outcome: z.ZodString;
|
|
6058
|
+
}, z.core.$strip>>>;
|
|
5999
6059
|
}, z.core.$strip>>>>;
|
|
6000
|
-
workflowId: z.ZodOptional<z.ZodNumber>;
|
|
6001
6060
|
celGuard: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6002
|
-
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6003
|
-
uuid: z.ZodString;
|
|
6004
|
-
abilityType: z.ZodString;
|
|
6005
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6006
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6007
|
-
celCondition: z.ZodOptional<z.ZodString>;
|
|
6008
|
-
}, z.core.$strip>>>>;
|
|
6009
6061
|
}, z.core.$strip>;
|
|
6010
6062
|
declare const DeleteTaskSchema: z.ZodObject<{
|
|
6011
6063
|
wid: z.ZodString;
|
|
@@ -6030,4 +6082,4 @@ type DeleteTaskInput = z.infer<typeof DeleteTaskSchema>;
|
|
|
6030
6082
|
type ArchiveTaskInput = z.infer<typeof ArchiveTaskSchema>;
|
|
6031
6083
|
type UnarchiveTaskInput = z.infer<typeof UnarchiveTaskSchema>;
|
|
6032
6084
|
|
|
6033
|
-
export { type BusinessProfileSubmitResponse as $, AccessLevel as A, type AttendeeResponse as B, AttendeeResponseStatus as C, DataFieldType as D, EventRuleEventType as E, AttendeeStatus as F, type AuthorizedRep as G, type AvailabilityCheck as H, type AvailabilityResponse as I, type AvailableSlotsRequest as J, type AvailableSlotsResponse as K, type BaseChatModelConfig as L, type BaseRealtimeModelConfig as M, type BotSortField as N, type BulkCreateDataRecordRequest as O, type BulkCreateDataRecordResponse as P, type QueryPredicate as Q, type BulkCreateMembersRequest as R, type SchemaField as S, type BulkCreateMembersResponse as T, type BulkMemberItem as U, type BulkMemberResult as V, BulkMemberResultStatus as W, type BulkRecordResult as X, BusinessIndustry as Y, type BusinessInfo as Z, type BusinessProfileCancelResponse as _, EventRuleActionType as a, type DataRecordRetirementResponse as a$, BusinessType as a0, type Calendar as a1, type EventResponse as a2, type CalendarEventFormData as a3, type CalendarEventSortField as a4, CalendarEventStatus as a5, type EventTypeResponse as a6, type CalendarEventTypeFormData as a7, type CalendarEventsQueryParams as a8, type CalendarFormData as a9, type CreateDataRecordFilterRequest as aA, type CreateOrganizationRequest as aB, type CreateRoutineRequest as aC, type CreateSignupResponse as aD, type CreateWorkspaceMemberRequest as aE, type CredentialChangeInviteConfirmResponse as aF, type CredentialChangeInviteDetailsResponse as aG, type CredentialChangeInviteResponse as aH, type CredentialChangeRequestResponse as aI, type CredentialChangeVerifyResponse as aJ, type CredentialType as aK, type CurrentMemberResponse as aL, type CurrentOrgMember as aM, type CursorPaginatedResponse as aN, type CustomRealtimeModelConfig as aO, DEFAULT_THINKING_SPEECH_PHRASES as aP, DataCategory as aQ, type DataField as aR, type DataIntegrityReportItem as aS, type DataRecordResponse as aT, type DataRecordAssociationFormData as aU, type DataRecordFieldWarning as aV, type DataRecordFilterResponse as aW, type DataRecordFilterFormData as aX, type DataRecordFilterWithQuery as aY, type DataRecordFormData as aZ, type DataRecordReportItem as a_, CalendarPermissionType as aa, type CalendarResponse as ab, type CalendarSchedule as ac, CalendarScheduleAvailabilityType as ad, type CalendarScheduleFormData as ae, CalendarScheduleRecurrence as af, type CalendarScheduleResponse as ag, CalendarSource as ah, type CancelCredentialChangeInviteResponse as ai, type CancelCredentialChangeResponse as aj, type CapabilityRequirementFinding as ak, type CapabilityStatus as al, type ChatContinueActionParams as am, type ChatCreateActionParams as an, type ChatModelConfig as ao, type ChatPauseActionParams as ap, type ChatSortField as aq, type ChatSummarizeActionParams as ar, type ClaudeChatModelConfig as as, type ClaudeReasoningEffort as at, type ConcludeAssignmentActionParams as au, type CreateAccountOrgMembershipRequest as av, type CreateAccountOrgMembershipResponse as aw, type CreateAgentRequest as ax, type CreateAnonymousMemberRequest as ay, type CreateCredentialChangeInviteRequest as az, type EventRuleInput as b, type LinkCalendarRequest as b$, DataRecordRetirementResponseReason as b0, type DataRecordUpdateResponse as b1, type DataRecordWithAccessMode as b2, type DataRecordsPaginatedResponse as b3, DataSensitivity as b4, type DataTypeResponse as b5, type DataTypeExportItem as b6, type DataTypeFormData as b7, DataTypeRecordScope as b8, type DataTypeSortField as b9, type GeminiThinkingLevel as bA, type GenerateRecoveryCodesRequest as bB, type BusinessProfileResponse as bC, type CalendarResponse$1 as bD, type CalendarScheduleResponse$1 as bE, type MemoryListResponse as bF, type MemoryResponse$1 as bG, type OrgDomainResponse as bH, type OwnershipDnsRecord as bI, type GoogleCalendarInfo as bJ, type GoogleCalendarInsufficientScopesResponse as bK, type GoogleCalendarStatusResponse as bL, type ICalFeedGrantSummary as bM, type ICalFeedTokenResponse as bN, type ICalFeedUrlResponse as bO, type IdentifiedMemberContactConflict as bP, type IdentityConflictPolicy as bQ, type ImportContactConflict as bR, ImportContactConflictField as bS, IndexStatus as bT, type IndexStatusResponse as bU, type InterruptionSound as bV, type InvokeCustomToolActionParams as bW, JobPosition as bX, type JourneyEnrollActionParams as bY, type JourneySortField as bZ, type LibModelsGlbResponsesOrganizationResponsesSSOConfigResponse as b_, type DeleteAccountOrgMembershipResponse as ba, type DetailedAccount as bb, type DuplicateAccountInfo as bc, type EcwRefreshMemberEncountersActionParams as bd, type EmailDisableImpactResponse as be, EmailDnsRecordType as bf, type EmailDomainConfigResponse as bg, type EmailSendActionParams as bh, type EmailVerificationResponse as bi, type EnumOption as bj, type ErrorResponse as bk, type EventActionMapping as bl, type EventActionMappingsResponse as bm, type EventRule as bn, type EventRuleExportItem as bo, type EventRuleFormData as bp, EventRuleObjectType as bq, type EventRuleResponse as br, type EventRunSortField as bs, type ExpireAnonymousMemberRequest as bt, type ExternalAttendeeData as bu, type FileSortField as bv, type FormFieldUpdateActionParams as bw, type FormFieldUpdateAdditionalField as bx, type GeminiChatModelConfig as by, type GeminiRealtimeModelConfig as bz, type AccountResponse as c, type MondayRefreshActionParams as c$, type LinkCalendarResponse as c0, type LoginRequest as c1, type LoginResponse as c2, type LogoUploadRequest as c3, type LogoUploadResponse as c4, MASKED_SECRET_SENTINEL as c5, type McpServerSortField as c6, type WorkspaceMemberResponse as c7, type MemberContactConflict as c8, type MemberContactField as c9, type MemberLabelFormData as cA, type MemberMemoriesResponse as cB, type MemberMessageActivity as cC, type MemberOrgView as cD, type MemberReportItem as cE, type MemberRoleResponse as cF, type MemberRoleFileAccessResponse as cG, type MemberRoleFolderAccessResponse as cH, type MemberRoleFormData as cI, type MemberRoleTaskAccess as cJ, type MemberSortField as cK, type MemberSummary as cL, type MemberSyncLink as cM, MemberType as cN, type MemberUpsertActionParams as cO, type MemberUpsertBehavior as cP, type MemberWorkspaceInfo as cQ, type MembersQueryParams as cR, type MemoryItem as cS, type MemoryResponse as cT, type MemoryType as cU, type MergeMembersRequest as cV, type MergeMembersResponse as cW, type MessageValidationActionParams as cX, type MissingMembershipItem as cY, type MondayColumnMapping as cZ, type MondayLookupType as c_, type MemberCredentialResponse as ca, type MemberFieldResponse as cb, type MemberFieldDefinitionResponse as cc, type MemberFieldDefinitionListResponse as cd, type MemberFieldListResponse as ce, type MemberFilterResponse as cf, type MemberFilterFormData as cg, type MemberFilterWithQuery as ch, type MemberFormData as ci, type MemberImportConflictInfo as cj, type MemberImportIdentitySnapshot as ck, type MemberImportIssue as cl, MemberImportIssueCode as cm, type MemberImportMatchInfo as cn, MemberImportMatchInfoMatchType as co, type MemberImportOptions as cp, type MemberImportPreviewResponse as cq, type MemberImportPreviewRow as cr, MemberImportPreviewRowAction as cs, type MemberImportPreviewSummary as ct, type MemberImportRunItemResponse as cu, type MemberImportRunSummaryResponse as cv, type MemberImportStreamConflict as cw, type MemberImportStreamEvent as cx, type MemberLabelResponse as cy, type MemberLabelActionParams as cz, type AccountContactConflict as d, type QueryNowValue as d$, type MondayRefreshColumnMapping as d0, type MondayUpsertItemActionParams as d1, type MondayUpsertMode as d2, type MultiMatchBehavior as d3, type NormalizeMemberRequest as d4, type NormalizeMemberResponse as d5, type OIDCAdminConfigView as d6, OIDCAdminConfigViewProviderType as d7, type ObjectPermission as d8, type ObjectPermissionFlags as d9, type PendingAnonymousMembersResponse as dA, type PendingCredentialChangeResponse as dB, type PendingCredentialChangeInviteResponse as dC, type PhoneCallActionParams as dD, type PlayAudioActionParams as dE, QUERY_VALUELESS_OPS as dF, type QualificationSortField as dG, type QueryAggregateOp as dH, type QueryAggregatePredicate as dI, type QueryAggregateSpec as dJ, type QueryAnd as dK, type QueryCompare as dL, type QueryComparisonOp as dM, type QueryCostInfo as dN, type QueryDataTypeInfo as dO, type QueryDayBoundaryValue as dP, type QueryDaysAgoValue as dQ, type QueryDaysFromNowValue as dR, type QueryEntityType as dS, type QueryEnumOption as dT, type QueryFieldInfo as dU, type QueryFieldsResponse as dV, type QueryGroupBy as dW, type QueryIR as dX, type QueryMatchAll as dY, type QueryMetric as dZ, type QueryNot as d_, type OpenAIChatModelConfig as da, type OpenAIRealtimeModelConfig as db, type OpenAIReasoningEffort as dc, type OpenAISemanticVADEagerness as dd, type OpenAISemanticVADTurnDetection as de, type OpenAIServerVADTurnDetection as df, type OpenAITurnDetection as dg, type OpenAITurnDetectionType as dh, type OrgMember as di, type OrgMemberListResponse as dj, type OrgMemberRole as dk, type OrganizationResponse as dl, type OwnershipVerificationResponse as dm, PERMISSION_ADMIN as dn, PERMISSION_CREATE as dp, PERMISSION_DELETE as dq, PERMISSION_EDIT as dr, PERMISSION_GEOLOCATE as ds, PERMISSION_LIST as dt, PERMISSION_LIST_ALL as du, PERMISSION_NONE as dv, PERMISSION_USE as dw, PERMISSION_VERIFY as dx, type PageSortField as dy, type PaginatedResponse as dz, type AccountFormData as e, type TTSModel as e$, type QueryOr as e0, type QueryRangeBound as e1, type QueryRangeValue as e2, type QueryRecordFieldInfo as e3, type QueryRecordMatch as e4, type QueryRecordSelection as e5, type QueryRelationMatch as e6, type QueryRunMode as e7, type QuerySavedFilterRef as e8, type QueryScalar as e9, type RuleExecutionsQueryParams as eA, type RunQueryRequest as eB, type RunQueryResponse as eC, type SendLoginCodeResponse as eD, type SSOConfigData as eE, type SSOConfigRequest as eF, type SSOProviderConfig as eG, type SchedulePreviewRequest as eH, type SchedulePreviewResponse as eI, Scope as eJ, type SendEmailVerificationRequest as eK, type SessionExchangeRequest as eL, type SessionExchangeResponse as eM, type SetupTOTPRequest as eN, type SetupWebAuthnRequest as eO, type SignupAccountResponse as eP, type SignupMemberResponse as eQ, type SiteDisableImpactResponse as eR, SiteDnsRecordType as eS, type SiteDomainConfigResponse as eT, type SiteSortField as eU, type SiteVerificationResponse as eV, type SmsSendActionParams as eW, type SortOrder as eX, type SwitchTaskActionParams as eY, type SyncCalendarResponse as eZ, type TOTPSetupResponse as e_, type QuerySortKey as ea, type QuerySubQueryRef as eb, type QueryTemporalValue as ec, type QueryValue as ed, type RealtimeModelConfig as ee, type RecoveryCodeResponse as ef, Region as eg, RegistrationIdentifier as eh, type RequestCredentialChangeRequest as ei, type RequestMagicLinkRequest as ej, type RequestMagicLinkResponse as ek, type ResolveAnonymousMemberRequest as el, type Routine as em, type RoutineConfigEventResponse as en, type RoutineResponse as eo, type RoutineRunResponse as ep, type RoutineRunStatus as eq, type RoutineRunsQueryParams as er, type RoutineScheduleMode as es, type RoutineSortField as et, type RoutineVisibility as eu, type RoutineVoiceReadinessPreviewRequest as ev, type RoutineVoiceReadinessPreviewResponse as ew, type RoutineVoiceReadinessWarningResponse as ex, type RoutinesQueryParams as ey, type RuleExecutionSortField as ez, type AccountLookupResponse as f, type CreateTaskInput as f$, type TTSPreviewProvider as f0, TTS_PREVIEW_PROVIDERS as f1, type TaskExportDataTypeRelation as f2, type TaskExportEventRuleRelation as f3, type TaskSortField as f4, type TestWebhookRequest as f5, type TestWebhookResponse as f6, type ThinkingSound as f7, type TimeSlot as f8, type TwoFactorMethod as f9, type WorkspaceMemberCountResponseActiveByType as fA, type WorkspaceSortField as fB, type XAIChatModelConfig as fC, type XAIRealtimeModelConfig as fD, type XAIRealtimeReasoningEffort as fE, type XAIReasoningEffort as fF, type XAIServerVADTurnDetection as fG, archivedMemberConflictId as fH, asIdentifiedMemberContactConflict as fI, canPreviewVoice as fJ, decodePermissions as fK, encodePermissions as fL, eventRuleActionParams as fM, getTTSProvider as fN, getVoiceModelId as fO, isAccountContactConflict as fP, isIdentifiedMemberContactConflict as fQ, isMemberContactConflict as fR, type AbilityData as fS, AbilityDataSchema as fT, AnonymousInquiryFormSchema as fU, type ArchiveTaskInput as fV, ArchiveTaskSchema as fW, type ChildTaskFormData as fX, ChildTaskFormDataSchema as fY, type CreateInquiryInput as fZ, CreateInquirySchema as f_, type TwoFactorOperationResponse as fa, type TwoFactorStatus as fb, type UnlinkCalendarResponse as fc, type UpdateAgentRequest as fd, type UpdateAttendeeRequest as fe, type UpdateDataRecordFilterRequest as ff, type UpdateEventRuleFormData as fg, type UpdateOrgMemberRequest as fh, type UpdateOrganizationRequest as fi, type UpdateRoutineRequest as fj, type UpdateTwoFactorMethodRequest as fk, type UpdateWorkspaceMemberRequest as fl, type ValidateMagicLinkRequest as fm, type ValidateMagicLinkResponse as fn, type ValidateQueryResponse as fo, type VerifyCodeRequest as fp, type VerifyCodeResponse as fq, type VerifyCredentialChangeRequest as fr, type VerifyEmailRequest as fs, type VerifyTOTPSetupRequest as ft, type VerifyWebAuthnSetupRequest as fu, type WebhookActionParams as fv, type WebhookLogSortField as fw, type WebhookLogsQueryParams as fx, type WorkflowSortField as fy, type WorkspaceMemberCountResponse as fz, type AccountReportItem as g, type SiteDnsRecord as g$, CreateTaskSchema as g0, type DeleteInquiryInput as g1, DeleteInquirySchema as g2, type DeleteTaskInput as g3, DeleteTaskSchema as g4, type EnrichInquiryInput as g5, EnrichInquirySchema as g6, type GetInquiryInput as g7, GetInquirySchema as g8, type GetTaskInput as g9, type AdminOrganizationResponse as gA, type AdminWorkspaceMemberFormData as gB, type ConsentRecordExport as gC, type DataExportResponse as gD, type DeletionCancelResponse as gE, type DeletionRequestResponse as gF, type TwoFactorMethodResponse$1 as gG, type TwoFactorStatusResponse$1 as gH, type MintedSessionFields as gI, type OIDCAdminConfigInput as gJ, type OrgMembershipExport as gK, type OrgScopedIdentityResponse as gL, type SessionDescription as gM, SessionKind as gN, type TwoFactorMethodResponse as gO, type TwoFactorMethodType as gP, type TwoFactorStatusResponse as gQ, type WebAuthnRegistrationResponse as gR, type WorkspaceMembershipExport as gS, type EnumOption$1 as gT, type EventRuleResponse$1 as gU, type AgentMemoryConfig$1 as gV, type EventRuleData as gW, EventRuleEventType$1 as gX, type OpenAIRealtimeModelConfig$1 as gY, type GeminiRealtimeModelConfig$1 as gZ, type XAIRealtimeModelConfig$1 as g_, GetTaskSchema as ga, type ListInquiriesInput as gb, ListInquiriesSchema as gc, type ListTasksInput as gd, ListTasksSchema as ge, type TaskFormData as gf, TaskFormDataSchema as gg, type UnarchiveTaskInput as gh, UnarchiveTaskSchema as gi, type UpdateInquiryInput as gj, UpdateInquiryRequestSchema as gk, UpdateInquirySchema as gl, type UpdateTaskInput as gm, UpdateTaskSchema as gn, DeclaredDataUse as go, type AccountCustomerRef as gp, type AccountDataExport as gq, type AccountExternalIdentityResponse as gr, type AccountIdentityResolutionResponse as gs, type AdminAccountResponse as gt, type AdminAccountFormData as gu, type AdminAccountMembership as gv, type AdminAccountMembershipResponse as gw, type AdminAccountOrgMembershipResponse as gx, type AdminCarrierLedgerEntryResponse as gy, type AdminOrganization as gz, type AccountSortField as h, type OrgDomainListResponse as h0, type EmailDnsRecord as h1, type EmailDomainConfigGetResponse as h2, type SiteDomainConfigGetResponse as h3, type OrgBillingCustomerResponse as h4, type AccountState as i, type Address as j, type AdminWorkspaceSortField as k, type AgentResponse as l, type AgentConfigResponse as m, type AgentConfigFormData as n, type AgentMemoryConfig as o, type AgentSortField as p, type AnonymousInteractionResponse as q, type AnonymousMemberResolutionResponse as r, type AnonymousMemberResolutionStatus as s, type ApiKeyResponse as t, type ApiKeyCreatedResponse as u, type ApiKeyFormData as v, type ApiKeyScope as w, type ApiKeyScopesResponse as x, type AssignmentSortField as y, type AssistantMessageActionParams as z };
|
|
6085
|
+
export { type BusinessProfileSubmitResponse as $, AccessLevel as A, type AttendeeResponse as B, AttendeeResponseStatus as C, DataFieldType as D, EventRuleEventType as E, AttendeeStatus as F, type AuthorizedRep as G, type AvailabilityCheck as H, type AvailabilityResponse as I, type AvailableSlotsRequest as J, type AvailableSlotsResponse as K, type BaseChatModelConfig as L, type BaseRealtimeModelConfig as M, type BotSortField as N, type BulkCreateDataRecordRequest as O, type BulkCreateDataRecordResponse as P, type QueryPredicate as Q, type BulkCreateMembersRequest as R, type SchemaField as S, type BulkCreateMembersResponse as T, type BulkMemberItem as U, type BulkMemberResult as V, BulkMemberResultStatus as W, type BulkRecordResult as X, BusinessIndustry as Y, type BusinessInfo as Z, type BusinessProfileCancelResponse as _, EventRuleActionType as a, type DataRecordRetirementResponse as a$, BusinessType as a0, type Calendar as a1, type EventResponse as a2, type CalendarEventFormData as a3, type CalendarEventSortField as a4, CalendarEventStatus as a5, type EventTypeResponse as a6, type CalendarEventTypeFormData as a7, type CalendarEventsQueryParams as a8, type CalendarFormData as a9, type CreateDataRecordFilterRequest as aA, type CreateOrganizationRequest as aB, type CreateRoutineRequest as aC, type CreateSignupResponse as aD, type CreateWorkspaceMemberRequest as aE, type CredentialChangeInviteConfirmResponse as aF, type CredentialChangeInviteDetailsResponse as aG, type CredentialChangeInviteResponse as aH, type CredentialChangeRequestResponse as aI, type CredentialChangeVerifyResponse as aJ, type CredentialType as aK, type CurrentMemberResponse as aL, type CurrentOrgMember as aM, type CursorPaginatedResponse as aN, type CustomRealtimeModelConfig as aO, DEFAULT_THINKING_SPEECH_PHRASES as aP, DataCategory as aQ, type DataField as aR, type DataIntegrityReportItem as aS, type DataRecordResponse as aT, type DataRecordAssociationFormData as aU, type DataRecordFieldWarning as aV, type DataRecordFilterResponse as aW, type DataRecordFilterFormData as aX, type DataRecordFilterWithQuery as aY, type DataRecordFormData as aZ, type DataRecordReportItem as a_, CalendarPermissionType as aa, type CalendarResponse as ab, type CalendarSchedule as ac, CalendarScheduleAvailabilityType as ad, type CalendarScheduleFormData as ae, CalendarScheduleRecurrence as af, type CalendarScheduleResponse as ag, CalendarSource as ah, type CancelCredentialChangeInviteResponse as ai, type CancelCredentialChangeResponse as aj, type CapabilityRequirementFinding as ak, type CapabilityStatus as al, type ChatContinueActionParams as am, type ChatCreateActionParams as an, type ChatModelConfig as ao, type ChatPauseActionParams as ap, type ChatSortField as aq, type ChatSummarizeActionParams as ar, type ClaudeChatModelConfig as as, type ClaudeReasoningEffort as at, type ConcludeAssignmentActionParams as au, type CreateAccountOrgMembershipRequest as av, type CreateAccountOrgMembershipResponse as aw, type CreateAgentRequest as ax, type CreateAnonymousMemberRequest as ay, type CreateCredentialChangeInviteRequest as az, type EventRuleInput as b, type LinkCalendarRequest as b$, DataRecordRetirementResponseReason as b0, type DataRecordUpdateResponse as b1, type DataRecordWithAccessMode as b2, type DataRecordsPaginatedResponse as b3, DataSensitivity as b4, type DataTypeResponse as b5, type DataTypeExportItem as b6, type DataTypeFormData as b7, DataTypeRecordScope as b8, type DataTypeSortField as b9, type GeminiThinkingLevel as bA, type GenerateRecoveryCodesRequest as bB, type BusinessProfileResponse as bC, type CalendarResponse$1 as bD, type CalendarScheduleResponse$1 as bE, type MemoryListResponse as bF, type MemoryResponse$1 as bG, type OrgDomainResponse as bH, type OwnershipDnsRecord as bI, type GoogleCalendarInfo as bJ, type GoogleCalendarInsufficientScopesResponse as bK, type GoogleCalendarStatusResponse as bL, type ICalFeedGrantSummary as bM, type ICalFeedTokenResponse as bN, type ICalFeedUrlResponse as bO, type IdentifiedMemberContactConflict as bP, type IdentityConflictPolicy as bQ, type ImportContactConflict as bR, ImportContactConflictField as bS, IndexStatus as bT, type IndexStatusResponse as bU, type InterruptionSound as bV, type InvokeCustomToolActionParams as bW, JobPosition as bX, type JourneyEnrollActionParams as bY, type JourneySortField as bZ, type LibModelsGlbResponsesOrganizationResponsesSSOConfigResponse as b_, type DeleteAccountOrgMembershipResponse as ba, type DetailedAccount as bb, type DuplicateAccountInfo as bc, type EcwRefreshMemberEncountersActionParams as bd, type EmailDisableImpactResponse as be, EmailDnsRecordType as bf, type EmailDomainConfigResponse as bg, type EmailSendActionParams as bh, type EmailVerificationResponse as bi, type EnumOption as bj, type ErrorResponse as bk, type EventActionMapping as bl, type EventActionMappingsResponse as bm, type EventRule as bn, type EventRuleExportItem as bo, type EventRuleFormData as bp, EventRuleObjectType as bq, type EventRuleResponse as br, type EventRunSortField as bs, type ExpireAnonymousMemberRequest as bt, type ExternalAttendeeData as bu, type FileSortField as bv, type FormFieldUpdateActionParams as bw, type FormFieldUpdateAdditionalField as bx, type GeminiChatModelConfig as by, type GeminiRealtimeModelConfig as bz, type AccountResponse as c, type MondayRefreshActionParams as c$, type LinkCalendarResponse as c0, type LoginRequest as c1, type LoginResponse as c2, type LogoUploadRequest as c3, type LogoUploadResponse as c4, MASKED_SECRET_SENTINEL as c5, type McpServerSortField as c6, type WorkspaceMemberResponse as c7, type MemberContactConflict as c8, type MemberContactField as c9, type MemberLabelFormData as cA, type MemberMemoriesResponse as cB, type MemberMessageActivity as cC, type MemberOrgView as cD, type MemberReportItem as cE, type MemberRoleResponse as cF, type MemberRoleFileAccessResponse as cG, type MemberRoleFolderAccessResponse as cH, type MemberRoleFormData as cI, type MemberRoleTaskAccess as cJ, type MemberSortField as cK, type MemberSummary as cL, type MemberSyncLink as cM, MemberType as cN, type MemberUpsertActionParams as cO, type MemberUpsertBehavior as cP, type MemberWorkspaceInfo as cQ, type MembersQueryParams as cR, type MemoryItem as cS, type MemoryResponse as cT, type MemoryType as cU, type MergeMembersRequest as cV, type MergeMembersResponse as cW, type MessageValidationActionParams as cX, type MissingMembershipItem as cY, type MondayColumnMapping as cZ, type MondayLookupType as c_, type MemberCredentialResponse as ca, type MemberFieldResponse as cb, type MemberFieldDefinitionResponse as cc, type MemberFieldDefinitionListResponse as cd, type MemberFieldListResponse as ce, type MemberFilterResponse as cf, type MemberFilterFormData as cg, type MemberFilterWithQuery as ch, type MemberFormData as ci, type MemberImportConflictInfo as cj, type MemberImportIdentitySnapshot as ck, type MemberImportIssue as cl, MemberImportIssueCode as cm, type MemberImportMatchInfo as cn, MemberImportMatchInfoMatchType as co, type MemberImportOptions as cp, type MemberImportPreviewResponse as cq, type MemberImportPreviewRow as cr, MemberImportPreviewRowAction as cs, type MemberImportPreviewSummary as ct, type MemberImportRunItemResponse as cu, type MemberImportRunSummaryResponse as cv, type MemberImportStreamConflict as cw, type MemberImportStreamEvent as cx, type MemberLabelResponse as cy, type MemberLabelActionParams as cz, type AccountContactConflict as d, type QueryNowValue as d$, type MondayRefreshColumnMapping as d0, type MondayUpsertItemActionParams as d1, type MondayUpsertMode as d2, type MultiMatchBehavior as d3, type NormalizeMemberRequest as d4, type NormalizeMemberResponse as d5, type OIDCAdminConfigView as d6, OIDCAdminConfigViewProviderType as d7, type ObjectPermission as d8, type ObjectPermissionFlags as d9, type PendingAnonymousMembersResponse as dA, type PendingCredentialChangeResponse as dB, type PendingCredentialChangeInviteResponse as dC, type PhoneCallActionParams as dD, type PlayAudioActionParams as dE, QUERY_VALUELESS_OPS as dF, type QualificationSortField as dG, type QueryAggregateOp as dH, type QueryAggregatePredicate as dI, type QueryAggregateSpec as dJ, type QueryAnd as dK, type QueryCompare as dL, type QueryComparisonOp as dM, type QueryCostInfo as dN, type QueryDataTypeInfo as dO, type QueryDayBoundaryValue as dP, type QueryDaysAgoValue as dQ, type QueryDaysFromNowValue as dR, type QueryEntityType as dS, type QueryEnumOption as dT, type QueryFieldInfo as dU, type QueryFieldsResponse as dV, type QueryGroupBy as dW, type QueryIR as dX, type QueryMatchAll as dY, type QueryMetric as dZ, type QueryNot as d_, type OpenAIChatModelConfig as da, type OpenAIRealtimeModelConfig as db, type OpenAIReasoningEffort as dc, type OpenAISemanticVADEagerness as dd, type OpenAISemanticVADTurnDetection as de, type OpenAIServerVADTurnDetection as df, type OpenAITurnDetection as dg, type OpenAITurnDetectionType as dh, type OrgMember as di, type OrgMemberListResponse as dj, type OrgMemberRole as dk, type OrganizationResponse as dl, type OwnershipVerificationResponse as dm, PERMISSION_ADMIN as dn, PERMISSION_CREATE as dp, PERMISSION_DELETE as dq, PERMISSION_EDIT as dr, PERMISSION_GEOLOCATE as ds, PERMISSION_LIST as dt, PERMISSION_LIST_ALL as du, PERMISSION_NONE as dv, PERMISSION_USE as dw, PERMISSION_VERIFY as dx, type PageSortField as dy, type PaginatedResponse as dz, type AccountFormData as e, type TTSModel as e$, type QueryOr as e0, type QueryRangeBound as e1, type QueryRangeValue as e2, type QueryRecordFieldInfo as e3, type QueryRecordMatch as e4, type QueryRecordSelection as e5, type QueryRelationMatch as e6, type QueryRunMode as e7, type QuerySavedFilterRef as e8, type QueryScalar as e9, type RuleExecutionsQueryParams as eA, type RunQueryRequest as eB, type RunQueryResponse as eC, type SendLoginCodeResponse as eD, type SSOConfigData as eE, type SSOConfigRequest as eF, type SSOProviderConfig as eG, type SchedulePreviewRequest as eH, type SchedulePreviewResponse as eI, Scope as eJ, type SendEmailVerificationRequest as eK, type SessionExchangeRequest as eL, type SessionExchangeResponse as eM, type SetupTOTPRequest as eN, type SetupWebAuthnRequest as eO, type SignupAccountResponse as eP, type SignupMemberResponse as eQ, type SiteDisableImpactResponse as eR, SiteDnsRecordType as eS, type SiteDomainConfigResponse as eT, type SiteSortField as eU, type SiteVerificationResponse as eV, type SmsSendActionParams as eW, type SortOrder as eX, type SwitchTaskActionParams as eY, type SyncCalendarResponse as eZ, type TOTPSetupResponse as e_, type QuerySortKey as ea, type QuerySubQueryRef as eb, type QueryTemporalValue as ec, type QueryValue as ed, type RealtimeModelConfig as ee, type RecoveryCodeResponse as ef, Region as eg, RegistrationIdentifier as eh, type RequestCredentialChangeRequest as ei, type RequestMagicLinkRequest as ej, type RequestMagicLinkResponse as ek, type ResolveAnonymousMemberRequest as el, type Routine as em, type RoutineConfigEventResponse as en, type RoutineResponse as eo, type RoutineRunResponse as ep, type RoutineRunStatus as eq, type RoutineRunsQueryParams as er, type RoutineScheduleMode as es, type RoutineSortField as et, type RoutineVisibility as eu, type RoutineVoiceReadinessPreviewRequest as ev, type RoutineVoiceReadinessPreviewResponse as ew, type RoutineVoiceReadinessWarningResponse as ex, type RoutinesQueryParams as ey, type RuleExecutionSortField as ez, type AccountLookupResponse as f, type CreateTaskInput as f$, type TTSPreviewProvider as f0, TTS_PREVIEW_PROVIDERS as f1, type TaskExportDataTypeRelation as f2, type TaskExportEventRuleRelation as f3, type TaskSortField as f4, type TestWebhookRequest as f5, type TestWebhookResponse as f6, type ThinkingSound as f7, type TimeSlot as f8, type TwoFactorMethod as f9, type WorkspaceMemberCountResponseActiveByType as fA, type WorkspaceSortField as fB, type XAIChatModelConfig as fC, type XAIRealtimeModelConfig as fD, type XAIRealtimeReasoningEffort as fE, type XAIReasoningEffort as fF, type XAIServerVADTurnDetection as fG, archivedMemberConflictId as fH, asIdentifiedMemberContactConflict as fI, canPreviewVoice as fJ, decodePermissions as fK, encodePermissions as fL, eventRuleActionParams as fM, getTTSProvider as fN, getVoiceModelId as fO, isAccountContactConflict as fP, isIdentifiedMemberContactConflict as fQ, isMemberContactConflict as fR, type AbilityData as fS, AbilityDataSchema as fT, AnonymousInquiryFormSchema as fU, type ArchiveTaskInput as fV, ArchiveTaskSchema as fW, type ChildTaskFormData as fX, ChildTaskFormDataSchema as fY, type CreateInquiryInput as fZ, CreateInquirySchema as f_, type TwoFactorOperationResponse as fa, type TwoFactorStatus as fb, type UnlinkCalendarResponse as fc, type UpdateAgentRequest as fd, type UpdateAttendeeRequest as fe, type UpdateDataRecordFilterRequest as ff, type UpdateEventRuleFormData as fg, type UpdateOrgMemberRequest as fh, type UpdateOrganizationRequest as fi, type UpdateRoutineRequest as fj, type UpdateTwoFactorMethodRequest as fk, type UpdateWorkspaceMemberRequest as fl, type ValidateMagicLinkRequest as fm, type ValidateMagicLinkResponse as fn, type ValidateQueryResponse as fo, type VerifyCodeRequest as fp, type VerifyCodeResponse as fq, type VerifyCredentialChangeRequest as fr, type VerifyEmailRequest as fs, type VerifyTOTPSetupRequest as ft, type VerifyWebAuthnSetupRequest as fu, type WebhookActionParams as fv, type WebhookLogSortField as fw, type WebhookLogsQueryParams as fx, type WorkflowSortField as fy, type WorkspaceMemberCountResponse as fz, type AccountReportItem as g, type XAIRealtimeModelConfig$1 as g$, CreateTaskSchema as g0, type DeleteInquiryInput as g1, DeleteInquirySchema as g2, type DeleteTaskInput as g3, DeleteTaskSchema as g4, type EnrichInquiryInput as g5, EnrichInquirySchema as g6, type GetInquiryInput as g7, GetInquirySchema as g8, type GetTaskInput as g9, type AdminOrganization as gA, type AdminOrganizationResponse as gB, type AdminWorkspaceMemberFormData as gC, type ConsentRecordExport as gD, type DataExportResponse as gE, type DeletionCancelResponse as gF, type DeletionRequestResponse as gG, type TwoFactorMethodResponse$1 as gH, type TwoFactorStatusResponse$1 as gI, type MintedSessionFields as gJ, type OIDCAdminConfigInput as gK, type OrgMembershipExport as gL, type OrgScopedIdentityResponse as gM, type SessionDescription as gN, SessionKind as gO, type TwoFactorMethodResponse as gP, type TwoFactorMethodType as gQ, type TwoFactorStatusResponse as gR, type WebAuthnRegistrationResponse as gS, type WorkspaceMembershipExport as gT, type EnumOption$1 as gU, type EventRuleResponse$1 as gV, type AgentMemoryConfig$1 as gW, type EventRuleData as gX, EventRuleEventType$1 as gY, type OpenAIRealtimeModelConfig$1 as gZ, type GeminiRealtimeModelConfig$1 as g_, GetTaskSchema as ga, type ListInquiriesInput as gb, ListInquiriesSchema as gc, type ListTasksInput as gd, ListTasksSchema as ge, OutcomeTaskRoutingSchema as gf, type TaskFormData as gg, TaskFormDataSchema as gh, type UnarchiveTaskInput as gi, UnarchiveTaskSchema as gj, type UpdateInquiryInput as gk, UpdateInquiryRequestSchema as gl, UpdateInquirySchema as gm, type UpdateTaskInput as gn, UpdateTaskSchema as go, DeclaredDataUse as gp, type AccountCustomerRef as gq, type AccountDataExport as gr, type AccountExternalIdentityResponse as gs, type AccountIdentityResolutionResponse as gt, type AdminAccountResponse as gu, type AdminAccountFormData as gv, type AdminAccountMembership as gw, type AdminAccountMembershipResponse as gx, type AdminAccountOrgMembershipResponse as gy, type AdminCarrierLedgerEntryResponse as gz, type AccountSortField as h, type SiteDnsRecord as h0, type OrgDomainListResponse as h1, type EmailDnsRecord as h2, type EmailDomainConfigGetResponse as h3, type SiteDomainConfigGetResponse as h4, type OrgBillingCustomerResponse as h5, type AccountState as i, type Address as j, type AdminWorkspaceSortField as k, type AgentResponse as l, type AgentConfigResponse as m, type AgentConfigFormData as n, type AgentMemoryConfig as o, type AgentSortField as p, type AnonymousInteractionResponse as q, type AnonymousMemberResolutionResponse as r, type AnonymousMemberResolutionStatus as s, type ApiKeyResponse as t, type ApiKeyCreatedResponse as u, type ApiKeyFormData as v, type ApiKeyScope as w, type ApiKeyScopesResponse as x, type AssignmentSortField as y, type AssistantMessageActionParams as z };
|
|
@@ -313,6 +313,8 @@ interface SchemaField {
|
|
|
313
313
|
options?: EnumOption$1[] | null;
|
|
314
314
|
/** Referenced DataType ID for reference fields */
|
|
315
315
|
referencedTypeId?: number | null;
|
|
316
|
+
/** Server-issued reference field identity; preserve on schema round trips */
|
|
317
|
+
referenceFieldId?: number | null;
|
|
316
318
|
/** Whether to index this field */
|
|
317
319
|
shouldIndex?: boolean;
|
|
318
320
|
/** Whether only admins can see this field */
|
|
@@ -351,6 +353,7 @@ declare const SchemaFieldFieldType: {
|
|
|
351
353
|
readonly array: "array";
|
|
352
354
|
readonly object: "object";
|
|
353
355
|
readonly function: "function";
|
|
356
|
+
readonly reference: "reference";
|
|
354
357
|
};
|
|
355
358
|
/**
|
|
356
359
|
* Disclosure severity for audit and access policy
|
|
@@ -488,7 +491,6 @@ interface AdminAccountResponse {
|
|
|
488
491
|
stripeCustomerId: string | null;
|
|
489
492
|
locale: string | null;
|
|
490
493
|
timezone: string | null;
|
|
491
|
-
workspaceUuids: string[];
|
|
492
494
|
customers?: AccountCustomerRef[];
|
|
493
495
|
pendingDeletion?: boolean;
|
|
494
496
|
deletionRequestedAt?: string | null;
|
|
@@ -2972,6 +2974,17 @@ interface AssistantMessageActionParams {
|
|
|
2972
2974
|
* JSON lacks the new key.
|
|
2973
2975
|
*/
|
|
2974
2976
|
waitForResponse?: boolean;
|
|
2977
|
+
/**
|
|
2978
|
+
* Barge-in control for a line that must be heard in full. When false, a
|
|
2979
|
+
* native realtime provider with a canned-speech primitive (xAI
|
|
2980
|
+
* `force_message`) drops caller audio until the line finishes, so the
|
|
2981
|
+
* caller cannot talk over it. Defaults to true — a caller can barge in on
|
|
2982
|
+
* canned speech. Independent of `waitForResponse` (turn ownership vs
|
|
2983
|
+
* barge-in): do not derive one from the other. Only a native canned-speech
|
|
2984
|
+
* provider can honour it; other render paths warn rather than silently
|
|
2985
|
+
* deliver an interruptible line.
|
|
2986
|
+
*/
|
|
2987
|
+
allowInterrupt?: boolean;
|
|
2975
2988
|
}
|
|
2976
2989
|
/** Another field of the same Form, set by the same `form:update_field` write. */
|
|
2977
2990
|
interface FormFieldUpdateAdditionalField {
|
|
@@ -3513,7 +3526,9 @@ interface OIDCAdminConfigInput {
|
|
|
3513
3526
|
postLogoutRedirectUris?: string[] | null;
|
|
3514
3527
|
}
|
|
3515
3528
|
/**
|
|
3516
|
-
*
|
|
3529
|
+
* Legacy workspace summary shape.
|
|
3530
|
+
* @deprecated Organization details no longer embed workspace collections.
|
|
3531
|
+
* Use getOrganizationWorkspaceSummaries for a paginated workspace directory.
|
|
3517
3532
|
*/
|
|
3518
3533
|
interface MemberWorkspaceInfo {
|
|
3519
3534
|
uuid: string;
|
|
@@ -3522,7 +3537,7 @@ interface MemberWorkspaceInfo {
|
|
|
3522
3537
|
}
|
|
3523
3538
|
/**
|
|
3524
3539
|
* Organization info for non-admin members
|
|
3525
|
-
* Shows basic
|
|
3540
|
+
* Shows basic organization information and the member's role.
|
|
3526
3541
|
*/
|
|
3527
3542
|
interface MemberOrgView {
|
|
3528
3543
|
viewType: 'member';
|
|
@@ -3532,7 +3547,6 @@ interface MemberOrgView {
|
|
|
3532
3547
|
slug: string | null;
|
|
3533
3548
|
logoUrl: string | null;
|
|
3534
3549
|
role: string;
|
|
3535
|
-
workspaces: MemberWorkspaceInfo[];
|
|
3536
3550
|
}
|
|
3537
3551
|
interface CreateOrganizationRequest {
|
|
3538
3552
|
name: string;
|
|
@@ -5524,6 +5538,8 @@ interface DataField {
|
|
|
5524
5538
|
fieldType: DataFieldType;
|
|
5525
5539
|
options?: EnumOption[];
|
|
5526
5540
|
referencedTypeId?: number;
|
|
5541
|
+
/** Server-issued reference definition identity. */
|
|
5542
|
+
referenceFieldId?: number;
|
|
5527
5543
|
shouldIndex?: boolean;
|
|
5528
5544
|
indexStatus?: IndexStatus;
|
|
5529
5545
|
adminOnly?: boolean;
|
|
@@ -5915,12 +5931,20 @@ type UpdateInquiryInput = z.infer<typeof UpdateInquirySchema>;
|
|
|
5915
5931
|
type EnrichInquiryInput = z.infer<typeof EnrichInquirySchema>;
|
|
5916
5932
|
type DeleteInquiryInput = z.infer<typeof DeleteInquirySchema>;
|
|
5917
5933
|
|
|
5934
|
+
declare const OutcomeTaskRoutingSchema: z.ZodObject<{
|
|
5935
|
+
kind: z.ZodLiteral<"outcome">;
|
|
5936
|
+
outcome: z.ZodString;
|
|
5937
|
+
}, z.core.$strip>;
|
|
5918
5938
|
declare const ChildTaskFormDataSchema: z.ZodObject<{
|
|
5919
5939
|
taskId: z.ZodNumber;
|
|
5920
5940
|
choicePrompt: z.ZodOptional<z.ZodString>;
|
|
5921
5941
|
autoNext: z.ZodOptional<z.ZodBoolean>;
|
|
5922
5942
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5923
5943
|
celCondition: z.ZodOptional<z.ZodString>;
|
|
5944
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5945
|
+
kind: z.ZodLiteral<"outcome">;
|
|
5946
|
+
outcome: z.ZodString;
|
|
5947
|
+
}, z.core.$strip>>>;
|
|
5924
5948
|
}, z.core.$strip>;
|
|
5925
5949
|
declare const AbilityDataSchema: z.ZodObject<{
|
|
5926
5950
|
uuid: z.ZodString;
|
|
@@ -5940,7 +5964,19 @@ declare const TaskFormDataSchema: z.ZodObject<{
|
|
|
5940
5964
|
autoNext: z.ZodOptional<z.ZodBoolean>;
|
|
5941
5965
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5942
5966
|
celCondition: z.ZodOptional<z.ZodString>;
|
|
5967
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5968
|
+
kind: z.ZodLiteral<"outcome">;
|
|
5969
|
+
outcome: z.ZodString;
|
|
5970
|
+
}, z.core.$strip>>>;
|
|
5943
5971
|
}, z.core.$strip>>>;
|
|
5972
|
+
insertBetween: z.ZodOptional<z.ZodObject<{
|
|
5973
|
+
parentTaskId: z.ZodNumber;
|
|
5974
|
+
childTaskId: z.ZodNumber;
|
|
5975
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5976
|
+
kind: z.ZodLiteral<"outcome">;
|
|
5977
|
+
outcome: z.ZodString;
|
|
5978
|
+
}, z.core.$strip>>>;
|
|
5979
|
+
}, z.core.$strip>>;
|
|
5944
5980
|
workflowId: z.ZodNumber;
|
|
5945
5981
|
celGuard: z.ZodOptional<z.ZodString>;
|
|
5946
5982
|
abilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5972,7 +6008,19 @@ declare const CreateTaskSchema: z.ZodObject<{
|
|
|
5972
6008
|
autoNext: z.ZodOptional<z.ZodBoolean>;
|
|
5973
6009
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5974
6010
|
celCondition: z.ZodOptional<z.ZodString>;
|
|
6011
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6012
|
+
kind: z.ZodLiteral<"outcome">;
|
|
6013
|
+
outcome: z.ZodString;
|
|
6014
|
+
}, z.core.$strip>>>;
|
|
5975
6015
|
}, z.core.$strip>>>;
|
|
6016
|
+
insertBetween: z.ZodOptional<z.ZodObject<{
|
|
6017
|
+
parentTaskId: z.ZodNumber;
|
|
6018
|
+
childTaskId: z.ZodNumber;
|
|
6019
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6020
|
+
kind: z.ZodLiteral<"outcome">;
|
|
6021
|
+
outcome: z.ZodString;
|
|
6022
|
+
}, z.core.$strip>>>;
|
|
6023
|
+
}, z.core.$strip>>;
|
|
5976
6024
|
workflowId: z.ZodNumber;
|
|
5977
6025
|
celGuard: z.ZodOptional<z.ZodString>;
|
|
5978
6026
|
abilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5986,9 +6034,17 @@ declare const CreateTaskSchema: z.ZodObject<{
|
|
|
5986
6034
|
declare const UpdateTaskSchema: z.ZodObject<{
|
|
5987
6035
|
wid: z.ZodString;
|
|
5988
6036
|
taskId: z.ZodNumber;
|
|
5989
|
-
|
|
6037
|
+
workflowId: z.ZodOptional<z.ZodNumber>;
|
|
5990
6038
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6039
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5991
6040
|
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6041
|
+
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6042
|
+
uuid: z.ZodString;
|
|
6043
|
+
abilityType: z.ZodString;
|
|
6044
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6045
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6046
|
+
celCondition: z.ZodOptional<z.ZodString>;
|
|
6047
|
+
}, z.core.$strip>>>>;
|
|
5992
6048
|
isAdmin: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5993
6049
|
childTasks: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5994
6050
|
taskId: z.ZodNumber;
|
|
@@ -5996,16 +6052,12 @@ declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
5996
6052
|
autoNext: z.ZodOptional<z.ZodBoolean>;
|
|
5997
6053
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5998
6054
|
celCondition: z.ZodOptional<z.ZodString>;
|
|
6055
|
+
routing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6056
|
+
kind: z.ZodLiteral<"outcome">;
|
|
6057
|
+
outcome: z.ZodString;
|
|
6058
|
+
}, z.core.$strip>>>;
|
|
5999
6059
|
}, z.core.$strip>>>>;
|
|
6000
|
-
workflowId: z.ZodOptional<z.ZodNumber>;
|
|
6001
6060
|
celGuard: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6002
|
-
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6003
|
-
uuid: z.ZodString;
|
|
6004
|
-
abilityType: z.ZodString;
|
|
6005
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6006
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6007
|
-
celCondition: z.ZodOptional<z.ZodString>;
|
|
6008
|
-
}, z.core.$strip>>>>;
|
|
6009
6061
|
}, z.core.$strip>;
|
|
6010
6062
|
declare const DeleteTaskSchema: z.ZodObject<{
|
|
6011
6063
|
wid: z.ZodString;
|
|
@@ -6030,4 +6082,4 @@ type DeleteTaskInput = z.infer<typeof DeleteTaskSchema>;
|
|
|
6030
6082
|
type ArchiveTaskInput = z.infer<typeof ArchiveTaskSchema>;
|
|
6031
6083
|
type UnarchiveTaskInput = z.infer<typeof UnarchiveTaskSchema>;
|
|
6032
6084
|
|
|
6033
|
-
export { type BusinessProfileSubmitResponse as $, AccessLevel as A, type AttendeeResponse as B, AttendeeResponseStatus as C, DataFieldType as D, EventRuleEventType as E, AttendeeStatus as F, type AuthorizedRep as G, type AvailabilityCheck as H, type AvailabilityResponse as I, type AvailableSlotsRequest as J, type AvailableSlotsResponse as K, type BaseChatModelConfig as L, type BaseRealtimeModelConfig as M, type BotSortField as N, type BulkCreateDataRecordRequest as O, type BulkCreateDataRecordResponse as P, type QueryPredicate as Q, type BulkCreateMembersRequest as R, type SchemaField as S, type BulkCreateMembersResponse as T, type BulkMemberItem as U, type BulkMemberResult as V, BulkMemberResultStatus as W, type BulkRecordResult as X, BusinessIndustry as Y, type BusinessInfo as Z, type BusinessProfileCancelResponse as _, EventRuleActionType as a, type DataRecordRetirementResponse as a$, BusinessType as a0, type Calendar as a1, type EventResponse as a2, type CalendarEventFormData as a3, type CalendarEventSortField as a4, CalendarEventStatus as a5, type EventTypeResponse as a6, type CalendarEventTypeFormData as a7, type CalendarEventsQueryParams as a8, type CalendarFormData as a9, type CreateDataRecordFilterRequest as aA, type CreateOrganizationRequest as aB, type CreateRoutineRequest as aC, type CreateSignupResponse as aD, type CreateWorkspaceMemberRequest as aE, type CredentialChangeInviteConfirmResponse as aF, type CredentialChangeInviteDetailsResponse as aG, type CredentialChangeInviteResponse as aH, type CredentialChangeRequestResponse as aI, type CredentialChangeVerifyResponse as aJ, type CredentialType as aK, type CurrentMemberResponse as aL, type CurrentOrgMember as aM, type CursorPaginatedResponse as aN, type CustomRealtimeModelConfig as aO, DEFAULT_THINKING_SPEECH_PHRASES as aP, DataCategory as aQ, type DataField as aR, type DataIntegrityReportItem as aS, type DataRecordResponse as aT, type DataRecordAssociationFormData as aU, type DataRecordFieldWarning as aV, type DataRecordFilterResponse as aW, type DataRecordFilterFormData as aX, type DataRecordFilterWithQuery as aY, type DataRecordFormData as aZ, type DataRecordReportItem as a_, CalendarPermissionType as aa, type CalendarResponse as ab, type CalendarSchedule as ac, CalendarScheduleAvailabilityType as ad, type CalendarScheduleFormData as ae, CalendarScheduleRecurrence as af, type CalendarScheduleResponse as ag, CalendarSource as ah, type CancelCredentialChangeInviteResponse as ai, type CancelCredentialChangeResponse as aj, type CapabilityRequirementFinding as ak, type CapabilityStatus as al, type ChatContinueActionParams as am, type ChatCreateActionParams as an, type ChatModelConfig as ao, type ChatPauseActionParams as ap, type ChatSortField as aq, type ChatSummarizeActionParams as ar, type ClaudeChatModelConfig as as, type ClaudeReasoningEffort as at, type ConcludeAssignmentActionParams as au, type CreateAccountOrgMembershipRequest as av, type CreateAccountOrgMembershipResponse as aw, type CreateAgentRequest as ax, type CreateAnonymousMemberRequest as ay, type CreateCredentialChangeInviteRequest as az, type EventRuleInput as b, type LinkCalendarRequest as b$, DataRecordRetirementResponseReason as b0, type DataRecordUpdateResponse as b1, type DataRecordWithAccessMode as b2, type DataRecordsPaginatedResponse as b3, DataSensitivity as b4, type DataTypeResponse as b5, type DataTypeExportItem as b6, type DataTypeFormData as b7, DataTypeRecordScope as b8, type DataTypeSortField as b9, type GeminiThinkingLevel as bA, type GenerateRecoveryCodesRequest as bB, type BusinessProfileResponse as bC, type CalendarResponse$1 as bD, type CalendarScheduleResponse$1 as bE, type MemoryListResponse as bF, type MemoryResponse$1 as bG, type OrgDomainResponse as bH, type OwnershipDnsRecord as bI, type GoogleCalendarInfo as bJ, type GoogleCalendarInsufficientScopesResponse as bK, type GoogleCalendarStatusResponse as bL, type ICalFeedGrantSummary as bM, type ICalFeedTokenResponse as bN, type ICalFeedUrlResponse as bO, type IdentifiedMemberContactConflict as bP, type IdentityConflictPolicy as bQ, type ImportContactConflict as bR, ImportContactConflictField as bS, IndexStatus as bT, type IndexStatusResponse as bU, type InterruptionSound as bV, type InvokeCustomToolActionParams as bW, JobPosition as bX, type JourneyEnrollActionParams as bY, type JourneySortField as bZ, type LibModelsGlbResponsesOrganizationResponsesSSOConfigResponse as b_, type DeleteAccountOrgMembershipResponse as ba, type DetailedAccount as bb, type DuplicateAccountInfo as bc, type EcwRefreshMemberEncountersActionParams as bd, type EmailDisableImpactResponse as be, EmailDnsRecordType as bf, type EmailDomainConfigResponse as bg, type EmailSendActionParams as bh, type EmailVerificationResponse as bi, type EnumOption as bj, type ErrorResponse as bk, type EventActionMapping as bl, type EventActionMappingsResponse as bm, type EventRule as bn, type EventRuleExportItem as bo, type EventRuleFormData as bp, EventRuleObjectType as bq, type EventRuleResponse as br, type EventRunSortField as bs, type ExpireAnonymousMemberRequest as bt, type ExternalAttendeeData as bu, type FileSortField as bv, type FormFieldUpdateActionParams as bw, type FormFieldUpdateAdditionalField as bx, type GeminiChatModelConfig as by, type GeminiRealtimeModelConfig as bz, type AccountResponse as c, type MondayRefreshActionParams as c$, type LinkCalendarResponse as c0, type LoginRequest as c1, type LoginResponse as c2, type LogoUploadRequest as c3, type LogoUploadResponse as c4, MASKED_SECRET_SENTINEL as c5, type McpServerSortField as c6, type WorkspaceMemberResponse as c7, type MemberContactConflict as c8, type MemberContactField as c9, type MemberLabelFormData as cA, type MemberMemoriesResponse as cB, type MemberMessageActivity as cC, type MemberOrgView as cD, type MemberReportItem as cE, type MemberRoleResponse as cF, type MemberRoleFileAccessResponse as cG, type MemberRoleFolderAccessResponse as cH, type MemberRoleFormData as cI, type MemberRoleTaskAccess as cJ, type MemberSortField as cK, type MemberSummary as cL, type MemberSyncLink as cM, MemberType as cN, type MemberUpsertActionParams as cO, type MemberUpsertBehavior as cP, type MemberWorkspaceInfo as cQ, type MembersQueryParams as cR, type MemoryItem as cS, type MemoryResponse as cT, type MemoryType as cU, type MergeMembersRequest as cV, type MergeMembersResponse as cW, type MessageValidationActionParams as cX, type MissingMembershipItem as cY, type MondayColumnMapping as cZ, type MondayLookupType as c_, type MemberCredentialResponse as ca, type MemberFieldResponse as cb, type MemberFieldDefinitionResponse as cc, type MemberFieldDefinitionListResponse as cd, type MemberFieldListResponse as ce, type MemberFilterResponse as cf, type MemberFilterFormData as cg, type MemberFilterWithQuery as ch, type MemberFormData as ci, type MemberImportConflictInfo as cj, type MemberImportIdentitySnapshot as ck, type MemberImportIssue as cl, MemberImportIssueCode as cm, type MemberImportMatchInfo as cn, MemberImportMatchInfoMatchType as co, type MemberImportOptions as cp, type MemberImportPreviewResponse as cq, type MemberImportPreviewRow as cr, MemberImportPreviewRowAction as cs, type MemberImportPreviewSummary as ct, type MemberImportRunItemResponse as cu, type MemberImportRunSummaryResponse as cv, type MemberImportStreamConflict as cw, type MemberImportStreamEvent as cx, type MemberLabelResponse as cy, type MemberLabelActionParams as cz, type AccountContactConflict as d, type QueryNowValue as d$, type MondayRefreshColumnMapping as d0, type MondayUpsertItemActionParams as d1, type MondayUpsertMode as d2, type MultiMatchBehavior as d3, type NormalizeMemberRequest as d4, type NormalizeMemberResponse as d5, type OIDCAdminConfigView as d6, OIDCAdminConfigViewProviderType as d7, type ObjectPermission as d8, type ObjectPermissionFlags as d9, type PendingAnonymousMembersResponse as dA, type PendingCredentialChangeResponse as dB, type PendingCredentialChangeInviteResponse as dC, type PhoneCallActionParams as dD, type PlayAudioActionParams as dE, QUERY_VALUELESS_OPS as dF, type QualificationSortField as dG, type QueryAggregateOp as dH, type QueryAggregatePredicate as dI, type QueryAggregateSpec as dJ, type QueryAnd as dK, type QueryCompare as dL, type QueryComparisonOp as dM, type QueryCostInfo as dN, type QueryDataTypeInfo as dO, type QueryDayBoundaryValue as dP, type QueryDaysAgoValue as dQ, type QueryDaysFromNowValue as dR, type QueryEntityType as dS, type QueryEnumOption as dT, type QueryFieldInfo as dU, type QueryFieldsResponse as dV, type QueryGroupBy as dW, type QueryIR as dX, type QueryMatchAll as dY, type QueryMetric as dZ, type QueryNot as d_, type OpenAIChatModelConfig as da, type OpenAIRealtimeModelConfig as db, type OpenAIReasoningEffort as dc, type OpenAISemanticVADEagerness as dd, type OpenAISemanticVADTurnDetection as de, type OpenAIServerVADTurnDetection as df, type OpenAITurnDetection as dg, type OpenAITurnDetectionType as dh, type OrgMember as di, type OrgMemberListResponse as dj, type OrgMemberRole as dk, type OrganizationResponse as dl, type OwnershipVerificationResponse as dm, PERMISSION_ADMIN as dn, PERMISSION_CREATE as dp, PERMISSION_DELETE as dq, PERMISSION_EDIT as dr, PERMISSION_GEOLOCATE as ds, PERMISSION_LIST as dt, PERMISSION_LIST_ALL as du, PERMISSION_NONE as dv, PERMISSION_USE as dw, PERMISSION_VERIFY as dx, type PageSortField as dy, type PaginatedResponse as dz, type AccountFormData as e, type TTSModel as e$, type QueryOr as e0, type QueryRangeBound as e1, type QueryRangeValue as e2, type QueryRecordFieldInfo as e3, type QueryRecordMatch as e4, type QueryRecordSelection as e5, type QueryRelationMatch as e6, type QueryRunMode as e7, type QuerySavedFilterRef as e8, type QueryScalar as e9, type RuleExecutionsQueryParams as eA, type RunQueryRequest as eB, type RunQueryResponse as eC, type SendLoginCodeResponse as eD, type SSOConfigData as eE, type SSOConfigRequest as eF, type SSOProviderConfig as eG, type SchedulePreviewRequest as eH, type SchedulePreviewResponse as eI, Scope as eJ, type SendEmailVerificationRequest as eK, type SessionExchangeRequest as eL, type SessionExchangeResponse as eM, type SetupTOTPRequest as eN, type SetupWebAuthnRequest as eO, type SignupAccountResponse as eP, type SignupMemberResponse as eQ, type SiteDisableImpactResponse as eR, SiteDnsRecordType as eS, type SiteDomainConfigResponse as eT, type SiteSortField as eU, type SiteVerificationResponse as eV, type SmsSendActionParams as eW, type SortOrder as eX, type SwitchTaskActionParams as eY, type SyncCalendarResponse as eZ, type TOTPSetupResponse as e_, type QuerySortKey as ea, type QuerySubQueryRef as eb, type QueryTemporalValue as ec, type QueryValue as ed, type RealtimeModelConfig as ee, type RecoveryCodeResponse as ef, Region as eg, RegistrationIdentifier as eh, type RequestCredentialChangeRequest as ei, type RequestMagicLinkRequest as ej, type RequestMagicLinkResponse as ek, type ResolveAnonymousMemberRequest as el, type Routine as em, type RoutineConfigEventResponse as en, type RoutineResponse as eo, type RoutineRunResponse as ep, type RoutineRunStatus as eq, type RoutineRunsQueryParams as er, type RoutineScheduleMode as es, type RoutineSortField as et, type RoutineVisibility as eu, type RoutineVoiceReadinessPreviewRequest as ev, type RoutineVoiceReadinessPreviewResponse as ew, type RoutineVoiceReadinessWarningResponse as ex, type RoutinesQueryParams as ey, type RuleExecutionSortField as ez, type AccountLookupResponse as f, type CreateTaskInput as f$, type TTSPreviewProvider as f0, TTS_PREVIEW_PROVIDERS as f1, type TaskExportDataTypeRelation as f2, type TaskExportEventRuleRelation as f3, type TaskSortField as f4, type TestWebhookRequest as f5, type TestWebhookResponse as f6, type ThinkingSound as f7, type TimeSlot as f8, type TwoFactorMethod as f9, type WorkspaceMemberCountResponseActiveByType as fA, type WorkspaceSortField as fB, type XAIChatModelConfig as fC, type XAIRealtimeModelConfig as fD, type XAIRealtimeReasoningEffort as fE, type XAIReasoningEffort as fF, type XAIServerVADTurnDetection as fG, archivedMemberConflictId as fH, asIdentifiedMemberContactConflict as fI, canPreviewVoice as fJ, decodePermissions as fK, encodePermissions as fL, eventRuleActionParams as fM, getTTSProvider as fN, getVoiceModelId as fO, isAccountContactConflict as fP, isIdentifiedMemberContactConflict as fQ, isMemberContactConflict as fR, type AbilityData as fS, AbilityDataSchema as fT, AnonymousInquiryFormSchema as fU, type ArchiveTaskInput as fV, ArchiveTaskSchema as fW, type ChildTaskFormData as fX, ChildTaskFormDataSchema as fY, type CreateInquiryInput as fZ, CreateInquirySchema as f_, type TwoFactorOperationResponse as fa, type TwoFactorStatus as fb, type UnlinkCalendarResponse as fc, type UpdateAgentRequest as fd, type UpdateAttendeeRequest as fe, type UpdateDataRecordFilterRequest as ff, type UpdateEventRuleFormData as fg, type UpdateOrgMemberRequest as fh, type UpdateOrganizationRequest as fi, type UpdateRoutineRequest as fj, type UpdateTwoFactorMethodRequest as fk, type UpdateWorkspaceMemberRequest as fl, type ValidateMagicLinkRequest as fm, type ValidateMagicLinkResponse as fn, type ValidateQueryResponse as fo, type VerifyCodeRequest as fp, type VerifyCodeResponse as fq, type VerifyCredentialChangeRequest as fr, type VerifyEmailRequest as fs, type VerifyTOTPSetupRequest as ft, type VerifyWebAuthnSetupRequest as fu, type WebhookActionParams as fv, type WebhookLogSortField as fw, type WebhookLogsQueryParams as fx, type WorkflowSortField as fy, type WorkspaceMemberCountResponse as fz, type AccountReportItem as g, type SiteDnsRecord as g$, CreateTaskSchema as g0, type DeleteInquiryInput as g1, DeleteInquirySchema as g2, type DeleteTaskInput as g3, DeleteTaskSchema as g4, type EnrichInquiryInput as g5, EnrichInquirySchema as g6, type GetInquiryInput as g7, GetInquirySchema as g8, type GetTaskInput as g9, type AdminOrganizationResponse as gA, type AdminWorkspaceMemberFormData as gB, type ConsentRecordExport as gC, type DataExportResponse as gD, type DeletionCancelResponse as gE, type DeletionRequestResponse as gF, type TwoFactorMethodResponse$1 as gG, type TwoFactorStatusResponse$1 as gH, type MintedSessionFields as gI, type OIDCAdminConfigInput as gJ, type OrgMembershipExport as gK, type OrgScopedIdentityResponse as gL, type SessionDescription as gM, SessionKind as gN, type TwoFactorMethodResponse as gO, type TwoFactorMethodType as gP, type TwoFactorStatusResponse as gQ, type WebAuthnRegistrationResponse as gR, type WorkspaceMembershipExport as gS, type EnumOption$1 as gT, type EventRuleResponse$1 as gU, type AgentMemoryConfig$1 as gV, type EventRuleData as gW, EventRuleEventType$1 as gX, type OpenAIRealtimeModelConfig$1 as gY, type GeminiRealtimeModelConfig$1 as gZ, type XAIRealtimeModelConfig$1 as g_, GetTaskSchema as ga, type ListInquiriesInput as gb, ListInquiriesSchema as gc, type ListTasksInput as gd, ListTasksSchema as ge, type TaskFormData as gf, TaskFormDataSchema as gg, type UnarchiveTaskInput as gh, UnarchiveTaskSchema as gi, type UpdateInquiryInput as gj, UpdateInquiryRequestSchema as gk, UpdateInquirySchema as gl, type UpdateTaskInput as gm, UpdateTaskSchema as gn, DeclaredDataUse as go, type AccountCustomerRef as gp, type AccountDataExport as gq, type AccountExternalIdentityResponse as gr, type AccountIdentityResolutionResponse as gs, type AdminAccountResponse as gt, type AdminAccountFormData as gu, type AdminAccountMembership as gv, type AdminAccountMembershipResponse as gw, type AdminAccountOrgMembershipResponse as gx, type AdminCarrierLedgerEntryResponse as gy, type AdminOrganization as gz, type AccountSortField as h, type OrgDomainListResponse as h0, type EmailDnsRecord as h1, type EmailDomainConfigGetResponse as h2, type SiteDomainConfigGetResponse as h3, type OrgBillingCustomerResponse as h4, type AccountState as i, type Address as j, type AdminWorkspaceSortField as k, type AgentResponse as l, type AgentConfigResponse as m, type AgentConfigFormData as n, type AgentMemoryConfig as o, type AgentSortField as p, type AnonymousInteractionResponse as q, type AnonymousMemberResolutionResponse as r, type AnonymousMemberResolutionStatus as s, type ApiKeyResponse as t, type ApiKeyCreatedResponse as u, type ApiKeyFormData as v, type ApiKeyScope as w, type ApiKeyScopesResponse as x, type AssignmentSortField as y, type AssistantMessageActionParams as z };
|
|
6085
|
+
export { type BusinessProfileSubmitResponse as $, AccessLevel as A, type AttendeeResponse as B, AttendeeResponseStatus as C, DataFieldType as D, EventRuleEventType as E, AttendeeStatus as F, type AuthorizedRep as G, type AvailabilityCheck as H, type AvailabilityResponse as I, type AvailableSlotsRequest as J, type AvailableSlotsResponse as K, type BaseChatModelConfig as L, type BaseRealtimeModelConfig as M, type BotSortField as N, type BulkCreateDataRecordRequest as O, type BulkCreateDataRecordResponse as P, type QueryPredicate as Q, type BulkCreateMembersRequest as R, type SchemaField as S, type BulkCreateMembersResponse as T, type BulkMemberItem as U, type BulkMemberResult as V, BulkMemberResultStatus as W, type BulkRecordResult as X, BusinessIndustry as Y, type BusinessInfo as Z, type BusinessProfileCancelResponse as _, EventRuleActionType as a, type DataRecordRetirementResponse as a$, BusinessType as a0, type Calendar as a1, type EventResponse as a2, type CalendarEventFormData as a3, type CalendarEventSortField as a4, CalendarEventStatus as a5, type EventTypeResponse as a6, type CalendarEventTypeFormData as a7, type CalendarEventsQueryParams as a8, type CalendarFormData as a9, type CreateDataRecordFilterRequest as aA, type CreateOrganizationRequest as aB, type CreateRoutineRequest as aC, type CreateSignupResponse as aD, type CreateWorkspaceMemberRequest as aE, type CredentialChangeInviteConfirmResponse as aF, type CredentialChangeInviteDetailsResponse as aG, type CredentialChangeInviteResponse as aH, type CredentialChangeRequestResponse as aI, type CredentialChangeVerifyResponse as aJ, type CredentialType as aK, type CurrentMemberResponse as aL, type CurrentOrgMember as aM, type CursorPaginatedResponse as aN, type CustomRealtimeModelConfig as aO, DEFAULT_THINKING_SPEECH_PHRASES as aP, DataCategory as aQ, type DataField as aR, type DataIntegrityReportItem as aS, type DataRecordResponse as aT, type DataRecordAssociationFormData as aU, type DataRecordFieldWarning as aV, type DataRecordFilterResponse as aW, type DataRecordFilterFormData as aX, type DataRecordFilterWithQuery as aY, type DataRecordFormData as aZ, type DataRecordReportItem as a_, CalendarPermissionType as aa, type CalendarResponse as ab, type CalendarSchedule as ac, CalendarScheduleAvailabilityType as ad, type CalendarScheduleFormData as ae, CalendarScheduleRecurrence as af, type CalendarScheduleResponse as ag, CalendarSource as ah, type CancelCredentialChangeInviteResponse as ai, type CancelCredentialChangeResponse as aj, type CapabilityRequirementFinding as ak, type CapabilityStatus as al, type ChatContinueActionParams as am, type ChatCreateActionParams as an, type ChatModelConfig as ao, type ChatPauseActionParams as ap, type ChatSortField as aq, type ChatSummarizeActionParams as ar, type ClaudeChatModelConfig as as, type ClaudeReasoningEffort as at, type ConcludeAssignmentActionParams as au, type CreateAccountOrgMembershipRequest as av, type CreateAccountOrgMembershipResponse as aw, type CreateAgentRequest as ax, type CreateAnonymousMemberRequest as ay, type CreateCredentialChangeInviteRequest as az, type EventRuleInput as b, type LinkCalendarRequest as b$, DataRecordRetirementResponseReason as b0, type DataRecordUpdateResponse as b1, type DataRecordWithAccessMode as b2, type DataRecordsPaginatedResponse as b3, DataSensitivity as b4, type DataTypeResponse as b5, type DataTypeExportItem as b6, type DataTypeFormData as b7, DataTypeRecordScope as b8, type DataTypeSortField as b9, type GeminiThinkingLevel as bA, type GenerateRecoveryCodesRequest as bB, type BusinessProfileResponse as bC, type CalendarResponse$1 as bD, type CalendarScheduleResponse$1 as bE, type MemoryListResponse as bF, type MemoryResponse$1 as bG, type OrgDomainResponse as bH, type OwnershipDnsRecord as bI, type GoogleCalendarInfo as bJ, type GoogleCalendarInsufficientScopesResponse as bK, type GoogleCalendarStatusResponse as bL, type ICalFeedGrantSummary as bM, type ICalFeedTokenResponse as bN, type ICalFeedUrlResponse as bO, type IdentifiedMemberContactConflict as bP, type IdentityConflictPolicy as bQ, type ImportContactConflict as bR, ImportContactConflictField as bS, IndexStatus as bT, type IndexStatusResponse as bU, type InterruptionSound as bV, type InvokeCustomToolActionParams as bW, JobPosition as bX, type JourneyEnrollActionParams as bY, type JourneySortField as bZ, type LibModelsGlbResponsesOrganizationResponsesSSOConfigResponse as b_, type DeleteAccountOrgMembershipResponse as ba, type DetailedAccount as bb, type DuplicateAccountInfo as bc, type EcwRefreshMemberEncountersActionParams as bd, type EmailDisableImpactResponse as be, EmailDnsRecordType as bf, type EmailDomainConfigResponse as bg, type EmailSendActionParams as bh, type EmailVerificationResponse as bi, type EnumOption as bj, type ErrorResponse as bk, type EventActionMapping as bl, type EventActionMappingsResponse as bm, type EventRule as bn, type EventRuleExportItem as bo, type EventRuleFormData as bp, EventRuleObjectType as bq, type EventRuleResponse as br, type EventRunSortField as bs, type ExpireAnonymousMemberRequest as bt, type ExternalAttendeeData as bu, type FileSortField as bv, type FormFieldUpdateActionParams as bw, type FormFieldUpdateAdditionalField as bx, type GeminiChatModelConfig as by, type GeminiRealtimeModelConfig as bz, type AccountResponse as c, type MondayRefreshActionParams as c$, type LinkCalendarResponse as c0, type LoginRequest as c1, type LoginResponse as c2, type LogoUploadRequest as c3, type LogoUploadResponse as c4, MASKED_SECRET_SENTINEL as c5, type McpServerSortField as c6, type WorkspaceMemberResponse as c7, type MemberContactConflict as c8, type MemberContactField as c9, type MemberLabelFormData as cA, type MemberMemoriesResponse as cB, type MemberMessageActivity as cC, type MemberOrgView as cD, type MemberReportItem as cE, type MemberRoleResponse as cF, type MemberRoleFileAccessResponse as cG, type MemberRoleFolderAccessResponse as cH, type MemberRoleFormData as cI, type MemberRoleTaskAccess as cJ, type MemberSortField as cK, type MemberSummary as cL, type MemberSyncLink as cM, MemberType as cN, type MemberUpsertActionParams as cO, type MemberUpsertBehavior as cP, type MemberWorkspaceInfo as cQ, type MembersQueryParams as cR, type MemoryItem as cS, type MemoryResponse as cT, type MemoryType as cU, type MergeMembersRequest as cV, type MergeMembersResponse as cW, type MessageValidationActionParams as cX, type MissingMembershipItem as cY, type MondayColumnMapping as cZ, type MondayLookupType as c_, type MemberCredentialResponse as ca, type MemberFieldResponse as cb, type MemberFieldDefinitionResponse as cc, type MemberFieldDefinitionListResponse as cd, type MemberFieldListResponse as ce, type MemberFilterResponse as cf, type MemberFilterFormData as cg, type MemberFilterWithQuery as ch, type MemberFormData as ci, type MemberImportConflictInfo as cj, type MemberImportIdentitySnapshot as ck, type MemberImportIssue as cl, MemberImportIssueCode as cm, type MemberImportMatchInfo as cn, MemberImportMatchInfoMatchType as co, type MemberImportOptions as cp, type MemberImportPreviewResponse as cq, type MemberImportPreviewRow as cr, MemberImportPreviewRowAction as cs, type MemberImportPreviewSummary as ct, type MemberImportRunItemResponse as cu, type MemberImportRunSummaryResponse as cv, type MemberImportStreamConflict as cw, type MemberImportStreamEvent as cx, type MemberLabelResponse as cy, type MemberLabelActionParams as cz, type AccountContactConflict as d, type QueryNowValue as d$, type MondayRefreshColumnMapping as d0, type MondayUpsertItemActionParams as d1, type MondayUpsertMode as d2, type MultiMatchBehavior as d3, type NormalizeMemberRequest as d4, type NormalizeMemberResponse as d5, type OIDCAdminConfigView as d6, OIDCAdminConfigViewProviderType as d7, type ObjectPermission as d8, type ObjectPermissionFlags as d9, type PendingAnonymousMembersResponse as dA, type PendingCredentialChangeResponse as dB, type PendingCredentialChangeInviteResponse as dC, type PhoneCallActionParams as dD, type PlayAudioActionParams as dE, QUERY_VALUELESS_OPS as dF, type QualificationSortField as dG, type QueryAggregateOp as dH, type QueryAggregatePredicate as dI, type QueryAggregateSpec as dJ, type QueryAnd as dK, type QueryCompare as dL, type QueryComparisonOp as dM, type QueryCostInfo as dN, type QueryDataTypeInfo as dO, type QueryDayBoundaryValue as dP, type QueryDaysAgoValue as dQ, type QueryDaysFromNowValue as dR, type QueryEntityType as dS, type QueryEnumOption as dT, type QueryFieldInfo as dU, type QueryFieldsResponse as dV, type QueryGroupBy as dW, type QueryIR as dX, type QueryMatchAll as dY, type QueryMetric as dZ, type QueryNot as d_, type OpenAIChatModelConfig as da, type OpenAIRealtimeModelConfig as db, type OpenAIReasoningEffort as dc, type OpenAISemanticVADEagerness as dd, type OpenAISemanticVADTurnDetection as de, type OpenAIServerVADTurnDetection as df, type OpenAITurnDetection as dg, type OpenAITurnDetectionType as dh, type OrgMember as di, type OrgMemberListResponse as dj, type OrgMemberRole as dk, type OrganizationResponse as dl, type OwnershipVerificationResponse as dm, PERMISSION_ADMIN as dn, PERMISSION_CREATE as dp, PERMISSION_DELETE as dq, PERMISSION_EDIT as dr, PERMISSION_GEOLOCATE as ds, PERMISSION_LIST as dt, PERMISSION_LIST_ALL as du, PERMISSION_NONE as dv, PERMISSION_USE as dw, PERMISSION_VERIFY as dx, type PageSortField as dy, type PaginatedResponse as dz, type AccountFormData as e, type TTSModel as e$, type QueryOr as e0, type QueryRangeBound as e1, type QueryRangeValue as e2, type QueryRecordFieldInfo as e3, type QueryRecordMatch as e4, type QueryRecordSelection as e5, type QueryRelationMatch as e6, type QueryRunMode as e7, type QuerySavedFilterRef as e8, type QueryScalar as e9, type RuleExecutionsQueryParams as eA, type RunQueryRequest as eB, type RunQueryResponse as eC, type SendLoginCodeResponse as eD, type SSOConfigData as eE, type SSOConfigRequest as eF, type SSOProviderConfig as eG, type SchedulePreviewRequest as eH, type SchedulePreviewResponse as eI, Scope as eJ, type SendEmailVerificationRequest as eK, type SessionExchangeRequest as eL, type SessionExchangeResponse as eM, type SetupTOTPRequest as eN, type SetupWebAuthnRequest as eO, type SignupAccountResponse as eP, type SignupMemberResponse as eQ, type SiteDisableImpactResponse as eR, SiteDnsRecordType as eS, type SiteDomainConfigResponse as eT, type SiteSortField as eU, type SiteVerificationResponse as eV, type SmsSendActionParams as eW, type SortOrder as eX, type SwitchTaskActionParams as eY, type SyncCalendarResponse as eZ, type TOTPSetupResponse as e_, type QuerySortKey as ea, type QuerySubQueryRef as eb, type QueryTemporalValue as ec, type QueryValue as ed, type RealtimeModelConfig as ee, type RecoveryCodeResponse as ef, Region as eg, RegistrationIdentifier as eh, type RequestCredentialChangeRequest as ei, type RequestMagicLinkRequest as ej, type RequestMagicLinkResponse as ek, type ResolveAnonymousMemberRequest as el, type Routine as em, type RoutineConfigEventResponse as en, type RoutineResponse as eo, type RoutineRunResponse as ep, type RoutineRunStatus as eq, type RoutineRunsQueryParams as er, type RoutineScheduleMode as es, type RoutineSortField as et, type RoutineVisibility as eu, type RoutineVoiceReadinessPreviewRequest as ev, type RoutineVoiceReadinessPreviewResponse as ew, type RoutineVoiceReadinessWarningResponse as ex, type RoutinesQueryParams as ey, type RuleExecutionSortField as ez, type AccountLookupResponse as f, type CreateTaskInput as f$, type TTSPreviewProvider as f0, TTS_PREVIEW_PROVIDERS as f1, type TaskExportDataTypeRelation as f2, type TaskExportEventRuleRelation as f3, type TaskSortField as f4, type TestWebhookRequest as f5, type TestWebhookResponse as f6, type ThinkingSound as f7, type TimeSlot as f8, type TwoFactorMethod as f9, type WorkspaceMemberCountResponseActiveByType as fA, type WorkspaceSortField as fB, type XAIChatModelConfig as fC, type XAIRealtimeModelConfig as fD, type XAIRealtimeReasoningEffort as fE, type XAIReasoningEffort as fF, type XAIServerVADTurnDetection as fG, archivedMemberConflictId as fH, asIdentifiedMemberContactConflict as fI, canPreviewVoice as fJ, decodePermissions as fK, encodePermissions as fL, eventRuleActionParams as fM, getTTSProvider as fN, getVoiceModelId as fO, isAccountContactConflict as fP, isIdentifiedMemberContactConflict as fQ, isMemberContactConflict as fR, type AbilityData as fS, AbilityDataSchema as fT, AnonymousInquiryFormSchema as fU, type ArchiveTaskInput as fV, ArchiveTaskSchema as fW, type ChildTaskFormData as fX, ChildTaskFormDataSchema as fY, type CreateInquiryInput as fZ, CreateInquirySchema as f_, type TwoFactorOperationResponse as fa, type TwoFactorStatus as fb, type UnlinkCalendarResponse as fc, type UpdateAgentRequest as fd, type UpdateAttendeeRequest as fe, type UpdateDataRecordFilterRequest as ff, type UpdateEventRuleFormData as fg, type UpdateOrgMemberRequest as fh, type UpdateOrganizationRequest as fi, type UpdateRoutineRequest as fj, type UpdateTwoFactorMethodRequest as fk, type UpdateWorkspaceMemberRequest as fl, type ValidateMagicLinkRequest as fm, type ValidateMagicLinkResponse as fn, type ValidateQueryResponse as fo, type VerifyCodeRequest as fp, type VerifyCodeResponse as fq, type VerifyCredentialChangeRequest as fr, type VerifyEmailRequest as fs, type VerifyTOTPSetupRequest as ft, type VerifyWebAuthnSetupRequest as fu, type WebhookActionParams as fv, type WebhookLogSortField as fw, type WebhookLogsQueryParams as fx, type WorkflowSortField as fy, type WorkspaceMemberCountResponse as fz, type AccountReportItem as g, type XAIRealtimeModelConfig$1 as g$, CreateTaskSchema as g0, type DeleteInquiryInput as g1, DeleteInquirySchema as g2, type DeleteTaskInput as g3, DeleteTaskSchema as g4, type EnrichInquiryInput as g5, EnrichInquirySchema as g6, type GetInquiryInput as g7, GetInquirySchema as g8, type GetTaskInput as g9, type AdminOrganization as gA, type AdminOrganizationResponse as gB, type AdminWorkspaceMemberFormData as gC, type ConsentRecordExport as gD, type DataExportResponse as gE, type DeletionCancelResponse as gF, type DeletionRequestResponse as gG, type TwoFactorMethodResponse$1 as gH, type TwoFactorStatusResponse$1 as gI, type MintedSessionFields as gJ, type OIDCAdminConfigInput as gK, type OrgMembershipExport as gL, type OrgScopedIdentityResponse as gM, type SessionDescription as gN, SessionKind as gO, type TwoFactorMethodResponse as gP, type TwoFactorMethodType as gQ, type TwoFactorStatusResponse as gR, type WebAuthnRegistrationResponse as gS, type WorkspaceMembershipExport as gT, type EnumOption$1 as gU, type EventRuleResponse$1 as gV, type AgentMemoryConfig$1 as gW, type EventRuleData as gX, EventRuleEventType$1 as gY, type OpenAIRealtimeModelConfig$1 as gZ, type GeminiRealtimeModelConfig$1 as g_, GetTaskSchema as ga, type ListInquiriesInput as gb, ListInquiriesSchema as gc, type ListTasksInput as gd, ListTasksSchema as ge, OutcomeTaskRoutingSchema as gf, type TaskFormData as gg, TaskFormDataSchema as gh, type UnarchiveTaskInput as gi, UnarchiveTaskSchema as gj, type UpdateInquiryInput as gk, UpdateInquiryRequestSchema as gl, UpdateInquirySchema as gm, type UpdateTaskInput as gn, UpdateTaskSchema as go, DeclaredDataUse as gp, type AccountCustomerRef as gq, type AccountDataExport as gr, type AccountExternalIdentityResponse as gs, type AccountIdentityResolutionResponse as gt, type AdminAccountResponse as gu, type AdminAccountFormData as gv, type AdminAccountMembership as gw, type AdminAccountMembershipResponse as gx, type AdminAccountOrgMembershipResponse as gy, type AdminCarrierLedgerEntryResponse as gz, type AccountSortField as h, type SiteDnsRecord as h0, type OrgDomainListResponse as h1, type EmailDnsRecord as h2, type EmailDomainConfigGetResponse as h3, type SiteDomainConfigGetResponse as h4, type OrgBillingCustomerResponse as h5, type AccountState as i, type Address as j, type AdminWorkspaceSortField as k, type AgentResponse as l, type AgentConfigResponse as m, type AgentConfigFormData as n, type AgentMemoryConfig as o, type AgentSortField as p, type AnonymousInteractionResponse as q, type AnonymousMemberResolutionResponse as r, type AnonymousMemberResolutionStatus as s, type ApiKeyResponse as t, type ApiKeyCreatedResponse as u, type ApiKeyFormData as v, type ApiKeyScope as w, type ApiKeyScopesResponse as x, type AssignmentSortField as y, type AssistantMessageActionParams as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-rail/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.50.0",
|
|
4
4
|
"description": "Gravity Rail TypeScript SDK — API client for workspace management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@modelcontextprotocol/sdk": "1.31.0",
|
|
97
97
|
"@types/jest": "^30.0.0",
|
|
98
|
-
"@types/node": "^26.
|
|
98
|
+
"@types/node": "^26.6.4",
|
|
99
99
|
"@types/react": "^19.3.0",
|
|
100
100
|
"jest": "^30.5.2",
|
|
101
101
|
"orval": "patch:orval@npm%3A8.32.0#~/.yarn/patches/orval-npm-8.32.0-7d17003bea.patch",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/api/base.ts","../src/helpers/chat-interaction.ts"],"sourcesContent":["// Utility function to read a specific cookie value\nexport function getCookieValue(name: string): string | undefined {\n if (typeof document === 'undefined') return undefined;\n\n const cookies = document.cookie.split(';');\n for (const cookie of cookies) {\n const trimmedCookie = cookie.trim();\n const eqIndex = trimmedCookie.indexOf('=');\n if (eqIndex === -1) continue;\n\n const cookieName = trimmedCookie.substring(0, eqIndex);\n const cookieValue = trimmedCookie.substring(eqIndex + 1);\n\n if (cookieName === name) {\n return cookieValue;\n }\n }\n\n return undefined;\n}\n\n/**\n * Structured validation error returned by the backend's workflow-expression\n * validator (CEL / Jinja schema checks). See WorkflowValidationErrorResponse\n * in workflowValidationTypes.ts for the public-facing shape.\n */\nexport interface ApiValidationError {\n field: string;\n kind: 'cel_syntax' | 'cel_schema' | 'jinja_syntax' | 'jinja_schema';\n message: string;\n offendingPath: string | null;\n location: {\n start: number;\n end: number;\n line: number;\n column: number;\n length: number;\n } | null;\n suggestion: string | null;\n}\n\nfunction isApiValidationError(value: unknown): value is ApiValidationError {\n if (!value || typeof value !== 'object') return false;\n const v = value as Record<string, unknown>;\n return (\n typeof v.field === 'string' && typeof v.kind === 'string' && typeof v.message === 'string'\n );\n}\n\n/** Browser-console sink for API failures. A fixed event name only — never the\n * error object, its ``name``, or response-derived ``message``/``errorData``. */\nfunction logApiClientError(_error: unknown): void {\n console.warn('API request failed');\n}\n\nexport class ApiError extends Error {\n statusCode: number;\n /** Legacy string-array errors — kept for non-validation callers. */\n errors?: string[];\n /**\n * Structured workflow-expression validation errors (CEL/Jinja).\n * Populated when the backend returns a WorkflowValidationErrorResponse.\n */\n validationErrors?: ApiValidationError[];\n /**\n * The raw structured `detail` object when the backend returned one (a body\n * with `error: true` or a `code`). Declared here rather than bolted on with\n * `as any` at the throw site so consumers can narrow it with a type guard —\n * see `isMemberContactConflict` in `types/member-types`.\n */\n errorData?: unknown;\n\n constructor(\n message: string,\n statusCode: number,\n errors?: string[],\n validationErrors?: ApiValidationError[]\n ) {\n super(message);\n this.name = 'ApiError';\n this.statusCode = statusCode;\n this.errors = errors;\n this.validationErrors = validationErrors;\n }\n}\n\n/**\n * Handler for enhanced authentication requirement (RFC 9470 Step-Up Authentication).\n * Called when a 401 response includes WWW-Authenticate header with\n * error=\"insufficient_user_authentication\".\n * Should return a promise that resolves with the new auth token after re-auth.\n */\nexport type EnhancedAuthHandler = () => Promise<string>;\n\n/**\n * Info parsed from WWW-Authenticate header for org auth requirement.\n */\nexport interface OrgAuthInfo {\n orgUuid: string;\n cookieName: string;\n authUrl: string;\n}\n\n/**\n * Handler for organization authentication requirement.\n * Called when a 401 response includes WWW-Authenticate header with realm=\"org\".\n * The handler should redirect the user to the auth URL for consent/SSO.\n * Returns a promise that resolves when the user should retry (after page reload with cookie).\n */\nexport type OrgAuthHandler = (info: OrgAuthInfo) => Promise<void>;\n\n/**\n * Check if a WWW-Authenticate header indicates step-up authentication is required.\n * Per RFC 9470, this is indicated by error=\"insufficient_user_authentication\".\n */\nfunction requiresStepUpAuth(wwwAuthenticate: string | null): boolean {\n if (!wwwAuthenticate) return false;\n return wwwAuthenticate.includes('error=\"insufficient_user_authentication\"');\n}\n\n/**\n * Parse org auth info from WWW-Authenticate header.\n * Returns null if this is not an org auth challenge.\n * Expected format: Bearer realm=\"org\", org_uuid=\"...\", cookie_name=\"...\", auth_url=\"...\"\n *\n * Exported so non-SDK fetch paths (e.g. the app's same-origin file-content\n * proxy fetches) can detect the same challenge and trigger the shared org\n * step-up flow.\n */\nexport function parseOrgAuthChallenge(wwwAuthenticate: string | null): OrgAuthInfo | null {\n if (!wwwAuthenticate) return null;\n if (!wwwAuthenticate.includes('realm=\"org\"')) return null;\n\n // Parse the key-value pairs from the header\n const orgUuidMatch = wwwAuthenticate.match(/org_uuid=\"([^\"]+)\"/);\n const cookieNameMatch = wwwAuthenticate.match(/cookie_name=\"([^\"]+)\"/);\n const authUrlMatch = wwwAuthenticate.match(/auth_url=\"([^\"]+)\"/);\n\n if (!orgUuidMatch?.[1] || !cookieNameMatch?.[1] || !authUrlMatch?.[1]) {\n // Don't log the raw header value — it embeds org_uuid + auth_url.\n console.warn('Invalid org auth challenge header: missing required fields');\n return null;\n }\n\n return {\n orgUuid: orgUuidMatch[1],\n cookieName: cookieNameMatch[1],\n authUrl: authUrlMatch[1],\n };\n}\n\nfunction getRequestOrgCookieName(cookieName: string): string | null {\n if (cookieName.startsWith('orgToken')) {\n return cookieName.replace(/^orgToken/, 'requestOrgToken');\n }\n if (cookieName.startsWith('orgSession')) {\n return cookieName.replace(/^orgSession/, 'requestOrgSession');\n }\n return null;\n}\n\nfunction orgAuthHeaderName(token: string): 'X-Org-Token' | 'X-Org-Session' {\n return token.startsWith('gr_sess_') ? 'X-Org-Session' : 'X-Org-Token';\n}\n\nfunction setOrgAuthHeader(headers: Headers, token: string | undefined): void {\n if (!token) return;\n headers.set(orgAuthHeaderName(token), token);\n}\n\nexport class BaseApiClient {\n protected baseUrl: string;\n protected apiKey: string | undefined;\n protected isCrossDomain: boolean;\n protected fetchFunction: typeof fetch;\n private enhancedAuthHandler?: EnhancedAuthHandler;\n private enhancedAuthInProgress: Promise<string> | null = null;\n private orgAuthHandler?: OrgAuthHandler;\n private orgAuthInProgress: Promise<void> | null = null;\n private orgSession?: string;\n /**\n * The org_uuid that issued the current org auth credential. Tracked so we can detect\n * a 401 challenge from a *different* org and re-fire the handler — the\n * credential is opaque to the client, so without this the original guard\n * `!this.orgSession` would prevent re-auth across orgs and surface as a silent\n * 401 in multi-org CLI workflows.\n */\n private orgSessionOrgUuid?: string;\n\n constructor(apiKey: string | undefined, baseUrl: string, customFetch?: typeof fetch) {\n this.baseUrl = baseUrl;\n this.apiKey = apiKey;\n // console.log('[BaseApiClient] constructor - baseUrl:', baseUrl);\n // Bind fetch to its proper context (window in browser, global in Node)\n this.fetchFunction =\n customFetch || (typeof window !== 'undefined' ? fetch.bind(window) : fetch);\n\n // Determine if we're making cross-domain requests by comparing current origin to API origin\n const apiUrlParsed = new URL(baseUrl);\n const currentOrigin = typeof window !== 'undefined' ? window.location.origin : '';\n this.isCrossDomain = currentOrigin !== '' && currentOrigin !== apiUrlParsed.origin;\n // console.log('[BaseApiClient] isCrossDomain:', this.isCrossDomain, 'currentOrigin:', currentOrigin, 'apiOrigin:', apiUrlParsed.origin);\n }\n\n /**\n * Set the handler for enhanced authentication requirements (RFC 9470 Step-Up Auth).\n * This handler is called when a 401 response includes WWW-Authenticate header\n * with error=\"insufficient_user_authentication\".\n */\n setEnhancedAuthHandler(handler: EnhancedAuthHandler | undefined) {\n this.enhancedAuthHandler = handler;\n }\n\n /**\n * Set the handler for organization authentication requirements.\n * This handler is called when a 401 response includes WWW-Authenticate header\n * with realm=\"org\". The handler should redirect the user to complete org auth.\n */\n setOrgAuthHandler(handler: OrgAuthHandler | undefined) {\n this.orgAuthHandler = handler;\n }\n\n /**\n * Update the API key (used after successful re-authentication).\n */\n updateApiKey(newApiKey: string) {\n this.apiKey = newApiKey;\n }\n\n /**\n * Set the opaque org session credential for cross-domain requests.\n * Opaque gr_sess_ values use X-Org-Session. Legacy orgToken JWE values still\n * use X-Org-Token through setOrgToken() during the migration window.\n *\n * `orgUuid` is the org that issued the credential; passing it lets the 401\n * handler detect a stale session when a subsequent request targets a\n * different org and re-fire the org-auth handler instead of silently\n * 401-ing. Callers without that context (legacy / unknown) may omit it.\n */\n setOrgSession(session: string | undefined, orgUuid?: string) {\n this.orgSession = session;\n this.orgSessionOrgUuid = session ? orgUuid : undefined;\n }\n\n /**\n * @deprecated Legacy compatibility for stateless orgToken JWE credentials.\n * Prefer setOrgSession() for opaque org browser sessions.\n */\n setOrgToken(token: string | undefined, orgUuid?: string) {\n this.setOrgSession(token, orgUuid);\n }\n\n protected async fetch<T>(endpoint: string, options?: RequestInit): Promise<T> {\n try {\n const headers = new Headers({\n // Don't set Content-Type for FormData — the browser must set it\n // with the multipart boundary automatically.\n ...(options?.body instanceof FormData ? {} : { 'Content-Type': 'application/json' }),\n ...((options?.headers as Record<string, string>) || {}),\n });\n\n if (this.apiKey) {\n headers.set('Authorization', `Bearer ${this.apiKey}`);\n } else if (this.isCrossDomain) {\n // For cross-domain requests, try to use the requestToken cookie\n const requestToken = getCookieValue('requestToken');\n if (requestToken) {\n headers.set('Authorization', `Bearer ${requestToken}`);\n }\n }\n\n setOrgAuthHeader(headers, this.orgSession);\n\n // console.warn(\"Calling with apiKey:\", this.apiKey)\n const fullUrl = `${this.baseUrl}/api/v2/${endpoint}`;\n // console.log('[BaseApiClient] fetch - URL:', fullUrl, 'baseUrl:', this.baseUrl, 'endpoint:', endpoint);\n\n const response = await this.fetchFunction(fullUrl, {\n ...options,\n ...(this.apiKey ? {} : { credentials: 'include' }),\n ...(this.isCrossDomain ? { mode: 'cors' } : {}),\n headers,\n });\n\n if (!response.ok) {\n // Check for step-up auth requirement per RFC 9470 (superuser 2FA re-auth needed)\n if (\n response.status === 401 &&\n requiresStepUpAuth(response.headers.get('WWW-Authenticate')) &&\n this.enhancedAuthHandler\n ) {\n // If re-auth is already in progress, wait for it\n if (this.enhancedAuthInProgress) {\n await this.enhancedAuthInProgress;\n } else {\n // Trigger re-auth and wait for completion\n this.enhancedAuthInProgress = this.enhancedAuthHandler();\n try {\n const newToken = await this.enhancedAuthInProgress;\n this.apiKey = newToken;\n } finally {\n this.enhancedAuthInProgress = null;\n }\n }\n // Retry the request with the new token\n try {\n return await this.fetch<T>(endpoint, options);\n } catch (retryError) {\n this.orgSession = undefined;\n this.orgSessionOrgUuid = undefined;\n throw retryError;\n }\n }\n\n if (response.status === 401) {\n const orgAuthInfo = parseOrgAuthChallenge(response.headers.get('WWW-Authenticate'));\n // If the challenge targets a different org than our current\n // token, the token is stale (e.g. switching from Org A to Org\n // B mid-session). Clear it so the handler re-fires below.\n if (\n orgAuthInfo &&\n this.orgSession &&\n this.orgSessionOrgUuid &&\n this.orgSessionOrgUuid !== orgAuthInfo.orgUuid\n ) {\n this.orgSession = undefined;\n this.orgSessionOrgUuid = undefined;\n }\n if (orgAuthInfo && !this.orgSession) {\n const requestCookieName = getRequestOrgCookieName(orgAuthInfo.cookieName);\n const cachedOrgSession = requestCookieName\n ? getCookieValue(requestCookieName)\n : undefined;\n if (cachedOrgSession) {\n this.orgSession = cachedOrgSession;\n this.orgSessionOrgUuid = orgAuthInfo.orgUuid;\n try {\n return await this.fetch<T>(endpoint, options);\n } catch (retryError) {\n this.orgSession = undefined;\n this.orgSessionOrgUuid = undefined;\n throw retryError;\n }\n }\n\n if (this.orgAuthHandler) {\n if (!this.orgAuthInProgress) {\n const handler = this.orgAuthHandler;\n this.orgAuthInProgress = (async () => {\n try {\n await handler(orgAuthInfo);\n } finally {\n this.orgAuthInProgress = null;\n }\n })();\n }\n await this.orgAuthInProgress;\n // Prefer cookie (browser). Fall back to this.orgSession which\n // non-browser handlers (e.g. CLI) set directly via setOrgSession().\n const postHandlerSession =\n (requestCookieName ? getCookieValue(requestCookieName) : undefined) ??\n this.orgSession;\n if (!postHandlerSession) {\n throw new ApiError(\n 'Organization authentication did not issue a session',\n 401\n );\n }\n this.orgSession = postHandlerSession;\n this.orgSessionOrgUuid = orgAuthInfo.orgUuid;\n try {\n return await this.fetch<T>(endpoint, options);\n } catch (retryError) {\n this.orgSession = undefined;\n this.orgSessionOrgUuid = undefined;\n throw retryError;\n }\n }\n }\n }\n\n const errorData = await response.json().catch(() => ({}));\n\n // Handle unauthorized errors for account endpoint\n if (response.status === 401 && endpoint === 'account') {\n throw new Error('unauthorized');\n }\n\n // Handle structured validation errors (Pydantic array format)\n if (Array.isArray(errorData.detail)) {\n const formattedErrors = errorData.detail\n .map((error: any) => {\n const location = error.loc.join(' > ');\n return `${location}: ${error.msg}`;\n })\n .join('\\n');\n throw new ApiError(`Validation Error:\\n${formattedErrors}`, response.status);\n }\n\n // Handle validation errors with errors array (new format)\n if (errorData.errors && Array.isArray(errorData.errors)) {\n // Structured workflow-expression validation errors — objects with\n // { field, kind, message, offendingPath, location }. Build a\n // readable message and preserve the structured payload.\n if (errorData.errors.length > 0 && isApiValidationError(errorData.errors[0])) {\n const validationErrors: ApiValidationError[] =\n errorData.errors.filter(isApiValidationError);\n const [first] = validationErrors;\n if (first) {\n const extra =\n validationErrors.length > 1\n ? ` (+${validationErrors.length - 1} more)`\n : '';\n const readable = `${first.field}: ${first.message}${extra}`;\n throw new ApiError(\n readable,\n response.status,\n validationErrors.map((e) => `${e.field}: ${e.message}`),\n validationErrors\n );\n }\n }\n\n // Legacy string-array errors.\n const stringErrors: string[] = errorData.errors.filter(\n (e: unknown): e is string => typeof e === 'string'\n );\n const details = stringErrors.join('; ');\n const message = errorData.detail\n ? `${errorData.detail}: ${details}`\n : `Validation failed: ${details}`;\n throw new ApiError(message, response.status, stringErrors);\n }\n\n // Handle structured errors (with error: true or with code property).\n //\n // TWO body shapes reach here and both carry structure:\n //\n // * `detail` IS the structured object — the member/account contact\n // conflicts build their whole payload as `HTTPException.detail`.\n // * `detail` is PROSE and the machine-readable fields sit beside it\n // at the top level. That is what the domain exception handlers\n // emit: `conflict_handler` writes `{detail, code, ...payload}`, so\n // a Journey v2 refusal arrives as\n // `{detail: \"...\", code: \"journey_v2_invalid_topology\", issues: [...]}`.\n //\n // `detail || errorData` picked the prose string for the second shape,\n // which is not an object, so the branch fell through and `code` and\n // `issues` were dropped on the floor — leaving a client unable to\n // tell a definition conflict from a structural refusal, or to point\n // at the resources a validator rejected. Prefer an OBJECT detail and\n // otherwise read the body itself; the message is unchanged in both\n // cases (prose still wins when there is prose).\n const detail = errorData.detail;\n const structuredError = detail && typeof detail === 'object' ? detail : errorData;\n if (\n structuredError &&\n typeof structuredError === 'object' &&\n (structuredError.error === true || structuredError.code)\n ) {\n const message =\n (typeof detail === 'string' && detail) ||\n structuredError.message ||\n structuredError.code ||\n 'Unknown error';\n const error = new ApiError(message, response.status);\n // Attach the full error data for frontend handling\n error.errorData = structuredError;\n throw error;\n }\n\n // Handle simple error messages\n const errorMessage =\n typeof errorData.detail === 'string'\n ? errorData.detail\n : errorData.message || response.statusText;\n const simpleError = new ApiError(errorMessage, response.status);\n // A prose `detail` STRING alongside a top-level `code` is the shape\n // the backend's domain-validation handler produces: it merges an\n // exception's `payload` into the body and keeps `detail`\n // authoritative. That misses the structured branch above, because\n // `errorData.detail || errorData` resolves to the string. Carry the\n // body through so a caller can still branch on the token — the\n // alternative is parsing `detail`, which is deliberately\n // human-facing prose and not a stable contract.\n if (typeof errorData.code === 'string') {\n simpleError.errorData = errorData;\n }\n throw simpleError;\n }\n\n // Handle 204 No Content - no JSON body to parse\n if (response.status === 204) {\n return undefined as any;\n }\n\n return response.json();\n } catch (error) {\n logApiClientError(error);\n throw error;\n }\n }\n\n protected async fetchRaw(\n endpoint: string,\n options?: RequestInit,\n allowedErrorStatuses: number[] = []\n ): Promise<Response> {\n try {\n const headers = new Headers({\n ...((options?.headers as Record<string, string>) || {}),\n });\n\n if (this.apiKey) {\n headers.set('Authorization', `Bearer ${this.apiKey}`);\n } else if (this.isCrossDomain) {\n // For cross-domain requests, try to use the requestToken cookie\n const requestToken = getCookieValue('requestToken');\n if (requestToken) {\n headers.set('Authorization', `Bearer ${requestToken}`);\n }\n }\n\n setOrgAuthHeader(headers, this.orgSession);\n\n const response = await this.fetchFunction(`${this.baseUrl}/api/v2/${endpoint}`, {\n ...options,\n ...(this.apiKey ? {} : { credentials: 'include' }),\n ...(this.isCrossDomain ? { mode: 'cors' } : {}),\n headers,\n });\n\n if (!response.ok) {\n // Check for step-up auth requirement per RFC 9470 (superuser 2FA re-auth needed)\n if (\n response.status === 401 &&\n requiresStepUpAuth(response.headers.get('WWW-Authenticate')) &&\n this.enhancedAuthHandler\n ) {\n // If re-auth is already in progress, wait for it\n if (this.enhancedAuthInProgress) {\n await this.enhancedAuthInProgress;\n } else {\n // Trigger re-auth and wait for completion\n this.enhancedAuthInProgress = this.enhancedAuthHandler();\n try {\n const newToken = await this.enhancedAuthInProgress;\n this.apiKey = newToken;\n } finally {\n this.enhancedAuthInProgress = null;\n }\n }\n // Retry the request with the new token\n try {\n return await this.fetchRaw(endpoint, options, allowedErrorStatuses);\n } catch (retryError) {\n this.orgSession = undefined;\n this.orgSessionOrgUuid = undefined;\n throw retryError;\n }\n }\n\n // Mirror of the org-auth branch in fetch() above; see comments there.\n if (response.status === 401) {\n const orgAuthInfo = parseOrgAuthChallenge(response.headers.get('WWW-Authenticate'));\n if (\n orgAuthInfo &&\n this.orgSession &&\n this.orgSessionOrgUuid &&\n this.orgSessionOrgUuid !== orgAuthInfo.orgUuid\n ) {\n this.orgSession = undefined;\n this.orgSessionOrgUuid = undefined;\n }\n if (orgAuthInfo && !this.orgSession) {\n const requestCookieName = getRequestOrgCookieName(orgAuthInfo.cookieName);\n const cachedOrgSession = requestCookieName\n ? getCookieValue(requestCookieName)\n : undefined;\n if (cachedOrgSession) {\n this.orgSession = cachedOrgSession;\n this.orgSessionOrgUuid = orgAuthInfo.orgUuid;\n try {\n return await this.fetchRaw(endpoint, options, allowedErrorStatuses);\n } catch (retryError) {\n this.orgSession = undefined;\n this.orgSessionOrgUuid = undefined;\n throw retryError;\n }\n }\n\n if (this.orgAuthHandler) {\n if (!this.orgAuthInProgress) {\n const handler = this.orgAuthHandler;\n this.orgAuthInProgress = (async () => {\n try {\n await handler(orgAuthInfo);\n } finally {\n this.orgAuthInProgress = null;\n }\n })();\n }\n await this.orgAuthInProgress;\n // Prefer cookie (browser). Fall back to this.orgSession which\n // non-browser handlers (e.g. CLI) set directly via setOrgSession().\n const postHandlerSession =\n (requestCookieName ? getCookieValue(requestCookieName) : undefined) ??\n this.orgSession;\n if (!postHandlerSession) {\n throw new ApiError(\n 'Organization authentication did not issue a session',\n 401\n );\n }\n this.orgSession = postHandlerSession;\n this.orgSessionOrgUuid = orgAuthInfo.orgUuid;\n try {\n return await this.fetchRaw(endpoint, options, allowedErrorStatuses);\n } catch (retryError) {\n this.orgSession = undefined;\n this.orgSessionOrgUuid = undefined;\n throw retryError;\n }\n }\n }\n }\n\n if (allowedErrorStatuses.includes(response.status)) {\n return response;\n }\n\n const errorText = await response.text().catch(() => '');\n throw new ApiError(errorText || response.statusText, response.status);\n }\n\n return response;\n } catch (error) {\n logApiClientError(error);\n throw error;\n }\n }\n\n /**\n * Fetch from root path (not prefixed with /api/v2/)\n * Used for OAuth and other non-API endpoints\n */\n protected async fetchRoot<T>(path: string, options?: RequestInit): Promise<T> {\n try {\n const headers = new Headers({\n ...(options?.body instanceof FormData ? {} : { 'Content-Type': 'application/json' }),\n ...((options?.headers as Record<string, string>) || {}),\n });\n\n if (this.apiKey) {\n headers.set('Authorization', `Bearer ${this.apiKey}`);\n } else if (this.isCrossDomain) {\n const requestToken = getCookieValue('requestToken');\n if (requestToken) {\n headers.set('Authorization', `Bearer ${requestToken}`);\n }\n }\n\n setOrgAuthHeader(headers, this.orgSession);\n\n const fullUrl = `${this.baseUrl}/${path}`;\n\n const response = await this.fetchFunction(fullUrl, {\n ...options,\n ...(this.apiKey ? {} : { credentials: 'include' }),\n ...(this.isCrossDomain ? { mode: 'cors' } : {}),\n headers,\n });\n\n if (!response.ok) {\n if (response.status === 404) {\n return null as T;\n }\n const errorData = await response.json().catch(() => ({}));\n const errorMessage = errorData.detail || errorData.message || response.statusText;\n throw new ApiError(errorMessage, response.status);\n }\n\n if (response.status === 204) {\n return undefined as T;\n }\n\n return response.json();\n } catch (error) {\n logApiClientError(error);\n throw error;\n }\n }\n}\n","import type { ChatsApi } from '../api/chats';\nimport type { InteractionMode, InteractionSessionResponse } from '../types/chat-types';\n\ntype InteractionApi = Pick<\n ChatsApi,\n 'createChatInteractionSession' | 'transitionChatInteractionSession'\n>;\n\n/** One client's mode history in one Chat. Create a separate controller per device/session. */\nexport class ChatInteractionController {\n private current: InteractionSessionResponse | undefined;\n private pending: { mode: InteractionMode; requestId: string } | undefined;\n private tail: Promise<unknown> = Promise.resolve();\n private readonly clientSessionId = crypto.randomUUID();\n\n constructor(\n private readonly api: InteractionApi,\n private readonly workspaceId: string,\n private readonly chatId: number\n ) {}\n\n /** Serialize switches and reuse request IDs when a response is lost. */\n ensure(mode: InteractionMode): Promise<InteractionSessionResponse> {\n const operation = this.tail.then(async () => {\n // Resolve an uncertain earlier write before selecting the next mode.\n if (this.pending) await this.applyPending();\n if (this.current?.mode !== mode) {\n this.pending = { mode, requestId: crypto.randomUUID() };\n await this.applyPending();\n }\n if (!this.current) throw new Error('Interaction session unavailable');\n return this.current;\n });\n this.tail = operation.catch(() => undefined);\n return operation;\n }\n\n private async applyPending(): Promise<void> {\n const pending = this.pending;\n if (!pending) return;\n this.current = this.current\n ? await this.api.transitionChatInteractionSession(\n this.workspaceId,\n this.chatId,\n this.current.id,\n pending\n )\n : await this.api.createChatInteractionSession(this.workspaceId, this.chatId, {\n ...pending,\n clientSessionId: this.clientSessionId,\n });\n this.pending = undefined;\n }\n}\n"],"mappings":";AACO,SAAS,eAAe,MAAkC;AAC9D,MAAI,OAAO,aAAa,YAAa,QAAO;AAE5C,QAAM,UAAU,SAAS,OAAO,MAAM,GAAG;AACzC,aAAW,UAAU,SAAS;AAC3B,UAAM,gBAAgB,OAAO,KAAK;AAClC,UAAM,UAAU,cAAc,QAAQ,GAAG;AACzC,QAAI,YAAY,GAAI;AAEpB,UAAM,aAAa,cAAc,UAAU,GAAG,OAAO;AACrD,UAAM,cAAc,cAAc,UAAU,UAAU,CAAC;AAEvD,QAAI,eAAe,MAAM;AACtB,aAAO;AAAA,IACV;AAAA,EACH;AAEA,SAAO;AACV;AAsBA,SAAS,qBAAqB,OAA6C;AACxE,MAAI,CAAC,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