@gravity-rail/sdk 0.2.0 → 0.4.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.
@@ -56,9 +56,6 @@ declare enum Scope {
56
56
  MEMBERS_READ = "members:read",
57
57
  MEMBERS_WRITE = "members:write",
58
58
  MEMBERS_ADMIN = "members:admin",
59
- MEMBER_FILTERS_READ = "member_filters:read",
60
- MEMBER_FILTERS_WRITE = "member_filters:write",
61
- MEMBER_FILTERS_ADMIN = "member_filters:admin",
62
59
  MEMBER_ROLES_READ = "member_roles:read",
63
60
  MEMBER_ROLES_WRITE = "member_roles:write",
64
61
  MEMBER_ROLES_ADMIN = "member_roles:admin",
@@ -68,9 +65,9 @@ declare enum Scope {
68
65
  DIRECT_MESSAGES_READ = "dm:read",
69
66
  DIRECT_MESSAGES_WRITE = "dm:write",
70
67
  DIRECT_MESSAGES_ADMIN = "dm:admin",
71
- ASSISTANTS_READ = "assistants:read",
72
- ASSISTANTS_WRITE = "assistants:write",
73
- ASSISTANTS_ADMIN = "assistants:admin",
68
+ JOURNEYS_READ = "journeys:read",
69
+ JOURNEYS_WRITE = "journeys:write",
70
+ JOURNEYS_ADMIN = "journeys:admin",
74
71
  WORKFLOWS_READ = "workflows:read",
75
72
  WORKFLOWS_WRITE = "workflows:write",
76
73
  WORKFLOWS_ADMIN = "workflows:admin",
@@ -112,6 +109,7 @@ declare enum Scope {
112
109
  APPS_WRITE = "apps:write",
113
110
  APPS_ADMIN = "apps:admin",
114
111
  LABELS_READ = "labels:read",
112
+ /** @deprecated Use parent resource write scope (MEMBERS_WRITE, CHATS_WRITE, FILES_WRITE) */
115
113
  LABELS_WRITE = "labels:write",
116
114
  ANALYTICS_READ = "analytics:read",
117
115
  OPERATOR_READ = "operator:read",
@@ -127,17 +125,26 @@ declare enum Scope {
127
125
  type ChatSortField = 'createdAt' | 'updatedAt' | 'title' | 'mostRecentMessage';
128
126
  type AssignmentSortField = 'createdAt' | 'updatedAt';
129
127
  type MemberSortField = 'createdAt' | 'updatedAt' | 'name' | 'email';
130
- type AssistantSortField = 'createdAt' | 'updatedAt' | 'name';
131
128
  type SiteSortField = 'createdAt' | 'updatedAt' | 'name';
132
129
  type FileSortField = 'createdAt' | 'updatedAt' | 'name';
133
130
  type PageSortField = 'createdAt' | 'updatedAt' | 'title';
134
- type WebhookLogSortField = 'createdAt' | 'eventType' | 'success';
131
+ type WebhookLogSortField = 'createdAt';
135
132
  type RuleExecutionSortField = 'createdAt' | 'completedAt' | 'durationMs' | 'status';
136
- type EventSortField = 'createdAt' | 'updatedAt' | 'name' | 'scheduledTime';
133
+ type RoutineSortField = 'createdAt' | 'updatedAt' | 'name' | 'scheduledTime';
137
134
  type EventRunSortField = 'createdAt';
138
- type MilestoneSortField = 'createdAt' | 'updatedAt' | 'name' | 'targetDate';
135
+ type MilestoneSortField = 'name' | 'createdAt' | 'updatedAt' | 'targetDate';
139
136
  type AccountSortField = 'createdAt' | 'updatedAt' | 'name' | 'email';
140
137
  type WorkspaceSortField = 'createdAt' | 'updatedAt' | 'name';
138
+ type AdminWorkspaceSortField = 'name' | 'slug' | 'createdAt';
139
+ type BotSortField = 'createdAt' | 'updatedAt' | 'name';
140
+ type AgentSortField = 'createdAt' | 'updatedAt' | 'name';
141
+ type WorkflowSortField = 'name' | 'updatedAt' | 'createdAt';
142
+ type TaskSortField = 'name' | 'createdAt' | 'workflowId';
143
+ type QualificationSortField = 'name' | 'createdAt';
144
+ type JourneySortField = 'name' | 'createdAt';
145
+ type McpServerSortField = 'name' | 'createdAt' | 'state';
146
+ type DataTypeSortField = 'name' | 'createdAt';
147
+ type CalendarEventSortField = 'startTime' | 'createdAt';
141
148
 
142
149
  /**
143
150
  * Account interface.
@@ -184,6 +191,10 @@ interface AdminAccount extends Account {
184
191
  workspaceUuids: string[];
185
192
  tosAccepted: boolean;
186
193
  optedOut: boolean;
194
+ customerId: number | null;
195
+ customerName: string | null;
196
+ pendingDeletion?: boolean;
197
+ deletionRequestedAt?: string | null;
187
198
  }
188
199
  interface DetailedAccount extends AdminAccount {
189
200
  }
@@ -217,6 +228,22 @@ interface LoginResponse {
217
228
  token?: string;
218
229
  accountId?: number;
219
230
  }
231
+ interface SessionExchangeRequest {
232
+ organizationUuid: string;
233
+ audience?: 'gravityrail:org';
234
+ maxAgeSeconds?: number;
235
+ }
236
+ interface SessionExchangeResponse {
237
+ token: string;
238
+ sessionId: string;
239
+ principalScope: 'org';
240
+ principalUuid: string;
241
+ organizationUuid: string;
242
+ audience: 'gravityrail:org';
243
+ expiresAt: string;
244
+ sessionAssuranceLevel: number;
245
+ policyVersion: number;
246
+ }
220
247
  interface SMSLoginResponse {
221
248
  success: boolean;
222
249
  message?: string;
@@ -241,6 +268,8 @@ interface RequestMagicLinkRequest {
241
268
  interface RequestMagicLinkResponse {
242
269
  success: boolean;
243
270
  message: string;
271
+ token?: string;
272
+ magicLinkUrl?: string;
244
273
  }
245
274
  interface ValidateMagicLinkRequest {
246
275
  token: string;
@@ -288,10 +317,49 @@ interface SSOConfigData {
288
317
  interface SSOConfig {
289
318
  provider: string | null;
290
319
  domain: string | null;
291
- required: boolean;
292
320
  enabledAt: string | null;
293
321
  config: SSOConfigData | null;
294
322
  }
323
+ /**
324
+ * OIDC provider config submitted by an admin. `clientSecret` is the
325
+ * **cleartext** secret on input; the backend encrypts it before persisting
326
+ * and never stores it in cleartext. Re-saving config with `clientSecret`
327
+ * unset preserves the previously encrypted blob.
328
+ */
329
+ interface OIDCAdminConfigInput {
330
+ providerType: 'azure_ad' | 'okta' | 'auth0' | 'generic';
331
+ issuer: string;
332
+ clientId: string;
333
+ /** Cleartext secret. Send only when configuring or rotating. */
334
+ clientSecret?: string | null;
335
+ expectedAudience?: string | null;
336
+ expectedTenantId?: string | null;
337
+ multiTenant?: boolean;
338
+ autoProvision?: boolean;
339
+ roleMapping?: Record<string, string> | null;
340
+ rolesKey?: string | null;
341
+ groupsKey?: string | null;
342
+ postLogoutRedirectUris?: string[] | null;
343
+ }
344
+ /**
345
+ * OIDC provider config returned to an admin. `clientSecret` is always
346
+ * `null`; `clientSecretSet` reflects whether one is configured.
347
+ */
348
+ interface OIDCAdminConfigView {
349
+ providerType: 'azure_ad' | 'okta' | 'auth0' | 'generic';
350
+ issuer: string;
351
+ clientId: string;
352
+ clientSecret: null;
353
+ clientSecretSet: boolean;
354
+ expectedAudience?: string | null;
355
+ expectedTenantId?: string | null;
356
+ multiTenant?: boolean;
357
+ autoProvision?: boolean;
358
+ roleMapping?: Record<string, string> | null;
359
+ rolesKey?: string | null;
360
+ groupsKey?: string | null;
361
+ postLogoutRedirectUris?: string[] | null;
362
+ }
295
363
  interface Organization {
296
364
  id: number;
297
365
  uuid: string;
@@ -301,6 +369,7 @@ interface Organization {
301
369
  logoUrl?: string;
302
370
  contactEmail?: string;
303
371
  contactPhone?: string;
372
+ authMode: 'open' | 'ssoForDomain' | 'ssoOnly';
304
373
  createdAt: string;
305
374
  creatorId: number;
306
375
  creatorName?: string;
@@ -312,6 +381,9 @@ interface AdminOrganization extends Organization {
312
381
  viewType: 'admin';
313
382
  accountCount: number;
314
383
  workspaceCount: number;
384
+ phoneNumberCount: number;
385
+ /** Redacted OIDC view, only present for orgs with `sso.provider == 'oidc'`. */
386
+ ssoOidc?: OIDCAdminConfigView | null;
315
387
  }
316
388
  /**
317
389
  * Workspace info for member view
@@ -355,8 +427,16 @@ interface UpdateOrganizationRequest {
355
427
  logoMimeType?: string;
356
428
  ssoProvider?: string | null;
357
429
  ssoDomain?: string | null;
358
- ssoRequired?: boolean;
430
+ authMode?: 'open' | 'ssoForDomain' | 'ssoOnly';
359
431
  ssoAutoProvision?: boolean;
432
+ /**
433
+ * External OIDC config — encrypted server-side and persisted into
434
+ * `organization.sso_config["oidc"]`. Set to `null` to clear an existing
435
+ * OIDC config. The cleartext `clientSecret` only lives for the duration
436
+ * of the request; the response surfaces a redacted view.
437
+ */
438
+ ssoOidc?: OIDCAdminConfigInput | null;
439
+ twilioSubAccountSid?: string | null;
360
440
  }
361
441
  interface LogoUploadRequest {
362
442
  contentType: string;
@@ -477,7 +557,7 @@ interface MissingMembershipItem {
477
557
  type OrgMemberRole = 'member' | 'admin' | 'owner';
478
558
  interface OrgMember {
479
559
  id: number;
480
- accountId: number;
560
+ accountId: number | null;
481
561
  organizationId: number;
482
562
  role: OrgMemberRole;
483
563
  name?: string | null;
@@ -503,12 +583,6 @@ interface OrgMemberListResponse {
503
583
  page: number;
504
584
  pageSize: number;
505
585
  }
506
- interface AddAccountToOrgRequest {
507
- email?: string;
508
- phone?: string;
509
- name?: string;
510
- role?: OrgMemberRole;
511
- }
512
586
  interface UpdateOrgMemberRequest {
513
587
  role: OrgMemberRole;
514
588
  }
@@ -611,6 +685,48 @@ interface CancelCredentialChangeInviteResponse {
611
685
  success: boolean;
612
686
  message: string;
613
687
  }
688
+ interface AccountDataExport {
689
+ uuid: string;
690
+ name: string | null;
691
+ email: string | null;
692
+ phone: string | null;
693
+ gender: string | null;
694
+ timezone: string | null;
695
+ locale: string | null;
696
+ createdAt: string;
697
+ }
698
+ interface WorkspaceMembershipExport {
699
+ workspaceName: string;
700
+ workspaceUuid: string;
701
+ joinedAt: string;
702
+ }
703
+ interface OrgMembershipExport {
704
+ orgName: string;
705
+ role: string;
706
+ }
707
+ interface ConsentRecordExport {
708
+ consentType: string;
709
+ granted: boolean;
710
+ recordedAt: string;
711
+ policyVersion: string | null;
712
+ }
713
+ interface DataExportResponse {
714
+ exportedAt: string;
715
+ account: AccountDataExport;
716
+ workspaceMemberships: WorkspaceMembershipExport[];
717
+ orgMemberships: OrgMembershipExport[];
718
+ consentRecords: ConsentRecordExport[];
719
+ oauthProviders: string[];
720
+ }
721
+ interface DeletionRequestResponse {
722
+ status: string;
723
+ deletionScheduledFor: string;
724
+ message: string;
725
+ }
726
+ interface DeletionCancelResponse {
727
+ status: string;
728
+ message: string;
729
+ }
614
730
 
615
731
  declare const MilestoneGoalFormDataSchema: z.ZodObject<{
616
732
  id: z.ZodOptional<z.ZodNumber>;
@@ -623,7 +739,6 @@ declare const MilestoneFormDataSchema: z.ZodObject<{
623
739
  name: z.ZodString;
624
740
  description: z.ZodOptional<z.ZodString>;
625
741
  targetDate: z.ZodString;
626
- ownerId: z.ZodNumber;
627
742
  goals: z.ZodArray<z.ZodObject<{
628
743
  id: z.ZodOptional<z.ZodNumber>;
629
744
  name: z.ZodString;
@@ -651,7 +766,6 @@ declare const CreateMilestoneSchema: z.ZodObject<{
651
766
  name: z.ZodString;
652
767
  description: z.ZodOptional<z.ZodString>;
653
768
  targetDate: z.ZodString;
654
- ownerId: z.ZodNumber;
655
769
  goals: z.ZodArray<z.ZodObject<{
656
770
  id: z.ZodOptional<z.ZodNumber>;
657
771
  name: z.ZodString;
@@ -666,7 +780,6 @@ declare const UpdateMilestoneSchema: z.ZodObject<{
666
780
  name: z.ZodOptional<z.ZodString>;
667
781
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
668
782
  targetDate: z.ZodOptional<z.ZodString>;
669
- ownerId: z.ZodOptional<z.ZodNumber>;
670
783
  goals: z.ZodOptional<z.ZodArray<z.ZodObject<{
671
784
  id: z.ZodOptional<z.ZodNumber>;
672
785
  name: z.ZodString;
@@ -701,6 +814,39 @@ declare enum MemberType {
701
814
  AGENT = "agent"
702
815
  }
703
816
 
817
+ type MemoryType = 'basic' | 'preferences' | 'semantic' | 'summaries' | 'episodic';
818
+ interface MemoryItem {
819
+ id?: number;
820
+ uuid?: string;
821
+ key: string;
822
+ type: MemoryType;
823
+ description: string;
824
+ content: string | null;
825
+ priority: number;
826
+ createdAt: string | null;
827
+ updatedAt: string | null;
828
+ }
829
+ interface MemberMemoriesResponse {
830
+ items: MemoryItem[];
831
+ total: number;
832
+ }
833
+ /** Configuration for AgentCore long-term memory on Agent members. */
834
+ interface AgentMemoryConfig {
835
+ /** Whether memory is enabled (default: false) */
836
+ enabled?: boolean;
837
+ /** Retrieve relevant memories and inject into prompt (default: true) */
838
+ read?: boolean;
839
+ /** Store conversational events for memory extraction (default: true) */
840
+ write?: boolean;
841
+ /** Search user preference memories (default: true) */
842
+ preferences?: boolean;
843
+ /** Search semantic fact memories (default: true) */
844
+ semantic?: boolean;
845
+ /** Search conversation summary memories (default: true) */
846
+ summaries?: boolean;
847
+ /** Search episodic memories — interaction sequences, troubleshooting flows (default: false) */
848
+ episodic?: boolean;
849
+ }
704
850
  /**
705
851
  * Agent-specific configuration for members with member_type='agent'.
706
852
  * Stores AI model configuration and behavior settings.
@@ -713,12 +859,10 @@ interface AgentConfig {
713
859
  realtimeModelId?: string;
714
860
  realtimeModelConfig?: Record<string, unknown>;
715
861
  systemPrompt: string;
716
- heartbeatEnabled: boolean;
717
- heartbeatCron?: string;
718
- heartbeatPrompt?: string;
719
862
  maxDailyActions?: number;
720
863
  tools?: string[];
721
864
  codeInterpreterEnabled?: boolean;
865
+ memoryConfig?: AgentMemoryConfig;
722
866
  createdAt: string;
723
867
  updatedAt: string;
724
868
  }
@@ -728,12 +872,10 @@ interface AgentConfigFormData {
728
872
  realtimeModelId?: string;
729
873
  realtimeModelConfig?: Record<string, unknown>;
730
874
  systemPrompt: string;
731
- heartbeatEnabled?: boolean;
732
- heartbeatCron?: string;
733
- heartbeatPrompt?: string;
734
875
  maxDailyActions?: number;
735
876
  tools?: string[];
736
877
  codeInterpreterEnabled?: boolean;
878
+ memoryConfig?: AgentMemoryConfig;
737
879
  }
738
880
  interface MemberLabel {
739
881
  id: number;
@@ -749,8 +891,8 @@ interface MemberLabelFormData {
749
891
  description?: string;
750
892
  color: string;
751
893
  }
752
- type MemberFilterObjectType = 'label' | 'dataType' | 'member' | 'memberRole' | 'name' | 'email' | 'phone' | 'phoneType' | 'workflow' | 'tosAccepted' | 'notifySms' | 'notifyEmail' | 'calendarEvent' | 'chatEngagement' | 'lastMessageActivity' | 'memberCreated' | 'isDefault' | 'memberType' | 'memberField';
753
- type MemberFilterFilterType = 'any' | 'all' | 'none' | 'partial' | 'notPartial' | 'exact' | 'equals' | 'notEquals' | 'notContains' | 'atLeast' | 'atMost' | 'field' | 'dateFilter' | 'greaterThan' | 'greaterThanOrEqual' | 'lessThan' | 'lessThanOrEqual' | 'within' | 'olderThan' | 'never' | 'isEmpty' | 'notEmpty' | 'before' | 'after' | 'between' | 'daysAgo' | 'hasKey' | 'hasKeyValue';
894
+ type MemberFilterObjectType = 'label' | 'dataType' | 'member' | 'memberRole' | 'name' | 'email' | 'phone' | 'phoneType' | 'age' | 'dateOfBirth' | 'workflow' | 'tosAccepted' | 'notifySms' | 'notifyEmail' | 'notifyVoice' | 'calendarEvent' | 'chatEngagement' | 'lastMessageActivity' | 'memberCreated' | 'isDefault' | 'memberType' | 'memberField' | 'journey';
895
+ type MemberFilterFilterType = 'any' | 'all' | 'none' | 'partial' | 'notPartial' | 'exact' | 'equals' | 'notEquals' | 'notContains' | 'atLeast' | 'atMost' | 'field' | 'dateFilter' | 'greaterThan' | 'greaterThanOrEqual' | 'lessThan' | 'lessThanOrEqual' | 'within' | 'olderThan' | 'never' | 'isEmpty' | 'notEmpty' | 'before' | 'after' | 'between' | 'daysAgo' | 'lessThanDaysAgo' | 'daysUntil' | 'hasKey' | 'hasKeyValue';
754
896
  interface MemberFilterRule {
755
897
  id: number;
756
898
  uuid: string;
@@ -847,20 +989,21 @@ interface Member {
847
989
  uuid: string;
848
990
  accountUuid?: string | null;
849
991
  memberRoleId: number;
992
+ homeFolderId?: number | null;
850
993
  name?: string;
851
994
  description?: string;
852
995
  phone?: string;
853
996
  phoneType?: string;
854
997
  email?: string;
855
998
  externalId?: string;
856
- emailTrusted?: boolean;
857
- phoneTrusted?: boolean;
999
+ dateOfBirth?: string | null;
858
1000
  tosAccepted?: boolean;
859
1001
  accountTosAccepted?: boolean;
860
1002
  memberRoleName?: string;
861
1003
  notifySms?: boolean;
862
1004
  notifyEmail?: boolean;
863
1005
  notifyVoice?: boolean;
1006
+ notifyWhatsapp?: boolean;
864
1007
  accountEnabled?: boolean;
865
1008
  isOrgOwner?: boolean;
866
1009
  isSuperuser?: boolean;
@@ -891,25 +1034,27 @@ interface MemberFormData {
891
1034
  notifySms?: boolean;
892
1035
  notifyEmail?: boolean;
893
1036
  notifyVoice?: boolean;
1037
+ notifyWhatsapp?: boolean;
894
1038
  name?: string;
895
1039
  description?: string;
896
1040
  phone?: string;
897
1041
  email?: string;
898
1042
  externalId?: string;
1043
+ dateOfBirth?: string | null;
899
1044
  }
900
1045
  interface CreateWorkspaceMemberRequest {
901
1046
  email?: string;
902
1047
  phone?: string;
903
1048
  accountUuid?: string;
904
- emailTrusted?: boolean;
905
- phoneTrusted?: boolean;
906
1049
  name?: string;
907
1050
  description?: string;
908
1051
  externalId?: string;
1052
+ dateOfBirth?: string;
909
1053
  memberRoleId: number;
910
1054
  notifySms?: boolean;
911
1055
  notifyEmail?: boolean;
912
1056
  notifyVoice?: boolean;
1057
+ notifyWhatsapp?: boolean;
913
1058
  locale?: string;
914
1059
  timezone?: string;
915
1060
  labelIds?: number[];
@@ -926,13 +1071,13 @@ interface UpdateWorkspaceMemberRequest {
926
1071
  phone?: string | null;
927
1072
  email?: string | null;
928
1073
  externalId?: string | null;
1074
+ dateOfBirth?: string | null;
929
1075
  memberRoleId?: number;
930
1076
  labelIds?: number[];
931
1077
  notifySms?: boolean;
932
1078
  notifyEmail?: boolean;
933
1079
  notifyVoice?: boolean;
934
- emailTrusted?: boolean;
935
- phoneTrusted?: boolean;
1080
+ notifyWhatsapp?: boolean;
936
1081
  locale?: string | null;
937
1082
  timezone?: string | null;
938
1083
  tosAccepted?: boolean;
@@ -993,11 +1138,33 @@ interface SignupAccountResponse {
993
1138
  name?: string;
994
1139
  createdAt: Date;
995
1140
  }
1141
+ /**
1142
+ * Soft-warning entry returned by signup when the caller sent a
1143
+ * DataRecord field slug that is not declared on the target DataType.
1144
+ *
1145
+ * The server silently skips unknown slugs for backward compatibility,
1146
+ * so this is the caller's only signal that a field did not land.
1147
+ *
1148
+ * PHI-safety: only contains DataType/field slugs and a human-readable
1149
+ * message built from those slugs. Never contains submitted field
1150
+ * values, external IDs, or member contact details.
1151
+ */
1152
+ interface DataRecordFieldWarning {
1153
+ code: 'unknown_data_record_field';
1154
+ dataTypeSlug: string;
1155
+ fieldSlug: string;
1156
+ message: string;
1157
+ }
996
1158
  interface CreateSignupResponse {
997
1159
  token: string;
998
1160
  account: SignupAccountResponse;
999
1161
  member: SignupMemberResponse;
1000
1162
  wasCreated: boolean;
1163
+ /**
1164
+ * Soft warnings for unknown DataRecord field slugs. Empty list when
1165
+ * every submitted slug matched a declared DataType field.
1166
+ */
1167
+ warnings: DataRecordFieldWarning[];
1001
1168
  }
1002
1169
  interface MembersQueryParams {
1003
1170
  page?: number;
@@ -1096,12 +1263,10 @@ interface CreateAgentRequest {
1096
1263
  realtimeModelId?: string;
1097
1264
  realtimeModelConfig?: Record<string, unknown>;
1098
1265
  systemPrompt: string;
1099
- heartbeatEnabled?: boolean;
1100
- heartbeatCron?: string;
1101
- heartbeatPrompt?: string;
1102
1266
  maxDailyActions?: number;
1103
1267
  tools?: string[];
1104
1268
  codeInterpreterEnabled?: boolean;
1269
+ memoryConfig?: AgentMemoryConfig;
1105
1270
  }
1106
1271
  interface UpdateAgentRequest {
1107
1272
  name?: string;
@@ -1117,12 +1282,43 @@ interface UpdateAgentRequest {
1117
1282
  realtimeModelId?: string;
1118
1283
  realtimeModelConfig?: Record<string, unknown>;
1119
1284
  systemPrompt?: string;
1120
- heartbeatEnabled?: boolean;
1121
- heartbeatCron?: string;
1122
- heartbeatPrompt?: string;
1123
1285
  maxDailyActions?: number;
1124
1286
  tools?: string[];
1125
1287
  codeInterpreterEnabled?: boolean;
1288
+ memoryConfig?: AgentMemoryConfig;
1289
+ }
1290
+ interface BulkMemberItem {
1291
+ email?: string;
1292
+ phone?: string;
1293
+ name?: string;
1294
+ description?: string;
1295
+ externalId?: string;
1296
+ memberRoleId?: number;
1297
+ labels?: string[];
1298
+ notifySms?: boolean;
1299
+ notifyEmail?: boolean;
1300
+ notifyVoice?: boolean;
1301
+ notifyWhatsapp?: boolean;
1302
+ locale?: string;
1303
+ timezone?: string;
1304
+ }
1305
+ interface BulkMemberResult {
1306
+ index: number;
1307
+ status: 'created' | 'updated' | 'failed';
1308
+ memberId?: number;
1309
+ externalId?: string;
1310
+ error?: string;
1311
+ }
1312
+ interface BulkCreateMembersRequest {
1313
+ members: BulkMemberItem[];
1314
+ upsert?: boolean;
1315
+ }
1316
+ interface BulkCreateMembersResponse {
1317
+ importedCount: number;
1318
+ totalCount: number;
1319
+ success: boolean;
1320
+ results: BulkMemberResult[];
1321
+ errors?: string[];
1126
1322
  }
1127
1323
 
1128
1324
  declare enum DataFieldType {
@@ -1150,6 +1346,23 @@ declare enum IndexStatus {
1150
1346
  READY = "ready",
1151
1347
  ERROR = "error"
1152
1348
  }
1349
+ declare enum DataTypeRecordScope {
1350
+ MEMBER = "member",
1351
+ WORKSPACE = "workspace"
1352
+ }
1353
+ declare enum DataSensitivity {
1354
+ PUBLIC = "public",
1355
+ INTERNAL = "internal",
1356
+ CONFIDENTIAL = "confidential",
1357
+ RESTRICTED = "restricted",
1358
+ SECRET = "secret"
1359
+ }
1360
+ declare enum DataCategory {
1361
+ PERSONAL = "personal",
1362
+ IDENTIFIER = "identifier",
1363
+ PHI = "phi",
1364
+ CREDENTIAL = "credential"
1365
+ }
1153
1366
  interface DataField {
1154
1367
  id?: number;
1155
1368
  name: string;
@@ -1225,6 +1438,10 @@ interface SchemaField {
1225
1438
  adminOnly?: boolean;
1226
1439
  /** Default value for the field */
1227
1440
  defaultValue?: any;
1441
+ /** Disclosure severity for audit and record access policy checks */
1442
+ sensitivity?: DataSensitivity;
1443
+ /** Regulatory or content categories for audit and policy */
1444
+ categories?: DataCategory[];
1228
1445
  /** CEL expression that computes this field's value from other fields */
1229
1446
  celFunction?: string;
1230
1447
  /**
@@ -1246,6 +1463,10 @@ interface DataType {
1246
1463
  pinned?: boolean;
1247
1464
  archived: boolean;
1248
1465
  ownerId: number | null;
1466
+ recordScope: DataTypeRecordScope;
1467
+ sensitivity: DataSensitivity;
1468
+ categories: DataCategory[];
1469
+ memberRoleAccess?: DataTypeMemberRoleAccessResponse[];
1249
1470
  createdAt: string;
1250
1471
  updatedAt: string;
1251
1472
  /** Typed field definitions */
@@ -1258,14 +1479,16 @@ interface DataTypeFormData {
1258
1479
  prompt?: string;
1259
1480
  isCollection: boolean;
1260
1481
  pinned?: boolean;
1482
+ recordScope?: DataTypeRecordScope;
1261
1483
  /** Typed field definitions */
1262
1484
  fields: SchemaField[];
1485
+ memberRoleAccess?: DataTypeMemberRoleAccessInput[];
1263
1486
  ownerId?: number | null;
1264
1487
  }
1265
1488
  interface DataRecord {
1266
1489
  id: number;
1267
1490
  dataTypeId: number;
1268
- memberId: number;
1491
+ memberId: number | null;
1269
1492
  fieldValues: Record<string, any>;
1270
1493
  externalId?: string;
1271
1494
  assignmentTaskId?: number;
@@ -1273,7 +1496,7 @@ interface DataRecord {
1273
1496
  updatedAt: string;
1274
1497
  }
1275
1498
  interface DataRecordFormData {
1276
- memberId?: number;
1499
+ memberId?: number | null;
1277
1500
  /** Member external ID (alternative to memberId). Cannot be used with memberId. */
1278
1501
  memberExternalId?: string;
1279
1502
  fieldValues: Record<string, any>;
@@ -1283,7 +1506,8 @@ interface DataRecordFormData {
1283
1506
  interface DataRecordUpdate {
1284
1507
  id: number;
1285
1508
  dataRecordId: number;
1286
- memberId: number;
1509
+ actorMemberId: number;
1510
+ recordMemberId?: number | null;
1287
1511
  fieldName: string;
1288
1512
  oldValue?: string | null;
1289
1513
  newValue?: string | null;
@@ -1292,16 +1516,21 @@ interface DataRecordUpdate {
1292
1516
  assignmentTaskId?: number | null;
1293
1517
  memberName?: string | null;
1294
1518
  }
1519
+ interface DataTypeMemberRoleAccessResponse {
1520
+ memberRoleId: number;
1521
+ memberRoleName: string;
1522
+ accessMode: number;
1523
+ }
1524
+ interface DataTypeMemberRoleAccessInput {
1525
+ memberRoleId: number;
1526
+ accessMode: number;
1527
+ }
1295
1528
  interface DataRecordsPaginatedResponse {
1296
- records: DataRecord[];
1297
- pagination: {
1298
- page: number;
1299
- page_size: number;
1300
- total_count: number;
1301
- total_pages: number;
1302
- has_next: boolean;
1303
- has_prev: boolean;
1304
- };
1529
+ items: DataRecord[];
1530
+ total: number;
1531
+ page: number;
1532
+ pageSize: number;
1533
+ totalPages: number;
1305
1534
  }
1306
1535
  interface DataRecordWithAccessMode extends DataRecord {
1307
1536
  accessMode: number;
@@ -1330,8 +1559,14 @@ interface DataIntegrityReportItem {
1330
1559
  }
1331
1560
  interface DataTypeExportItem {
1332
1561
  uuid: string;
1562
+ templateUuid?: string | null;
1333
1563
  name: string;
1334
- description: string | null;
1564
+ slug: string;
1565
+ description?: string | null;
1566
+ prompt?: string | null;
1567
+ isCollection: boolean;
1568
+ recordScope: DataTypeRecordScope;
1569
+ fields: SchemaField[];
1335
1570
  }
1336
1571
  interface TaskExportDataTypeRelation {
1337
1572
  taskUuid: string;
@@ -1497,7 +1732,6 @@ interface CalendarEvent {
1497
1732
  endTime: string;
1498
1733
  status: CalendarEventStatus;
1499
1734
  creatorMemberId: number | null;
1500
- creatorAssistantId: number | null;
1501
1735
  workflowId: number | null;
1502
1736
  taskId: number | null;
1503
1737
  assignmentId: number | null;
@@ -1642,12 +1876,15 @@ interface SyncCalendarResponse {
1642
1876
  }
1643
1877
 
1644
1878
  declare const CreateInquirySchema: z.ZodObject<{
1645
- name: z.ZodString;
1879
+ name: z.ZodOptional<z.ZodString>;
1880
+ email: z.ZodOptional<z.ZodString>;
1646
1881
  inquiryType: z.ZodEnum<{
1647
1882
  customer: "customer";
1648
1883
  builder: "builder";
1649
1884
  partner: "partner";
1650
1885
  other: "other";
1886
+ demo_request: "demo_request";
1887
+ waitlist: "waitlist";
1651
1888
  }>;
1652
1889
  cellNumber: z.ZodOptional<z.ZodString>;
1653
1890
  businessNumber: z.ZodOptional<z.ZodString>;
@@ -1666,6 +1903,14 @@ declare const ListInquiriesSchema: z.ZodObject<{
1666
1903
  declare const GetInquirySchema: z.ZodObject<{
1667
1904
  inquiryId: z.ZodNumber;
1668
1905
  }, z.core.$strip>;
1906
+ declare const EnrichInquirySchema: z.ZodObject<{
1907
+ inquiryUuid: z.ZodString;
1908
+ name: z.ZodOptional<z.ZodString>;
1909
+ email: z.ZodOptional<z.ZodString>;
1910
+ cellNumber: z.ZodOptional<z.ZodString>;
1911
+ businessName: z.ZodOptional<z.ZodString>;
1912
+ message: z.ZodOptional<z.ZodString>;
1913
+ }, z.core.$strip>;
1669
1914
  declare const UpdateInquiryRequestSchema: z.ZodObject<{
1670
1915
  notes: z.ZodOptional<z.ZodString>;
1671
1916
  status: z.ZodOptional<z.ZodEnum<{
@@ -1690,6 +1935,7 @@ type ListInquiriesInput = z.infer<typeof ListInquiriesSchema>;
1690
1935
  type GetInquiryInput = z.infer<typeof GetInquirySchema>;
1691
1936
  type CreateInquiryInput = z.infer<typeof CreateInquirySchema>;
1692
1937
  type UpdateInquiryInput = z.infer<typeof UpdateInquirySchema>;
1938
+ type EnrichInquiryInput = z.infer<typeof EnrichInquirySchema>;
1693
1939
  type DeleteInquiryInput = z.infer<typeof DeleteInquirySchema>;
1694
1940
 
1695
- export { type TOTPSetupResponse as $, AccessLevel as A, type CreateAgentRequest as B, type ChatSortField as C, type DataRecord as D, type EventSortField as E, type FileSortField as F, type UpdateAgentRequest as G, type ApiKey as H, type ApiKeyFormData as I, type ApiKeyCreated as J, type AssistantSortField as K, type LogoUploadRequest as L, MilestoneFormDataSchema as M, type AccountFormData as N, type OrgMemberRole as O, type PageSortField as P, type SMSLoginResponse as Q, type RuleExecutionSortField as R, type SortOrder as S, type CreateSignupResponse as T, type UpdateOrganizationRequest as U, type VerifyCodeResponse as V, type WebhookLogSortField as W, type RequestMagicLinkResponse as X, type ValidateMagicLinkResponse as Y, type TwoFactorStatus as Z, type SetupTOTPRequest as _, MilestoneGoalFormDataSchema as a, type OrgMemberListResponse as a$, type VerifyTOTPSetupRequest as a0, type TwoFactorOperationResponse as a1, type SetupWebAuthnRequest as a2, type VerifyWebAuthnSetupRequest as a3, type GenerateRecoveryCodesRequest as a4, type RecoveryCodesResponse as a5, type UpdateTwoFactorMethodRequest as a6, type CredentialType as a7, type CredentialChangeRequestResponse as a8, type CredentialChangeVerifyResponse as a9, type SyncCalendarResponse as aA, type DataType as aB, type DataTypeFormData as aC, type DataRecordsPaginatedResponse as aD, type DataRecordFormData as aE, type DataRecordUpdate as aF, type CursorPaginatedResponse as aG, CreateInquirySchema as aH, UpdateInquiryRequestSchema as aI, type CurrentMember as aJ, type MemberFormData as aK, type MemberSortField as aL, type CreateWorkspaceMemberRequest as aM, type UpdateWorkspaceMemberRequest as aN, type MemberFilter as aO, type MemberFilterFormData as aP, type MemberLabel as aQ, type MemberLabelFormData as aR, type MemberRoleFormData as aS, type CredentialChangeInviteResponse as aT, type CancelCredentialChangeInviteResponse as aU, type PendingCredentialChangeInvite as aV, type PendingAnonymousMembersResponse as aW, type AnonymousMemberResolution as aX, type ResolveAnonymousMemberRequest as aY, type ExpireAnonymousMemberRequest as aZ, type CurrentOrgMember as a_, type PendingCredentialChange as aa, type CancelCredentialChangeResponse as ab, type CredentialChangeInviteDetails as ac, type CredentialChangeInviteConfirmResponse as ad, type Calendar as ae, type CalendarFormData as af, type CalendarSchedule as ag, type CalendarScheduleFormData as ah, type AvailabilityCheck as ai, type AvailabilityResponse as aj, type AvailableSlotsRequest as ak, type AvailableSlotsResponse as al, type CalendarEventsQueryParams as am, type CalendarEvent as an, type CalendarEventFormData as ao, type UpdateAttendeeRequest as ap, type CalendarEventType as aq, type CalendarEventTypeFormData as ar, type ICalFeedTokenResponse as as, type ICalFeedUrlResponse as at, type GoogleCalendarInfo as au, type GoogleCalendarStatusResponse as av, type GoogleCalendarInsufficientScopesResponse as aw, type LinkCalendarRequest as ax, type LinkCalendarResponse as ay, type UnlinkCalendarResponse as az, type MilestoneSortField as b, type BulkCreateDataRecordRequest as b$, type AddAccountToOrgRequest as b0, type OrgMember as b1, type UpdateOrgMemberRequest as b2, type AccountReportItem as b3, type AccountState as b4, type ApiKeyScope as b5, type ApiKeyScopesResponse as b6, type CreateAccountOrgMembershipRequest as b7, type CreateAccountOrgMembershipResponse as b8, type CreateCredentialChangeInviteRequest as b9, PERMISSION_NONE as bA, PERMISSION_USE as bB, PERMISSION_EDIT as bC, PERMISSION_CREATE as bD, PERMISSION_LIST as bE, PERMISSION_ADMIN as bF, PERMISSION_VERIFY as bG, PERMISSION_GEOLOCATE as bH, PERMISSION_LIST_ALL as bI, PERMISSION_DELETE as bJ, type ObjectPermissionFlags as bK, decodePermissions as bL, encodePermissions as bM, type ObjectPermission as bN, Scope as bO, DataFieldType as bP, IndexStatus as bQ, type DataField as bR, type DataFieldFormData as bS, type EnumOption as bT, type SchemaField as bU, type DataRecordReportItem as bV, type DataIntegrityReportItem as bW, type DataTypeExportItem as bX, type TaskExportDataTypeRelation as bY, type BulkRecordResult as bZ, type BulkCreateDataRecordResponse as b_, type DeleteAccountOrgMembershipResponse as ba, type DetailedAccount as bb, type DuplicateAccountInfo as bc, type ErrorResponse as bd, type LoginRequest as be, type LoginResponse as bf, type MemberWorkspaceInfo as bg, type Organization as bh, type RequestCredentialChangeRequest as bi, type RequestMagicLinkRequest as bj, type SSOConfig as bk, type SSOConfigData as bl, type SendEmailVerificationRequest as bm, type TwoFactorMethod as bn, type ValidateMagicLinkRequest as bo, type VerifyCodeRequest as bp, type VerifyCredentialChangeRequest as bq, type VerifyEmailRequest as br, CalendarPermissionType as bs, CalendarSource as bt, CalendarScheduleRecurrence as bu, CalendarScheduleAvailabilityType as bv, CalendarEventStatus as bw, type CalendarEventAttendee as bx, AttendeeStatus as by, AttendeeResponseStatus as bz, type Member as c, MemberType as c0, type AgentConfig as c1, type AgentConfigFormData as c2, type MemberFilterObjectType as c3, type MemberFilterFilterType as c4, type MemberFilterRule as c5, type MemberFilterRuleFormData as c6, type MemberRoleTaskAccess as c7, type MemberRoleSiteAccess as c8, type MemberRoleDataTypeAccess as c9, GetMilestoneSchema as cA, CreateMilestoneSchema as cB, UpdateMilestoneSchema as cC, DeleteMilestoneSchema as cD, type MilestoneFormData as cE, type ListMilestonesInput as cF, type GetMilestoneInput as cG, type CreateMilestoneInput as cH, type UpdateMilestoneInput as cI, type DeleteMilestoneInput as cJ, type MemberRoleWorkflowAccess as ca, type MemberRoleInboxAccess as cb, type MemberRoleFileAccess as cc, type MemberRoleFolderAccess as cd, type MemberRoleCalendarAccess as ce, type NormalizeMemberRequest as cf, type NormalizeMemberResponse as cg, type MemberReportItem as ch, type SignupMemberResponse as ci, type SignupAccountResponse as cj, type MembersQueryParams as ck, type MemberMessageActivity as cl, type AnonymousMemberResolutionStatus as cm, type AnonymousInteraction as cn, type CreateAnonymousMemberRequest as co, type SiteSortField as cp, ListInquiriesSchema as cq, GetInquirySchema as cr, UpdateInquirySchema as cs, DeleteInquirySchema as ct, type ListInquiriesInput as cu, type GetInquiryInput as cv, type CreateInquiryInput as cw, type UpdateInquiryInput as cx, type DeleteInquiryInput as cy, ListMilestonesSchema as cz, type EventRunSortField as d, type AssignmentSortField as e, type DataRecordWithAccessMode as f, type DataRecordAssociationFormData as g, type PaginatedResponse as h, type AccountSortField as i, type Account as j, type AdminAccount as k, type AdminAccountMembership as l, type AdminAccountOrgMembership as m, type AdminWorkspaceMemberFormData as n, type AdminAccountFormData as o, type AccountLookupResponse as p, type AdminOrganization as q, type MemberOrgView as r, type CreateOrganizationRequest as s, type LogoUploadResponse as t, type WorkspaceSortField as u, type MergeMembersRequest as v, type MergeMembersResponse as w, type MemberRole as x, type MissingMembershipItem as y, type Agent as z };
1941
+ export { CalendarPermissionType as $, AccessLevel as A, type ApiKeyScopesResponse as B, type AssignmentSortField as C, AttendeeResponseStatus as D, AttendeeStatus as E, type AvailabilityCheck as F, type AvailabilityResponse as G, type AvailableSlotsRequest as H, type AvailableSlotsResponse as I, type BotSortField as J, type BulkCreateDataRecordRequest as K, type BulkCreateDataRecordResponse as L, type BulkCreateMembersRequest as M, type BulkCreateMembersResponse as N, type BulkMemberItem as O, type BulkMemberResult as P, type BulkRecordResult as Q, type Calendar as R, type CalendarEvent as S, type CalendarEventAttendee as T, type CalendarEventFormData as U, type CalendarEventSortField as V, CalendarEventStatus as W, type CalendarEventType as X, type CalendarEventTypeFormData as Y, type CalendarEventsQueryParams as Z, type CalendarFormData as _, type Account as a, type ICalFeedUrlResponse as a$, type CalendarSchedule as a0, CalendarScheduleAvailabilityType as a1, type CalendarScheduleFormData as a2, CalendarScheduleRecurrence as a3, CalendarSource as a4, type CancelCredentialChangeInviteResponse as a5, type CancelCredentialChangeResponse as a6, type ChatSortField as a7, type ConsentRecordExport as a8, type CreateAccountOrgMembershipRequest as a9, type DataRecordReportItem as aA, type DataRecordUpdate as aB, type DataRecordWithAccessMode as aC, type DataRecordsPaginatedResponse as aD, DataSensitivity as aE, type DataType as aF, type DataTypeExportItem as aG, type DataTypeFormData as aH, type DataTypeMemberRoleAccessInput as aI, type DataTypeMemberRoleAccessResponse as aJ, DataTypeRecordScope as aK, type DataTypeSortField as aL, type DeleteAccountOrgMembershipResponse as aM, type DeletionCancelResponse as aN, type DeletionRequestResponse as aO, type DetailedAccount as aP, type DuplicateAccountInfo as aQ, type EnumOption as aR, type ErrorResponse as aS, type EventRunSortField as aT, type ExpireAnonymousMemberRequest as aU, type FileSortField as aV, type GenerateRecoveryCodesRequest as aW, type GoogleCalendarInfo as aX, type GoogleCalendarInsufficientScopesResponse as aY, type GoogleCalendarStatusResponse as aZ, type ICalFeedTokenResponse as a_, type CreateAccountOrgMembershipResponse as aa, type CreateAgentRequest as ab, type CreateAnonymousMemberRequest as ac, type CreateCredentialChangeInviteRequest as ad, type CreateOrganizationRequest as ae, type CreateSignupResponse as af, type CreateWorkspaceMemberRequest as ag, type CredentialChangeInviteConfirmResponse as ah, type CredentialChangeInviteDetails as ai, type CredentialChangeInviteResponse as aj, type CredentialChangeRequestResponse as ak, type CredentialChangeVerifyResponse as al, type CredentialType as am, type CurrentMember as an, type CurrentOrgMember as ao, type CursorPaginatedResponse as ap, DataCategory as aq, type DataExportResponse as ar, type DataField as as, type DataFieldFormData as at, DataFieldType as au, type DataIntegrityReportItem as av, type DataRecord as aw, type DataRecordAssociationFormData as ax, type DataRecordFieldWarning as ay, type DataRecordFormData as az, type AccountDataExport as b, PERMISSION_VERIFY as b$, IndexStatus as b0, type JourneySortField as b1, type LinkCalendarRequest as b2, type LinkCalendarResponse as b3, type LoginRequest as b4, type LoginResponse as b5, type LogoUploadRequest as b6, type LogoUploadResponse as b7, type McpServerSortField as b8, type Member as b9, type MembersQueryParams as bA, type MemoryItem as bB, type MemoryType as bC, type MergeMembersRequest as bD, type MergeMembersResponse as bE, type MilestoneSortField as bF, type MissingMembershipItem as bG, type NormalizeMemberRequest as bH, type NormalizeMemberResponse as bI, type OIDCAdminConfigInput as bJ, type OIDCAdminConfigView as bK, type ObjectPermission as bL, type ObjectPermissionFlags as bM, type OrgMember as bN, type OrgMemberListResponse as bO, type OrgMemberRole as bP, type OrgMembershipExport as bQ, type Organization as bR, PERMISSION_ADMIN as bS, PERMISSION_CREATE as bT, PERMISSION_DELETE as bU, PERMISSION_EDIT as bV, PERMISSION_GEOLOCATE as bW, PERMISSION_LIST as bX, PERMISSION_LIST_ALL as bY, PERMISSION_NONE as bZ, PERMISSION_USE as b_, type MemberFilter as ba, type MemberFilterFilterType as bb, type MemberFilterFormData as bc, type MemberFilterObjectType as bd, type MemberFilterRule as be, type MemberFilterRuleFormData as bf, type MemberFormData as bg, type MemberLabel as bh, type MemberLabelFormData as bi, type MemberMemoriesResponse as bj, type MemberMessageActivity as bk, type MemberOrgView as bl, type MemberReportItem as bm, type MemberRole as bn, type MemberRoleCalendarAccess as bo, type MemberRoleDataTypeAccess as bp, type MemberRoleFileAccess as bq, type MemberRoleFolderAccess as br, type MemberRoleFormData as bs, type MemberRoleInboxAccess as bt, type MemberRoleSiteAccess as bu, type MemberRoleTaskAccess as bv, type MemberRoleWorkflowAccess as bw, type MemberSortField as bx, MemberType as by, type MemberWorkspaceInfo as bz, type AccountFormData as c, type EnrichInquiryInput as c$, type PageSortField as c0, type PaginatedResponse as c1, type PendingAnonymousMembersResponse as c2, type PendingCredentialChange as c3, type PendingCredentialChangeInvite as c4, type QualificationSortField as c5, type RecoveryCodesResponse as c6, type RequestCredentialChangeRequest as c7, type RequestMagicLinkRequest as c8, type RequestMagicLinkResponse as c9, type UpdateAttendeeRequest as cA, type UpdateOrgMemberRequest as cB, type UpdateOrganizationRequest as cC, type UpdateTwoFactorMethodRequest as cD, type UpdateWorkspaceMemberRequest as cE, type ValidateMagicLinkRequest as cF, type ValidateMagicLinkResponse as cG, type VerifyCodeRequest as cH, type VerifyCodeResponse as cI, type VerifyCredentialChangeRequest as cJ, type VerifyEmailRequest as cK, type VerifyTOTPSetupRequest as cL, type VerifyWebAuthnSetupRequest as cM, type WebhookLogSortField as cN, type WorkflowSortField as cO, type WorkspaceMembershipExport as cP, type WorkspaceSortField as cQ, decodePermissions as cR, encodePermissions as cS, type CreateInquiryInput as cT, CreateInquirySchema as cU, type CreateMilestoneInput as cV, CreateMilestoneSchema as cW, type DeleteInquiryInput as cX, DeleteInquirySchema as cY, type DeleteMilestoneInput as cZ, DeleteMilestoneSchema as c_, type ResolveAnonymousMemberRequest as ca, type RoutineSortField as cb, type RuleExecutionSortField as cc, type SMSLoginResponse as cd, type SSOConfig as ce, type SSOConfigData as cf, type SchemaField as cg, Scope as ch, type SendEmailVerificationRequest as ci, type SessionExchangeRequest as cj, type SessionExchangeResponse as ck, type SetupTOTPRequest as cl, type SetupWebAuthnRequest as cm, type SignupAccountResponse as cn, type SignupMemberResponse as co, type SiteSortField as cp, type SortOrder as cq, type SyncCalendarResponse as cr, type TOTPSetupResponse as cs, type TaskExportDataTypeRelation as ct, type TaskSortField as cu, type TwoFactorMethod as cv, type TwoFactorOperationResponse as cw, type TwoFactorStatus as cx, type UnlinkCalendarResponse as cy, type UpdateAgentRequest as cz, type AccountLookupResponse as d, EnrichInquirySchema as d0, type GetInquiryInput as d1, GetInquirySchema as d2, type GetMilestoneInput as d3, GetMilestoneSchema as d4, type ListInquiriesInput as d5, ListInquiriesSchema as d6, type ListMilestonesInput as d7, ListMilestonesSchema as d8, type MilestoneFormData as d9, MilestoneFormDataSchema as da, MilestoneGoalFormDataSchema as db, type UpdateInquiryInput as dc, UpdateInquiryRequestSchema as dd, UpdateInquirySchema as de, type UpdateMilestoneInput as df, UpdateMilestoneSchema as dg, type AccountReportItem as e, type AccountSortField as f, type AccountState as g, type AdminAccount as h, type AdminAccountFormData as i, type AdminAccountMembership as j, type AdminAccountOrgMembership as k, type AdminOrganization as l, type AdminWorkspaceMemberFormData as m, type AdminWorkspaceSortField as n, type Agent as o, type AgentConfig as p, type AgentConfigFormData as q, type AgentMemoryConfig as r, type AgentSortField as s, type AnonymousInteraction as t, type AnonymousMemberResolution as u, type AnonymousMemberResolutionStatus as v, type ApiKey as w, type ApiKeyCreated as x, type ApiKeyFormData as y, type ApiKeyScope as z };