@gravity-rail/sdk 0.18.1 → 0.22.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.
Files changed (39) hide show
  1. package/dist/{chunk-2YLKG4TT.js → chunk-3HAV5XUJ.js} +1 -1
  2. package/dist/chunk-3HAV5XUJ.js.map +1 -0
  3. package/dist/{chunk-PJFEGUHM.js → chunk-7OLBLLV7.js} +6 -2
  4. package/dist/{chunk-PJFEGUHM.js.map → chunk-7OLBLLV7.js.map} +1 -1
  5. package/dist/{chunk-PUIYXJSZ.js → chunk-WMA6YCAS.js} +496 -41
  6. package/dist/chunk-WMA6YCAS.js.map +1 -0
  7. package/dist/{client-B-jmQ4UA.d.cts → client-C10qSd6b.d.ts} +1678 -285
  8. package/dist/{client-CatNn6FD.d.ts → client-Ct0soeip.d.cts} +1678 -285
  9. package/dist/helpers.cjs +141 -0
  10. package/dist/helpers.cjs.map +1 -1
  11. package/dist/helpers.d.cts +17 -3
  12. package/dist/helpers.d.ts +17 -3
  13. package/dist/helpers.js +127 -1
  14. package/dist/helpers.js.map +1 -1
  15. package/dist/index.cjs +595 -41
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +28 -5
  18. package/dist/index.d.ts +28 -5
  19. package/dist/index.js +123 -5
  20. package/dist/index.js.map +1 -1
  21. package/dist/internal.cjs +502 -41
  22. package/dist/internal.cjs.map +1 -1
  23. package/dist/internal.d.cts +630 -551
  24. package/dist/internal.d.ts +630 -551
  25. package/dist/internal.js +9 -5
  26. package/dist/internal.js.map +1 -1
  27. package/dist/{revision-state-Fw1jsQOa.d.ts → revision-state-C6aM-PHu.d.ts} +53 -172
  28. package/dist/{revision-state-CuESPYpi.d.cts → revision-state-CCPTiW-i.d.cts} +53 -172
  29. package/dist/schemas.cjs +31 -5
  30. package/dist/schemas.cjs.map +1 -1
  31. package/dist/schemas.d.cts +37 -14
  32. package/dist/schemas.d.ts +37 -14
  33. package/dist/schemas.js +31 -6
  34. package/dist/schemas.js.map +1 -1
  35. package/dist/{tasks-GVbVa_Lj.d.cts → tasks-WH_VfzMv.d.cts} +351 -16
  36. package/dist/{tasks-GVbVa_Lj.d.ts → tasks-WH_VfzMv.d.ts} +351 -16
  37. package/package.json +6 -6
  38. package/dist/chunk-2YLKG4TT.js.map +0 -1
  39. package/dist/chunk-PUIYXJSZ.js.map +0 -1
@@ -147,6 +147,9 @@ declare enum Scope {
147
147
  FILES_READ = "files:read",
148
148
  FILES_WRITE = "files:write",
149
149
  FILES_ADMIN = "files:admin",
150
+ DEVICES_READ = "devices:read",
151
+ DEVICES_WRITE = "devices:write",
152
+ DEVICES_ADMIN = "devices:admin",
150
153
  SITES_READ = "sites:read",
151
154
  SITES_WRITE = "sites:write",
152
155
  SITES_ADMIN = "sites:admin",
@@ -201,6 +204,8 @@ type WorkspaceSortField = 'createdAt' | 'updatedAt' | 'name';
201
204
  type AdminWorkspaceSortField = 'name' | 'slug' | 'createdAt';
202
205
  type BotSortField = 'createdAt' | 'updatedAt' | 'name';
203
206
  type AgentSortField = 'createdAt' | 'updatedAt' | 'name';
207
+ /** Closed vocabulary matching GET /agents?owner=. Default `all`. */
208
+ type AgentOwnerFilter = 'mine' | 'shared' | 'all';
204
209
  type WorkflowSortField = 'name' | 'updatedAt' | 'createdAt';
205
210
  type TaskSortField = 'name' | 'createdAt' | 'workflowId';
206
211
  type QualificationSortField = 'name' | 'createdAt';
@@ -214,6 +219,13 @@ type CalendarEventSortField = 'startTime' | 'createdAt';
214
219
  * (group map from emit_openapi.py). Do not edit manually.
215
220
  * Group: account
216
221
  */
222
+ /**
223
+ * One billing customer an account holds a role on.
224
+ */
225
+ interface AccountCustomerRef {
226
+ id: number;
227
+ name?: string | null;
228
+ }
217
229
  /**
218
230
  * Base account response for non-admin endpoints.
219
231
  *
@@ -290,8 +302,7 @@ interface AdminAccountResponse {
290
302
  locale: string | null;
291
303
  timezone: string | null;
292
304
  workspaceUuids: string[];
293
- customerId?: number | null;
294
- customerName?: string | null;
305
+ customers?: AccountCustomerRef[];
295
306
  pendingDeletion?: boolean;
296
307
  deletionRequestedAt?: string | null;
297
308
  }
@@ -309,6 +320,7 @@ interface ApiKeyCreatedResponse {
309
320
  enabled: boolean;
310
321
  scopes: string[];
311
322
  appId?: number | null;
323
+ dataUseMode?: DataUseMode;
312
324
  key: string;
313
325
  }
314
326
  /**
@@ -325,6 +337,7 @@ interface ApiKeyResponse {
325
337
  enabled: boolean;
326
338
  scopes: string[];
327
339
  appId?: number | null;
340
+ dataUseMode?: DataUseMode;
328
341
  }
329
342
  /**
330
343
  * Response after canceling a credential change invitation.
@@ -417,6 +430,22 @@ declare const CredentialChangeVerifyResponseCredentialType: {
417
430
  readonly email: "email";
418
431
  readonly phone: "phone";
419
432
  };
433
+ /**
434
+ * What a *credential* may carry (ADR-18 §1), not what a member may see.
435
+ *
436
+ * This is an axis on the connection, deliberately not a scope: scopes are
437
+ * additive grants for cross-member access, and a member's own data is reached
438
+ * with no scope at all, so no scope value can express "this channel must not
439
+ * carry PHI". Computed at mint time and mutable afterwards **only toward**
440
+ * :attr:`NO_PHI` — the same "narrows, never widens" doctrine as
441
+ * ``scope_restriction`` and ``Device.enrollment_scope_ceiling``. Widening is a
442
+ * re-consent, i.e. revoke and re-mint under lifted conditions.
443
+ */
444
+ type DataUseMode = typeof DataUseMode[keyof typeof DataUseMode];
445
+ declare const DataUseMode: {
446
+ readonly unrestricted: "unrestricted";
447
+ readonly no_phi: "no_phi";
448
+ };
420
449
  interface LoginResponse {
421
450
  token: string;
422
451
  accountId: number;
@@ -620,6 +649,50 @@ interface Address {
620
649
  */
621
650
  isoCountry: string;
622
651
  }
652
+ /**
653
+ * One carrier-provisioning ledger row for the admin ledger read verb.
654
+ *
655
+ * Backed by ``SubscriptionItem`` rows across ALL of the org's subscriptions:
656
+ * direct-rail ledger rows, Stripe per-phone membership rows (released ones
657
+ * included — a full month is billed at purchase with no credit on release,
658
+ * so a released phone must stay invoiceable), live legacy per-number
659
+ * placeholders, and A2P brand markers. Stripe *aggregate* rows are excluded
660
+ * — they are a Stripe mechanism, not per-resource history — and a legacy
661
+ * placeholder drops out on release (canceled, it is indistinguishable from
662
+ * a canceled aggregate).
663
+ *
664
+ * Deliberately no amount field: ``unit_amount_cents`` arrives with
665
+ * pass-through pricing (PR 4), and shipping without the column beats
666
+ * shipping an always-empty one. Actor attribution lives in the security
667
+ * audit log: for ACTIVE rows it is keyed by the resource id
668
+ * (``PHONE_NUMBER_PURCHASED.providerPhoneId`` /
669
+ * ``A2P_ORG_REGISTRATION_STARTED.brandId``); a RELEASED phone row has no
670
+ * surviving resource id (the cancel clears the FK), so it correlates to
671
+ * its ``PHONE_NUMBER_RELEASED`` event by organization + timestamp.
672
+ */
673
+ interface AdminCarrierLedgerEntryResponse {
674
+ id: number;
675
+ subscriptionId: number;
676
+ resource: AdminCarrierLedgerEntryResponseResource;
677
+ identifier?: string | null;
678
+ resourceKey?: string | null;
679
+ priceType: string;
680
+ status: string;
681
+ quantity: number;
682
+ billingStrategy: AdminCarrierLedgerEntryResponseBillingStrategy;
683
+ createdAt: string;
684
+ updatedAt: string;
685
+ }
686
+ type AdminCarrierLedgerEntryResponseBillingStrategy = typeof AdminCarrierLedgerEntryResponseBillingStrategy[keyof typeof AdminCarrierLedgerEntryResponseBillingStrategy];
687
+ declare const AdminCarrierLedgerEntryResponseBillingStrategy: {
688
+ readonly stripe: "stripe";
689
+ readonly direct: "direct";
690
+ };
691
+ type AdminCarrierLedgerEntryResponseResource = typeof AdminCarrierLedgerEntryResponseResource[keyof typeof AdminCarrierLedgerEntryResponseResource];
692
+ declare const AdminCarrierLedgerEntryResponseResource: {
693
+ readonly phone_number: "phone_number";
694
+ readonly a2p_brand: "a2p_brand";
695
+ };
623
696
  /**
624
697
  * Extended organization response with admin details.
625
698
  *
@@ -653,6 +726,8 @@ interface AdminOrganizationResponse$1 {
653
726
  phoneNumberCount?: number;
654
727
  ssoOidc?: OIDCAdminConfigView | null;
655
728
  enforceCreditLimit?: boolean;
729
+ maxPhoneNumbers?: number;
730
+ maxA2pBrands?: number;
656
731
  declaredDataUse?: DeclaredDataUse;
657
732
  phiPolicyVersion?: string | null;
658
733
  phiPolicySource?: string | null;
@@ -1107,8 +1182,9 @@ interface SiteDisableImpactResponse {
1107
1182
  /**
1108
1183
  * One DNS record the customer must publish for the site to work.
1109
1184
  *
1110
- * v1 only emits a single CNAME (custom domain → sites_domain).
1111
- * Future: TLS validation TXT records, A records for apex.
1185
+ * Two records today: the routing CNAME (purpose "target") and the
1186
+ * CloudFront domain-control TXT `_cf-challenge.<domain>` (purpose
1187
+ * "domain-control", #24354). Future: A records for apex.
1112
1188
  */
1113
1189
  interface SiteDnsRecord {
1114
1190
  type: SiteDnsRecordType;
@@ -1133,6 +1209,7 @@ declare const SiteDnsRecordType: {
1133
1209
  interface SiteDomainConfigGetResponse {
1134
1210
  enabled: boolean;
1135
1211
  config?: SiteDomainConfigResponse | null;
1212
+ requiredDnsRecords?: SiteDnsRecord[] | null;
1136
1213
  }
1137
1214
  /**
1138
1215
  * Full picture of a SiteDomainConfig — DNS records + statuses.
@@ -1142,15 +1219,25 @@ interface SiteDomainConfigResponse {
1142
1219
  orgDomainUuid: string;
1143
1220
  domain: string;
1144
1221
  status: string;
1145
- targetStatus: string;
1222
+ targetStatus: SiteDomainConfigResponseTargetStatus;
1146
1223
  tlsStatus: string;
1147
1224
  lastCheckedAt?: string | null;
1148
1225
  createdAt: string;
1149
1226
  updatedAt: string;
1150
1227
  dnsRecords: SiteDnsRecord[];
1151
1228
  }
1229
+ type SiteDomainConfigResponseTargetStatus = typeof SiteDomainConfigResponseTargetStatus[keyof typeof SiteDomainConfigResponseTargetStatus];
1230
+ declare const SiteDomainConfigResponseTargetStatus: {
1231
+ readonly pending: "pending";
1232
+ readonly verified: "verified";
1233
+ readonly failed: "failed";
1234
+ };
1152
1235
  /**
1153
1236
  * Result of running a "Verify DNS" pass.
1237
+ *
1238
+ * The live tenant domain-association state (#24354) rides in
1239
+ * `config.dnsRecords`: the `domain-control` record is verified iff
1240
+ * CloudFront reports the domain active — no separate scalar needed.
1154
1241
  */
1155
1242
  interface SiteVerificationResponse {
1156
1243
  status: string;
@@ -1205,11 +1292,13 @@ interface AccountState {
1205
1292
  interface LoginRequest {
1206
1293
  phoneNumber: string;
1207
1294
  organizationUuid?: string;
1295
+ isSignUp?: boolean;
1208
1296
  }
1209
1297
  interface VerifyCodeRequest {
1210
1298
  phoneNumber: string;
1211
1299
  code: string;
1212
1300
  organizationUuid?: string;
1301
+ isSignUp?: boolean;
1213
1302
  }
1214
1303
  interface VerifyCodeResponse {
1215
1304
  token: string;
@@ -1350,6 +1439,8 @@ interface UpdateOrganizationRequest {
1350
1439
  ssoOidc?: OIDCAdminConfigInput | null;
1351
1440
  twilioSubAccountSid?: string | null;
1352
1441
  enforceCreditLimit?: boolean;
1442
+ maxPhoneNumbers?: number;
1443
+ maxA2pBrands?: number;
1353
1444
  }
1354
1445
  interface LogoUploadRequest {
1355
1446
  contentType: string;
@@ -1587,6 +1678,7 @@ interface AgentResponse {
1587
1678
  id: number;
1588
1679
  uuid: string;
1589
1680
  name?: string | null;
1681
+ title?: string | null;
1590
1682
  description?: string | null;
1591
1683
  email?: string | null;
1592
1684
  phone?: string | null;
@@ -1719,6 +1811,7 @@ interface CurrentMemberResponse {
1719
1811
  createdAt: string;
1720
1812
  updatedAt: string;
1721
1813
  name: string | null;
1814
+ title?: string | null;
1722
1815
  description: string | null;
1723
1816
  phone: string | null;
1724
1817
  phoneType: string | null;
@@ -1744,6 +1837,7 @@ interface CurrentMemberResponse {
1744
1837
  timezone?: string | null;
1745
1838
  memberType?: string;
1746
1839
  isArchived?: boolean;
1840
+ isImportProtected?: boolean;
1747
1841
  ownerId?: number | null;
1748
1842
  ownerName?: string | null;
1749
1843
  canLogin?: boolean;
@@ -1862,7 +1956,12 @@ type MemberFilterResponseQuery = {
1862
1956
  [key: string]: unknown;
1863
1957
  } | null;
1864
1958
  /**
1865
- * Why an import row is a phone-only identity conflict (field names only).
1959
+ * Why an import row was refused (field names only, never values).
1960
+ *
1961
+ * ``code`` is a stable identifier: GRA-5545 phone-only identity mismatch
1962
+ * (``identity_mismatch_on_phone_match``) or GH #22393 import protection
1963
+ * (``operator_role`` / ``import_protected``). ``fields`` is empty for
1964
+ * protection refusals.
1866
1965
  */
1867
1966
  interface MemberImportConflictInfo {
1868
1967
  code: string;
@@ -2107,6 +2206,7 @@ interface WorkspaceMemberResponse {
2107
2206
  createdAt: string;
2108
2207
  updatedAt: string;
2109
2208
  name: string | null;
2209
+ title?: string | null;
2110
2210
  description: string | null;
2111
2211
  phone: string | null;
2112
2212
  phoneType: string | null;
@@ -2132,12 +2232,191 @@ interface WorkspaceMemberResponse {
2132
2232
  timezone?: string | null;
2133
2233
  memberType?: string;
2134
2234
  isArchived?: boolean;
2235
+ isImportProtected?: boolean;
2135
2236
  ownerId?: number | null;
2136
2237
  ownerName?: string | null;
2137
2238
  canLogin?: boolean;
2138
2239
  experimentGroup?: MemberExperimentGroupSummary | null;
2139
2240
  }
2140
2241
 
2242
+ type OpenAITurnDetectionType = 'semantic_vad' | 'server_vad';
2243
+ type OpenAISemanticVADEagerness = 'low' | 'medium' | 'high' | 'auto';
2244
+ interface OpenAISemanticVADTurnDetection {
2245
+ type: 'semantic_vad';
2246
+ eagerness?: OpenAISemanticVADEagerness;
2247
+ create_response?: boolean;
2248
+ interrupt_response?: boolean;
2249
+ }
2250
+ interface OpenAIServerVADTurnDetection {
2251
+ type: 'server_vad';
2252
+ threshold?: number;
2253
+ prefix_padding_ms?: number;
2254
+ silence_duration_ms?: number;
2255
+ create_response?: boolean;
2256
+ interrupt_response?: boolean;
2257
+ }
2258
+ type OpenAITurnDetection = OpenAISemanticVADTurnDetection | OpenAIServerVADTurnDetection;
2259
+ /**
2260
+ * xAI's server-VAD block: OpenAI's fields plus `idle_timeout_ms`, which xAI
2261
+ * documents and OpenAI has no equivalent for. Mirrors
2262
+ * `lib/voice/realtime_config.py:XAIServerVADTurnDetection`.
2263
+ *
2264
+ * A configured `turnDetection` REPLACES xAI's default block wholesale rather
2265
+ * than merging with it, so setting `idle_timeout_ms` alone also drops the
2266
+ * phone-tuned threshold and prefix padding back to schema defaults.
2267
+ */
2268
+ interface XAIServerVADTurnDetection extends OpenAIServerVADTurnDetection {
2269
+ /**
2270
+ * Silence (ms) before xAI speaks again unprompted. Unset means
2271
+ * re-engagement is off; there is deliberately no platform default. xAI
2272
+ * clamps the value up to its own floor, so read back the echoed session
2273
+ * when the exact wait matters.
2274
+ */
2275
+ idle_timeout_ms?: number | null;
2276
+ }
2277
+ type ThinkingSound = 'none' | 'typing' | 'strumming' | 'speech';
2278
+ type InterruptionSound = 'none' | 'clav' | 'bells' | 'organ' | 'guzheng';
2279
+ /** Default filler phrases suggested when the user first enables "speech" mode. */
2280
+ declare const DEFAULT_THINKING_SPEECH_PHRASES: readonly string[];
2281
+ type TTSModel = 'native' | 'elevenlabs:tts:eleven_turbo_v2' | 'elevenlabs:tts:eleven_turbo_v2_5' | 'elevenlabs:tts:eleven_multilingual_v2' | 'elevenlabs:tts:eleven_flash_v2_5' | 'openai:tts:tts-1' | 'openai:tts:tts-1-hd' | 'openai:tts:gpt-4o-mini-tts' | 'aws:tts:polly-generative' | 'aws:tts:polly-neural' | 'google:tts:chirp';
2282
+ /** Extract the provider from a TTSModel ID (e.g. "elevenlabs:tts:eleven_flash_v2_5" -> "elevenlabs"). */
2283
+ declare function getTTSProvider(ttsModel: string | null | undefined): string | null;
2284
+ /**
2285
+ * Base configuration for all realtime models.
2286
+ * Contains common fields that apply to all realtime model providers.
2287
+ */
2288
+ interface BaseRealtimeModelConfig {
2289
+ /** Sound to play while the agent is processing tool calls. */
2290
+ thinkingSound?: ThinkingSound | null;
2291
+ /** Volume level for the thinking sound (0-100). 0 means muted. Missing or null means full volume (100). */
2292
+ thinkingSoundVolume?: number | null;
2293
+ /** Initial delay in milliseconds before playing thinking sound. Prevents needless interruption on short tool calls. Default: 500ms. */
2294
+ thinkingSoundInitialDelay?: number | null;
2295
+ /** When `thinkingSound` is 'speech', one of these phrases is spoken while the agent runs a tool. Phrases rotate round-robin per session. */
2296
+ thinkingSpeechPhrases?: string[] | null;
2297
+ /** Sound to play when user stops speaking after interrupting the assistant. Provides immediate auditory feedback that input was received. Default: none. */
2298
+ interruptionSound?: InterruptionSound | null;
2299
+ /** Volume level for the interruption sound (0-100). 0 means muted. Missing or null means full volume (100). */
2300
+ interruptionSoundVolume?: number | null;
2301
+ /** TTS model ID in provider:tts:model format (e.g. 'elevenlabs:tts:eleven_flash_v2_5'), or 'native'. */
2302
+ ttsModel?: TTSModel | null;
2303
+ /** Canonical voice identifier (e.g., elevenlabs:voice:catt) that selects the specific agent voice. */
2304
+ voiceModel?: string | null;
2305
+ /**
2306
+ * Settings belonging to the voice architecture that is NOT currently
2307
+ * selected, parked so switching between the composable stack and a native
2308
+ * speech-to-speech model is lossless and reversible.
2309
+ *
2310
+ * Declared on the base because the native schemas set `extra="forbid"`
2311
+ * server-side: an undeclared key would be rejected on save. Written and
2312
+ * read only by the switch itself (`reconcile_realtime_model_config` on the
2313
+ * server, `parkComposableConfig` / `restoreComposableConfig` in the
2314
+ * editor). Nothing at call time reads it — it is a holding area, never
2315
+ * live configuration.
2316
+ */
2317
+ inactiveConfig?: Record<string, unknown> | null;
2318
+ }
2319
+ /**
2320
+ * Native realtime providers always use the model's built-in audio. The
2321
+ * backend Pydantic schemas now enforce `ttsModel: "native"` and reject
2322
+ * external `sttModel`. Mirroring that contract on the client surface
2323
+ * keeps the editor in sync — see `useVoiceConfig.buildSubmitConfig`.
2324
+ */
2325
+ interface OpenAIRealtimeModelConfig extends BaseRealtimeModelConfig {
2326
+ ttsModel?: 'native' | null;
2327
+ turnDetection?: OpenAITurnDetection | null;
2328
+ }
2329
+ interface GeminiRealtimeModelConfig extends BaseRealtimeModelConfig {
2330
+ ttsModel?: 'native' | null;
2331
+ }
2332
+ interface CustomRealtimeModelConfig extends BaseRealtimeModelConfig {
2333
+ sttModel?: string | null;
2334
+ sttConfig?: Record<string, unknown> | null;
2335
+ inferenceModel: string;
2336
+ inferenceModelConfig?: ChatModelConfig | null;
2337
+ }
2338
+ /**
2339
+ * xAI Voice Agent realtime config. Only `server_vad` is supported, so
2340
+ * the server-side schema rejects `semantic_vad`. Mirrors
2341
+ * `lib/constants.py:XAIRealtimeModelConfig`.
2342
+ */
2343
+ interface XAIRealtimeModelConfig extends BaseRealtimeModelConfig {
2344
+ ttsModel?: 'native' | null;
2345
+ turnDetection?: XAIServerVADTurnDetection | null;
2346
+ }
2347
+ type RealtimeModelConfig = OpenAIRealtimeModelConfig | GeminiRealtimeModelConfig | CustomRealtimeModelConfig | XAIRealtimeModelConfig;
2348
+ type GeminiThinkingLevel = 'minimal' | 'low' | 'medium' | 'high';
2349
+ /**
2350
+ * OpenAI GPT-5 reasoning effort. The ACCEPTED SUBSET IS MODEL-DEPENDENT — sending
2351
+ * an out-of-set value is a hard 400 at the API. Mirror of the per-family vocab in
2352
+ * lib/ai/chat_model_config.py (see getOpenAIReasoningEfforts):
2353
+ * gpt-5 (5.0): minimal / low / medium / high
2354
+ * gpt-5.1: none / low / medium / high
2355
+ * gpt-5.4: none / low / medium / high / xhigh
2356
+ * This union is the superset; the UI filters it down per selected model.
2357
+ */
2358
+ type OpenAIReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh';
2359
+ /**
2360
+ * xAI (Grok) reasoning levels. Note "none" disables reasoning entirely
2361
+ * (used by Grok 4.3 to switch into non-reasoning mode). Grok 4.6 accepts
2362
+ * "xhigh" but not "none". xAI does NOT accept OpenAI's "minimal".
2363
+ * https://docs.x.ai/developers/model-capabilities/text/reasoning#effort-levels
2364
+ */
2365
+ type XAIReasoningEffort = 'none' | 'low' | 'medium' | 'high' | 'xhigh';
2366
+ /**
2367
+ * Base configuration for all chat models.
2368
+ * Can be extended for provider-specific options.
2369
+ */
2370
+ interface BaseChatModelConfig {
2371
+ }
2372
+ interface GeminiChatModelConfig extends BaseChatModelConfig {
2373
+ thinkingLevel?: GeminiThinkingLevel | null;
2374
+ includeThoughts?: boolean | null;
2375
+ }
2376
+ interface ClaudeChatModelConfig extends BaseChatModelConfig {
2377
+ thinkingEnabled?: boolean | null;
2378
+ thinkingBudgetTokens?: number | null;
2379
+ }
2380
+ interface OpenAIChatModelConfig extends BaseChatModelConfig {
2381
+ provider: 'openai';
2382
+ reasoningEffort?: OpenAIReasoningEffort | null;
2383
+ }
2384
+ interface XAIChatModelConfig extends BaseChatModelConfig {
2385
+ provider: 'xai';
2386
+ reasoningEffort?: XAIReasoningEffort | null;
2387
+ }
2388
+ type ChatModelConfig = GeminiChatModelConfig | ClaudeChatModelConfig | OpenAIChatModelConfig | XAIChatModelConfig;
2389
+ /**
2390
+ * Supported TTS preview providers.
2391
+ * These are the voice providers that support TTS preview in the UI.
2392
+ */
2393
+ declare const TTS_PREVIEW_PROVIDERS: readonly ["openai", "elevenlabs", "google", "aws", "deepgram", "xai"];
2394
+ type TTSPreviewProvider = (typeof TTS_PREVIEW_PROVIDERS)[number];
2395
+ /**
2396
+ * Get the canonical voice model ID from a realtime model config.
2397
+ *
2398
+ * Voice model IDs follow the format: `{provider}:voice:{voiceName}`
2399
+ * Examples:
2400
+ * - `openai:voice:ash`
2401
+ * - `elevenlabs:voice:catt`
2402
+ * - `google:voice:puck`
2403
+ *
2404
+ * @param entity - An object with optional realtimeModelConfig
2405
+ * @returns The canonical voice model ID, or null if no voice is configured
2406
+ */
2407
+ declare function getVoiceModelId(entity: {
2408
+ realtimeModelConfig?: RealtimeModelConfig | null;
2409
+ }): string | null;
2410
+ /**
2411
+ * Check if an entity's voice can be previewed.
2412
+ *
2413
+ * @param entity - An object with optional realtimeModelConfig
2414
+ * @returns True if the entity's voice supports TTS preview
2415
+ */
2416
+ declare function canPreviewVoice(entity: {
2417
+ realtimeModelConfig?: RealtimeModelConfig | null;
2418
+ }): boolean;
2419
+
2141
2420
  /**
2142
2421
  * Unified Query Engine types — hand-written mirror of `lib/query/ir.py`
2143
2422
  * and the `/w/{wid}/queries/*` route models.
@@ -2748,6 +3027,7 @@ interface MemberMessageActivity {
2748
3027
  }
2749
3028
  interface CreateAgentRequest {
2750
3029
  name: string;
3030
+ title?: string;
2751
3031
  description?: string;
2752
3032
  email?: string;
2753
3033
  phone?: string;
@@ -2757,7 +3037,14 @@ interface CreateAgentRequest {
2757
3037
  labelIds?: number[];
2758
3038
  ownerId?: number;
2759
3039
  chatModelId: string;
2760
- chatModelConfig?: Record<string, unknown>;
3040
+ /** `null` clears the stored config. Both agent request bodies are applied
3041
+ * with `exclude_unset=True` server-side, so an OMITTED key means "leave the
3042
+ * stored value alone" — only an explicit null detaches a config from the
3043
+ * model family it was keyed to. The generated
3044
+ * `CreateAgentRequestChatModelConfig` is the loose OpenAPI free-form object;
3045
+ * typing it as the real union here is what makes a misshapen payload a
3046
+ * compile error instead of a 400. */
3047
+ chatModelConfig?: ChatModelConfig | null;
2761
3048
  realtimeModelId?: string;
2762
3049
  realtimeModelConfig?: Record<string, unknown>;
2763
3050
  systemPrompt: string;
@@ -2768,6 +3055,7 @@ interface CreateAgentRequest {
2768
3055
  }
2769
3056
  interface UpdateAgentRequest {
2770
3057
  name?: string;
3058
+ title?: string;
2771
3059
  description?: string;
2772
3060
  email?: string;
2773
3061
  phone?: string;
@@ -2776,7 +3064,8 @@ interface UpdateAgentRequest {
2776
3064
  labelIds?: number[];
2777
3065
  archived?: boolean;
2778
3066
  chatModelId?: string;
2779
- chatModelConfig?: Record<string, unknown>;
3067
+ /** `null` clears the stored config — see CreateAgentRequest. */
3068
+ chatModelConfig?: ChatModelConfig | null;
2780
3069
  realtimeModelId?: string;
2781
3070
  realtimeModelConfig?: Record<string, unknown>;
2782
3071
  systemPrompt?: string;
@@ -2884,6 +3173,7 @@ declare const EventRuleEventType$1: {
2884
3173
  readonly 'calendar_event:cancelled': "calendar_event:cancelled";
2885
3174
  readonly 'calendar_event:starting': "calendar_event:starting";
2886
3175
  readonly 'calendar_event:ended': "calendar_event:ended";
3176
+ readonly 'calendar_event:no_show': "calendar_event:no_show";
2887
3177
  readonly 'connector:event': "connector:event";
2888
3178
  readonly 'assignment:concluded': "assignment:concluded";
2889
3179
  readonly 'journey_step:execute': "journey_step:execute";
@@ -3408,6 +3698,7 @@ declare enum EventRuleEventType {
3408
3698
  CALENDAR_EVENT_CANCELLED = "calendar_event:cancelled",
3409
3699
  CALENDAR_EVENT_STARTING = "calendar_event:starting",
3410
3700
  CALENDAR_EVENT_ENDED = "calendar_event:ended",
3701
+ CALENDAR_EVENT_NO_SHOW = "calendar_event:no_show",
3411
3702
  CONNECTOR_EVENT = "connector:event",
3412
3703
  ASSIGNMENT_CONCLUDED = "assignment:concluded",
3413
3704
  JOURNEY_STEP_EXECUTE = "journey_step:execute",
@@ -3553,6 +3844,7 @@ interface ChatCreateActionParams {
3553
3844
  phoneNumberUUID?: string;
3554
3845
  inboxUUID?: string;
3555
3846
  initialUserMessage?: string;
3847
+ messageTemplate?: string;
3556
3848
  }
3557
3849
  interface ChatContinueActionParams {
3558
3850
  assistantPrompt?: string;
@@ -3821,7 +4113,8 @@ interface UpdateRoutineRequest {
3821
4113
  repeatCount?: number;
3822
4114
  cronString?: string;
3823
4115
  /** IANA timezone the cronString is interpreted in. Pass empty string ""
3824
- * to clear the override (revert to UTC). Omit to leave unchanged. */
4116
+ * to reset it to the workspace timezone — the server stores that value
4117
+ * explicitly rather than clearing the field. Omit to leave unchanged. */
3825
4118
  timezone?: string;
3826
4119
  /** ISO 8601 datetime string for deferred start. Pass empty string "" to clear the start date. */
3827
4120
  startDate?: string;
@@ -3853,6 +4146,8 @@ interface RoutinesQueryParams {
3853
4146
  * workspace; requires AUTOMATIONS_ADMIN and will 403 otherwise.
3854
4147
  */
3855
4148
  owner?: 'mine' | 'shared' | 'all' | 'all_including_private';
4149
+ /** Narrow within the visibility filter; never widens it. */
4150
+ ownerId?: number;
3856
4151
  }
3857
4152
  interface RoutineRunsQueryParams {
3858
4153
  page?: number;
@@ -4268,21 +4563,61 @@ interface GoogleCalendarStatusResponse {
4268
4563
  insufficientScopes?: boolean;
4269
4564
  }
4270
4565
  /**
4271
- * Response model for iCal feed token generation.
4566
+ * Non-secret metadata for one feed capability grant (audit/list UX).
4567
+ */
4568
+ interface ICalFeedGrantSummary {
4569
+ grantUuid: string;
4570
+ tokenPrefix: string;
4571
+ label?: string | null;
4572
+ createdAt: string;
4573
+ lastUsedAt?: string | null;
4574
+ expiresAt?: string | null;
4575
+ revokedAt?: string | null;
4576
+ isActive: boolean;
4577
+ includeDescription?: boolean;
4578
+ includeLocation?: boolean;
4579
+ includeAttendees?: boolean;
4580
+ includeOrganizer?: boolean;
4581
+ }
4582
+ /**
4583
+ * Response model for iCal feed token mint.
4584
+ *
4585
+ * ``feedUrl`` is a non-empty capability URL only when ``revealedOnce`` is True
4586
+ * (fresh mint). Re-POST without regenerate returns metadata with
4587
+ * ``feedUrl=""`` and ``revealedOnce=False`` — the secret is show-once and
4588
+ * never re-emitted. Callers should check ``revealedOnce`` (or empty
4589
+ * ``feedUrl``) before interpolating the URL into messages.
4272
4590
  */
4273
4591
  interface ICalFeedTokenResponse {
4274
4592
  feedUrl: string;
4275
4593
  tokenGeneratedAt: string;
4276
4594
  calendarId: number;
4277
4595
  calendarUuid: string;
4596
+ grantUuid?: string | null;
4597
+ tokenPrefix?: string | null;
4598
+ expiresAt?: string | null;
4599
+ includeDescription?: boolean;
4600
+ includeLocation?: boolean;
4601
+ includeAttendees?: boolean;
4602
+ includeOrganizer?: boolean;
4603
+ revealedOnce?: boolean;
4278
4604
  }
4279
4605
  /**
4280
- * Response model for getting iCal feed URL.
4606
+ * Response model for getting iCal feed grant status.
4607
+ *
4608
+ * Never re-emits the capability secret; ``feedUrl`` is always empty after mint.
4609
+ * Use mint (``POST .../ical-token`` with ``regenerate=true`` if needed) to
4610
+ * obtain a new show-once URL.
4281
4611
  */
4282
4612
  interface ICalFeedUrlResponse {
4283
- feedUrl: string | null;
4613
+ feedUrl: string;
4284
4614
  hasToken: boolean;
4285
- tokenGeneratedAt: string | null;
4615
+ tokenGeneratedAt?: string | null;
4616
+ grantUuid?: string | null;
4617
+ tokenPrefix?: string | null;
4618
+ expiresAt?: string | null;
4619
+ lastUsedAt?: string | null;
4620
+ grants?: ICalFeedGrantSummary[];
4286
4621
  }
4287
4622
  /**
4288
4623
  * A single time slot range with start and end times.
@@ -4459,8 +4794,8 @@ declare const CreateInquirySchema: z.ZodObject<{
4459
4794
  name: z.ZodOptional<z.ZodString>;
4460
4795
  email: z.ZodOptional<z.ZodString>;
4461
4796
  inquiryType: z.ZodEnum<{
4462
- builder: "builder";
4463
4797
  other: "other";
4798
+ builder: "builder";
4464
4799
  customer: "customer";
4465
4800
  partner: "partner";
4466
4801
  demo_request: "demo_request";
@@ -4494,8 +4829,8 @@ declare const AnonymousInquiryFormSchema: z.ZodObject<{
4494
4829
  name: z.ZodOptional<z.ZodString>;
4495
4830
  email: z.ZodOptional<z.ZodString>;
4496
4831
  inquiryType: z.ZodEnum<{
4497
- builder: "builder";
4498
4832
  other: "other";
4833
+ builder: "builder";
4499
4834
  customer: "customer";
4500
4835
  partner: "partner";
4501
4836
  demo_request: "demo_request";
@@ -4685,4 +5020,4 @@ type DeleteTaskInput = z.infer<typeof DeleteTaskSchema>;
4685
5020
  type ArchiveTaskInput = z.infer<typeof ArchiveTaskSchema>;
4686
5021
  type UnarchiveTaskInput = z.infer<typeof UnarchiveTaskSchema>;
4687
5022
 
4688
- export { type Calendar 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 BotSortField as L, type BulkCreateDataRecordRequest as M, type BulkCreateDataRecordResponse as N, type BulkCreateMembersRequest as O, type BulkCreateMembersResponse as P, type QueryPredicate as Q, type BulkMemberItem as R, type SchemaField as S, type BulkMemberResult as T, BulkMemberResultStatus as U, type BulkRecordResult as V, BusinessIndustry as W, type BusinessInfo as X, type BusinessProfileCancelResponse as Y, type BusinessProfileSubmitResponse as Z, BusinessType as _, EventRuleActionType as a, type DataTypeExportItem as a$, type EventResponse as a0, type CalendarEventFormData as a1, type CalendarEventSortField as a2, CalendarEventStatus as a3, type EventTypeResponse as a4, type CalendarEventTypeFormData as a5, type CalendarEventsQueryParams as a6, type CalendarFormData as a7, CalendarPermissionType as a8, type CalendarResponse as a9, type CredentialChangeInviteConfirmResponse as aA, type CredentialChangeInviteDetailsResponse as aB, type CredentialChangeInviteResponse as aC, type CredentialChangeRequestResponse as aD, type CredentialChangeVerifyResponse as aE, type CredentialType as aF, type CurrentMemberResponse as aG, type CurrentOrgMember as aH, type CursorPaginatedResponse as aI, DataCategory as aJ, type DataField as aK, type DataIntegrityReportItem as aL, type DataRecordResponse as aM, type DataRecordAssociationFormData as aN, type DataRecordFieldWarning as aO, type DataRecordFilterResponse as aP, type DataRecordFilterFormData as aQ, type DataRecordFilterWithQuery as aR, type DataRecordFormData as aS, type DataRecordReportItem as aT, type DataRecordRetirementResponse as aU, DataRecordRetirementResponseReason as aV, type DataRecordUpdateResponse as aW, type DataRecordWithAccessMode as aX, type DataRecordsPaginatedResponse as aY, DataSensitivity as aZ, type DataTypeResponse as a_, type CalendarSchedule as aa, CalendarScheduleAvailabilityType as ab, type CalendarScheduleFormData as ac, CalendarScheduleRecurrence as ad, type CalendarScheduleResponse as ae, CalendarSource as af, type CancelCredentialChangeInviteResponse as ag, type CancelCredentialChangeResponse as ah, type CapabilityRequirementFinding as ai, type CapabilityStatus as aj, type ChatContinueActionParams as ak, type ChatCreateActionParams as al, type ChatPauseActionParams as am, type ChatSortField as an, type ChatSummarizeActionParams as ao, type ConcludeAssignmentActionParams as ap, type CreateAccountOrgMembershipRequest as aq, type CreateAccountOrgMembershipResponse as ar, type CreateAgentRequest as as, type CreateAnonymousMemberRequest as at, type CreateCredentialChangeInviteRequest as au, type CreateDataRecordFilterRequest as av, type CreateOrganizationRequest as aw, type CreateRoutineRequest as ax, type CreateSignupResponse as ay, type CreateWorkspaceMemberRequest as az, type EventRuleInput as b, type MemberFieldDefinitionResponse as b$, type DataTypeFormData as b0, type DataTypeMemberRoleAccessInput as b1, type DataTypeMemberRoleAccessResponse as b2, DataTypeRecordScope as b3, type DataTypeSortField as b4, type DeleteAccountOrgMembershipResponse as b5, type DetailedAccount as b6, type DuplicateAccountInfo as b7, type EcwRefreshMemberEncountersActionParams as b8, type EmailDisableImpactResponse as b9, type GoogleCalendarInfo as bA, type GoogleCalendarInsufficientScopesResponse as bB, type GoogleCalendarStatusResponse as bC, type ICalFeedTokenResponse as bD, type ICalFeedUrlResponse as bE, type IdentifiedMemberContactConflict as bF, type IdentityConflictPolicy as bG, IndexStatus as bH, type IndexStatusResponse as bI, type InvokeCustomToolActionParams as bJ, JobPosition as bK, type JourneyEnrollActionParams as bL, type JourneySortField as bM, type LibModelsGlbResponsesOrganizationResponsesSSOConfigResponse as bN, type LinkCalendarRequest as bO, type LinkCalendarResponse as bP, type LoginRequest as bQ, type LoginResponse as bR, type LogoUploadRequest as bS, type LogoUploadResponse as bT, MASKED_SECRET_SENTINEL as bU, type McpServerSortField as bV, type WorkspaceMemberResponse as bW, type MemberContactConflict as bX, type MemberContactField as bY, type MemberCredentialResponse as bZ, type MemberFieldResponse as b_, EmailDnsRecordType as ba, type EmailDomainConfigResponse as bb, type EmailSendActionParams as bc, type EmailVerificationResponse as bd, type EnumOption as be, type ErrorResponse as bf, type EventActionMapping as bg, type EventActionMappingsResponse as bh, type EventRule as bi, type EventRuleExportItem as bj, type EventRuleFormData as bk, EventRuleObjectType as bl, type EventRuleResponse as bm, type EventRunSortField as bn, type ExpireAnonymousMemberRequest as bo, type ExternalAttendeeData as bp, type FileSortField as bq, type FormFieldUpdateActionParams as br, type GenerateRecoveryCodesRequest as bs, type BusinessProfileResponse as bt, type CalendarResponse$1 as bu, type CalendarScheduleResponse$1 as bv, type MemoryListResponse as bw, type MemoryResponse$1 as bx, type OrgDomainResponse as by, type OwnershipDnsRecord as bz, type AccountResponse as c, type OrgMemberRole as c$, type MemberFieldDefinitionListResponse as c0, type MemberFieldListResponse as c1, type MemberFilterResponse as c2, type MemberFilterFormData as c3, type MemberFilterWithQuery as c4, type MemberFormData as c5, type MemberImportConflictInfo as c6, type MemberImportIdentitySnapshot as c7, type MemberImportMatchInfo as c8, MemberImportMatchInfoMatchType as c9, MemberType as cA, type MemberUpsertActionParams as cB, type MemberUpsertBehavior as cC, type MemberWorkspaceInfo as cD, type MembersQueryParams as cE, type MemoryItem as cF, type MemoryResponse as cG, type MemoryType as cH, type MergeMembersRequest as cI, type MergeMembersResponse as cJ, type MessageValidationActionParams as cK, type MissingMembershipItem as cL, type MondayColumnMapping as cM, type MondayLookupType as cN, type MondayRefreshActionParams as cO, type MondayRefreshColumnMapping as cP, type MondayUpsertItemActionParams as cQ, type MondayUpsertMode as cR, type MultiMatchBehavior as cS, type NormalizeMemberRequest as cT, type NormalizeMemberResponse as cU, type OIDCAdminConfigView as cV, OIDCAdminConfigViewProviderType as cW, type ObjectPermission as cX, type ObjectPermissionFlags as cY, type OrgMember as cZ, type OrgMemberListResponse as c_, type MemberImportPreviewResponse as ca, type MemberImportPreviewRow as cb, MemberImportPreviewRowAction as cc, type MemberImportPreviewSummary as cd, type MemberImportStreamConflict as ce, type MemberImportStreamEvent as cf, type MemberLabelResponse as cg, type MemberLabelActionParams as ch, type MemberLabelFormData as ci, type MemberMemoriesResponse as cj, type MemberMessageActivity as ck, type MemberOrgView as cl, type MemberReportItem as cm, type MemberRoleResponse as cn, type MemberRoleCalendarAccessResponse as co, type MemberRoleDataTypeAccessResponse as cp, type MemberRoleFileAccessResponse as cq, type MemberRoleFolderAccessResponse as cr, type MemberRoleFormData as cs, type MemberRoleInboxAccessResponse as ct, type MemberRoleSiteAccessResponse as cu, type MemberRoleTaskAccess as cv, type MemberRoleWorkflowAccessResponse as cw, type MemberSortField as cx, type MemberSummary as cy, type MemberSyncLink as cz, type AccountContactConflict as d, type ResolveAnonymousMemberRequest as d$, type OrganizationResponse as d0, type OwnershipVerificationResponse as d1, PERMISSION_ADMIN as d2, PERMISSION_CREATE as d3, PERMISSION_DELETE as d4, PERMISSION_EDIT as d5, PERMISSION_GEOLOCATE as d6, PERMISSION_LIST as d7, PERMISSION_LIST_ALL as d8, PERMISSION_NONE as d9, type QueryFieldsResponse as dA, type QueryGroupBy as dB, type QueryIR as dC, type QueryMatchAll as dD, type QueryMetric as dE, type QueryNot as dF, type QueryNowValue as dG, type QueryOr as dH, type QueryRangeBound as dI, type QueryRangeValue as dJ, type QueryRecordFieldInfo as dK, type QueryRecordMatch as dL, type QueryRecordSelection as dM, type QueryRelationMatch as dN, type QueryRunMode as dO, type QuerySavedFilterRef as dP, type QueryScalar as dQ, type QuerySortKey as dR, type QuerySubQueryRef as dS, type QueryTemporalValue as dT, type QueryValue as dU, type RecoveryCodeResponse as dV, Region as dW, RegistrationIdentifier as dX, type RequestCredentialChangeRequest as dY, type RequestMagicLinkRequest as dZ, type RequestMagicLinkResponse as d_, PERMISSION_USE as da, PERMISSION_VERIFY as db, type PageSortField as dc, type PaginatedResponse as dd, type PendingAnonymousMembersResponse as de, type PendingCredentialChangeResponse as df, type PendingCredentialChangeInviteResponse as dg, type PhoneCallActionParams as dh, type PlayAudioActionParams as di, QUERY_VALUELESS_OPS as dj, type QualificationSortField as dk, type QueryAggregateOp as dl, type QueryAggregatePredicate as dm, type QueryAggregateSpec as dn, type QueryAnd as dp, type QueryCompare as dq, type QueryComparisonOp as dr, type QueryCostInfo as ds, type QueryDataTypeInfo as dt, type QueryDayBoundaryValue as du, type QueryDaysAgoValue as dv, type QueryDaysFromNowValue as dw, type QueryEntityType as dx, type QueryEnumOption as dy, type QueryFieldInfo as dz, type AccountFormData as e, type ValidateQueryResponse as e$, type Routine as e0, type RoutineConfigEventResponse as e1, type RoutineResponse as e2, type RoutineRunResponse as e3, type RoutineRunStatus as e4, type RoutineRunsQueryParams as e5, type RoutineScheduleMode as e6, type RoutineSortField as e7, type RoutineVisibility as e8, type RoutineWorkflowAccessMissingRoleResponse as e9, type SiteVerificationResponse as eA, type SmsSendActionParams as eB, type SortOrder as eC, type SwitchTaskActionParams as eD, type SyncCalendarResponse as eE, type TOTPSetupResponse as eF, type TaskExportDataTypeRelation as eG, type TaskExportEventRuleRelation as eH, type TaskSortField as eI, type TestWebhookRequest as eJ, type TestWebhookResponse as eK, type TimeSlot as eL, type TwoFactorMethod as eM, type TwoFactorOperationResponse as eN, type TwoFactorStatus as eO, type UnlinkCalendarResponse as eP, type UpdateAgentRequest as eQ, type UpdateAttendeeRequest as eR, type UpdateDataRecordFilterRequest as eS, type UpdateEventRuleFormData as eT, type UpdateOrgMemberRequest as eU, type UpdateOrganizationRequest as eV, type UpdateRoutineRequest as eW, type UpdateTwoFactorMethodRequest as eX, type UpdateWorkspaceMemberRequest as eY, type ValidateMagicLinkRequest as eZ, type ValidateMagicLinkResponse as e_, type RoutineWorkflowAccessPreviewRequest as ea, type RoutineWorkflowAccessPreviewResponse as eb, type RoutineWorkflowAccessWarningResponse as ec, type RoutinesQueryParams as ed, type RuleExecutionSortField as ee, type RuleExecutionsQueryParams as ef, type RunQueryRequest as eg, type RunQueryResponse as eh, type SendLoginCodeResponse as ei, type SSOConfigData as ej, type SSOConfigRequest as ek, type SSOProviderConfig as el, type SchedulePreviewRequest as em, type SchedulePreviewResponse as en, Scope as eo, type SendEmailVerificationRequest as ep, type SessionExchangeRequest as eq, type SessionExchangeResponse as er, type SetupTOTPRequest as es, type SetupWebAuthnRequest as et, type SignupAccountResponse as eu, type SignupMemberResponse as ev, type SiteDisableImpactResponse as ew, SiteDnsRecordType as ex, type SiteDomainConfigResponse as ey, type SiteSortField as ez, type AccountLookupResponse as f, type AccountExternalIdentityResponse as f$, type VerifyCodeRequest as f0, type VerifyCodeResponse as f1, type VerifyCredentialChangeRequest as f2, type VerifyEmailRequest as f3, type VerifyTOTPSetupRequest as f4, type VerifyWebAuthnSetupRequest as f5, WORKFLOW_IMPLICIT_USE_SCOPE as f6, type WebhookActionParams as f7, type WebhookLogSortField as f8, type WebhookLogsQueryParams as f9, type CreateTaskInput as fA, CreateTaskSchema as fB, type DeleteInquiryInput as fC, DeleteInquirySchema as fD, type DeleteTaskInput as fE, DeleteTaskSchema as fF, type EnrichInquiryInput as fG, EnrichInquirySchema as fH, type GetInquiryInput as fI, GetInquirySchema as fJ, type GetTaskInput as fK, GetTaskSchema as fL, type ListInquiriesInput as fM, ListInquiriesSchema as fN, type ListTasksInput as fO, ListTasksSchema as fP, type TaskFormData as fQ, TaskFormDataSchema as fR, type UnarchiveTaskInput as fS, UnarchiveTaskSchema as fT, type UpdateInquiryInput as fU, UpdateInquiryRequestSchema as fV, UpdateInquirySchema as fW, type UpdateTaskInput as fX, UpdateTaskSchema as fY, DeclaredDataUse as fZ, type AccountDataExport as f_, type WorkflowAccessRole as fa, type WorkflowRoleAccess as fb, type WorkflowSortField as fc, type WorkspaceMemberCountResponse as fd, type WorkspaceMemberCountResponseActiveByType as fe, type WorkspaceSortField as ff, archivedMemberConflictId as fg, asIdentifiedMemberContactConflict as fh, decodePermissions as fi, encodePermissions as fj, eventRuleActionParams as fk, isAccountContactConflict as fl, isIdentifiedMemberContactConflict as fm, isMemberContactConflict as fn, roleCanUseWorkflow as fo, roleImplicitWorkflowUseScope as fp, roleWorkflowAccess as fq, type AbilityData as fr, AbilityDataSchema as fs, AnonymousInquiryFormSchema as ft, type ArchiveTaskInput as fu, ArchiveTaskSchema as fv, type ChildTaskFormData as fw, ChildTaskFormDataSchema as fx, type CreateInquiryInput as fy, CreateInquirySchema as fz, type AccountReportItem as g, type AccountIdentityResolutionResponse as g0, type AdminAccountResponse as g1, type AdminAccountFormData as g2, type AdminAccountMembership as g3, type AdminAccountMembershipResponse as g4, type AdminAccountOrgMembershipResponse as g5, type AdminOrganization as g6, type AdminOrganizationResponse as g7, type AdminWorkspaceMemberFormData as g8, type ConsentRecordExport as g9, type DataExportResponse as ga, type DeletionCancelResponse as gb, type DeletionRequestResponse as gc, type TwoFactorMethodResponse$1 as gd, type TwoFactorStatusResponse$1 as ge, type OIDCAdminConfigInput as gf, type OrgMembershipExport as gg, type OrgScopedIdentityResponse as gh, type TwoFactorMethodResponse as gi, type TwoFactorMethodType as gj, type TwoFactorStatusResponse as gk, type WebAuthnRegistrationResponse as gl, type WorkspaceMembershipExport as gm, type EnumOption$1 as gn, type EventRuleResponse$1 as go, type OrgDomainListResponse as gp, type EmailDnsRecord as gq, type EmailDomainConfigGetResponse as gr, type SiteDnsRecord as gs, type SiteDomainConfigGetResponse as gt, type AccountSortField as h, 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 };
5023
+ export { type BusinessProfileCancelResponse as $, AccessLevel as A, type AssistantMessageActionParams as B, type AttendeeResponse as C, DataFieldType as D, EventRuleEventType as E, AttendeeResponseStatus as F, AttendeeStatus as G, type AuthorizedRep as H, type AvailabilityCheck as I, type AvailabilityResponse as J, type AvailableSlotsRequest as K, type AvailableSlotsResponse as L, type BaseChatModelConfig as M, type BaseRealtimeModelConfig as N, type BotSortField as O, type BulkCreateDataRecordRequest as P, type QueryPredicate as Q, type BulkCreateDataRecordResponse as R, type SchemaField as S, type BulkCreateMembersRequest as T, type BulkCreateMembersResponse as U, type BulkMemberItem as V, type BulkMemberResult as W, BulkMemberResultStatus as X, type BulkRecordResult as Y, BusinessIndustry as Z, type BusinessInfo as _, EventRuleActionType as a, type DataRecordRetirementResponse as a$, type BusinessProfileSubmitResponse as a0, BusinessType as a1, type Calendar as a2, type EventResponse as a3, type CalendarEventFormData as a4, type CalendarEventSortField as a5, CalendarEventStatus as a6, type EventTypeResponse as a7, type CalendarEventTypeFormData as a8, type CalendarEventsQueryParams 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_, type CalendarFormData as aa, CalendarPermissionType as ab, type CalendarResponse as ac, type CalendarSchedule as ad, CalendarScheduleAvailabilityType as ae, type CalendarScheduleFormData as af, CalendarScheduleRecurrence as ag, type CalendarScheduleResponse as ah, CalendarSource as ai, type CancelCredentialChangeInviteResponse as aj, type CancelCredentialChangeResponse as ak, type CapabilityRequirementFinding as al, type CapabilityStatus as am, type ChatContinueActionParams as an, type ChatCreateActionParams as ao, type ChatModelConfig as ap, type ChatPauseActionParams as aq, type ChatSortField as ar, type ChatSummarizeActionParams as as, type ClaudeChatModelConfig 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 LinkCalendarResponse 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, type DataTypeMemberRoleAccessInput as b8, type DataTypeMemberRoleAccessResponse as b9, type GeminiRealtimeModelConfig as bA, type GeminiThinkingLevel as bB, type GenerateRecoveryCodesRequest as bC, type BusinessProfileResponse as bD, type CalendarResponse$1 as bE, type CalendarScheduleResponse$1 as bF, type MemoryListResponse as bG, type MemoryResponse$1 as bH, type OrgDomainResponse as bI, type OwnershipDnsRecord as bJ, type GoogleCalendarInfo as bK, type GoogleCalendarInsufficientScopesResponse as bL, type GoogleCalendarStatusResponse as bM, type ICalFeedGrantSummary as bN, type ICalFeedTokenResponse as bO, type ICalFeedUrlResponse as bP, type IdentifiedMemberContactConflict as bQ, type IdentityConflictPolicy as bR, IndexStatus as bS, type IndexStatusResponse as bT, type InterruptionSound as bU, type InvokeCustomToolActionParams as bV, JobPosition as bW, type JourneyEnrollActionParams as bX, type JourneySortField as bY, type LibModelsGlbResponsesOrganizationResponsesSSOConfigResponse as bZ, type LinkCalendarRequest as b_, DataTypeRecordScope as ba, type DataTypeSortField as bb, type DeleteAccountOrgMembershipResponse as bc, type DetailedAccount as bd, type DuplicateAccountInfo as be, type EcwRefreshMemberEncountersActionParams as bf, type EmailDisableImpactResponse as bg, EmailDnsRecordType as bh, type EmailDomainConfigResponse as bi, type EmailSendActionParams as bj, type EmailVerificationResponse as bk, type EnumOption as bl, type ErrorResponse as bm, type EventActionMapping as bn, type EventActionMappingsResponse as bo, type EventRule as bp, type EventRuleExportItem as bq, type EventRuleFormData as br, EventRuleObjectType as bs, type EventRuleResponse as bt, type EventRunSortField as bu, type ExpireAnonymousMemberRequest as bv, type ExternalAttendeeData as bw, type FileSortField as bx, type FormFieldUpdateActionParams as by, type GeminiChatModelConfig as bz, type AccountResponse as c, type MondayRefreshColumnMapping as c$, type LoginRequest as c0, type LoginResponse as c1, type LogoUploadRequest as c2, type LogoUploadResponse as c3, MASKED_SECRET_SENTINEL as c4, type McpServerSortField as c5, type WorkspaceMemberResponse as c6, type MemberContactConflict as c7, type MemberContactField as c8, type MemberCredentialResponse as c9, type MemberRoleCalendarAccessResponse as cA, type MemberRoleDataTypeAccessResponse as cB, type MemberRoleFileAccessResponse as cC, type MemberRoleFolderAccessResponse as cD, type MemberRoleFormData as cE, type MemberRoleInboxAccessResponse as cF, type MemberRoleSiteAccessResponse as cG, type MemberRoleTaskAccess as cH, type MemberRoleWorkflowAccessResponse as cI, type MemberSortField as cJ, type MemberSummary as cK, type MemberSyncLink as cL, MemberType as cM, type MemberUpsertActionParams as cN, type MemberUpsertBehavior as cO, type MemberWorkspaceInfo as cP, type MembersQueryParams as cQ, type MemoryItem as cR, type MemoryResponse as cS, type MemoryType as cT, type MergeMembersRequest as cU, type MergeMembersResponse as cV, type MessageValidationActionParams as cW, type MissingMembershipItem as cX, type MondayColumnMapping as cY, type MondayLookupType as cZ, type MondayRefreshActionParams as c_, type MemberFieldResponse as ca, type MemberFieldDefinitionResponse as cb, type MemberFieldDefinitionListResponse as cc, type MemberFieldListResponse as cd, type MemberFilterResponse as ce, type MemberFilterFormData as cf, type MemberFilterWithQuery as cg, type MemberFormData as ch, type MemberImportConflictInfo as ci, type MemberImportIdentitySnapshot as cj, type MemberImportMatchInfo as ck, MemberImportMatchInfoMatchType as cl, type MemberImportPreviewResponse as cm, type MemberImportPreviewRow as cn, MemberImportPreviewRowAction as co, type MemberImportPreviewSummary as cp, type MemberImportStreamConflict as cq, type MemberImportStreamEvent as cr, type MemberLabelResponse as cs, type MemberLabelActionParams as ct, type MemberLabelFormData as cu, type MemberMemoriesResponse as cv, type MemberMessageActivity as cw, type MemberOrgView as cx, type MemberReportItem as cy, type MemberRoleResponse as cz, type AccountContactConflict as d, type QueryOr as d$, type MondayUpsertItemActionParams as d0, type MondayUpsertMode as d1, type MultiMatchBehavior as d2, type NormalizeMemberRequest as d3, type NormalizeMemberResponse as d4, type OIDCAdminConfigView as d5, OIDCAdminConfigViewProviderType as d6, type ObjectPermission as d7, type ObjectPermissionFlags as d8, type OpenAIChatModelConfig as d9, type PendingCredentialChangeResponse as dA, type PendingCredentialChangeInviteResponse as dB, type PhoneCallActionParams as dC, type PlayAudioActionParams as dD, QUERY_VALUELESS_OPS as dE, type QualificationSortField as dF, type QueryAggregateOp as dG, type QueryAggregatePredicate as dH, type QueryAggregateSpec as dI, type QueryAnd as dJ, type QueryCompare as dK, type QueryComparisonOp as dL, type QueryCostInfo as dM, type QueryDataTypeInfo as dN, type QueryDayBoundaryValue as dO, type QueryDaysAgoValue as dP, type QueryDaysFromNowValue as dQ, type QueryEntityType as dR, type QueryEnumOption as dS, type QueryFieldInfo as dT, type QueryFieldsResponse as dU, type QueryGroupBy as dV, type QueryIR as dW, type QueryMatchAll as dX, type QueryMetric as dY, type QueryNot as dZ, type QueryNowValue as d_, type OpenAIRealtimeModelConfig as da, type OpenAIReasoningEffort as db, type OpenAISemanticVADEagerness as dc, type OpenAISemanticVADTurnDetection as dd, type OpenAIServerVADTurnDetection as de, type OpenAITurnDetection as df, type OpenAITurnDetectionType as dg, type OrgMember as dh, type OrgMemberListResponse as di, type OrgMemberRole as dj, type OrganizationResponse as dk, type OwnershipVerificationResponse as dl, PERMISSION_ADMIN as dm, PERMISSION_CREATE as dn, PERMISSION_DELETE as dp, PERMISSION_EDIT as dq, PERMISSION_GEOLOCATE as dr, PERMISSION_LIST as ds, PERMISSION_LIST_ALL as dt, PERMISSION_NONE as du, PERMISSION_USE as dv, PERMISSION_VERIFY as dw, type PageSortField as dx, type PaginatedResponse as dy, type PendingAnonymousMembersResponse as dz, type AccountFormData as e, type TTSModel as e$, type QueryRangeBound as e0, type QueryRangeValue as e1, type QueryRecordFieldInfo as e2, type QueryRecordMatch as e3, type QueryRecordSelection as e4, type QueryRelationMatch as e5, type QueryRunMode as e6, type QuerySavedFilterRef as e7, type QueryScalar as e8, type QuerySortKey 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 QuerySubQueryRef as ea, type QueryTemporalValue as eb, type QueryValue as ec, type RealtimeModelConfig as ed, type RecoveryCodeResponse as ee, Region as ef, RegistrationIdentifier as eg, type RequestCredentialChangeRequest as eh, type RequestMagicLinkRequest as ei, type RequestMagicLinkResponse as ej, type ResolveAnonymousMemberRequest as ek, type Routine as el, type RoutineConfigEventResponse as em, type RoutineResponse as en, type RoutineRunResponse as eo, type RoutineRunStatus as ep, type RoutineRunsQueryParams as eq, type RoutineScheduleMode as er, type RoutineSortField as es, type RoutineVisibility as et, type RoutineWorkflowAccessMissingRoleResponse as eu, type RoutineWorkflowAccessPreviewRequest as ev, type RoutineWorkflowAccessPreviewResponse as ew, type RoutineWorkflowAccessWarningResponse as ex, type RoutinesQueryParams as ey, type RuleExecutionSortField as ez, type AccountLookupResponse as f, ArchiveTaskSchema 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 WorkflowRoleAccess as fA, type WorkflowSortField as fB, type WorkspaceMemberCountResponse as fC, type WorkspaceMemberCountResponseActiveByType as fD, type WorkspaceSortField as fE, type XAIChatModelConfig as fF, type XAIRealtimeModelConfig as fG, type XAIReasoningEffort as fH, type XAIServerVADTurnDetection as fI, archivedMemberConflictId as fJ, asIdentifiedMemberContactConflict as fK, canPreviewVoice as fL, decodePermissions as fM, encodePermissions as fN, eventRuleActionParams as fO, getTTSProvider as fP, getVoiceModelId as fQ, isAccountContactConflict as fR, isIdentifiedMemberContactConflict as fS, isMemberContactConflict as fT, roleCanUseWorkflow as fU, roleImplicitWorkflowUseScope as fV, roleWorkflowAccess as fW, type AbilityData as fX, AbilityDataSchema as fY, AnonymousInquiryFormSchema as fZ, type ArchiveTaskInput 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, WORKFLOW_IMPLICIT_USE_SCOPE as fv, type WebhookActionParams as fw, type WebhookLogSortField as fx, type WebhookLogsQueryParams as fy, type WorkflowAccessRole as fz, type AccountReportItem as g, type SiteDomainConfigGetResponse as g$, type ChildTaskFormData as g0, ChildTaskFormDataSchema as g1, type CreateInquiryInput as g2, CreateInquirySchema as g3, type CreateTaskInput as g4, CreateTaskSchema as g5, type DeleteInquiryInput as g6, DeleteInquirySchema as g7, type DeleteTaskInput as g8, DeleteTaskSchema as g9, type AdminAccountMembership as gA, type AdminAccountMembershipResponse as gB, type AdminAccountOrgMembershipResponse as gC, type AdminCarrierLedgerEntryResponse as gD, type AdminOrganization as gE, type AdminOrganizationResponse as gF, type AdminWorkspaceMemberFormData as gG, type ConsentRecordExport as gH, type DataExportResponse as gI, type DeletionCancelResponse as gJ, type DeletionRequestResponse as gK, type TwoFactorMethodResponse$1 as gL, type TwoFactorStatusResponse$1 as gM, type OIDCAdminConfigInput as gN, type OrgMembershipExport as gO, type OrgScopedIdentityResponse as gP, type TwoFactorMethodResponse as gQ, type TwoFactorMethodType as gR, type TwoFactorStatusResponse as gS, type WebAuthnRegistrationResponse as gT, type WorkspaceMembershipExport as gU, type EnumOption$1 as gV, type EventRuleResponse$1 as gW, type SiteDnsRecord as gX, type OrgDomainListResponse as gY, type EmailDnsRecord as gZ, type EmailDomainConfigGetResponse as g_, type EnrichInquiryInput as ga, EnrichInquirySchema as gb, type GetInquiryInput as gc, GetInquirySchema as gd, type GetTaskInput as ge, GetTaskSchema as gf, type ListInquiriesInput as gg, ListInquiriesSchema as gh, type ListTasksInput as gi, ListTasksSchema as gj, type TaskFormData as gk, TaskFormDataSchema as gl, type UnarchiveTaskInput as gm, UnarchiveTaskSchema as gn, type UpdateInquiryInput as go, UpdateInquiryRequestSchema as gp, UpdateInquirySchema as gq, type UpdateTaskInput as gr, UpdateTaskSchema as gs, DeclaredDataUse as gt, type AccountCustomerRef as gu, type AccountDataExport as gv, type AccountExternalIdentityResponse as gw, type AccountIdentityResolutionResponse as gx, type AdminAccountResponse as gy, type AdminAccountFormData as gz, type AccountSortField as h, 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 AgentOwnerFilter as p, type AgentSortField as q, type AnonymousInteractionResponse as r, type AnonymousMemberResolutionResponse as s, type AnonymousMemberResolutionStatus as t, type ApiKeyResponse as u, type ApiKeyCreatedResponse as v, type ApiKeyFormData as w, type ApiKeyScope as x, type ApiKeyScopesResponse as y, type AssignmentSortField as z };