@gravity-rail/sdk 0.55.1 → 0.57.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 (35) hide show
  1. package/dist/{chat-interaction-DDz9ZtQ8.d.ts → chat-interaction-Bs0O3lwb.d.cts} +3140 -1534
  2. package/dist/{chat-interaction-C620llgG.d.cts → chat-interaction-dRnhgwb-.d.ts} +3140 -1534
  3. package/dist/{chunk-7R22EG5F.js → chunk-7ABBH5CC.js} +495 -78
  4. package/dist/chunk-7ABBH5CC.js.map +1 -0
  5. package/dist/{chunk-HXVJF54M.js → chunk-D5VNVTUQ.js} +1 -1
  6. package/dist/chunk-D5VNVTUQ.js.map +1 -0
  7. package/dist/helpers.d.cts +4 -4
  8. package/dist/helpers.d.ts +4 -4
  9. package/dist/index.cjs +498 -77
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +6 -6
  12. package/dist/index.d.ts +6 -6
  13. package/dist/index.js +7 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/internal.cjs +495 -77
  16. package/dist/internal.cjs.map +1 -1
  17. package/dist/internal.d.cts +6 -211
  18. package/dist/internal.d.ts +6 -211
  19. package/dist/internal.js +4 -2
  20. package/dist/internal.js.map +1 -1
  21. package/dist/{member-import-DzuvKnMC.d.cts → member-import-C9XwZqm4.d.cts} +1 -1
  22. package/dist/{member-import-D1QvZiy5.d.ts → member-import-CdXiqRFM.d.ts} +1 -1
  23. package/dist/{path-kbfnY2gB.d.ts → path-6wcAgEJR.d.cts} +11 -4
  24. package/dist/{path-BIk9UPr0.d.cts → path-B08DHrW4.d.ts} +11 -4
  25. package/dist/schemas.cjs +79 -41
  26. package/dist/schemas.cjs.map +1 -1
  27. package/dist/schemas.d.cts +148 -6
  28. package/dist/schemas.d.ts +148 -6
  29. package/dist/schemas.js +78 -42
  30. package/dist/schemas.js.map +1 -1
  31. package/dist/{tasks-BdYhYUpU.d.cts → tasks-BPvueNi2.d.cts} +1009 -836
  32. package/dist/{tasks-BdYhYUpU.d.ts → tasks-BPvueNi2.d.ts} +1009 -836
  33. package/package.json +3 -3
  34. package/dist/chunk-7R22EG5F.js.map +0 -1
  35. package/dist/chunk-HXVJF54M.js.map +0 -1
@@ -248,6 +248,37 @@ type EventRuleResponseTriggerParams = {
248
248
  * Group: data
249
249
  */
250
250
 
251
+ /**
252
+ * What an ordinary Form edit may change on one connector-owned field.
253
+ *
254
+ * Read-only and value-free: the field's slug, its connector Member field
255
+ * key (``null`` for a field the connector declares in code), the kind of
256
+ * ownership, the properties a customer may edit, and the closed reason
257
+ * name and description are locked when they are. Every property not
258
+ * listed -- slug, key, type, requiredness, computation, validation, adding
259
+ * and removing the field -- changes only through the connection's sync.
260
+ */
261
+ interface ConnectorFieldCapabilityResponse {
262
+ slug: string;
263
+ connectorKey?: string | null;
264
+ ownership: ConnectorFieldCapabilityResponseOwnership;
265
+ editableProperties: ConnectorFieldCapabilityResponseEditablePropertiesItem[];
266
+ lockReason?: 'connector_declared_field' | null;
267
+ }
268
+ type ConnectorFieldCapabilityResponseEditablePropertiesItem = typeof ConnectorFieldCapabilityResponseEditablePropertiesItem[keyof typeof ConnectorFieldCapabilityResponseEditablePropertiesItem];
269
+ declare const ConnectorFieldCapabilityResponseEditablePropertiesItem: {
270
+ readonly name: "name";
271
+ readonly description: "description";
272
+ readonly position: "position";
273
+ readonly sensitivity: "sensitivity";
274
+ readonly categories: "categories";
275
+ };
276
+ type ConnectorFieldCapabilityResponseOwnership = typeof ConnectorFieldCapabilityResponseOwnership[keyof typeof ConnectorFieldCapabilityResponseOwnership];
277
+ declare const ConnectorFieldCapabilityResponseOwnership: {
278
+ readonly declared: "declared";
279
+ readonly retired: "retired";
280
+ readonly member_field: "member_field";
281
+ };
251
282
  interface DataRecordResponse {
252
283
  id: number;
253
284
  uuid: string;
@@ -325,6 +356,7 @@ interface DataTypeResponse {
325
356
  owningConnectionName?: string | null;
326
357
  datasetKey?: string | null;
327
358
  datasetCardinality?: DataTypeResponseDatasetCardinality;
359
+ connectorFields?: ConnectorFieldCapabilityResponse[] | null;
328
360
  }
329
361
  type DataTypeResponseDatasetCardinality = typeof DataTypeResponseDatasetCardinality[keyof typeof DataTypeResponseDatasetCardinality] | null;
330
362
  declare const DataTypeResponseDatasetCardinality: {
@@ -360,6 +392,8 @@ interface SchemaField {
360
392
  referencedTypeId?: number | null;
361
393
  /** Server-issued reference field identity; preserve on schema round trips */
362
394
  referenceFieldId?: number | null;
395
+ /** Server-owned: the connector Member field key this field stores on a connection's bound member profile Form. Never accepted from a customer edit; preserve on schema round trips. */
396
+ connectorKey?: string | null;
363
397
  /** Whether to index this field */
364
398
  shouldIndex?: boolean;
365
399
  /** Whether only admins can see this field */
@@ -415,545 +449,799 @@ declare const SchemaFieldSensitivity: {
415
449
  /**
416
450
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
417
451
  * (group map from emit_openapi.py). Do not edit manually.
418
- * Group: account
452
+ * Group: member
419
453
  */
420
454
 
421
455
  /**
422
- * One billing customer an account holds a role on.
423
- */
424
- interface AccountCustomerRef {
425
- id: number;
426
- name?: string | null;
427
- }
428
- /**
429
- * Base account response for non-admin endpoints.
430
- *
431
- * Note: With Verified Credential Architecture, if email/phone is set,
432
- * it's verified by construction. The *_verified_at timestamps record when.
433
- * Credentials are IMMUTABLE once set.
456
+ * Response model for agent configuration.
434
457
  */
435
- interface AccountResponse {
458
+ interface AgentConfigResponse {
436
459
  id: number;
437
- uuid: string;
438
- loggedIn: boolean;
439
- avatarUrl: string | null;
440
- email: string | null;
441
- phone: string | null;
442
- emailVerifiedAt: string | null;
443
- phoneVerifiedAt: string | null;
444
- name: string | null;
445
- createdAt: string;
446
- isSuperuser: boolean;
447
- enabled: boolean;
448
- signupWorkspaceId: number | null;
449
- tosAccepted: boolean;
450
- optedOut: boolean;
451
- stripeCustomerId: string | null;
452
- locale: string | null;
453
- timezone: string | null;
454
- }
455
- interface AdminAccountMembershipResponse$1 {
456
- workspaceUuid: string;
457
- workspaceName: string;
458
- role: string;
460
+ chatModelId: string;
461
+ chatModelConfig?: AgentConfigResponseChatModelConfig;
462
+ realtimeModelId?: string | null;
463
+ realtimeModelConfig?: AgentConfigResponseRealtimeModelConfig;
464
+ systemPrompt: string;
465
+ maxDailyActions?: number | null;
466
+ tools?: string[] | null;
467
+ codeInterpreterEnabled?: boolean;
468
+ webBrowserEnabled?: boolean;
469
+ memoryConfig?: AgentMemoryConfig$1 | null;
470
+ presetDigest: string;
459
471
  createdAt: string;
460
- tosAccepted: boolean;
461
- memberRoleId: number;
462
- memberId: number;
472
+ updatedAt: string;
463
473
  }
474
+ type AgentConfigResponseChatModelConfig = {
475
+ [key: string]: unknown;
476
+ } | null;
477
+ type AgentConfigResponseRealtimeModelConfig = {
478
+ [key: string]: unknown;
479
+ } | null;
464
480
  /**
465
- * Response for an account's organization membership.
481
+ * Memory strategies available to an Agent.
466
482
  */
467
- interface AdminAccountOrgMembershipResponse {
468
- organizationId: number;
469
- organizationUuid: string;
470
- organizationName: string;
471
- organizationSlug: string;
472
- organizationLogoUrl: string | null;
473
- role: string;
474
- name: string | null;
475
- accountName: string | null;
476
- externalId: string | null;
477
- hasBillingAccess?: boolean;
478
- createdAt: string;
479
- updatedAt: string;
483
+ interface AgentMemoryConfig$1 {
484
+ enabled?: boolean;
485
+ preferences?: boolean;
486
+ semantic?: boolean;
487
+ summaries?: boolean;
488
+ episodic?: boolean;
480
489
  }
481
490
  /**
482
- * Detailed account response for admin endpoints including related entities
491
+ * Response model for an agent (Member + agent config via JTI).
492
+ *
493
+ * Agents are first-class members that can communicate via DMs, email, SMS, and voice.
494
+ * They have their own identity (name, description) and AI configuration (model, system prompt).
483
495
  */
484
- interface AdminAccountResponse {
496
+ interface AgentResponse {
485
497
  id: number;
486
498
  uuid: string;
487
- loggedIn: boolean;
488
- avatarUrl: string | null;
489
- email: string | null;
490
- phone: string | null;
491
- emailVerifiedAt: string | null;
492
- phoneVerifiedAt: string | null;
493
- name: string | null;
499
+ name?: string | null;
500
+ title?: string | null;
501
+ description?: string | null;
502
+ email?: string | null;
503
+ phone?: string | null;
504
+ externalId?: string | null;
505
+ memberRoleId: number;
506
+ memberRoleName?: string | null;
507
+ memberType?: string;
508
+ isArchived?: boolean;
509
+ homeFolderId?: number | null;
494
510
  createdAt: string;
495
- isSuperuser: boolean;
496
- enabled: boolean;
497
- signupWorkspaceId: number | null;
498
- tosAccepted: boolean;
499
- optedOut: boolean;
500
- stripeCustomerId: string | null;
501
- locale: string | null;
502
- timezone: string | null;
503
- customers?: AccountCustomerRef[];
504
- pendingDeletion?: boolean;
505
- deletionRequestedAt?: string | null;
511
+ updatedAt: string;
512
+ labels?: MemberLabelResponse[];
513
+ config: AgentConfigResponse;
506
514
  }
507
515
  /**
508
- * Response model for when a new API key is created, including the full key.
516
+ * Summary of the anonymous member's interaction (usually a single call).
509
517
  */
510
- interface ApiKeyCreatedResponse {
511
- id: number;
512
- uuid: string;
513
- name: string;
514
- keyPrefix: string;
515
- createdAt: string;
516
- expiresAt?: string | null;
517
- lastUsedAt?: string | null;
518
- enabled: boolean;
519
- scopes: string[];
520
- appId?: number | null;
521
- dataUseMode?: DataUseMode;
522
- key: string;
518
+ interface AnonymousInteractionResponse {
519
+ chatId: number | null;
520
+ chatTitle: string | null;
521
+ chatSummary: string | null;
522
+ callId: number | null;
523
+ callStatus: string | null;
524
+ callCreatedAt: string | null;
525
+ callDurationSeconds: number | null;
523
526
  }
524
527
  /**
525
- * Response model for API key information.
528
+ * Response model for anonymous member resolution records.
526
529
  */
527
- interface ApiKeyResponse {
530
+ interface AnonymousMemberResolutionResponse {
528
531
  id: number;
529
- uuid: string;
530
- name: string;
531
- keyPrefix: string;
532
+ anonymousMemberId: number | null;
533
+ anonymousMemberName: string | null;
534
+ identifierType: string;
535
+ identifierValue: string;
536
+ status: string;
537
+ resolvedToMemberId: number | null;
538
+ resolvedToMemberName: string | null;
539
+ resolvedByMemberId: number | null;
540
+ resolvedByMemberName: string | null;
541
+ resolutionNotes: string | null;
532
542
  createdAt: string;
533
- expiresAt?: string | null;
534
- lastUsedAt?: string | null;
535
- enabled: boolean;
536
- scopes: string[];
537
- appId?: number | null;
538
- dataUseMode?: DataUseMode;
539
- }
540
- /**
541
- * Response after canceling a credential change invitation.
542
- */
543
- interface CancelCredentialChangeInviteResponse {
544
- success: boolean;
545
- message: string;
543
+ resolvedAt: string | null;
544
+ interaction: AnonymousInteractionResponse | null;
546
545
  }
547
546
  /**
548
- * Response after canceling a credential change request.
547
+ * Bulk create members response.
549
548
  */
550
- interface CancelCredentialChangeResponse {
549
+ interface BulkCreateMembersResponse {
550
+ importedCount: number;
551
+ totalCount: number;
551
552
  success: boolean;
552
- message: string;
553
+ results: BulkMemberResult[];
554
+ errors?: string[] | null;
555
+ conflictedCount?: number;
556
+ skippedCount?: number;
553
557
  }
554
558
  /**
555
- * Response after confirming a credential change invitation.
559
+ * Per-member output for bulk creation.
560
+ *
561
+ * ``conflict`` and ``skipped`` are distinct from ``failed``: nothing was
562
+ * written and the operator can act on the row (resubmit it edited, or with a
563
+ * ``conflictResolution``). ``conflicts`` is populated only for ``conflict``.
556
564
  */
557
- interface CredentialChangeInviteConfirmResponse {
558
- success: boolean;
559
- message: string;
560
- credentialType?: CredentialChangeInviteConfirmResponseCredentialType;
565
+ interface BulkMemberResult {
566
+ index: number;
567
+ status: BulkMemberResultStatus;
568
+ memberId?: number | null;
569
+ externalId?: string | null;
570
+ error?: string | null;
571
+ conflicts?: ImportContactConflict[] | null;
572
+ sharedContacts?: string[];
561
573
  }
562
- type CredentialChangeInviteConfirmResponseCredentialType = typeof CredentialChangeInviteConfirmResponseCredentialType[keyof typeof CredentialChangeInviteConfirmResponseCredentialType] | null;
563
- declare const CredentialChangeInviteConfirmResponseCredentialType: {
564
- readonly email: "email";
565
- readonly phone: "phone";
574
+ type BulkMemberResultStatus = typeof BulkMemberResultStatus[keyof typeof BulkMemberResultStatus];
575
+ declare const BulkMemberResultStatus: {
576
+ readonly created: "created";
577
+ readonly updated: "updated";
578
+ readonly failed: "failed";
579
+ readonly conflict: "conflict";
580
+ readonly skipped: "skipped";
566
581
  };
567
582
  /**
568
- * Response with details of a credential change invitation.
583
+ * One unmet requirement of a surface capability.
569
584
  *
570
- * Used for the confirmation page to show what change is being proposed.
585
+ * ``subject`` says who can remediate it (workspace admin vs the member),
586
+ * mirroring the ability-requirements finding shape.
571
587
  */
572
- interface CredentialChangeInviteDetailsResponse {
573
- id: number;
574
- credentialType: CredentialChangeInviteDetailsResponseCredentialType;
575
- newValue: string;
576
- workspaceName: string;
577
- workspaceUuid: string;
578
- initiatedByName: string | null;
579
- createdAt: string;
580
- expiresAt: string;
581
- isExpired: boolean;
582
- isValid: boolean;
588
+ interface CapabilityRequirementFinding {
589
+ kind: CapabilityRequirementFindingKind;
590
+ slug: string;
591
+ subject: CapabilityRequirementFindingSubject;
583
592
  }
584
- type CredentialChangeInviteDetailsResponseCredentialType = typeof CredentialChangeInviteDetailsResponseCredentialType[keyof typeof CredentialChangeInviteDetailsResponseCredentialType];
585
- declare const CredentialChangeInviteDetailsResponseCredentialType: {
586
- readonly email: "email";
587
- readonly phone: "phone";
593
+ type CapabilityRequirementFindingKind = typeof CapabilityRequirementFindingKind[keyof typeof CapabilityRequirementFindingKind];
594
+ declare const CapabilityRequirementFindingKind: {
595
+ readonly feature: "feature";
596
+ readonly member_scope: "member_scope";
597
+ };
598
+ type CapabilityRequirementFindingSubject = typeof CapabilityRequirementFindingSubject[keyof typeof CapabilityRequirementFindingSubject];
599
+ declare const CapabilityRequirementFindingSubject: {
600
+ readonly org: "org";
601
+ readonly workspace: "workspace";
602
+ readonly member: "member";
588
603
  };
589
604
  /**
590
- * Response after creating a credential change invitation.
591
- */
592
- interface CredentialChangeInviteResponse {
593
- id: number;
594
- credentialType: CredentialChangeInviteResponseCredentialType;
595
- maskedNewValue: string;
596
- expiresAt: string;
597
- message: string;
605
+ * Resolved availability of one surface capability for one member.
606
+ *
607
+ * ``enabled`` is the full conjunction (feature available AND authorized).
608
+ * ``missing`` enumerates the unmet requirements with their subjects so the
609
+ * client can render the right affordance without re-deriving the gate.
610
+ */
611
+ interface CapabilityStatus {
612
+ slug: string;
613
+ enabled: boolean;
614
+ missing: CapabilityRequirementFinding[];
598
615
  }
599
- type CredentialChangeInviteResponseCredentialType = typeof CredentialChangeInviteResponseCredentialType[keyof typeof CredentialChangeInviteResponseCredentialType];
600
- declare const CredentialChangeInviteResponseCredentialType: {
601
- readonly email: "email";
602
- readonly phone: "phone";
603
- };
604
616
  /**
605
- * Response after requesting a credential change.
617
+ * Response model for the create-signup endpoint.
606
618
  */
607
- interface CredentialChangeRequestResponse {
608
- id: number;
609
- credentialType: CredentialChangeRequestResponseCredentialType;
610
- expiresAt: string;
611
- message: string;
619
+ interface CreateSignupResponse {
620
+ token: string;
621
+ account: SignupAccountResponse;
622
+ member: SignupMemberResponse;
623
+ wasCreated: boolean;
624
+ warnings?: DataRecordFieldWarning[];
612
625
  }
613
- type CredentialChangeRequestResponseCredentialType = typeof CredentialChangeRequestResponseCredentialType[keyof typeof CredentialChangeRequestResponseCredentialType];
614
- declare const CredentialChangeRequestResponseCredentialType: {
615
- readonly email: "email";
616
- readonly phone: "phone";
617
- };
618
626
  /**
619
- * Response after verifying a credential change.
627
+ * Response for the current user's member profile.
628
+ *
629
+ * Extends WorkspaceMemberResponse with scopes and org role - the effective
630
+ * permissions that the API honors for this user in this workspace context.
620
631
  */
621
- interface CredentialChangeVerifyResponse {
622
- success: boolean;
623
- message: string;
624
- credentialType?: CredentialChangeVerifyResponseCredentialType;
632
+ interface CurrentMemberResponse {
633
+ id: number;
634
+ uuid: string;
635
+ role: string | null;
636
+ tosAccepted: boolean;
637
+ accountTosAccepted: boolean | null;
638
+ accountUuid: string | null;
639
+ createdAt: string;
640
+ updatedAt: string;
641
+ name: string | null;
642
+ title?: string | null;
643
+ description: string | null;
644
+ phone: string | null;
645
+ phoneType: string | null;
646
+ email: string | null;
647
+ externalId: string | null;
648
+ dateOfBirth?: string | null;
649
+ emailVerified?: boolean;
650
+ phoneVerified?: boolean;
651
+ notifySms: boolean;
652
+ smsDisabledReason?: SmsDisabledReason | null;
653
+ smsDisabledAt?: string | null;
654
+ notifyEmail: boolean;
655
+ notifyVoice: boolean;
656
+ notifyWhatsapp?: boolean;
657
+ locale: string | null;
658
+ memberRoleId: number;
659
+ memberRoleName: string | null;
660
+ memberRoleSystemKey?: string | null;
661
+ homeFolderId?: number | null;
662
+ labels?: MemberLabelResponse[];
663
+ accountEnabled?: boolean | null;
664
+ isOrgOwner?: boolean | null;
665
+ isSuperuser?: boolean | null;
666
+ orgRole?: string | null;
667
+ timezone?: string | null;
668
+ memberType?: string;
669
+ testMemberKind?: CurrentMemberResponseTestMemberKind;
670
+ personaId?: number | null;
671
+ isArchived?: boolean;
672
+ isImportProtected?: boolean;
673
+ usagePaused?: boolean;
674
+ canLogin?: boolean;
675
+ experimentGroup?: MemberExperimentGroupSummary | null;
676
+ sharedContactPlacements?: SharedContactResponse[];
677
+ scopes?: string[];
678
+ /** Per-member surface-capability decisions. slug → {enabled, missing}. Each capability composes workspace feature availability with this member's scope authorization. See lib/capabilities/surfaces.py for CapabilityStatus and CapabilityRequirementFinding definitions. */
679
+ capabilities?: CurrentMemberResponseCapabilities;
625
680
  }
626
- type CredentialChangeVerifyResponseCredentialType = typeof CredentialChangeVerifyResponseCredentialType[keyof typeof CredentialChangeVerifyResponseCredentialType] | null;
627
- declare const CredentialChangeVerifyResponseCredentialType: {
628
- readonly email: "email";
629
- readonly phone: "phone";
681
+ /**
682
+ * Per-member surface-capability decisions. slug → {enabled, missing}. Each capability composes workspace feature availability with this member's scope authorization. See lib/capabilities/surfaces.py for CapabilityStatus and CapabilityRequirementFinding definitions.
683
+ */
684
+ type CurrentMemberResponseCapabilities = {
685
+ [key: string]: CapabilityStatus;
686
+ };
687
+ type CurrentMemberResponseTestMemberKind = typeof CurrentMemberResponseTestMemberKind[keyof typeof CurrentMemberResponseTestMemberKind] | null;
688
+ declare const CurrentMemberResponseTestMemberKind: {
689
+ readonly test: "test";
690
+ readonly eval: "eval";
630
691
  };
631
692
  /**
632
- * What a *credential* may carry (ADR-18 §1), not what a member may see.
693
+ * A soft-warning entry for a DataRecord field schema mismatch.
633
694
  *
634
- * This is an axis on the connection, deliberately not a scope: scopes are
635
- * additive grants for cross-member access, and a member's own data is reached
636
- * with no scope at all, so no scope value can express "this channel must not
637
- * carry PHI". Computed at mint time and mutable afterwards **only toward**
638
- * :attr:`NO_PHI` — the same "narrows, never widens" doctrine as
639
- * ``scope_restriction`` and ``Device.enrollment_scope_ceiling``. Widening is a
640
- * re-consent, i.e. revoke and re-mint under lifted conditions.
695
+ * Emitted when an API caller sends a field slug that is not declared
696
+ * on the target DataType's schema. The server silently skips the
697
+ * field (for backward-compatibility — callers depend on unknown slugs
698
+ * being ignored rather than rejected with 400) and attaches one of
699
+ * these to the response so the caller can surface or fix the drift.
700
+ *
701
+ * API-facing camelCase to match other signup response fields.
641
702
  */
642
- type DataUseMode = typeof DataUseMode[keyof typeof DataUseMode];
643
- declare const DataUseMode: {
644
- readonly unrestricted: "unrestricted";
645
- readonly no_phi: "no_phi";
646
- };
647
- interface LoginResponse {
648
- token: string;
649
- accountId: number;
650
- accountName?: string | null;
651
- accountUuid?: string | null;
652
- requiresTwoFactor?: boolean | null;
653
- availableTwoFactorMethods?: unknown[] | null;
654
- sessionKind?: SessionKind | 'widget' | null;
655
- expiresAt?: string | null;
703
+ interface DataRecordFieldWarning {
704
+ code: 'unknown_data_record_field';
705
+ dataTypeSlug: string;
706
+ fieldSlug: string;
707
+ message: string;
656
708
  }
657
709
  /**
658
- * Response for a pending credential change invitation.
710
+ * One contact field a row disagrees with the matched Account about.
711
+ *
712
+ * ``row_value`` and ``account_value`` are **normalized** (email lower-cased,
713
+ * phone E.164) so the operator compares — and resubmits — the same shape the
714
+ * matcher used.
715
+ *
716
+ * ``account_value`` is ``None`` in cases the client cannot tell apart, by
717
+ * design: the Account holds nothing for the field (keeping the Account then
718
+ * drops the row's value — exactly the loss this conflict surfaces), or the
719
+ * caller is not authorized to read it (no ``MEMBERS_ADMIN``, or the Account has
720
+ * no Member in their workspace). Clients render ``None`` as "unavailable";
721
+ * every resolution works either way.
722
+ *
723
+ * PHI: see the module docstring.
659
724
  */
660
- interface PendingCredentialChangeInviteResponse {
661
- id: number;
662
- credentialType: PendingCredentialChangeInviteResponseCredentialType;
663
- maskedNewValue: string;
664
- workspaceName: string;
665
- initiatedByName: string | null;
666
- createdAt: string;
667
- expiresAt: string;
668
- isExpired: boolean;
669
- status: string;
725
+ interface ImportContactConflict {
726
+ field: ImportContactConflictField;
727
+ rowValue: string;
728
+ accountValue?: string | null;
670
729
  }
671
- type PendingCredentialChangeInviteResponseCredentialType = typeof PendingCredentialChangeInviteResponseCredentialType[keyof typeof PendingCredentialChangeInviteResponseCredentialType];
672
- declare const PendingCredentialChangeInviteResponseCredentialType: {
730
+ type ImportContactConflictField = typeof ImportContactConflictField[keyof typeof ImportContactConflictField];
731
+ declare const ImportContactConflictField: {
673
732
  readonly email: "email";
674
733
  readonly phone: "phone";
675
734
  };
676
735
  /**
677
- * Response for a pending credential change request.
736
+ * Response model for member credentials.
678
737
  */
679
- interface PendingCredentialChangeResponse {
738
+ interface MemberCredentialResponse {
680
739
  id: number;
681
- credentialType: PendingCredentialChangeResponseCredentialType;
682
- maskedNewValue: string;
740
+ uuid?: string | null;
741
+ displayName?: string | null;
742
+ isDefault?: boolean;
743
+ provider?: string | null;
744
+ externalUserId?: string | null;
745
+ externalTenantId?: string | null;
746
+ externalUsername?: string | null;
747
+ externalEmail?: string | null;
748
+ emailVerified?: boolean;
749
+ connectedAt?: string | null;
750
+ lastUsedAt?: string | null;
683
751
  createdAt: string;
684
- expiresAt: string;
685
- isExpired: boolean;
686
- attempts: number;
752
+ appConnectionId?: number | null;
753
+ appConnectionName?: string | null;
754
+ icon?: string | null;
755
+ iconUrl?: string | null;
687
756
  }
688
- type PendingCredentialChangeResponseCredentialType = typeof PendingCredentialChangeResponseCredentialType[keyof typeof PendingCredentialChangeResponseCredentialType];
689
- declare const PendingCredentialChangeResponseCredentialType: {
690
- readonly email: "email";
691
- readonly phone: "phone";
692
- };
693
757
  /**
694
- * Response model for recovery codes
758
+ * Experiment group assignment included on member list rows when filtered by experiment.
695
759
  */
696
- interface RecoveryCodeResponse {
697
- /** List of recovery codes (only shown once) */
698
- codes: string[];
699
- /** When the codes were generated */
700
- generatedAt: string;
701
- warning?: string;
702
- }
703
- interface SendLoginCodeResponse {
704
- success: boolean;
705
- message?: string | null;
760
+ interface MemberExperimentGroupSummary {
761
+ groupId: number;
762
+ groupName: string;
763
+ groupSlug: string;
764
+ isControl: boolean;
706
765
  }
707
766
  /**
708
- * Response for TOTP setup initiation
767
+ * Response model for list of field definitions available in a workspace.
709
768
  */
710
- interface TOTPSetupResponse {
711
- /** Session ID for completing setup */
712
- setupId: string;
713
- /** Base32 encoded TOTP secret */
714
- secret: string;
715
- /** QR code URL for easy setup */
716
- qrCodeUrl: string;
717
- /** Manual entry key for authenticator apps */
718
- manualEntryKey: string;
719
- /** Issuer name for TOTP */
720
- issuer: string;
769
+ interface MemberFieldDefinitionListResponse {
770
+ items: MemberFieldDefinitionResponse[];
721
771
  }
722
772
  /**
723
- * Response model for 2FA method details
773
+ * A Member field key available in the workspace, with every owner.
774
+ *
775
+ * ``key`` is the exact key sync rules target (``field:<key>`` /
776
+ * ``managed_field``) and expressions read (``source.fields["<key>"]``,
777
+ * ``member.fields["<key>"]``); ``label`` is its display name, or the key
778
+ * itself when its owners disagree. ``sources`` lists every owner's
779
+ * definition; ``serviceName`` / ``serviceType`` are set only when exactly
780
+ * one connection defines the key.
724
781
  */
725
- interface TwoFactorMethodResponse$1 {
726
- id: number;
727
- methodType: string;
728
- name: string;
729
- enabled: boolean;
730
- createdAt: string;
731
- lastUsedAt?: string | null;
782
+ interface MemberFieldDefinitionResponse {
783
+ key: string;
784
+ label: string;
785
+ serviceName?: string | null;
786
+ serviceType?: string | null;
787
+ sources?: MemberFieldSourceResponse[];
732
788
  }
733
789
  /**
734
- * Generic response for 2FA operations
790
+ * Response model for list of member fields.
735
791
  */
736
- interface TwoFactorOperationResponse {
737
- /** Whether the operation was successful */
738
- success: boolean;
739
- /** Human-readable message */
740
- message: string;
741
- /** ID of the affected 2FA method */
742
- methodId?: number | null;
792
+ interface MemberFieldListResponse {
793
+ items: MemberFieldResponse[];
794
+ total: number;
743
795
  }
744
796
  /**
745
- * Response for overall 2FA status
746
- */
747
- interface TwoFactorStatusResponse$1 {
748
- /** Whether any 2FA method is enabled */
749
- enabled: boolean;
750
- /** List of configured 2FA methods */
751
- methods: TwoFactorMethodResponse$1[];
752
- /** Number of unused recovery codes */
753
- recoveryCodesCount: number;
754
- /** When recovery codes were last generated */
755
- lastRecoveryCodesGenerated?: string | null;
756
- }
757
- /**
758
- * Response for WebAuthn registration initiation
759
- */
760
- interface WebAuthnRegistrationResponse {
761
- /** Session ID for completing setup */
762
- setupId: string;
763
- /** Full WebAuthn credential creation options */
764
- credentialCreationOptions: WebAuthnRegistrationResponseCredentialCreationOptions;
765
- }
766
- /**
767
- * Full WebAuthn credential creation options
797
+ * Response model for a member field.
798
+ *
799
+ * Only a customer-owned field has an id. When id is None, this is a
800
+ * connector value read from its home (read-only here; a business value is
801
+ * edited through its Form) or, with ``isPlaceholder``, a managed field
802
+ * definition that has no value for this member yet.
803
+ *
804
+ * ``kind`` / ``displayName`` and the Form identifiers describe the owner
805
+ * (see :class:`MemberFieldSourceResponse`); ``recordId`` is this Member's
806
+ * record of that Form when one exists and the caller may read the Form --
807
+ * ``null`` with a ``formId`` means the Member has no record yet.
808
+ * ``syncConflictMode`` is a synced row's connection's current Member
809
+ * conflict policy (``remote_wins`` / ``local_wins`` / ``skip``), for
810
+ * value-edit guidance only. ``writer`` is which kind of enabled rule writes
811
+ * the key now: ``member_rule`` (under that policy), ``related_object_rule``
812
+ * (always overwrites), ``mixed`` (both), or null (no enabled rule does).
768
813
  */
769
- type WebAuthnRegistrationResponseCredentialCreationOptions = {
770
- [key: string]: unknown;
814
+ interface MemberFieldResponse {
815
+ id: number | null;
816
+ memberId: number;
817
+ key: string;
818
+ value: string;
819
+ serviceId: number | null;
820
+ serviceName: string | null;
821
+ serviceType: string | null;
822
+ createdAt: string | null;
823
+ updatedAt: string | null;
824
+ isPlaceholder?: boolean;
825
+ kind: MemberFieldResponseKind;
826
+ displayName?: string | null;
827
+ connectionEnabled?: boolean | null;
828
+ configured?: boolean;
829
+ formId?: number | null;
830
+ formSlug?: string | null;
831
+ fieldSlug?: string | null;
832
+ recordId?: number | null;
833
+ scope?: string | null;
834
+ scopeLabel?: string | null;
835
+ syncConflictMode?: MemberFieldResponseSyncConflictMode;
836
+ writer?: MemberFieldResponseWriter;
837
+ }
838
+ type MemberFieldResponseKind = typeof MemberFieldResponseKind[keyof typeof MemberFieldResponseKind];
839
+ declare const MemberFieldResponseKind: {
840
+ readonly customer: "customer";
841
+ readonly synced: "synced";
842
+ readonly connection_id: "connection_id";
843
+ };
844
+ type MemberFieldResponseSyncConflictMode = typeof MemberFieldResponseSyncConflictMode[keyof typeof MemberFieldResponseSyncConflictMode] | null;
845
+ declare const MemberFieldResponseSyncConflictMode: {
846
+ readonly local_wins: "local_wins";
847
+ readonly remote_wins: "remote_wins";
848
+ readonly skip: "skip";
849
+ };
850
+ type MemberFieldResponseWriter = typeof MemberFieldResponseWriter[keyof typeof MemberFieldResponseWriter] | null;
851
+ declare const MemberFieldResponseWriter: {
852
+ readonly member_rule: "member_rule";
853
+ readonly related_object_rule: "related_object_rule";
854
+ readonly mixed: "mixed";
771
855
  };
772
-
773
856
  /**
774
- * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
775
- * (group map from emit_openapi.py). Do not edit manually.
776
- * Group: member
777
- */
778
-
857
+ * One owner's definition of a Member field key: provenance, never a value.
858
+ *
859
+ * ``kind`` is ``customer`` (a Field the customer owns), ``synced`` (a
860
+ * connection writes it to its bound Form) or ``connection_id`` (a
861
+ * connection's Member link). ``displayName`` is presentation only; the key
862
+ * and every CEL path stay as they are. ``configured`` is false for a synced
863
+ * field a removed rule left on the Form (retained). Form identifiers are
864
+ * present only for a synced key with a field on its connection's live Form
865
+ * that the caller may read: ``formReference`` is the CEL path addressing
866
+ * that one connection's Form field, built from the persisted slugs.
867
+ * ``scope`` / ``scopeLabel`` are a Connection ID's link scope and its
868
+ * configuration label (a Monday board's name).
869
+ */
870
+ interface MemberFieldSourceResponse {
871
+ kind: MemberFieldSourceResponseKind;
872
+ displayName: string;
873
+ valueType?: string;
874
+ connectionId?: number | null;
875
+ connectionName?: string | null;
876
+ connectionType?: string | null;
877
+ connectionEnabled?: boolean | null;
878
+ configured?: boolean;
879
+ formId?: number | null;
880
+ formSlug?: string | null;
881
+ fieldSlug?: string | null;
882
+ formReference?: string | null;
883
+ scope?: string | null;
884
+ scopeLabel?: string | null;
885
+ }
886
+ type MemberFieldSourceResponseKind = typeof MemberFieldSourceResponseKind[keyof typeof MemberFieldSourceResponseKind];
887
+ declare const MemberFieldSourceResponseKind: {
888
+ readonly customer: "customer";
889
+ readonly synced: "synced";
890
+ readonly connection_id: "connection_id";
891
+ };
779
892
  /**
780
- * Response model for agent configuration.
893
+ * Response model for a member filter.
781
894
  */
782
- interface AgentConfigResponse {
895
+ interface MemberFilterResponse {
783
896
  id: number;
784
- chatModelId: string;
785
- chatModelConfig?: AgentConfigResponseChatModelConfig;
786
- realtimeModelId?: string | null;
787
- realtimeModelConfig?: AgentConfigResponseRealtimeModelConfig;
788
- systemPrompt: string;
789
- maxDailyActions?: number | null;
790
- tools?: string[] | null;
791
- codeInterpreterEnabled?: boolean;
792
- webBrowserEnabled?: boolean;
793
- memoryConfig?: AgentMemoryConfig$1 | null;
794
- presetDigest: string;
897
+ uuid: string;
898
+ name: string;
899
+ description?: string | null;
900
+ pinned?: boolean | null;
795
901
  createdAt: string;
796
902
  updatedAt: string;
903
+ query?: MemberFilterResponseQuery;
797
904
  }
798
- type AgentConfigResponseChatModelConfig = {
799
- [key: string]: unknown;
800
- } | null;
801
- type AgentConfigResponseRealtimeModelConfig = {
905
+ type MemberFilterResponseQuery = {
802
906
  [key: string]: unknown;
803
907
  } | null;
804
908
  /**
805
- * Memory strategies available to an Agent.
909
+ * Why an import row was refused.
910
+ *
911
+ * ``code`` is a stable identifier: GRA-5545 phone-only identity mismatch
912
+ * (``identity_mismatch_on_phone_match``), GH #22393 import protection
913
+ * (``operator_role`` / ``import_protected``), or a contact disagreement with
914
+ * the matched Account (``contact_conflict_with_account``). ``fields`` is empty
915
+ * for protection refusals.
916
+ *
917
+ * ``conflicts`` is populated only for ``contact_conflict_with_account`` and is
918
+ * the one place a conflict carries VALUES — the operator has to compare the
919
+ * row's value against the Account's to choose a resolution. Its
920
+ * ``accountValue`` is withheld (``None``) unless the caller holds
921
+ * ``MEMBERS_ADMIN``; see ``member_import_contact_conflict``. Never logged.
806
922
  */
807
- interface AgentMemoryConfig$1 {
808
- enabled?: boolean;
809
- preferences?: boolean;
810
- semantic?: boolean;
811
- summaries?: boolean;
812
- episodic?: boolean;
923
+ interface MemberImportConflictInfo {
924
+ code: string;
925
+ fields: string[];
926
+ conflicts?: ImportContactConflict[];
813
927
  }
814
928
  /**
815
- * Response model for an agent (Member + agent config via JTI).
929
+ * Identity values shown to the operator to compare a conflict row.
816
930
  *
817
- * Agents are first-class members that can communicate via DMs, email, SMS, and voice.
818
- * They have their own identity (name, description) and AI configuration (model, system prompt).
931
+ * Populated only for conflict rows in the preview response (PHI minimization).
819
932
  */
820
- interface AgentResponse {
821
- id: number;
822
- uuid: string;
933
+ interface MemberImportIdentitySnapshot {
823
934
  name?: string | null;
824
- title?: string | null;
825
- description?: string | null;
826
- email?: string | null;
827
- phone?: string | null;
828
- externalId?: string | null;
829
- memberRoleId: number;
830
- memberRoleName?: string | null;
831
- memberType?: string;
832
- isArchived?: boolean;
833
- homeFolderId?: number | null;
834
- createdAt: string;
835
- updatedAt: string;
836
- labels?: MemberLabelResponse[];
837
- config: AgentConfigResponse;
935
+ dateOfBirth?: string | null;
838
936
  }
839
937
  /**
840
- * Summary of the anonymous member's interaction (usually a single call).
938
+ * One problem in an import file, located by row and column, without values.
841
939
  */
842
- interface AnonymousInteractionResponse {
843
- chatId: number | null;
844
- chatTitle: string | null;
845
- chatSummary: string | null;
846
- callId: number | null;
847
- callStatus: string | null;
848
- callCreatedAt: string | null;
849
- callDurationSeconds: number | null;
940
+ interface MemberImportIssue {
941
+ /** CSV row number; data rows start at 2 because row 1 is the header. Null for a problem with the file or its header. */
942
+ row?: number | null;
943
+ /** Header text, only when it is slug-shaped (lower-case letters, digits, ``_``, ``.``, ``-``). Any other header is named by ``columnPosition`` alone, because a header can be a person's value. */
944
+ column?: string | null;
945
+ /** 1-based position of the column in the header row. */
946
+ columnPosition?: number | null;
947
+ code: MemberImportIssueCode;
948
+ /** One short sentence saying what is wrong. */
949
+ message: string;
950
+ /** One short sentence saying how to fix it. */
951
+ fix: string;
850
952
  }
851
953
  /**
852
- * Response model for anonymous member resolution records.
954
+ * Closed set of import problems. Codes are API: add, never rename.
853
955
  */
854
- interface AnonymousMemberResolutionResponse {
855
- id: number;
856
- anonymousMemberId: number | null;
857
- anonymousMemberName: string | null;
858
- identifierType: string;
859
- identifierValue: string;
860
- status: string;
861
- resolvedToMemberId: number | null;
862
- resolvedToMemberName: string | null;
863
- resolvedByMemberId: number | null;
864
- resolvedByMemberName: string | null;
865
- resolutionNotes: string | null;
866
- createdAt: string;
867
- resolvedAt: string | null;
868
- interaction: AnonymousInteractionResponse | null;
956
+ type MemberImportIssueCode = typeof MemberImportIssueCode[keyof typeof MemberImportIssueCode];
957
+ declare const MemberImportIssueCode: {
958
+ readonly csv_unreadable: "csv_unreadable";
959
+ readonly too_many_rows: "too_many_rows";
960
+ readonly duplicate_column: "duplicate_column";
961
+ readonly form_column_format: "form_column_format";
962
+ readonly form_data_type_unknown: "form_data_type_unknown";
963
+ readonly form_field_unknown: "form_field_unknown";
964
+ readonly member_field_column_format: "member_field_column_format";
965
+ readonly salesforce_not_connected: "salesforce_not_connected";
966
+ readonly member_keys_unknown: "member_keys_unknown";
967
+ readonly member_keys_uncorroborated: "member_keys_uncorroborated";
968
+ readonly notify_value_invalid: "notify_value_invalid";
969
+ readonly consent_date_invalid: "consent_date_invalid";
970
+ readonly date_of_birth_invalid: "date_of_birth_invalid";
971
+ readonly conflict_resolution_invalid: "conflict_resolution_invalid";
972
+ readonly salesforce_id_invalid: "salesforce_id_invalid";
973
+ readonly member_id_invalid: "member_id_invalid";
974
+ readonly member_uuid_invalid: "member_uuid_invalid";
975
+ readonly member_id_not_found: "member_id_not_found";
976
+ readonly member_uuid_not_found: "member_uuid_not_found";
977
+ readonly member_key_conflict: "member_key_conflict";
978
+ readonly phone_invalid: "phone_invalid";
979
+ readonly email_ambiguous: "email_ambiguous";
980
+ readonly member_archived: "member_archived";
981
+ readonly role_requires_account: "role_requires_account";
982
+ readonly contact_required: "contact_required";
983
+ readonly row_invalid: "row_invalid";
984
+ };
985
+ /**
986
+ * Which existing Member an import row matched, and how it matched.
987
+ */
988
+ interface MemberImportMatchInfo {
989
+ matchType: MemberImportMatchInfoMatchType;
990
+ memberId: number;
991
+ memberUuid: string;
869
992
  }
993
+ type MemberImportMatchInfoMatchType = typeof MemberImportMatchInfoMatchType[keyof typeof MemberImportMatchInfoMatchType];
994
+ declare const MemberImportMatchInfoMatchType: {
995
+ readonly id: "id";
996
+ readonly uuid: "uuid";
997
+ readonly external_id: "external_id";
998
+ readonly email: "email";
999
+ readonly phone: "phone";
1000
+ readonly account_email: "account_email";
1001
+ readonly account_phone: "account_phone";
1002
+ };
870
1003
  /**
871
- * Bulk create members response.
1004
+ * Read-only classification of an uploaded CSV before any write occurs.
872
1005
  */
873
- interface BulkCreateMembersResponse {
874
- importedCount: number;
875
- totalCount: number;
876
- success: boolean;
877
- results: BulkMemberResult[];
878
- errors?: string[] | null;
879
- conflictedCount?: number;
880
- skippedCount?: number;
1006
+ interface MemberImportPreviewResponse {
1007
+ previewPlanToken?: string | null;
1008
+ totalRows: number;
1009
+ summary: MemberImportPreviewSummary;
1010
+ rows: MemberImportPreviewRow[];
1011
+ ignoredColumns?: string[];
1012
+ issues?: MemberImportIssue[];
1013
+ issueCount?: number;
881
1014
  }
882
1015
  /**
883
- * Per-member output for bulk creation.
884
- *
885
- * ``conflict`` and ``skipped`` are distinct from ``failed``: nothing was
886
- * written and the operator can act on the row (resubmit it edited, or with a
887
- * ``conflictResolution``). ``conflicts`` is populated only for ``conflict``.
1016
+ * One classified import row in the read-only preview response.
888
1017
  */
889
- interface BulkMemberResult {
890
- index: number;
891
- status: BulkMemberResultStatus;
892
- memberId?: number | null;
893
- externalId?: string | null;
894
- error?: string | null;
895
- conflicts?: ImportContactConflict[] | null;
1018
+ interface MemberImportPreviewRow {
1019
+ row: number;
1020
+ action: MemberImportPreviewRowAction;
1021
+ match?: MemberImportMatchInfo | null;
1022
+ conflict?: MemberImportConflictInfo | null;
1023
+ existingIdentity?: MemberImportIdentitySnapshot | null;
1024
+ incomingIdentity?: MemberImportIdentitySnapshot | null;
1025
+ proposedChanges?: string[];
896
1026
  sharedContacts?: string[];
1027
+ error?: string | null;
897
1028
  }
898
- type BulkMemberResultStatus = typeof BulkMemberResultStatus[keyof typeof BulkMemberResultStatus];
899
- declare const BulkMemberResultStatus: {
900
- readonly created: "created";
901
- readonly updated: "updated";
902
- readonly failed: "failed";
1029
+ type MemberImportPreviewRowAction = typeof MemberImportPreviewRowAction[keyof typeof MemberImportPreviewRowAction];
1030
+ declare const MemberImportPreviewRowAction: {
1031
+ readonly create: "create";
1032
+ readonly update: "update";
1033
+ readonly unchanged: "unchanged";
903
1034
  readonly conflict: "conflict";
904
1035
  readonly skipped: "skipped";
1036
+ readonly error: "error";
905
1037
  };
906
1038
  /**
907
- * One unmet requirement of a surface capability.
1039
+ * Counts per classified action for an import preview.
1040
+ */
1041
+ interface MemberImportPreviewSummary {
1042
+ create?: number;
1043
+ update?: number;
1044
+ unchanged?: number;
1045
+ conflict?: number;
1046
+ skipped?: number;
1047
+ error?: number;
1048
+ }
1049
+ /**
1050
+ * One row's outcome within a run.
908
1051
  *
909
- * ``subject`` says who can remediate it (workspace admin vs the member),
910
- * mirroring the ability-requirements finding shape.
1052
+ * PHI note: an index, a status, a closed reason code and the written member's
1053
+ * surrogate id — never a CSV cell, identifier, name, email, phone or field
1054
+ * value.
911
1055
  */
912
- interface CapabilityRequirementFinding {
913
- kind: CapabilityRequirementFindingKind;
1056
+ interface MemberImportRunItemResponse {
1057
+ index: number;
1058
+ status: string;
1059
+ reasonCode?: string;
1060
+ detail?: string | null;
1061
+ memberId?: number | null;
1062
+ }
1063
+ /**
1064
+ * One durable members import run.
1065
+ *
1066
+ * Counters are the members import's own outcome vocabulary — ``created``,
1067
+ * ``updated``, ``unchanged``, ``conflicted``, ``skipped``, ``failed`` — not
1068
+ * the connector importer's link-reconciliation counters, which would label
1069
+ * rows with something they did not do.
1070
+ */
1071
+ interface MemberImportRunSummaryResponse {
1072
+ runId: string;
1073
+ startedAt: string;
1074
+ completedAt?: string | null;
1075
+ status: string;
1076
+ total?: number;
1077
+ created?: number;
1078
+ updated?: number;
1079
+ unchanged?: number;
1080
+ conflicted?: number;
1081
+ skipped?: number;
1082
+ failed?: number;
1083
+ terminalError?: string | null;
1084
+ }
1085
+ /**
1086
+ * Response model for assistant label endpoints.
1087
+ */
1088
+ interface MemberLabelResponse {
1089
+ id: number;
1090
+ uuid: string;
1091
+ name: string;
914
1092
  slug: string;
915
- subject: CapabilityRequirementFindingSubject;
1093
+ color: string;
1094
+ description: string | null;
916
1095
  }
917
- type CapabilityRequirementFindingKind = typeof CapabilityRequirementFindingKind[keyof typeof CapabilityRequirementFindingKind];
918
- declare const CapabilityRequirementFindingKind: {
919
- readonly feature: "feature";
920
- readonly member_scope: "member_scope";
921
- };
922
- type CapabilityRequirementFindingSubject = typeof CapabilityRequirementFindingSubject[keyof typeof CapabilityRequirementFindingSubject];
923
- declare const CapabilityRequirementFindingSubject: {
924
- readonly org: "org";
925
- readonly workspace: "workspace";
926
- readonly member: "member";
1096
+ /**
1097
+ * Response model for file access within a member role.
1098
+ */
1099
+ interface MemberRoleFileAccessResponse {
1100
+ fileId: number;
1101
+ accessMode: number;
1102
+ }
1103
+ /**
1104
+ * Response model for folder access within a member role.
1105
+ */
1106
+ interface MemberRoleFolderAccessResponse {
1107
+ folderId: number;
1108
+ accessMode: number;
1109
+ }
1110
+ /**
1111
+ * Response model for member role endpoints.
1112
+ */
1113
+ interface MemberRoleResponse {
1114
+ id: number;
1115
+ uuid: string;
1116
+ name: string;
1117
+ systemKey?: string | null;
1118
+ supportsUnclaimedMembers?: boolean;
1119
+ grantedScopes?: string[];
1120
+ dailyCreditLimit?: number | null;
1121
+ siteAudience?: string[];
1122
+ fileAccess?: MemberRoleFileAccessResponse[];
1123
+ folderAccess?: MemberRoleFolderAccessResponse[];
1124
+ memberCount?: number;
1125
+ isDefaultForNewMembers?: boolean;
1126
+ createdAt: string;
1127
+ updatedAt: string;
1128
+ }
1129
+ interface MemoryListResponse {
1130
+ items: MemoryResponse$1[];
1131
+ total: number;
1132
+ }
1133
+ interface MemoryResponse$1 {
1134
+ id?: number | null;
1135
+ uuid?: string | null;
1136
+ key: string;
1137
+ type?: string;
1138
+ description: string;
1139
+ content?: string | null;
1140
+ priority?: number;
1141
+ createdAt?: string | null;
1142
+ updatedAt?: string | null;
1143
+ }
1144
+ /**
1145
+ * Response for merge members operation.
1146
+ */
1147
+ interface MergeMembersResponse {
1148
+ member: WorkspaceMemberResponse;
1149
+ mergedCount: number;
1150
+ dataRecordsTransferred: number;
1151
+ }
1152
+ /**
1153
+ * Response with list of pending anonymous member resolutions.
1154
+ */
1155
+ interface PendingAnonymousMembersResponse {
1156
+ items: AnonymousMemberResolutionResponse[];
1157
+ total: number;
1158
+ }
1159
+ /**
1160
+ * A phone/email another member holds as primary, kept as a shared point.
1161
+ *
1162
+ * Returned on a member create/update so the client can say "stored as a
1163
+ * shared contact" and offer the explicit take-over
1164
+ * (``releaseContactFromMemberId``) without the write having failed. PHI-free:
1165
+ * a field NAME, the holding member's surrogate id and whether that member is
1166
+ * archived — never the value, which the caller supplied in the first place.
1167
+ */
1168
+ interface SharedContactResponse {
1169
+ field: SharedContactResponseField;
1170
+ memberId: number;
1171
+ archived?: boolean;
1172
+ }
1173
+ type SharedContactResponseField = typeof SharedContactResponseField[keyof typeof SharedContactResponseField];
1174
+ declare const SharedContactResponseField: {
1175
+ readonly phone: "phone";
1176
+ readonly email: "email";
927
1177
  };
928
1178
  /**
929
- * Resolved availability of one surface capability for one member.
930
- *
931
- * ``enabled`` is the full conjunction (feature available AND authorized).
932
- * ``missing`` enumerates the unmet requirements with their subjects so the
933
- * client can render the right affordance without re-deriving the gate.
1179
+ * Response model for account data in signup response.
934
1180
  */
935
- interface CapabilityStatus {
936
- slug: string;
937
- enabled: boolean;
938
- missing: CapabilityRequirementFinding[];
1181
+ interface SignupAccountResponse {
1182
+ id: number;
1183
+ uuid: string;
1184
+ email?: string | null;
1185
+ phone?: string | null;
1186
+ name?: string | null;
1187
+ locale?: string | null;
1188
+ createdAt: string;
939
1189
  }
940
1190
  /**
941
- * Response model for the create-signup endpoint.
1191
+ * Response model for member data in signup response.
942
1192
  */
943
- interface CreateSignupResponse {
944
- token: string;
945
- account: SignupAccountResponse;
946
- member: SignupMemberResponse;
947
- wasCreated: boolean;
948
- warnings?: DataRecordFieldWarning[];
1193
+ interface SignupMemberResponse {
1194
+ id: number;
1195
+ memberRoleId: number;
1196
+ createdAt: string;
1197
+ name?: string | null;
1198
+ description?: string | null;
1199
+ phone?: string | null;
1200
+ email?: string | null;
1201
+ externalId?: string | null;
1202
+ labels?: string[];
1203
+ tosAccepted: boolean;
949
1204
  }
950
1205
  /**
951
- * Response for the current user's member profile.
1206
+ * Why SMS notifications were last turned off for a Member.
952
1207
  *
953
- * Extends WorkspaceMemberResponse with scopes and org role - the effective
954
- * permissions that the API honors for this user in this workspace context.
1208
+ * A notification preference, not a consent record. An SMS STOP keeps its own
1209
+ * opt-out record and sets no reason here.
1210
+ */
1211
+ type SmsDisabledReason = typeof SmsDisabledReason[keyof typeof SmsDisabledReason];
1212
+ declare const SmsDisabledReason: {
1213
+ readonly upstream_deactivation: "upstream_deactivation";
1214
+ readonly manual: "manual";
1215
+ readonly other: "other";
1216
+ };
1217
+ /**
1218
+ * Aggregate member counts for a workspace (superuser admin view).
1219
+ *
1220
+ * Returns COUNTs only — never member rows — so no PHI is exposed. Lets a
1221
+ * superuser tally members across workspaces they are not a member of, filling
1222
+ * the gap where the workspace-scoped member endpoints require membership.
955
1223
  */
956
- interface CurrentMemberResponse {
1224
+ interface WorkspaceMemberCountResponse {
1225
+ /** Workspace UUID */
1226
+ workspaceUuid: string;
1227
+ /** Numeric workspace ID */
1228
+ workspaceId: number;
1229
+ /** Total member rows (all member types, including archived) */
1230
+ totalMembers: number;
1231
+ /** Non-archived member rows (all member types) */
1232
+ activeMembers: number;
1233
+ /** Archived member rows (all member types) */
1234
+ archivedMembers: number;
1235
+ /** Non-archived member counts keyed by member_type (member, agent, anonymous, test) */
1236
+ activeByType?: WorkspaceMemberCountResponseActiveByType;
1237
+ }
1238
+ /**
1239
+ * Non-archived member counts keyed by member_type (member, agent, anonymous, test)
1240
+ */
1241
+ type WorkspaceMemberCountResponseActiveByType = {
1242
+ [key: string]: number;
1243
+ };
1244
+ interface WorkspaceMemberResponse {
957
1245
  id: number;
958
1246
  uuid: string;
959
1247
  role: string | null;
@@ -973,6 +1261,8 @@ interface CurrentMemberResponse {
973
1261
  emailVerified?: boolean;
974
1262
  phoneVerified?: boolean;
975
1263
  notifySms: boolean;
1264
+ smsDisabledReason?: SmsDisabledReason | null;
1265
+ smsDisabledAt?: string | null;
976
1266
  notifyEmail: boolean;
977
1267
  notifyVoice: boolean;
978
1268
  notifyWhatsapp?: boolean;
@@ -988,519 +1278,378 @@ interface CurrentMemberResponse {
988
1278
  orgRole?: string | null;
989
1279
  timezone?: string | null;
990
1280
  memberType?: string;
1281
+ testMemberKind?: WorkspaceMemberResponseTestMemberKind;
1282
+ personaId?: number | null;
991
1283
  isArchived?: boolean;
992
1284
  isImportProtected?: boolean;
993
1285
  usagePaused?: boolean;
994
1286
  canLogin?: boolean;
995
1287
  experimentGroup?: MemberExperimentGroupSummary | null;
996
1288
  sharedContactPlacements?: SharedContactResponse[];
997
- scopes?: string[];
998
- /** Per-member surface-capability decisions. slug → {enabled, missing}. Each capability composes workspace feature availability with this member's scope authorization. See lib/capabilities/surfaces.py for CapabilityStatus and CapabilityRequirementFinding definitions. */
999
- capabilities?: CurrentMemberResponseCapabilities;
1000
1289
  }
1001
- /**
1002
- * Per-member surface-capability decisions. slug → {enabled, missing}. Each capability composes workspace feature availability with this member's scope authorization. See lib/capabilities/surfaces.py for CapabilityStatus and CapabilityRequirementFinding definitions.
1003
- */
1004
- type CurrentMemberResponseCapabilities = {
1005
- [key: string]: CapabilityStatus;
1290
+ type WorkspaceMemberResponseTestMemberKind = typeof WorkspaceMemberResponseTestMemberKind[keyof typeof WorkspaceMemberResponseTestMemberKind] | null;
1291
+ declare const WorkspaceMemberResponseTestMemberKind: {
1292
+ readonly test: "test";
1293
+ readonly eval: "eval";
1006
1294
  };
1295
+
1007
1296
  /**
1008
- * A soft-warning entry for a DataRecord field schema mismatch.
1009
- *
1010
- * Emitted when an API caller sends a field slug that is not declared
1011
- * on the target DataType's schema. The server silently skips the
1012
- * field (for backward-compatibility — callers depend on unknown slugs
1013
- * being ignored rather than rejected with 400) and attaches one of
1014
- * these to the response so the caller can surface or fix the drift.
1015
- *
1016
- * API-facing camelCase to match other signup response fields.
1297
+ * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
1298
+ * (group map from emit_openapi.py). Do not edit manually.
1299
+ * Group: account
1017
1300
  */
1018
- interface DataRecordFieldWarning {
1019
- code: 'unknown_data_record_field';
1020
- dataTypeSlug: string;
1021
- fieldSlug: string;
1022
- message: string;
1023
- }
1301
+
1024
1302
  /**
1025
- * One contact field a row disagrees with the matched Account about.
1026
- *
1027
- * ``row_value`` and ``account_value`` are **normalized** (email lower-cased,
1028
- * phone E.164) so the operator compares — and resubmits — the same shape the
1029
- * matcher used.
1030
- *
1031
- * ``account_value`` is ``None`` in cases the client cannot tell apart, by
1032
- * design: the Account holds nothing for the field (keeping the Account then
1033
- * drops the row's value — exactly the loss this conflict surfaces), or the
1034
- * caller is not authorized to read it (no ``MEMBERS_ADMIN``, or the Account has
1035
- * no Member in their workspace). Clients render ``None`` as "unavailable";
1036
- * every resolution works either way.
1037
- *
1038
- * PHI: see the module docstring.
1303
+ * One billing customer an account holds a role on.
1039
1304
  */
1040
- interface ImportContactConflict {
1041
- field: ImportContactConflictField;
1042
- rowValue: string;
1043
- accountValue?: string | null;
1305
+ interface AccountCustomerRef {
1306
+ id: number;
1307
+ name?: string | null;
1044
1308
  }
1045
- type ImportContactConflictField = typeof ImportContactConflictField[keyof typeof ImportContactConflictField];
1046
- declare const ImportContactConflictField: {
1047
- readonly email: "email";
1048
- readonly phone: "phone";
1049
- };
1050
1309
  /**
1051
- * Response model for member credentials.
1310
+ * Base account response for non-admin endpoints.
1311
+ *
1312
+ * Note: With Verified Credential Architecture, if email/phone is set,
1313
+ * it's verified by construction. The *_verified_at timestamps record when.
1314
+ * Credentials are IMMUTABLE once set.
1052
1315
  */
1053
- interface MemberCredentialResponse {
1316
+ interface AccountResponse {
1054
1317
  id: number;
1055
- uuid?: string | null;
1056
- displayName?: string | null;
1057
- isDefault?: boolean;
1058
- provider?: string | null;
1059
- externalUserId?: string | null;
1060
- externalUsername?: string | null;
1061
- externalEmail?: string | null;
1062
- emailVerified?: boolean;
1063
- connectedAt?: string | null;
1064
- lastUsedAt?: string | null;
1318
+ uuid: string;
1319
+ loggedIn: boolean;
1320
+ avatarUrl: string | null;
1321
+ email: string | null;
1322
+ phone: string | null;
1323
+ emailVerifiedAt: string | null;
1324
+ phoneVerifiedAt: string | null;
1325
+ name: string | null;
1065
1326
  createdAt: string;
1066
- appConnectionId?: number | null;
1067
- appConnectionName?: string | null;
1068
- icon?: string | null;
1069
- iconUrl?: string | null;
1070
- }
1071
- /**
1072
- * Experiment group assignment included on member list rows when filtered by experiment.
1073
- */
1074
- interface MemberExperimentGroupSummary {
1075
- groupId: number;
1076
- groupName: string;
1077
- groupSlug: string;
1078
- isControl: boolean;
1327
+ isSuperuser: boolean;
1328
+ enabled: boolean;
1329
+ signupWorkspaceId: number | null;
1330
+ tosAccepted: boolean;
1331
+ optedOut: boolean;
1332
+ stripeCustomerId: string | null;
1333
+ locale: string | null;
1334
+ timezone: string | null;
1079
1335
  }
1080
- /**
1081
- * Response model for list of field definitions available in a workspace.
1082
- */
1083
- interface MemberFieldDefinitionListResponse {
1084
- items: MemberFieldDefinitionResponse[];
1336
+ interface AdminAccountMembershipResponse$1 {
1337
+ workspaceUuid: string;
1338
+ workspaceName: string;
1339
+ role: string;
1340
+ createdAt: string;
1341
+ tosAccepted: boolean;
1342
+ memberRoleId: number;
1343
+ memberId: number;
1085
1344
  }
1086
1345
  /**
1087
- * A field definition available in the workspace (from active app connections
1088
- * or user-created fields).
1346
+ * Response for an account's organization membership.
1089
1347
  */
1090
- interface MemberFieldDefinitionResponse {
1091
- key: string;
1092
- label: string;
1093
- serviceName?: string | null;
1094
- serviceType?: string | null;
1348
+ interface AdminAccountOrgMembershipResponse {
1349
+ organizationId: number;
1350
+ organizationUuid: string;
1351
+ organizationName: string;
1352
+ organizationSlug: string;
1353
+ organizationLogoUrl: string | null;
1354
+ role: string;
1355
+ name: string | null;
1356
+ accountName: string | null;
1357
+ externalId: string | null;
1358
+ hasBillingAccess?: boolean;
1359
+ createdAt: string;
1360
+ updatedAt: string;
1095
1361
  }
1096
1362
  /**
1097
- * Response model for list of member fields.
1363
+ * Detailed account response for admin endpoints including related entities
1098
1364
  */
1099
- interface MemberFieldListResponse {
1100
- items: MemberFieldResponse[];
1101
- total: number;
1365
+ interface AdminAccountResponse {
1366
+ id: number;
1367
+ uuid: string;
1368
+ loggedIn: boolean;
1369
+ avatarUrl: string | null;
1370
+ email: string | null;
1371
+ phone: string | null;
1372
+ emailVerifiedAt: string | null;
1373
+ phoneVerifiedAt: string | null;
1374
+ name: string | null;
1375
+ createdAt: string;
1376
+ isSuperuser: boolean;
1377
+ enabled: boolean;
1378
+ signupWorkspaceId: number | null;
1379
+ tosAccepted: boolean;
1380
+ optedOut: boolean;
1381
+ stripeCustomerId: string | null;
1382
+ locale: string | null;
1383
+ timezone: string | null;
1384
+ customers?: AccountCustomerRef[];
1385
+ pendingDeletion?: boolean;
1386
+ deletionRequestedAt?: string | null;
1102
1387
  }
1103
1388
  /**
1104
- * Response model for a member field.
1105
- *
1106
- * Only a customer-owned field has an id. When id is None, this is a
1107
- * connector value read from its home (read-only here; a business value is
1108
- * edited through its Form) or, with ``isPlaceholder``, a managed field
1109
- * definition that has no value for this member yet.
1389
+ * Response model for when a new API key is created, including the full key.
1110
1390
  */
1111
- interface MemberFieldResponse {
1112
- id: number | null;
1113
- memberId: number;
1114
- key: string;
1115
- value: string;
1116
- serviceId: number | null;
1117
- serviceName: string | null;
1118
- serviceType: string | null;
1119
- createdAt: string | null;
1120
- updatedAt: string | null;
1121
- isPlaceholder?: boolean;
1391
+ interface ApiKeyCreatedResponse {
1392
+ id: number;
1393
+ uuid: string;
1394
+ name: string;
1395
+ keyPrefix: string;
1396
+ createdAt: string;
1397
+ expiresAt?: string | null;
1398
+ lastUsedAt?: string | null;
1399
+ enabled: boolean;
1400
+ scopes: string[];
1401
+ appId?: number | null;
1402
+ dataUseMode?: DataUseMode;
1403
+ key: string;
1122
1404
  }
1123
1405
  /**
1124
- * Response model for a member filter.
1406
+ * Response model for API key information.
1125
1407
  */
1126
- interface MemberFilterResponse {
1408
+ interface ApiKeyResponse {
1127
1409
  id: number;
1128
1410
  uuid: string;
1129
1411
  name: string;
1130
- description?: string | null;
1131
- pinned?: boolean | null;
1412
+ keyPrefix: string;
1132
1413
  createdAt: string;
1133
- updatedAt: string;
1134
- query?: MemberFilterResponseQuery;
1414
+ expiresAt?: string | null;
1415
+ lastUsedAt?: string | null;
1416
+ enabled: boolean;
1417
+ scopes: string[];
1418
+ appId?: number | null;
1419
+ dataUseMode?: DataUseMode;
1135
1420
  }
1136
- type MemberFilterResponseQuery = {
1137
- [key: string]: unknown;
1138
- } | null;
1139
1421
  /**
1140
- * Why an import row was refused.
1141
- *
1142
- * ``code`` is a stable identifier: GRA-5545 phone-only identity mismatch
1143
- * (``identity_mismatch_on_phone_match``), GH #22393 import protection
1144
- * (``operator_role`` / ``import_protected``), or a contact disagreement with
1145
- * the matched Account (``contact_conflict_with_account``). ``fields`` is empty
1146
- * for protection refusals.
1147
- *
1148
- * ``conflicts`` is populated only for ``contact_conflict_with_account`` and is
1149
- * the one place a conflict carries VALUES — the operator has to compare the
1150
- * row's value against the Account's to choose a resolution. Its
1151
- * ``accountValue`` is withheld (``None``) unless the caller holds
1152
- * ``MEMBERS_ADMIN``; see ``member_import_contact_conflict``. Never logged.
1422
+ * Response after canceling a credential change invitation.
1153
1423
  */
1154
- interface MemberImportConflictInfo {
1155
- code: string;
1156
- fields: string[];
1157
- conflicts?: ImportContactConflict[];
1424
+ interface CancelCredentialChangeInviteResponse {
1425
+ success: boolean;
1426
+ message: string;
1158
1427
  }
1159
1428
  /**
1160
- * Identity values shown to the operator to compare a conflict row.
1161
- *
1162
- * Populated only for conflict rows in the preview response (PHI minimization).
1429
+ * Response after canceling a credential change request.
1163
1430
  */
1164
- interface MemberImportIdentitySnapshot {
1165
- name?: string | null;
1166
- dateOfBirth?: string | null;
1431
+ interface CancelCredentialChangeResponse {
1432
+ success: boolean;
1433
+ message: string;
1167
1434
  }
1168
1435
  /**
1169
- * One problem in an import file, located by row and column, without values.
1436
+ * Response after confirming a credential change invitation.
1170
1437
  */
1171
- interface MemberImportIssue {
1172
- /** CSV row number; data rows start at 2 because row 1 is the header. Null for a problem with the file or its header. */
1173
- row?: number | null;
1174
- /** Header text, only when it is slug-shaped (lower-case letters, digits, ``_``, ``.``, ``-``). Any other header is named by ``columnPosition`` alone, because a header can be a person's value. */
1175
- column?: string | null;
1176
- /** 1-based position of the column in the header row. */
1177
- columnPosition?: number | null;
1178
- code: MemberImportIssueCode;
1179
- /** One short sentence saying what is wrong. */
1438
+ interface CredentialChangeInviteConfirmResponse {
1439
+ success: boolean;
1180
1440
  message: string;
1181
- /** One short sentence saying how to fix it. */
1182
- fix: string;
1441
+ credentialType?: CredentialChangeInviteConfirmResponseCredentialType;
1183
1442
  }
1184
- /**
1185
- * Closed set of import problems. Codes are API: add, never rename.
1186
- */
1187
- type MemberImportIssueCode = typeof MemberImportIssueCode[keyof typeof MemberImportIssueCode];
1188
- declare const MemberImportIssueCode: {
1189
- readonly csv_unreadable: "csv_unreadable";
1190
- readonly too_many_rows: "too_many_rows";
1191
- readonly duplicate_column: "duplicate_column";
1192
- readonly form_column_format: "form_column_format";
1193
- readonly form_data_type_unknown: "form_data_type_unknown";
1194
- readonly form_field_unknown: "form_field_unknown";
1195
- readonly member_field_column_format: "member_field_column_format";
1196
- readonly salesforce_not_connected: "salesforce_not_connected";
1197
- readonly member_keys_unknown: "member_keys_unknown";
1198
- readonly member_keys_uncorroborated: "member_keys_uncorroborated";
1199
- readonly notify_value_invalid: "notify_value_invalid";
1200
- readonly consent_date_invalid: "consent_date_invalid";
1201
- readonly date_of_birth_invalid: "date_of_birth_invalid";
1202
- readonly conflict_resolution_invalid: "conflict_resolution_invalid";
1203
- readonly salesforce_id_invalid: "salesforce_id_invalid";
1204
- readonly member_id_invalid: "member_id_invalid";
1205
- readonly member_uuid_invalid: "member_uuid_invalid";
1206
- readonly member_id_not_found: "member_id_not_found";
1207
- readonly member_uuid_not_found: "member_uuid_not_found";
1208
- readonly member_key_conflict: "member_key_conflict";
1209
- readonly phone_invalid: "phone_invalid";
1210
- readonly email_ambiguous: "email_ambiguous";
1211
- readonly member_archived: "member_archived";
1212
- readonly role_requires_account: "role_requires_account";
1213
- readonly contact_required: "contact_required";
1214
- readonly row_invalid: "row_invalid";
1443
+ type CredentialChangeInviteConfirmResponseCredentialType = typeof CredentialChangeInviteConfirmResponseCredentialType[keyof typeof CredentialChangeInviteConfirmResponseCredentialType] | null;
1444
+ declare const CredentialChangeInviteConfirmResponseCredentialType: {
1445
+ readonly email: "email";
1446
+ readonly phone: "phone";
1215
1447
  };
1216
1448
  /**
1217
- * Which existing Member an import row matched, and how it matched.
1449
+ * Response with details of a credential change invitation.
1450
+ *
1451
+ * Used for the confirmation page to show what change is being proposed.
1218
1452
  */
1219
- interface MemberImportMatchInfo {
1220
- matchType: MemberImportMatchInfoMatchType;
1221
- memberId: number;
1222
- memberUuid: string;
1453
+ interface CredentialChangeInviteDetailsResponse {
1454
+ id: number;
1455
+ credentialType: CredentialChangeInviteDetailsResponseCredentialType;
1456
+ newValue: string;
1457
+ workspaceName: string;
1458
+ workspaceUuid: string;
1459
+ initiatedByName: string | null;
1460
+ createdAt: string;
1461
+ expiresAt: string;
1462
+ isExpired: boolean;
1463
+ isValid: boolean;
1223
1464
  }
1224
- type MemberImportMatchInfoMatchType = typeof MemberImportMatchInfoMatchType[keyof typeof MemberImportMatchInfoMatchType];
1225
- declare const MemberImportMatchInfoMatchType: {
1226
- readonly id: "id";
1227
- readonly uuid: "uuid";
1228
- readonly external_id: "external_id";
1465
+ type CredentialChangeInviteDetailsResponseCredentialType = typeof CredentialChangeInviteDetailsResponseCredentialType[keyof typeof CredentialChangeInviteDetailsResponseCredentialType];
1466
+ declare const CredentialChangeInviteDetailsResponseCredentialType: {
1229
1467
  readonly email: "email";
1230
1468
  readonly phone: "phone";
1231
- readonly account_email: "account_email";
1232
- readonly account_phone: "account_phone";
1233
1469
  };
1234
1470
  /**
1235
- * Read-only classification of an uploaded CSV before any write occurs.
1236
- */
1237
- interface MemberImportPreviewResponse {
1238
- previewPlanToken?: string | null;
1239
- totalRows: number;
1240
- summary: MemberImportPreviewSummary;
1241
- rows: MemberImportPreviewRow[];
1242
- ignoredColumns?: string[];
1243
- issues?: MemberImportIssue[];
1244
- issueCount?: number;
1245
- }
1246
- /**
1247
- * One classified import row in the read-only preview response.
1471
+ * Response after creating a credential change invitation.
1248
1472
  */
1249
- interface MemberImportPreviewRow {
1250
- row: number;
1251
- action: MemberImportPreviewRowAction;
1252
- match?: MemberImportMatchInfo | null;
1253
- conflict?: MemberImportConflictInfo | null;
1254
- existingIdentity?: MemberImportIdentitySnapshot | null;
1255
- incomingIdentity?: MemberImportIdentitySnapshot | null;
1256
- proposedChanges?: string[];
1257
- sharedContacts?: string[];
1258
- error?: string | null;
1473
+ interface CredentialChangeInviteResponse {
1474
+ id: number;
1475
+ credentialType: CredentialChangeInviteResponseCredentialType;
1476
+ maskedNewValue: string;
1477
+ expiresAt: string;
1478
+ message: string;
1259
1479
  }
1260
- type MemberImportPreviewRowAction = typeof MemberImportPreviewRowAction[keyof typeof MemberImportPreviewRowAction];
1261
- declare const MemberImportPreviewRowAction: {
1262
- readonly create: "create";
1263
- readonly update: "update";
1264
- readonly unchanged: "unchanged";
1265
- readonly conflict: "conflict";
1266
- readonly skipped: "skipped";
1267
- readonly error: "error";
1480
+ type CredentialChangeInviteResponseCredentialType = typeof CredentialChangeInviteResponseCredentialType[keyof typeof CredentialChangeInviteResponseCredentialType];
1481
+ declare const CredentialChangeInviteResponseCredentialType: {
1482
+ readonly email: "email";
1483
+ readonly phone: "phone";
1268
1484
  };
1269
1485
  /**
1270
- * Counts per classified action for an import preview.
1486
+ * Response after requesting a credential change.
1271
1487
  */
1272
- interface MemberImportPreviewSummary {
1273
- create?: number;
1274
- update?: number;
1275
- unchanged?: number;
1276
- conflict?: number;
1277
- skipped?: number;
1278
- error?: number;
1488
+ interface CredentialChangeRequestResponse {
1489
+ id: number;
1490
+ credentialType: CredentialChangeRequestResponseCredentialType;
1491
+ expiresAt: string;
1492
+ message: string;
1279
1493
  }
1494
+ type CredentialChangeRequestResponseCredentialType = typeof CredentialChangeRequestResponseCredentialType[keyof typeof CredentialChangeRequestResponseCredentialType];
1495
+ declare const CredentialChangeRequestResponseCredentialType: {
1496
+ readonly email: "email";
1497
+ readonly phone: "phone";
1498
+ };
1280
1499
  /**
1281
- * One row's outcome within a run.
1282
- *
1283
- * PHI note: an index, a status, a closed reason code and the written member's
1284
- * surrogate id — never a CSV cell, identifier, name, email, phone or field
1285
- * value.
1500
+ * Response after verifying a credential change.
1286
1501
  */
1287
- interface MemberImportRunItemResponse {
1288
- index: number;
1289
- status: string;
1290
- reasonCode?: string;
1291
- detail?: string | null;
1292
- memberId?: number | null;
1502
+ interface CredentialChangeVerifyResponse {
1503
+ success: boolean;
1504
+ message: string;
1505
+ credentialType?: CredentialChangeVerifyResponseCredentialType;
1293
1506
  }
1507
+ type CredentialChangeVerifyResponseCredentialType = typeof CredentialChangeVerifyResponseCredentialType[keyof typeof CredentialChangeVerifyResponseCredentialType] | null;
1508
+ declare const CredentialChangeVerifyResponseCredentialType: {
1509
+ readonly email: "email";
1510
+ readonly phone: "phone";
1511
+ };
1294
1512
  /**
1295
- * One durable members import run.
1513
+ * What a *credential* may carry (ADR-18 §1), not what a member may see.
1296
1514
  *
1297
- * Counters are the members import's own outcome vocabulary — ``created``,
1298
- * ``updated``, ``unchanged``, ``conflicted``, ``skipped``, ``failed`` — not
1299
- * the connector importer's link-reconciliation counters, which would label
1300
- * rows with something they did not do.
1515
+ * This is an axis on the connection, deliberately not a scope: scopes are
1516
+ * additive grants for cross-member access, and a member's own data is reached
1517
+ * with no scope at all, so no scope value can express "this channel must not
1518
+ * carry PHI". Computed at mint time and mutable afterwards **only toward**
1519
+ * :attr:`NO_PHI` — the same "narrows, never widens" doctrine as
1520
+ * ``scope_restriction`` and ``Device.enrollment_scope_ceiling``. Widening is a
1521
+ * re-consent, i.e. revoke and re-mint under lifted conditions.
1301
1522
  */
1302
- interface MemberImportRunSummaryResponse {
1303
- runId: string;
1304
- startedAt: string;
1305
- completedAt?: string | null;
1306
- status: string;
1307
- total?: number;
1308
- created?: number;
1309
- updated?: number;
1310
- unchanged?: number;
1311
- conflicted?: number;
1312
- skipped?: number;
1313
- failed?: number;
1314
- terminalError?: string | null;
1523
+ type DataUseMode = typeof DataUseMode[keyof typeof DataUseMode];
1524
+ declare const DataUseMode: {
1525
+ readonly unrestricted: "unrestricted";
1526
+ readonly no_phi: "no_phi";
1527
+ };
1528
+ interface LoginResponse {
1529
+ token: string;
1530
+ accountId: number;
1531
+ accountName?: string | null;
1532
+ accountUuid?: string | null;
1533
+ requiresTwoFactor?: boolean | null;
1534
+ availableTwoFactorMethods?: unknown[] | null;
1535
+ sessionKind?: SessionKind | 'widget' | null;
1536
+ expiresAt?: string | null;
1315
1537
  }
1316
1538
  /**
1317
- * Response model for assistant label endpoints.
1539
+ * Response for a pending credential change invitation.
1318
1540
  */
1319
- interface MemberLabelResponse {
1541
+ interface PendingCredentialChangeInviteResponse {
1320
1542
  id: number;
1321
- uuid: string;
1322
- name: string;
1323
- slug: string;
1324
- color: string;
1325
- description: string | null;
1326
- }
1327
- /**
1328
- * Response model for file access within a member role.
1329
- */
1330
- interface MemberRoleFileAccessResponse {
1331
- fileId: number;
1332
- accessMode: number;
1333
- }
1334
- /**
1335
- * Response model for folder access within a member role.
1336
- */
1337
- interface MemberRoleFolderAccessResponse {
1338
- folderId: number;
1339
- accessMode: number;
1543
+ credentialType: PendingCredentialChangeInviteResponseCredentialType;
1544
+ maskedNewValue: string;
1545
+ workspaceName: string;
1546
+ initiatedByName: string | null;
1547
+ createdAt: string;
1548
+ expiresAt: string;
1549
+ isExpired: boolean;
1550
+ status: string;
1340
1551
  }
1552
+ type PendingCredentialChangeInviteResponseCredentialType = typeof PendingCredentialChangeInviteResponseCredentialType[keyof typeof PendingCredentialChangeInviteResponseCredentialType];
1553
+ declare const PendingCredentialChangeInviteResponseCredentialType: {
1554
+ readonly email: "email";
1555
+ readonly phone: "phone";
1556
+ };
1341
1557
  /**
1342
- * Response model for member role endpoints.
1558
+ * Response for a pending credential change request.
1343
1559
  */
1344
- interface MemberRoleResponse {
1560
+ interface PendingCredentialChangeResponse {
1345
1561
  id: number;
1346
- uuid: string;
1347
- name: string;
1348
- systemKey?: string | null;
1349
- grantedScopes?: string[];
1350
- dailyCreditLimit?: number | null;
1351
- siteAudience?: string[];
1352
- fileAccess?: MemberRoleFileAccessResponse[];
1353
- folderAccess?: MemberRoleFolderAccessResponse[];
1354
- memberCount?: number;
1355
- isDefaultForNewMembers?: boolean;
1562
+ credentialType: PendingCredentialChangeResponseCredentialType;
1563
+ maskedNewValue: string;
1356
1564
  createdAt: string;
1357
- updatedAt: string;
1358
- }
1359
- interface MemoryListResponse {
1360
- items: MemoryResponse$1[];
1361
- total: number;
1362
- }
1363
- interface MemoryResponse$1 {
1364
- id?: number | null;
1365
- uuid?: string | null;
1366
- key: string;
1367
- type?: string;
1368
- description: string;
1369
- content?: string | null;
1370
- priority?: number;
1371
- createdAt?: string | null;
1372
- updatedAt?: string | null;
1565
+ expiresAt: string;
1566
+ isExpired: boolean;
1567
+ attempts: number;
1373
1568
  }
1569
+ type PendingCredentialChangeResponseCredentialType = typeof PendingCredentialChangeResponseCredentialType[keyof typeof PendingCredentialChangeResponseCredentialType];
1570
+ declare const PendingCredentialChangeResponseCredentialType: {
1571
+ readonly email: "email";
1572
+ readonly phone: "phone";
1573
+ };
1374
1574
  /**
1375
- * Response for merge members operation.
1575
+ * Response model for recovery codes
1376
1576
  */
1377
- interface MergeMembersResponse {
1378
- member: WorkspaceMemberResponse;
1379
- mergedCount: number;
1380
- dataRecordsTransferred: number;
1577
+ interface RecoveryCodeResponse {
1578
+ /** List of recovery codes (only shown once) */
1579
+ codes: string[];
1580
+ /** When the codes were generated */
1581
+ generatedAt: string;
1582
+ warning?: string;
1381
1583
  }
1382
- /**
1383
- * Response with list of pending anonymous member resolutions.
1384
- */
1385
- interface PendingAnonymousMembersResponse {
1386
- items: AnonymousMemberResolutionResponse[];
1387
- total: number;
1584
+ interface SendLoginCodeResponse {
1585
+ success: boolean;
1586
+ message?: string | null;
1388
1587
  }
1389
1588
  /**
1390
- * A phone/email another member holds as primary, kept as a shared point.
1391
- *
1392
- * Returned on a member create/update so the client can say "stored as a
1393
- * shared contact" and offer the explicit take-over
1394
- * (``releaseContactFromMemberId``) without the write having failed. PHI-free:
1395
- * a field NAME, the holding member's surrogate id and whether that member is
1396
- * archived — never the value, which the caller supplied in the first place.
1589
+ * Response for TOTP setup initiation
1397
1590
  */
1398
- interface SharedContactResponse {
1399
- field: SharedContactResponseField;
1400
- memberId: number;
1401
- archived?: boolean;
1591
+ interface TOTPSetupResponse {
1592
+ /** Session ID for completing setup */
1593
+ setupId: string;
1594
+ /** Base32 encoded TOTP secret */
1595
+ secret: string;
1596
+ /** QR code URL for easy setup */
1597
+ qrCodeUrl: string;
1598
+ /** Manual entry key for authenticator apps */
1599
+ manualEntryKey: string;
1600
+ /** Issuer name for TOTP */
1601
+ issuer: string;
1402
1602
  }
1403
- type SharedContactResponseField = typeof SharedContactResponseField[keyof typeof SharedContactResponseField];
1404
- declare const SharedContactResponseField: {
1405
- readonly phone: "phone";
1406
- readonly email: "email";
1407
- };
1408
1603
  /**
1409
- * Response model for account data in signup response.
1604
+ * Response model for 2FA method details
1410
1605
  */
1411
- interface SignupAccountResponse {
1606
+ interface TwoFactorMethodResponse$1 {
1412
1607
  id: number;
1413
- uuid: string;
1414
- email?: string | null;
1415
- phone?: string | null;
1416
- name?: string | null;
1417
- locale?: string | null;
1608
+ methodType: string;
1609
+ name: string;
1610
+ enabled: boolean;
1418
1611
  createdAt: string;
1612
+ lastUsedAt?: string | null;
1419
1613
  }
1420
1614
  /**
1421
- * Response model for member data in signup response.
1615
+ * Generic response for 2FA operations
1422
1616
  */
1423
- interface SignupMemberResponse {
1424
- id: number;
1425
- memberRoleId: number;
1426
- createdAt: string;
1427
- name?: string | null;
1428
- description?: string | null;
1429
- phone?: string | null;
1430
- email?: string | null;
1431
- externalId?: string | null;
1432
- labels?: string[];
1433
- tosAccepted: boolean;
1617
+ interface TwoFactorOperationResponse {
1618
+ /** Whether the operation was successful */
1619
+ success: boolean;
1620
+ /** Human-readable message */
1621
+ message: string;
1622
+ /** ID of the affected 2FA method */
1623
+ methodId?: number | null;
1434
1624
  }
1435
1625
  /**
1436
- * Aggregate member counts for a workspace (superuser admin view).
1437
- *
1438
- * Returns COUNTs only — never member rows — so no PHI is exposed. Lets a
1439
- * superuser tally members across workspaces they are not a member of, filling
1440
- * the gap where the workspace-scoped member endpoints require membership.
1626
+ * Response for overall 2FA status
1441
1627
  */
1442
- interface WorkspaceMemberCountResponse {
1443
- /** Workspace UUID */
1444
- workspaceUuid: string;
1445
- /** Numeric workspace ID */
1446
- workspaceId: number;
1447
- /** Total member rows (all member types, including archived) */
1448
- totalMembers: number;
1449
- /** Non-archived member rows (all member types) */
1450
- activeMembers: number;
1451
- /** Archived member rows (all member types) */
1452
- archivedMembers: number;
1453
- /** Non-archived member counts keyed by member_type (member, agent, anonymous, test) */
1454
- activeByType?: WorkspaceMemberCountResponseActiveByType;
1628
+ interface TwoFactorStatusResponse$1 {
1629
+ /** Whether any 2FA method is enabled */
1630
+ enabled: boolean;
1631
+ /** List of configured 2FA methods */
1632
+ methods: TwoFactorMethodResponse$1[];
1633
+ /** Number of unused recovery codes */
1634
+ recoveryCodesCount: number;
1635
+ /** When recovery codes were last generated */
1636
+ lastRecoveryCodesGenerated?: string | null;
1455
1637
  }
1456
1638
  /**
1457
- * Non-archived member counts keyed by member_type (member, agent, anonymous, test)
1639
+ * Response for WebAuthn registration initiation
1458
1640
  */
1459
- type WorkspaceMemberCountResponseActiveByType = {
1460
- [key: string]: number;
1461
- };
1462
- interface WorkspaceMemberResponse {
1463
- id: number;
1464
- uuid: string;
1465
- role: string | null;
1466
- tosAccepted: boolean;
1467
- accountTosAccepted: boolean | null;
1468
- accountUuid: string | null;
1469
- createdAt: string;
1470
- updatedAt: string;
1471
- name: string | null;
1472
- title?: string | null;
1473
- description: string | null;
1474
- phone: string | null;
1475
- phoneType: string | null;
1476
- email: string | null;
1477
- externalId: string | null;
1478
- dateOfBirth?: string | null;
1479
- emailVerified?: boolean;
1480
- phoneVerified?: boolean;
1481
- notifySms: boolean;
1482
- notifyEmail: boolean;
1483
- notifyVoice: boolean;
1484
- notifyWhatsapp?: boolean;
1485
- locale: string | null;
1486
- memberRoleId: number;
1487
- memberRoleName: string | null;
1488
- memberRoleSystemKey?: string | null;
1489
- homeFolderId?: number | null;
1490
- labels?: MemberLabelResponse[];
1491
- accountEnabled?: boolean | null;
1492
- isOrgOwner?: boolean | null;
1493
- isSuperuser?: boolean | null;
1494
- orgRole?: string | null;
1495
- timezone?: string | null;
1496
- memberType?: string;
1497
- isArchived?: boolean;
1498
- isImportProtected?: boolean;
1499
- usagePaused?: boolean;
1500
- canLogin?: boolean;
1501
- experimentGroup?: MemberExperimentGroupSummary | null;
1502
- sharedContactPlacements?: SharedContactResponse[];
1641
+ interface WebAuthnRegistrationResponse {
1642
+ /** Session ID for completing setup */
1643
+ setupId: string;
1644
+ /** Full WebAuthn credential creation options */
1645
+ credentialCreationOptions: WebAuthnRegistrationResponseCredentialCreationOptions;
1503
1646
  }
1647
+ /**
1648
+ * Full WebAuthn credential creation options
1649
+ */
1650
+ type WebAuthnRegistrationResponseCredentialCreationOptions = {
1651
+ [key: string]: unknown;
1652
+ };
1504
1653
 
1505
1654
  /**
1506
1655
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
@@ -1557,6 +1706,7 @@ interface CalendarResponse$1 {
1557
1706
  color: string | null;
1558
1707
  isPublic: boolean;
1559
1708
  remoteCalendarId?: string | null;
1709
+ syncEnabled?: boolean;
1560
1710
  syncStatus?: string | null;
1561
1711
  syncError?: string | null;
1562
1712
  lastSyncedAt?: string | null;
@@ -2510,6 +2660,19 @@ interface RoutineConfigEventResponse {
2510
2660
  fieldsChanged?: string[] | null;
2511
2661
  actor?: MemberSummary | null;
2512
2662
  }
2663
+ /**
2664
+ * Deliver a prompt result by email from an authorized workspace Inbox.
2665
+ *
2666
+ * Omit the destination to return results to the interactive Chat.
2667
+ * Recipient identity is a workspace Member ID, never a model-selected address.
2668
+ */
2669
+ interface RoutineDestination {
2670
+ channel?: 'email';
2671
+ /** @exclusiveMinimum 0 */
2672
+ inboxId: number;
2673
+ /** @exclusiveMinimum 0 */
2674
+ memberId: number;
2675
+ }
2513
2676
  /**
2514
2677
  * Response model for Routines.
2515
2678
  */
@@ -2533,6 +2696,7 @@ interface RoutineResponse$1 {
2533
2696
  agentId?: number | null;
2534
2697
  prompt?: string | null;
2535
2698
  skills?: string[] | null;
2699
+ destination?: RoutineDestination | null;
2536
2700
  limit: number;
2537
2701
  visibility: string;
2538
2702
  ownerId: number | null;
@@ -3289,6 +3453,7 @@ interface CreateRoutineRequest {
3289
3453
  agentId?: number | null;
3290
3454
  /** Optional starting skills for the plain prompt. */
3291
3455
  skills?: string[] | null;
3456
+ destination?: RoutineDestination | null;
3292
3457
  limit?: number;
3293
3458
  visibility?: 'private' | 'workspace';
3294
3459
  /** When true, the server generates a webhook secret and returns its
@@ -3321,6 +3486,7 @@ interface UpdateRoutineRequest {
3321
3486
  prompt?: string | null;
3322
3487
  agentId?: number | null;
3323
3488
  skills?: string[] | null;
3489
+ destination?: RoutineDestination | null;
3324
3490
  limit?: number;
3325
3491
  visibility?: 'private' | 'workspace';
3326
3492
  /** Ordered event rules to attach. Server syncs by UUID: same-UUID rows
@@ -4764,6 +4930,7 @@ declare function canPreviewVoice(entity: {
4764
4930
  * The JSON IR is the wire format AND the UI's source of truth: the
4765
4931
  * query-builder renders from and edits exactly this tree.
4766
4932
  */
4933
+
4767
4934
  type QueryEntityType = 'member' | 'chat' | 'data_record';
4768
4935
  type QueryComparisonOp = 'eq' | 'neq' | 'contains' | 'notContains' | 'startsWith' | 'in' | 'notIn' | 'gt' | 'gte' | 'lt' | 'lte' | 'between' | 'notBetween' | 'isEmpty' | 'notEmpty' | 'exists' | 'onDay' | 'notOnDay';
4769
4936
  type QueryAggregateOp = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte';
@@ -4996,6 +5163,12 @@ interface QueryFieldInfo {
4996
5163
  * Optional for older API versions; null = uncategorized.
4997
5164
  */
4998
5165
  category?: string | null;
5166
+ /**
5167
+ * `memberField.<key>` only: every owner of the key (customer Field,
5168
+ * Synced field, Connection ID), for display. The option still matches
5169
+ * any owner's value. Absent elsewhere and from older API versions.
5170
+ */
5171
+ memberFieldSources?: MemberFieldSourceResponse[] | null;
4999
5172
  }
5000
5173
  interface QueryRecordFieldInfo {
5001
5174
  slug: string;
@@ -5897,8 +6070,8 @@ declare const CreateInquirySchema: z.ZodObject<{
5897
6070
  email: z.ZodOptional<z.ZodString>;
5898
6071
  inquiryType: z.ZodEnum<{
5899
6072
  other: "other";
5900
- builder: "builder";
5901
6073
  customer: "customer";
6074
+ builder: "builder";
5902
6075
  partner: "partner";
5903
6076
  demo_request: "demo_request";
5904
6077
  waitlist: "waitlist";
@@ -5932,8 +6105,8 @@ declare const AnonymousInquiryFormSchema: z.ZodObject<{
5932
6105
  email: z.ZodOptional<z.ZodString>;
5933
6106
  inquiryType: z.ZodEnum<{
5934
6107
  other: "other";
5935
- builder: "builder";
5936
6108
  customer: "customer";
6109
+ builder: "builder";
5937
6110
  partner: "partner";
5938
6111
  demo_request: "demo_request";
5939
6112
  waitlist: "waitlist";
@@ -6162,8 +6335,8 @@ declare const UpdateTaskSchema: z.ZodObject<{
6162
6335
  wid: z.ZodString;
6163
6336
  taskId: z.ZodNumber;
6164
6337
  workflowId: z.ZodOptional<z.ZodNumber>;
6165
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6166
6338
  name: z.ZodOptional<z.ZodString>;
6339
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6167
6340
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6168
6341
  abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
6169
6342
  uuid: z.ZodString;
@@ -6261,4 +6434,4 @@ type DeleteTaskInput = z.infer<typeof DeleteTaskSchema>;
6261
6434
  type ArchiveTaskInput = z.infer<typeof ArchiveTaskSchema>;
6262
6435
  type UnarchiveTaskInput = z.infer<typeof UnarchiveTaskSchema>;
6263
6436
 
6264
- 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 FormFieldUpdateAssignment 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 SwitchTaskActionParams as e$, type QueryOr as e0, type QueryParameterRef as e1, type QueryRangeBound as e2, type QueryRangeValue as e3, type QueryRecordFieldInfo as e4, type QueryRecordMatch as e5, type QueryRecordSelection as e6, type QueryRelationMatch as e7, type QueryRunMode as e8, type QuerySavedFilterRef as e9, type RoutineVoiceReadinessWarningResponse as eA, type RoutinesQueryParams as eB, type RuleExecutionSortField as eC, type RuleExecutionsQueryParams as eD, type RunQueryRequest as eE, type RunQueryResponse as eF, type SendLoginCodeResponse as eG, type SSOConfigData as eH, type SSOConfigRequest as eI, type SSOProviderConfig as eJ, type SchedulePreviewRequest as eK, type SchedulePreviewResponse as eL, Scope as eM, type SendEmailVerificationRequest as eN, type SessionExchangeRequest as eO, type SessionExchangeResponse as eP, type SetupTOTPRequest as eQ, type SetupWebAuthnRequest as eR, type SignupAccountResponse as eS, type SignupMemberResponse as eT, type SiteDisableImpactResponse as eU, SiteDnsRecordType as eV, type SiteDomainConfigResponse as eW, type SiteSortField as eX, type SiteVerificationResponse as eY, type SmsSendActionParams as eZ, type SortOrder as e_, type QueryScalar as ea, type QuerySortKey as eb, type QuerySubQueryRef as ec, type QueryTemplatePredicate as ed, type QueryTemplateValue as ee, type QueryTemporalValue as ef, type QueryValue as eg, type RealtimeModelConfig as eh, type RecoveryCodeResponse as ei, Region as ej, RegistrationIdentifier as ek, type RequestCredentialChangeRequest as el, type RequestMagicLinkRequest as em, type RequestMagicLinkResponse as en, type ResolveAnonymousMemberRequest as eo, type Routine as ep, type RoutineConfigEventResponse as eq, type RoutineResponse as er, type RoutineRunResponse as es, type RoutineRunStatus as et, type RoutineRunsQueryParams as eu, type RoutineScheduleMode as ev, type RoutineSortField as ew, type RoutineVisibility as ex, type RoutineVoiceReadinessPreviewRequest as ey, type RoutineVoiceReadinessPreviewResponse as ez, type AccountLookupResponse as f, type ChildTaskFormData as f$, type SyncCalendarResponse as f0, type TOTPSetupResponse as f1, type TTSModel as f2, type TTSPreviewProvider as f3, TTS_PREVIEW_PROVIDERS as f4, type TaskExportDataTypeRelation as f5, type TaskExportEventRuleRelation as f6, type TaskSortField as f7, type TestWebhookRequest as f8, type TestWebhookResponse as f9, type WebhookLogsQueryParams 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 XAIRealtimeReasoningEffort as fH, type XAIReasoningEffort as fI, type XAIServerVADTurnDetection as fJ, archivedMemberConflictId as fK, asIdentifiedMemberContactConflict as fL, canPreviewVoice as fM, decodePermissions as fN, encodePermissions as fO, eventRuleActionParams as fP, getTTSProvider as fQ, getVoiceModelId as fR, isAccountContactConflict as fS, isIdentifiedMemberContactConflict as fT, isMemberContactConflict as fU, type AbilityData as fV, AbilityDataSchema as fW, AnonymousInquiryFormSchema as fX, type ArchiveTaskInput as fY, ArchiveTaskSchema as fZ, ChatTaskConfigurationPatchSchema as f_, type ThinkingSound as fa, type TimeSlot as fb, type TwoFactorMethod as fc, type TwoFactorOperationResponse as fd, type TwoFactorStatus as fe, type UnlinkCalendarResponse as ff, type UpdateAgentRequest as fg, type UpdateAttendeeRequest as fh, type UpdateDataRecordFilterRequest as fi, type UpdateEventRuleFormData as fj, type UpdateOrgMemberRequest as fk, type UpdateOrganizationRequest as fl, type UpdateRoutineRequest as fm, type UpdateTwoFactorMethodRequest as fn, type UpdateWorkspaceMemberRequest as fo, type ValidateMagicLinkRequest as fp, type ValidateMagicLinkResponse as fq, type ValidateQueryResponse as fr, type VerifyCodeRequest as fs, type VerifyCodeResponse as ft, type VerifyCredentialChangeRequest as fu, type VerifyEmailRequest as fv, type VerifyTOTPSetupRequest as fw, type VerifyWebAuthnSetupRequest as fx, type WebhookActionParams as fy, type WebhookLogSortField as fz, type AccountReportItem as g, type AgentMemoryConfig$1 as g$, ChildTaskFormDataSchema as g0, type CreateInquiryInput as g1, CreateInquirySchema as g2, type CreateTaskInput as g3, CreateTaskSchema as g4, type DeleteInquiryInput as g5, DeleteInquirySchema as g6, type DeleteTaskInput as g7, DeleteTaskSchema as g8, type EnrichInquiryInput 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 MintedSessionFields as gN, type OIDCAdminConfigInput as gO, type OrgMembershipExport as gP, type OrgScopedIdentityResponse as gQ, type SessionDescription as gR, SessionKind as gS, type TwoFactorMethodResponse as gT, type TwoFactorMethodType as gU, type TwoFactorStatusResponse as gV, type WebAuthnRegistrationResponse as gW, type WorkspaceMembershipExport as gX, type EnumOption$1 as gY, type EventRuleResponse$1 as gZ, type EventRuleData as g_, EnrichInquirySchema as ga, type GetInquiryInput as gb, GetInquirySchema as gc, type GetTaskInput as gd, GetTaskSchema as ge, type ListInquiriesInput as gf, ListInquiriesSchema as gg, type ListTasksInput as gh, ListTasksSchema as gi, OutcomeTaskRoutingSchema 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, EventRuleEventType$1 as h0, type OpenAIRealtimeModelConfig$1 as h1, type GeminiRealtimeModelConfig$1 as h2, type XAIRealtimeModelConfig$1 as h3, type SiteDnsRecord as h4, type OrgDomainListResponse as h5, type EmailDnsRecord as h6, type EmailDomainConfigGetResponse as h7, type SiteDomainConfigGetResponse as h8, type OrgBillingCustomerResponse as h9, 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 };
6437
+ 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 FormFieldUpdateAssignment as bx, type GeminiChatModelConfig as by, type GeminiRealtimeModelConfig as bz, type AccountResponse as c, type MondayLookupType 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 MemberLabelActionParams as cA, type MemberLabelFormData as cB, type MemberMemoriesResponse as cC, type MemberMessageActivity as cD, type MemberOrgView as cE, type MemberReportItem as cF, type MemberRoleResponse as cG, type MemberRoleFileAccessResponse as cH, type MemberRoleFolderAccessResponse as cI, type MemberRoleFormData as cJ, type MemberRoleTaskAccess as cK, type MemberSortField as cL, type MemberSummary as cM, type MemberSyncLink as cN, MemberType as cO, type MemberUpsertActionParams as cP, type MemberUpsertBehavior as cQ, type MemberWorkspaceInfo as cR, type MembersQueryParams as cS, type MemoryItem as cT, type MemoryResponse as cU, type MemoryType as cV, type MergeMembersRequest as cW, type MergeMembersResponse as cX, type MessageValidationActionParams as cY, type MissingMembershipItem as cZ, type MondayColumnMapping as c_, type MemberCredentialResponse as ca, type MemberFieldResponse as cb, type MemberFieldDefinitionResponse as cc, type MemberFieldDefinitionListResponse as cd, type MemberFieldListResponse as ce, type MemberFieldSourceResponse as cf, type MemberFilterResponse as cg, type MemberFilterFormData as ch, type MemberFilterWithQuery as ci, type MemberFormData as cj, type MemberImportConflictInfo as ck, type MemberImportIdentitySnapshot as cl, type MemberImportIssue as cm, MemberImportIssueCode as cn, type MemberImportMatchInfo as co, MemberImportMatchInfoMatchType as cp, type MemberImportOptions as cq, type MemberImportPreviewResponse as cr, type MemberImportPreviewRow as cs, MemberImportPreviewRowAction as ct, type MemberImportPreviewSummary as cu, type MemberImportRunItemResponse as cv, type MemberImportRunSummaryResponse as cw, type MemberImportStreamConflict as cx, type MemberImportStreamEvent as cy, type MemberLabelResponse as cz, type AccountContactConflict as d, type QueryNot as d$, type MondayRefreshActionParams as d0, type MondayRefreshColumnMapping as d1, type MondayUpsertItemActionParams as d2, type MondayUpsertMode as d3, type MultiMatchBehavior as d4, type NormalizeMemberRequest as d5, type NormalizeMemberResponse as d6, type OIDCAdminConfigView as d7, OIDCAdminConfigViewProviderType as d8, type ObjectPermission as d9, type PaginatedResponse as dA, type PendingAnonymousMembersResponse as dB, type PendingCredentialChangeResponse as dC, type PendingCredentialChangeInviteResponse as dD, type PhoneCallActionParams as dE, type PlayAudioActionParams as dF, QUERY_VALUELESS_OPS as dG, type QualificationSortField as dH, type QueryAggregateOp as dI, type QueryAggregatePredicate as dJ, type QueryAggregateSpec as dK, type QueryAnd as dL, type QueryCompare as dM, type QueryComparisonOp as dN, type QueryCostInfo as dO, type QueryDataTypeInfo as dP, type QueryDayBoundaryValue as dQ, type QueryDaysAgoValue as dR, type QueryDaysFromNowValue as dS, type QueryEntityType as dT, type QueryEnumOption as dU, type QueryFieldInfo as dV, type QueryFieldsResponse as dW, type QueryGroupBy as dX, type QueryIR as dY, type QueryMatchAll as dZ, type QueryMetric as d_, type ObjectPermissionFlags as da, type OpenAIChatModelConfig as db, type OpenAIRealtimeModelConfig as dc, type OpenAIReasoningEffort as dd, type OpenAISemanticVADEagerness as de, type OpenAISemanticVADTurnDetection as df, type OpenAIServerVADTurnDetection as dg, type OpenAITurnDetection as dh, type OpenAITurnDetectionType as di, type OrgMember as dj, type OrgMemberListResponse as dk, type OrgMemberRole as dl, type OrganizationResponse as dm, type OwnershipVerificationResponse as dn, PERMISSION_ADMIN as dp, PERMISSION_CREATE as dq, PERMISSION_DELETE as dr, PERMISSION_EDIT as ds, PERMISSION_GEOLOCATE as dt, PERMISSION_LIST as du, PERMISSION_LIST_ALL as dv, PERMISSION_NONE as dw, PERMISSION_USE as dx, PERMISSION_VERIFY as dy, type PageSortField as dz, type AccountFormData as e, type SmsSendActionParams as e$, type QueryNowValue as e0, type QueryOr as e1, type QueryParameterRef as e2, type QueryRangeBound as e3, type QueryRangeValue as e4, type QueryRecordFieldInfo as e5, type QueryRecordMatch as e6, type QueryRecordSelection as e7, type QueryRelationMatch as e8, type QueryRunMode as e9, type RoutineVoiceReadinessPreviewRequest as eA, type RoutineVoiceReadinessPreviewResponse as eB, type RoutineVoiceReadinessWarningResponse 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 SiteVerificationResponse as e_, type QuerySavedFilterRef as ea, type QueryScalar as eb, type QuerySortKey as ec, type QuerySubQueryRef as ed, type QueryTemplatePredicate as ee, type QueryTemplateValue as ef, type QueryTemporalValue as eg, type QueryValue as eh, type RealtimeModelConfig as ei, type RecoveryCodeResponse as ej, Region as ek, RegistrationIdentifier as el, type RequestCredentialChangeRequest as em, type RequestMagicLinkRequest as en, type RequestMagicLinkResponse as eo, type ResolveAnonymousMemberRequest as ep, type Routine as eq, type RoutineConfigEventResponse as er, type RoutineDestination as es, type RoutineResponse as et, type RoutineRunResponse as eu, type RoutineRunStatus as ev, type RoutineRunsQueryParams as ew, type RoutineScheduleMode as ex, type RoutineSortField as ey, type RoutineVisibility as ez, type AccountLookupResponse as f, ArchiveTaskSchema as f$, type SortOrder as f0, type SwitchTaskActionParams as f1, type SyncCalendarResponse as f2, type TOTPSetupResponse as f3, type TTSModel as f4, type TTSPreviewProvider as f5, TTS_PREVIEW_PROVIDERS as f6, type TaskExportDataTypeRelation as f7, type TaskExportEventRuleRelation as f8, type TaskSortField as f9, type WebhookActionParams as fA, type WebhookLogSortField as fB, type WebhookLogsQueryParams as fC, type WorkflowSortField as fD, type WorkspaceMemberCountResponse as fE, type WorkspaceMemberCountResponseActiveByType as fF, type WorkspaceSortField as fG, type XAIChatModelConfig as fH, type XAIRealtimeModelConfig as fI, type XAIRealtimeReasoningEffort as fJ, type XAIReasoningEffort as fK, type XAIServerVADTurnDetection as fL, archivedMemberConflictId as fM, asIdentifiedMemberContactConflict as fN, canPreviewVoice as fO, decodePermissions as fP, encodePermissions as fQ, eventRuleActionParams as fR, getTTSProvider as fS, getVoiceModelId as fT, isAccountContactConflict as fU, isIdentifiedMemberContactConflict as fV, isMemberContactConflict as fW, type AbilityData as fX, AbilityDataSchema as fY, AnonymousInquiryFormSchema as fZ, type ArchiveTaskInput as f_, type TestWebhookRequest as fa, type TestWebhookResponse as fb, type ThinkingSound as fc, type TimeSlot as fd, type TwoFactorMethod as fe, type TwoFactorOperationResponse as ff, type TwoFactorStatus as fg, type UnlinkCalendarResponse as fh, type UpdateAgentRequest as fi, type UpdateAttendeeRequest as fj, type UpdateDataRecordFilterRequest as fk, type UpdateEventRuleFormData as fl, type UpdateOrgMemberRequest as fm, type UpdateOrganizationRequest as fn, type UpdateRoutineRequest as fo, type UpdateTwoFactorMethodRequest as fp, type UpdateWorkspaceMemberRequest as fq, type ValidateMagicLinkRequest as fr, type ValidateMagicLinkResponse as fs, type ValidateQueryResponse as ft, type VerifyCodeRequest as fu, type VerifyCodeResponse as fv, type VerifyCredentialChangeRequest as fw, type VerifyEmailRequest as fx, type VerifyTOTPSetupRequest as fy, type VerifyWebAuthnSetupRequest as fz, type AccountReportItem as g, type EventRuleResponse$1 as g$, ChatTaskConfigurationPatchSchema as g0, type ChildTaskFormData as g1, ChildTaskFormDataSchema as g2, type CreateInquiryInput as g3, CreateInquirySchema as g4, type CreateTaskInput as g5, CreateTaskSchema as g6, type DeleteInquiryInput as g7, DeleteInquirySchema as g8, type DeleteTaskInput as g9, type AdminAccountResponse as gA, type AdminAccountFormData as gB, type AdminAccountMembership as gC, type AdminAccountMembershipResponse as gD, type AdminAccountOrgMembershipResponse as gE, type AdminCarrierLedgerEntryResponse as gF, type AdminOrganization as gG, type AdminOrganizationResponse as gH, type AdminWorkspaceMemberFormData as gI, type ConsentRecordExport as gJ, type DataExportResponse as gK, type DeletionCancelResponse as gL, type DeletionRequestResponse as gM, type TwoFactorMethodResponse$1 as gN, type TwoFactorStatusResponse$1 as gO, type MintedSessionFields as gP, type OIDCAdminConfigInput as gQ, type OrgMembershipExport as gR, type OrgScopedIdentityResponse as gS, type SessionDescription as gT, SessionKind as gU, type TwoFactorMethodResponse as gV, type TwoFactorMethodType as gW, type TwoFactorStatusResponse as gX, type WebAuthnRegistrationResponse as gY, type WorkspaceMembershipExport as gZ, type EnumOption$1 as g_, DeleteTaskSchema as ga, type EnrichInquiryInput as gb, EnrichInquirySchema as gc, type GetInquiryInput as gd, GetInquirySchema as ge, type GetTaskInput as gf, GetTaskSchema as gg, type ListInquiriesInput as gh, ListInquiriesSchema as gi, type ListTasksInput as gj, ListTasksSchema as gk, OutcomeTaskRoutingSchema as gl, type TaskFormData as gm, TaskFormDataSchema as gn, type UnarchiveTaskInput as go, UnarchiveTaskSchema as gp, type UpdateInquiryInput as gq, UpdateInquiryRequestSchema as gr, UpdateInquirySchema as gs, type UpdateTaskInput as gt, UpdateTaskSchema as gu, DeclaredDataUse as gv, type AccountCustomerRef as gw, type AccountDataExport as gx, type AccountExternalIdentityResponse as gy, type AccountIdentityResolutionResponse as gz, type AccountSortField as h, type EventRuleData as h0, type AgentMemoryConfig$1 as h1, EventRuleEventType$1 as h2, type OpenAIRealtimeModelConfig$1 as h3, type GeminiRealtimeModelConfig$1 as h4, type XAIRealtimeModelConfig$1 as h5, type SiteDnsRecord as h6, type OrgDomainListResponse as h7, type EmailDnsRecord as h8, type EmailDomainConfigGetResponse as h9, type SiteDomainConfigGetResponse as ha, type OrgBillingCustomerResponse as hb, 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 };