@gravity-rail/sdk 3.2.0 → 6.0.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 (51) hide show
  1. package/README.md +20 -3
  2. package/dist/account-CSJJbLIj.d.cts +459 -0
  3. package/dist/account-CSJJbLIj.d.ts +459 -0
  4. package/dist/{path-ChuuGGLG.d.ts → agent_standing_job-CqKpMoHO.d.cts} +1099 -153
  5. package/dist/{path-CXnjBalr.d.cts → agent_standing_job-yehTe972.d.ts} +1099 -153
  6. package/dist/{chat-interaction-Cc9hQNyx.d.ts → chat-interaction-BtUtVszg.d.ts} +14107 -9967
  7. package/dist/{chat-interaction-CoHsIqyX.d.cts → chat-interaction-CAfwlYvv.d.cts} +14107 -9967
  8. package/dist/{chunk-MAPAZORN.js → chunk-L4XC6KDG.js} +1940 -605
  9. package/dist/chunk-L4XC6KDG.js.map +1 -0
  10. package/dist/{chunk-D5VNVTUQ.js → chunk-P2MSMMMJ.js} +120 -2
  11. package/dist/chunk-P2MSMMMJ.js.map +1 -0
  12. package/dist/{chunk-RLFS7O2L.js → chunk-P2X5TOYY.js} +211 -83
  13. package/dist/chunk-P2X5TOYY.js.map +1 -0
  14. package/dist/helpers.cjs.map +1 -1
  15. package/dist/helpers.d.cts +3 -2
  16. package/dist/helpers.d.ts +3 -2
  17. package/dist/helpers.js +1 -1
  18. package/dist/index.cjs +2309 -1146
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +87 -249
  21. package/dist/index.d.ts +87 -249
  22. package/dist/index.js +171 -458
  23. package/dist/index.js.map +1 -1
  24. package/dist/internal.cjs +2333 -710
  25. package/dist/internal.cjs.map +1 -1
  26. package/dist/internal.d.cts +2486 -285
  27. package/dist/internal.d.ts +2486 -285
  28. package/dist/internal.js +158 -31
  29. package/dist/internal.js.map +1 -1
  30. package/dist/{member-import-BWyl88Qx.d.ts → member-import-C5nnoGvW.d.ts} +1 -1
  31. package/dist/{member-import-9h52_4KO.d.cts → member-import-DhaNVT7s.d.cts} +1 -1
  32. package/dist/realtime.cjs +250 -3
  33. package/dist/realtime.cjs.map +1 -1
  34. package/dist/realtime.d.cts +87 -4
  35. package/dist/realtime.d.ts +87 -4
  36. package/dist/realtime.js +245 -3
  37. package/dist/realtime.js.map +1 -1
  38. package/dist/schemas.cjs +156 -23
  39. package/dist/schemas.cjs.map +1 -1
  40. package/dist/schemas.d.cts +623 -72
  41. package/dist/schemas.d.ts +623 -72
  42. package/dist/schemas.js +74 -25
  43. package/dist/schemas.js.map +1 -1
  44. package/dist/{tasks-B7tIHQcS.d.cts → tasks-A12E_RLa.d.cts} +2275 -2043
  45. package/dist/{tasks-B7tIHQcS.d.ts → tasks-DrmyOlRh.d.ts} +2275 -2043
  46. package/dist/{types-BXaWYGHj.d.cts → types-Bv6GtLZ2.d.cts} +25 -2
  47. package/dist/{types-BXaWYGHj.d.ts → types-Bv6GtLZ2.d.ts} +25 -2
  48. package/package.json +5 -5
  49. package/dist/chunk-D5VNVTUQ.js.map +0 -1
  50. package/dist/chunk-MAPAZORN.js.map +0 -1
  51. package/dist/chunk-RLFS7O2L.js.map +0 -1
package/dist/schemas.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-B7tIHQcS.js';
2
+ import { b as DataFieldType, a_ as DataTypeRecordScope, aW as DataSensitivity, aH as DataCategory, bI as IndexStatus, gk as TipTapDocumentInput } from './tasks-DrmyOlRh.js';
3
3
  import { CalendarScheduleAvailabilityType, CalendarScheduleRecurrence, CalendarEventStatus, AttendeeResponseStatus } from './index.js';
4
- export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-B7tIHQcS.js';
4
+ export { gx as AbilityData, gy as AbilityDataSchema, gz as AnonymousInquiryFormSchema, gA as ArchiveTaskInput, gB as ArchiveTaskSchema, gC as ChatTaskConfigurationPatchSchema, gD as ChildTaskFormData, gE as ChildTaskFormDataSchema, gF as CreateInquiryInput, gp as CreateInquirySchema, gG as CreateTaskInput, gH as CreateTaskSchema, gI as DeleteInquiryInput, gJ as DeleteInquirySchema, gK as DeleteTaskInput, gL as DeleteTaskSchema, gM as EnrichInquiryInput, gN as EnrichInquirySchema, gO as GetInquiryInput, gP as GetInquirySchema, gQ as GetTaskInput, gR as GetTaskSchema, gS as ListInquiriesInput, gT as ListInquiriesSchema, gU as ListTasksInput, gV as ListTasksSchema, gW as OutcomeTaskRoutingSchema, gX as TaskFormData, gY as TaskFormDataSchema, gZ as UnarchiveTaskInput, g_ as UnarchiveTaskSchema, g$ as UpdateInquiryInput, gq as UpdateInquiryRequestSchema, h0 as UpdateInquirySchema, h1 as UpdateTaskInput, h2 as UpdateTaskSchema } from './tasks-DrmyOlRh.js';
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
+ import './account-CSJJbLIj.js';
6
7
 
7
8
  /**
8
9
  * What a data type with no schema fields derives.
@@ -167,7 +168,7 @@ declare const DataTypeFormDataSchema: z.ZodObject<{
167
168
  celFunction: z.ZodOptional<z.ZodString>;
168
169
  validateCel: z.ZodOptional<z.ZodString>;
169
170
  }, z.core.$strip>>;
170
- ownerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
171
+ ownerId: z.ZodOptional<z.ZodNumber>;
171
172
  }, z.core.$strict>;
172
173
  declare const DataRecordFiltersSchema: z.ZodObject<{
173
174
  page: z.ZodOptional<z.ZodNumber>;
@@ -198,7 +199,7 @@ declare const CreateDataTypeSchema: z.ZodObject<{
198
199
  webhookEventsEnabled: z.ZodOptional<z.ZodBoolean>;
199
200
  recordScope: z.ZodOptional<z.ZodEnum<typeof DataTypeRecordScope>>;
200
201
  adminOnly: z.ZodOptional<z.ZodBoolean>;
201
- ownerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
202
+ ownerId: z.ZodOptional<z.ZodNumber>;
202
203
  fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
203
204
  slug: z.ZodString;
204
205
  name: z.ZodString;
@@ -256,7 +257,7 @@ declare const UpdateDataTypeSchema: z.ZodObject<{
256
257
  celFunction: z.ZodOptional<z.ZodString>;
257
258
  validateCel: z.ZodOptional<z.ZodString>;
258
259
  }, z.core.$strip>>>;
259
- ownerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
260
+ ownerId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
260
261
  }, z.core.$strict>;
261
262
  declare const DeleteDataTypeSchema: z.ZodObject<{
262
263
  wid: z.ZodString;
@@ -551,7 +552,6 @@ declare const AdminAccountFormDataSchema: z.ZodObject<{
551
552
  enabled: z.ZodOptional<z.ZodBoolean>;
552
553
  orgOwner: z.ZodOptional<z.ZodBoolean>;
553
554
  organizationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
554
- stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
555
  }, z.core.$strip>;
556
556
  declare const AccountSchema: z.ZodObject<{
557
557
  id: z.ZodNumber;
@@ -568,7 +568,6 @@ declare const AccountSchema: z.ZodObject<{
568
568
  tosAccepted: z.ZodBoolean;
569
569
  optedOut: z.ZodBoolean;
570
570
  signupWorkspaceId: z.ZodNullable<z.ZodNumber>;
571
- stripeCustomerId: z.ZodNullable<z.ZodString>;
572
571
  organizationId: z.ZodNullable<z.ZodNumber>;
573
572
  organizationName: z.ZodNullable<z.ZodString>;
574
573
  locale: z.ZodNullable<z.ZodString>;
@@ -673,6 +672,7 @@ declare const AdminOrganizationSchema: z.ZodObject<{
673
672
  createdAt: z.ZodString;
674
673
  creatorId: z.ZodNumber;
675
674
  creatorName: z.ZodOptional<z.ZodString>;
675
+ requireMfa: z.ZodOptional<z.ZodBoolean>;
676
676
  accountCount: z.ZodNumber;
677
677
  workspaceCount: z.ZodNumber;
678
678
  enforceCreditLimit: z.ZodBoolean;
@@ -1015,7 +1015,86 @@ type GenerateICalTokenInput = z.infer<typeof GenerateICalTokenSchema>;
1015
1015
  type RevokeICalTokenInput = z.infer<typeof RevokeICalTokenSchema>;
1016
1016
  type GetICalUrlInput = z.infer<typeof GetICalUrlSchema>;
1017
1017
 
1018
+ /** Runtime validation derives from the generated server vocabulary. */
1019
+ declare const CallActivityLabelSchema: z.ZodObject<{
1020
+ verb: z.ZodEnum<{
1021
+ readonly find: "find";
1022
+ readonly read: "read";
1023
+ readonly analyze: "analyze";
1024
+ readonly export: "export";
1025
+ readonly create: "create";
1026
+ readonly update: "update";
1027
+ readonly send: "send";
1028
+ readonly start: "start";
1029
+ readonly import: "import";
1030
+ readonly connect: "connect";
1031
+ readonly download: "download";
1032
+ readonly delete: "delete";
1033
+ readonly revoke: "revoke";
1034
+ }>;
1035
+ subject: z.ZodEnum<{
1036
+ readonly abilities: "abilities";
1037
+ readonly account_details: "account_details";
1038
+ readonly access: "access";
1039
+ readonly activity: "activity";
1040
+ readonly agents: "agents";
1041
+ readonly agent_tasks: "agent_tasks";
1042
+ readonly models: "models";
1043
+ readonly apps: "apps";
1044
+ readonly integrations: "integrations";
1045
+ readonly assignments: "assignments";
1046
+ readonly billing: "billing";
1047
+ readonly bundles: "bundles";
1048
+ readonly calendars: "calendars";
1049
+ readonly calendar_events: "calendar_events";
1050
+ readonly chats: "chats";
1051
+ readonly command_help: "command_help";
1052
+ readonly commands: "commands";
1053
+ readonly forms: "forms";
1054
+ readonly documentation: "documentation";
1055
+ readonly actions: "actions";
1056
+ readonly experiments: "experiments";
1057
+ readonly features: "features";
1058
+ readonly files: "files";
1059
+ readonly folders: "folders";
1060
+ readonly inboxes: "inboxes";
1061
+ readonly interventions: "interventions";
1062
+ readonly roles: "roles";
1063
+ readonly members: "members";
1064
+ readonly metrics: "metrics";
1065
+ readonly notifications: "notifications";
1066
+ readonly organizations: "organizations";
1067
+ readonly phone_numbers: "phone_numbers";
1068
+ readonly personas: "personas";
1069
+ readonly prompts: "prompts";
1070
+ readonly pronunciations: "pronunciations";
1071
+ readonly qualifications: "qualifications";
1072
+ readonly queries: "queries";
1073
+ readonly recordings: "recordings";
1074
+ readonly reports: "reports";
1075
+ readonly routines: "routines";
1076
+ readonly sites: "sites";
1077
+ readonly subscriptions: "subscriptions";
1078
+ readonly supervisors: "supervisors";
1079
+ readonly support: "support";
1080
+ readonly toolkits: "toolkits";
1081
+ readonly workflows: "workflows";
1082
+ readonly workspaces: "workspaces";
1083
+ readonly workspace_settings: "workspace_settings";
1084
+ readonly member_records: "member_records";
1085
+ readonly labels: "labels";
1086
+ readonly tasks: "tasks";
1087
+ readonly messages: "messages";
1088
+ readonly fields: "fields";
1089
+ readonly domains: "domains";
1090
+ readonly webhooks: "webhooks";
1091
+ readonly api_keys: "api_keys";
1092
+ }>;
1093
+ }, z.core.$strict>;
1018
1094
  declare const ChannelEnum: z.ZodEnum<{
1095
+ slack: "slack";
1096
+ discord: "discord";
1097
+ teams: "teams";
1019
1098
  cli: "cli";
1020
1099
  frame: "frame";
1021
1100
  "phone-sms": "phone-sms";
@@ -1026,35 +1105,32 @@ declare const ChannelEnum: z.ZodEnum<{
1026
1105
  background: "background";
1027
1106
  "web-chat": "web-chat";
1028
1107
  "web-voice": "web-voice";
1029
- discord: "discord";
1030
- slack: "slack";
1031
- teams: "teams";
1032
1108
  "direct-message": "direct-message";
1033
1109
  a2a: "a2a";
1034
1110
  routine: "routine";
1035
1111
  }>;
1036
1112
  declare const MessageRoleEnum: z.ZodEnum<{
1037
1113
  function: "function";
1038
- user: "user";
1039
1114
  assistant: "assistant";
1115
+ user: "user";
1040
1116
  system: "system";
1041
1117
  tool: "tool";
1042
1118
  }>;
1043
1119
  declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
1044
1120
  paused: "paused";
1045
- owner: "owner";
1121
+ channel: "channel";
1046
1122
  title: "title";
1047
1123
  participant: "participant";
1048
1124
  mode: "mode";
1049
- channel: "channel";
1125
+ owner: "owner";
1050
1126
  needsResponse: "needsResponse";
1051
1127
  messageCount: "messageCount";
1052
1128
  toolCall: "toolCall";
1053
1129
  }>;
1054
1130
  declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
1055
1131
  active: "active";
1056
- any: "any";
1057
1132
  all: "all";
1133
+ any: "any";
1058
1134
  none: "none";
1059
1135
  partial: "partial";
1060
1136
  exact: "exact";
@@ -1075,14 +1151,14 @@ declare const TruncationReasonEnum: z.ZodEnum<{
1075
1151
  user_cancel: "user_cancel";
1076
1152
  }>;
1077
1153
  declare const MessageOriginEnum: z.ZodEnum<{
1154
+ operator: "operator";
1155
+ agent: "agent";
1078
1156
  member: "member";
1157
+ platform: "platform";
1079
1158
  tool: "tool";
1080
- agent: "agent";
1081
- operator: "operator";
1082
1159
  workflow: "workflow";
1083
1160
  engine_action: "engine_action";
1084
1161
  background_run: "background_run";
1085
- platform: "platform";
1086
1162
  }>;
1087
1163
  declare const MessageAudienceEnum: z.ZodEnum<{
1088
1164
  conversation: "conversation";
@@ -1144,8 +1220,8 @@ declare const ChatFormDataSchema: z.ZodObject<{
1144
1220
  additionalInstructions: z.ZodOptional<z.ZodString>;
1145
1221
  }, z.core.$strip>>;
1146
1222
  assistantKind: z.ZodOptional<z.ZodEnum<{
1147
- ai: "ai";
1148
1223
  human: "human";
1224
+ ai: "ai";
1149
1225
  }>>;
1150
1226
  userMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1151
1227
  agentEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -1232,8 +1308,8 @@ declare const CreateChatSchema: z.ZodObject<{
1232
1308
  additionalInstructions: z.ZodOptional<z.ZodString>;
1233
1309
  }, z.core.$strip>>;
1234
1310
  assistantKind: z.ZodOptional<z.ZodEnum<{
1235
- ai: "ai";
1236
1311
  human: "human";
1312
+ ai: "ai";
1237
1313
  }>>;
1238
1314
  userMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1239
1315
  agentEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -1342,6 +1418,9 @@ declare const ChatSchema: z.ZodObject<{
1342
1418
  archived: z.ZodBoolean;
1343
1419
  muted: z.ZodBoolean;
1344
1420
  channel: z.ZodEnum<{
1421
+ slack: "slack";
1422
+ discord: "discord";
1423
+ teams: "teams";
1345
1424
  cli: "cli";
1346
1425
  frame: "frame";
1347
1426
  "phone-sms": "phone-sms";
@@ -1352,9 +1431,6 @@ declare const ChatSchema: z.ZodObject<{
1352
1431
  background: "background";
1353
1432
  "web-chat": "web-chat";
1354
1433
  "web-voice": "web-voice";
1355
- discord: "discord";
1356
- slack: "slack";
1357
- teams: "teams";
1358
1434
  "direct-message": "direct-message";
1359
1435
  a2a: "a2a";
1360
1436
  routine: "routine";
@@ -1399,19 +1475,19 @@ declare const ChatSchema: z.ZodObject<{
1399
1475
  declare const ChatFilterRuleSchema: z.ZodObject<{
1400
1476
  objectType: z.ZodEnum<{
1401
1477
  paused: "paused";
1402
- owner: "owner";
1478
+ channel: "channel";
1403
1479
  title: "title";
1404
1480
  participant: "participant";
1405
1481
  mode: "mode";
1406
- channel: "channel";
1482
+ owner: "owner";
1407
1483
  needsResponse: "needsResponse";
1408
1484
  messageCount: "messageCount";
1409
1485
  toolCall: "toolCall";
1410
1486
  }>;
1411
1487
  filterType: z.ZodEnum<{
1412
1488
  active: "active";
1413
- any: "any";
1414
1489
  all: "all";
1490
+ any: "any";
1415
1491
  none: "none";
1416
1492
  partial: "partial";
1417
1493
  exact: "exact";
@@ -1425,19 +1501,19 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
1425
1501
  declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
1426
1502
  objectType: z.ZodEnum<{
1427
1503
  paused: "paused";
1428
- owner: "owner";
1504
+ channel: "channel";
1429
1505
  title: "title";
1430
1506
  participant: "participant";
1431
1507
  mode: "mode";
1432
- channel: "channel";
1508
+ owner: "owner";
1433
1509
  needsResponse: "needsResponse";
1434
1510
  messageCount: "messageCount";
1435
1511
  toolCall: "toolCall";
1436
1512
  }>;
1437
1513
  filterType: z.ZodEnum<{
1438
1514
  active: "active";
1439
- any: "any";
1440
1515
  all: "all";
1516
+ any: "any";
1441
1517
  none: "none";
1442
1518
  partial: "partial";
1443
1519
  exact: "exact";
@@ -1453,6 +1529,81 @@ declare const ToolCallFunctionSchema: z.ZodObject<{
1453
1529
  arguments: z.ZodString;
1454
1530
  }, z.core.$strip>;
1455
1531
  declare const ToolCallSchema: z.ZodObject<{
1532
+ activity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1533
+ verb: z.ZodEnum<{
1534
+ readonly find: "find";
1535
+ readonly read: "read";
1536
+ readonly analyze: "analyze";
1537
+ readonly export: "export";
1538
+ readonly create: "create";
1539
+ readonly update: "update";
1540
+ readonly send: "send";
1541
+ readonly start: "start";
1542
+ readonly import: "import";
1543
+ readonly connect: "connect";
1544
+ readonly download: "download";
1545
+ readonly delete: "delete";
1546
+ readonly revoke: "revoke";
1547
+ }>;
1548
+ subject: z.ZodEnum<{
1549
+ readonly abilities: "abilities";
1550
+ readonly account_details: "account_details";
1551
+ readonly access: "access";
1552
+ readonly activity: "activity";
1553
+ readonly agents: "agents";
1554
+ readonly agent_tasks: "agent_tasks";
1555
+ readonly models: "models";
1556
+ readonly apps: "apps";
1557
+ readonly integrations: "integrations";
1558
+ readonly assignments: "assignments";
1559
+ readonly billing: "billing";
1560
+ readonly bundles: "bundles";
1561
+ readonly calendars: "calendars";
1562
+ readonly calendar_events: "calendar_events";
1563
+ readonly chats: "chats";
1564
+ readonly command_help: "command_help";
1565
+ readonly commands: "commands";
1566
+ readonly forms: "forms";
1567
+ readonly documentation: "documentation";
1568
+ readonly actions: "actions";
1569
+ readonly experiments: "experiments";
1570
+ readonly features: "features";
1571
+ readonly files: "files";
1572
+ readonly folders: "folders";
1573
+ readonly inboxes: "inboxes";
1574
+ readonly interventions: "interventions";
1575
+ readonly roles: "roles";
1576
+ readonly members: "members";
1577
+ readonly metrics: "metrics";
1578
+ readonly notifications: "notifications";
1579
+ readonly organizations: "organizations";
1580
+ readonly phone_numbers: "phone_numbers";
1581
+ readonly personas: "personas";
1582
+ readonly prompts: "prompts";
1583
+ readonly pronunciations: "pronunciations";
1584
+ readonly qualifications: "qualifications";
1585
+ readonly queries: "queries";
1586
+ readonly recordings: "recordings";
1587
+ readonly reports: "reports";
1588
+ readonly routines: "routines";
1589
+ readonly sites: "sites";
1590
+ readonly subscriptions: "subscriptions";
1591
+ readonly supervisors: "supervisors";
1592
+ readonly support: "support";
1593
+ readonly toolkits: "toolkits";
1594
+ readonly workflows: "workflows";
1595
+ readonly workspaces: "workspaces";
1596
+ readonly workspace_settings: "workspace_settings";
1597
+ readonly member_records: "member_records";
1598
+ readonly labels: "labels";
1599
+ readonly tasks: "tasks";
1600
+ readonly messages: "messages";
1601
+ readonly fields: "fields";
1602
+ readonly domains: "domains";
1603
+ readonly webhooks: "webhooks";
1604
+ readonly api_keys: "api_keys";
1605
+ }>;
1606
+ }, z.core.$strict>>>;
1456
1607
  id: z.ZodString;
1457
1608
  type: z.ZodLiteral<"function">;
1458
1609
  function: z.ZodObject<{
@@ -1486,8 +1637,8 @@ declare const MessageContentPartSchema: z.ZodUnion<readonly [z.ZodObject<{
1486
1637
  declare const ChatMessageObjectSchema: z.ZodObject<{
1487
1638
  role: z.ZodEnum<{
1488
1639
  function: "function";
1489
- user: "user";
1490
1640
  assistant: "assistant";
1641
+ user: "user";
1491
1642
  system: "system";
1492
1643
  tool: "tool";
1493
1644
  }>;
@@ -1501,6 +1652,81 @@ declare const ChatMessageObjectSchema: z.ZodObject<{
1501
1652
  }, z.core.$strip>;
1502
1653
  }, z.core.$strip>]>>]>>>;
1503
1654
  tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1655
+ activity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1656
+ verb: z.ZodEnum<{
1657
+ readonly find: "find";
1658
+ readonly read: "read";
1659
+ readonly analyze: "analyze";
1660
+ readonly export: "export";
1661
+ readonly create: "create";
1662
+ readonly update: "update";
1663
+ readonly send: "send";
1664
+ readonly start: "start";
1665
+ readonly import: "import";
1666
+ readonly connect: "connect";
1667
+ readonly download: "download";
1668
+ readonly delete: "delete";
1669
+ readonly revoke: "revoke";
1670
+ }>;
1671
+ subject: z.ZodEnum<{
1672
+ readonly abilities: "abilities";
1673
+ readonly account_details: "account_details";
1674
+ readonly access: "access";
1675
+ readonly activity: "activity";
1676
+ readonly agents: "agents";
1677
+ readonly agent_tasks: "agent_tasks";
1678
+ readonly models: "models";
1679
+ readonly apps: "apps";
1680
+ readonly integrations: "integrations";
1681
+ readonly assignments: "assignments";
1682
+ readonly billing: "billing";
1683
+ readonly bundles: "bundles";
1684
+ readonly calendars: "calendars";
1685
+ readonly calendar_events: "calendar_events";
1686
+ readonly chats: "chats";
1687
+ readonly command_help: "command_help";
1688
+ readonly commands: "commands";
1689
+ readonly forms: "forms";
1690
+ readonly documentation: "documentation";
1691
+ readonly actions: "actions";
1692
+ readonly experiments: "experiments";
1693
+ readonly features: "features";
1694
+ readonly files: "files";
1695
+ readonly folders: "folders";
1696
+ readonly inboxes: "inboxes";
1697
+ readonly interventions: "interventions";
1698
+ readonly roles: "roles";
1699
+ readonly members: "members";
1700
+ readonly metrics: "metrics";
1701
+ readonly notifications: "notifications";
1702
+ readonly organizations: "organizations";
1703
+ readonly phone_numbers: "phone_numbers";
1704
+ readonly personas: "personas";
1705
+ readonly prompts: "prompts";
1706
+ readonly pronunciations: "pronunciations";
1707
+ readonly qualifications: "qualifications";
1708
+ readonly queries: "queries";
1709
+ readonly recordings: "recordings";
1710
+ readonly reports: "reports";
1711
+ readonly routines: "routines";
1712
+ readonly sites: "sites";
1713
+ readonly subscriptions: "subscriptions";
1714
+ readonly supervisors: "supervisors";
1715
+ readonly support: "support";
1716
+ readonly toolkits: "toolkits";
1717
+ readonly workflows: "workflows";
1718
+ readonly workspaces: "workspaces";
1719
+ readonly workspace_settings: "workspace_settings";
1720
+ readonly member_records: "member_records";
1721
+ readonly labels: "labels";
1722
+ readonly tasks: "tasks";
1723
+ readonly messages: "messages";
1724
+ readonly fields: "fields";
1725
+ readonly domains: "domains";
1726
+ readonly webhooks: "webhooks";
1727
+ readonly api_keys: "api_keys";
1728
+ }>;
1729
+ }, z.core.$strict>>>;
1504
1730
  id: z.ZodString;
1505
1731
  type: z.ZodLiteral<"function">;
1506
1732
  function: z.ZodObject<{
@@ -1516,8 +1742,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1516
1742
  chatId: z.ZodNumber;
1517
1743
  participantRole: z.ZodEnum<{
1518
1744
  function: "function";
1519
- user: "user";
1520
1745
  assistant: "assistant";
1746
+ user: "user";
1521
1747
  system: "system";
1522
1748
  tool: "tool";
1523
1749
  }>;
@@ -1525,8 +1751,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1525
1751
  participantId: z.ZodNullable<z.ZodNumber>;
1526
1752
  role: z.ZodEnum<{
1527
1753
  function: "function";
1528
- user: "user";
1529
1754
  assistant: "assistant";
1755
+ user: "user";
1530
1756
  system: "system";
1531
1757
  tool: "tool";
1532
1758
  }>;
@@ -1558,6 +1784,81 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1558
1784
  reasoning_content: z.ZodOptional<z.ZodString>;
1559
1785
  failed: z.ZodBoolean;
1560
1786
  tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1787
+ activity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1788
+ verb: z.ZodEnum<{
1789
+ readonly find: "find";
1790
+ readonly read: "read";
1791
+ readonly analyze: "analyze";
1792
+ readonly export: "export";
1793
+ readonly create: "create";
1794
+ readonly update: "update";
1795
+ readonly send: "send";
1796
+ readonly start: "start";
1797
+ readonly import: "import";
1798
+ readonly connect: "connect";
1799
+ readonly download: "download";
1800
+ readonly delete: "delete";
1801
+ readonly revoke: "revoke";
1802
+ }>;
1803
+ subject: z.ZodEnum<{
1804
+ readonly abilities: "abilities";
1805
+ readonly account_details: "account_details";
1806
+ readonly access: "access";
1807
+ readonly activity: "activity";
1808
+ readonly agents: "agents";
1809
+ readonly agent_tasks: "agent_tasks";
1810
+ readonly models: "models";
1811
+ readonly apps: "apps";
1812
+ readonly integrations: "integrations";
1813
+ readonly assignments: "assignments";
1814
+ readonly billing: "billing";
1815
+ readonly bundles: "bundles";
1816
+ readonly calendars: "calendars";
1817
+ readonly calendar_events: "calendar_events";
1818
+ readonly chats: "chats";
1819
+ readonly command_help: "command_help";
1820
+ readonly commands: "commands";
1821
+ readonly forms: "forms";
1822
+ readonly documentation: "documentation";
1823
+ readonly actions: "actions";
1824
+ readonly experiments: "experiments";
1825
+ readonly features: "features";
1826
+ readonly files: "files";
1827
+ readonly folders: "folders";
1828
+ readonly inboxes: "inboxes";
1829
+ readonly interventions: "interventions";
1830
+ readonly roles: "roles";
1831
+ readonly members: "members";
1832
+ readonly metrics: "metrics";
1833
+ readonly notifications: "notifications";
1834
+ readonly organizations: "organizations";
1835
+ readonly phone_numbers: "phone_numbers";
1836
+ readonly personas: "personas";
1837
+ readonly prompts: "prompts";
1838
+ readonly pronunciations: "pronunciations";
1839
+ readonly qualifications: "qualifications";
1840
+ readonly queries: "queries";
1841
+ readonly recordings: "recordings";
1842
+ readonly reports: "reports";
1843
+ readonly routines: "routines";
1844
+ readonly sites: "sites";
1845
+ readonly subscriptions: "subscriptions";
1846
+ readonly supervisors: "supervisors";
1847
+ readonly support: "support";
1848
+ readonly toolkits: "toolkits";
1849
+ readonly workflows: "workflows";
1850
+ readonly workspaces: "workspaces";
1851
+ readonly workspace_settings: "workspace_settings";
1852
+ readonly member_records: "member_records";
1853
+ readonly labels: "labels";
1854
+ readonly tasks: "tasks";
1855
+ readonly messages: "messages";
1856
+ readonly fields: "fields";
1857
+ readonly domains: "domains";
1858
+ readonly webhooks: "webhooks";
1859
+ readonly api_keys: "api_keys";
1860
+ }>;
1861
+ }, z.core.$strict>>>;
1561
1862
  id: z.ZodString;
1562
1863
  type: z.ZodLiteral<"function">;
1563
1864
  function: z.ZodObject<{
@@ -1576,14 +1877,14 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1576
1877
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1577
1878
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1578
1879
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1880
+ operator: "operator";
1881
+ agent: "agent";
1579
1882
  member: "member";
1883
+ platform: "platform";
1580
1884
  tool: "tool";
1581
- agent: "agent";
1582
- operator: "operator";
1583
1885
  workflow: "workflow";
1584
1886
  engine_action: "engine_action";
1585
1887
  background_run: "background_run";
1586
- platform: "platform";
1587
1888
  }>>>;
1588
1889
  audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1589
1890
  conversation: "conversation";
@@ -1595,8 +1896,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1595
1896
  declare const ChatCompletionMessageSchema: z.ZodObject<{
1596
1897
  id: z.ZodOptional<z.ZodString>;
1597
1898
  role: z.ZodEnum<{
1598
- user: "user";
1599
1899
  assistant: "assistant";
1900
+ user: "user";
1600
1901
  system: "system";
1601
1902
  }>;
1602
1903
  content: z.ZodString;
@@ -1607,8 +1908,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
1607
1908
  chatId: z.ZodNumber;
1608
1909
  participantRole: z.ZodEnum<{
1609
1910
  function: "function";
1610
- user: "user";
1611
1911
  assistant: "assistant";
1912
+ user: "user";
1612
1913
  system: "system";
1613
1914
  tool: "tool";
1614
1915
  }>;
@@ -1616,8 +1917,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
1616
1917
  participantId: z.ZodNullable<z.ZodNumber>;
1617
1918
  role: z.ZodEnum<{
1618
1919
  function: "function";
1619
- user: "user";
1620
1920
  assistant: "assistant";
1921
+ user: "user";
1621
1922
  system: "system";
1622
1923
  tool: "tool";
1623
1924
  }>;
@@ -1649,6 +1950,81 @@ declare const ChatMessageUISchema: z.ZodObject<{
1649
1950
  reasoning_content: z.ZodOptional<z.ZodString>;
1650
1951
  failed: z.ZodBoolean;
1651
1952
  tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1953
+ activity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1954
+ verb: z.ZodEnum<{
1955
+ readonly find: "find";
1956
+ readonly read: "read";
1957
+ readonly analyze: "analyze";
1958
+ readonly export: "export";
1959
+ readonly create: "create";
1960
+ readonly update: "update";
1961
+ readonly send: "send";
1962
+ readonly start: "start";
1963
+ readonly import: "import";
1964
+ readonly connect: "connect";
1965
+ readonly download: "download";
1966
+ readonly delete: "delete";
1967
+ readonly revoke: "revoke";
1968
+ }>;
1969
+ subject: z.ZodEnum<{
1970
+ readonly abilities: "abilities";
1971
+ readonly account_details: "account_details";
1972
+ readonly access: "access";
1973
+ readonly activity: "activity";
1974
+ readonly agents: "agents";
1975
+ readonly agent_tasks: "agent_tasks";
1976
+ readonly models: "models";
1977
+ readonly apps: "apps";
1978
+ readonly integrations: "integrations";
1979
+ readonly assignments: "assignments";
1980
+ readonly billing: "billing";
1981
+ readonly bundles: "bundles";
1982
+ readonly calendars: "calendars";
1983
+ readonly calendar_events: "calendar_events";
1984
+ readonly chats: "chats";
1985
+ readonly command_help: "command_help";
1986
+ readonly commands: "commands";
1987
+ readonly forms: "forms";
1988
+ readonly documentation: "documentation";
1989
+ readonly actions: "actions";
1990
+ readonly experiments: "experiments";
1991
+ readonly features: "features";
1992
+ readonly files: "files";
1993
+ readonly folders: "folders";
1994
+ readonly inboxes: "inboxes";
1995
+ readonly interventions: "interventions";
1996
+ readonly roles: "roles";
1997
+ readonly members: "members";
1998
+ readonly metrics: "metrics";
1999
+ readonly notifications: "notifications";
2000
+ readonly organizations: "organizations";
2001
+ readonly phone_numbers: "phone_numbers";
2002
+ readonly personas: "personas";
2003
+ readonly prompts: "prompts";
2004
+ readonly pronunciations: "pronunciations";
2005
+ readonly qualifications: "qualifications";
2006
+ readonly queries: "queries";
2007
+ readonly recordings: "recordings";
2008
+ readonly reports: "reports";
2009
+ readonly routines: "routines";
2010
+ readonly sites: "sites";
2011
+ readonly subscriptions: "subscriptions";
2012
+ readonly supervisors: "supervisors";
2013
+ readonly support: "support";
2014
+ readonly toolkits: "toolkits";
2015
+ readonly workflows: "workflows";
2016
+ readonly workspaces: "workspaces";
2017
+ readonly workspace_settings: "workspace_settings";
2018
+ readonly member_records: "member_records";
2019
+ readonly labels: "labels";
2020
+ readonly tasks: "tasks";
2021
+ readonly messages: "messages";
2022
+ readonly fields: "fields";
2023
+ readonly domains: "domains";
2024
+ readonly webhooks: "webhooks";
2025
+ readonly api_keys: "api_keys";
2026
+ }>;
2027
+ }, z.core.$strict>>>;
1652
2028
  id: z.ZodString;
1653
2029
  type: z.ZodLiteral<"function">;
1654
2030
  function: z.ZodObject<{
@@ -1667,14 +2043,14 @@ declare const ChatMessageUISchema: z.ZodObject<{
1667
2043
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1668
2044
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1669
2045
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2046
+ operator: "operator";
2047
+ agent: "agent";
1670
2048
  member: "member";
2049
+ platform: "platform";
1671
2050
  tool: "tool";
1672
- agent: "agent";
1673
- operator: "operator";
1674
2051
  workflow: "workflow";
1675
2052
  engine_action: "engine_action";
1676
2053
  background_run: "background_run";
1677
- platform: "platform";
1678
2054
  }>>>;
1679
2055
  audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1680
2056
  conversation: "conversation";
@@ -1682,6 +2058,17 @@ declare const ChatMessageUISchema: z.ZodObject<{
1682
2058
  }>>>;
1683
2059
  toolStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1684
2060
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2061
+ approvalDecision: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2062
+ callId: z.ZodString;
2063
+ tool: z.ZodString;
2064
+ answer: z.ZodEnum<{
2065
+ approve: "approve";
2066
+ approve_always: "approve_always";
2067
+ reject: "reject";
2068
+ edit: "edit";
2069
+ other: "other";
2070
+ }>;
2071
+ }, z.core.$strip>>>;
1685
2072
  error: z.ZodOptional<z.ZodObject<{
1686
2073
  code: z.ZodString;
1687
2074
  message: z.ZodString;
@@ -1695,8 +2082,8 @@ declare const ChatMessageSchema: z.ZodObject<{
1695
2082
  chatId: z.ZodNumber;
1696
2083
  participantRole: z.ZodEnum<{
1697
2084
  function: "function";
1698
- user: "user";
1699
2085
  assistant: "assistant";
2086
+ user: "user";
1700
2087
  system: "system";
1701
2088
  tool: "tool";
1702
2089
  }>;
@@ -1704,8 +2091,8 @@ declare const ChatMessageSchema: z.ZodObject<{
1704
2091
  participantId: z.ZodNullable<z.ZodNumber>;
1705
2092
  role: z.ZodEnum<{
1706
2093
  function: "function";
1707
- user: "user";
1708
2094
  assistant: "assistant";
2095
+ user: "user";
1709
2096
  system: "system";
1710
2097
  tool: "tool";
1711
2098
  }>;
@@ -1737,6 +2124,81 @@ declare const ChatMessageSchema: z.ZodObject<{
1737
2124
  reasoning_content: z.ZodOptional<z.ZodString>;
1738
2125
  failed: z.ZodBoolean;
1739
2126
  tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
2127
+ activity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2128
+ verb: z.ZodEnum<{
2129
+ readonly find: "find";
2130
+ readonly read: "read";
2131
+ readonly analyze: "analyze";
2132
+ readonly export: "export";
2133
+ readonly create: "create";
2134
+ readonly update: "update";
2135
+ readonly send: "send";
2136
+ readonly start: "start";
2137
+ readonly import: "import";
2138
+ readonly connect: "connect";
2139
+ readonly download: "download";
2140
+ readonly delete: "delete";
2141
+ readonly revoke: "revoke";
2142
+ }>;
2143
+ subject: z.ZodEnum<{
2144
+ readonly abilities: "abilities";
2145
+ readonly account_details: "account_details";
2146
+ readonly access: "access";
2147
+ readonly activity: "activity";
2148
+ readonly agents: "agents";
2149
+ readonly agent_tasks: "agent_tasks";
2150
+ readonly models: "models";
2151
+ readonly apps: "apps";
2152
+ readonly integrations: "integrations";
2153
+ readonly assignments: "assignments";
2154
+ readonly billing: "billing";
2155
+ readonly bundles: "bundles";
2156
+ readonly calendars: "calendars";
2157
+ readonly calendar_events: "calendar_events";
2158
+ readonly chats: "chats";
2159
+ readonly command_help: "command_help";
2160
+ readonly commands: "commands";
2161
+ readonly forms: "forms";
2162
+ readonly documentation: "documentation";
2163
+ readonly actions: "actions";
2164
+ readonly experiments: "experiments";
2165
+ readonly features: "features";
2166
+ readonly files: "files";
2167
+ readonly folders: "folders";
2168
+ readonly inboxes: "inboxes";
2169
+ readonly interventions: "interventions";
2170
+ readonly roles: "roles";
2171
+ readonly members: "members";
2172
+ readonly metrics: "metrics";
2173
+ readonly notifications: "notifications";
2174
+ readonly organizations: "organizations";
2175
+ readonly phone_numbers: "phone_numbers";
2176
+ readonly personas: "personas";
2177
+ readonly prompts: "prompts";
2178
+ readonly pronunciations: "pronunciations";
2179
+ readonly qualifications: "qualifications";
2180
+ readonly queries: "queries";
2181
+ readonly recordings: "recordings";
2182
+ readonly reports: "reports";
2183
+ readonly routines: "routines";
2184
+ readonly sites: "sites";
2185
+ readonly subscriptions: "subscriptions";
2186
+ readonly supervisors: "supervisors";
2187
+ readonly support: "support";
2188
+ readonly toolkits: "toolkits";
2189
+ readonly workflows: "workflows";
2190
+ readonly workspaces: "workspaces";
2191
+ readonly workspace_settings: "workspace_settings";
2192
+ readonly member_records: "member_records";
2193
+ readonly labels: "labels";
2194
+ readonly tasks: "tasks";
2195
+ readonly messages: "messages";
2196
+ readonly fields: "fields";
2197
+ readonly domains: "domains";
2198
+ readonly webhooks: "webhooks";
2199
+ readonly api_keys: "api_keys";
2200
+ }>;
2201
+ }, z.core.$strict>>>;
1740
2202
  id: z.ZodString;
1741
2203
  type: z.ZodLiteral<"function">;
1742
2204
  function: z.ZodObject<{
@@ -1755,14 +2217,14 @@ declare const ChatMessageSchema: z.ZodObject<{
1755
2217
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1756
2218
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1757
2219
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2220
+ operator: "operator";
2221
+ agent: "agent";
1758
2222
  member: "member";
2223
+ platform: "platform";
1759
2224
  tool: "tool";
1760
- agent: "agent";
1761
- operator: "operator";
1762
2225
  workflow: "workflow";
1763
2226
  engine_action: "engine_action";
1764
2227
  background_run: "background_run";
1765
- platform: "platform";
1766
2228
  }>>>;
1767
2229
  audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1768
2230
  conversation: "conversation";
@@ -1770,6 +2232,17 @@ declare const ChatMessageSchema: z.ZodObject<{
1770
2232
  }>>>;
1771
2233
  toolStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1772
2234
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2235
+ approvalDecision: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2236
+ callId: z.ZodString;
2237
+ tool: z.ZodString;
2238
+ answer: z.ZodEnum<{
2239
+ approve: "approve";
2240
+ approve_always: "approve_always";
2241
+ reject: "reject";
2242
+ edit: "edit";
2243
+ other: "other";
2244
+ }>;
2245
+ }, z.core.$strip>>>;
1773
2246
  error: z.ZodOptional<z.ZodObject<{
1774
2247
  code: z.ZodString;
1775
2248
  message: z.ZodString;
@@ -2176,7 +2649,7 @@ declare const CreateWorkspaceMemberRequestSchema: z.ZodObject<{
2176
2649
  memberType: z.ZodOptional<z.ZodEnum<{
2177
2650
  member: "member";
2178
2651
  test: "test";
2179
- anonymous: "anonymous";
2652
+ business: "business";
2180
2653
  }>>;
2181
2654
  }, z.core.$strip>;
2182
2655
  declare const UpdateWorkspaceMemberRequestSchema: z.ZodObject<{
@@ -2253,8 +2726,8 @@ declare const ListWorkspaceMembersSchema: z.ZodObject<{
2253
2726
  pageSize: z.ZodOptional<z.ZodNumber>;
2254
2727
  role: z.ZodOptional<z.ZodString>;
2255
2728
  sortBy: z.ZodOptional<z.ZodEnum<{
2256
- name: "name";
2257
2729
  email: "email";
2730
+ name: "name";
2258
2731
  createdAt: "createdAt";
2259
2732
  updatedAt: "updatedAt";
2260
2733
  }>>;
@@ -2292,7 +2765,7 @@ declare const AddWorkspaceMemberSchema: z.ZodObject<{
2292
2765
  memberType: z.ZodOptional<z.ZodEnum<{
2293
2766
  member: "member";
2294
2767
  test: "test";
2295
- anonymous: "anonymous";
2768
+ business: "business";
2296
2769
  }>>;
2297
2770
  }, z.core.$strip>;
2298
2771
  declare const UpdateWorkspaceMemberSchema: z.ZodObject<{
@@ -2407,7 +2880,7 @@ declare const MemberRoleSchema: z.ZodObject<{
2407
2880
  }, z.core.$strip>;
2408
2881
  declare const MemberSchema: z.ZodObject<{
2409
2882
  id: z.ZodNumber;
2410
- accountUuid: z.ZodString;
2883
+ accountUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2411
2884
  memberRoleId: z.ZodNumber;
2412
2885
  name: z.ZodOptional<z.ZodString>;
2413
2886
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2431,8 +2904,10 @@ declare const MemberSchema: z.ZodObject<{
2431
2904
  locale: z.ZodOptional<z.ZodString>;
2432
2905
  timezone: z.ZodOptional<z.ZodString>;
2433
2906
  memberType: z.ZodOptional<z.ZodEnum<{
2907
+ agent: "agent";
2434
2908
  member: "member";
2435
2909
  test: "test";
2910
+ business: "business";
2436
2911
  anonymous: "anonymous";
2437
2912
  }>>;
2438
2913
  isArchived: z.ZodOptional<z.ZodBoolean>;
@@ -2478,8 +2953,8 @@ declare const PhoneNumberFormDataSchema: z.ZodObject<{
2478
2953
  enableSms: z.ZodOptional<z.ZodBoolean>;
2479
2954
  enableVoice: z.ZodOptional<z.ZodBoolean>;
2480
2955
  inboundCallHandling: z.ZodOptional<z.ZodEnum<{
2481
- fax: "fax";
2482
2956
  agent: "agent";
2957
+ fax: "fax";
2483
2958
  }>>;
2484
2959
  voiceUnavailableMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2485
2960
  providerPhoneUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2498,8 +2973,8 @@ declare const CreatePhoneNumberSchema: z.ZodObject<{
2498
2973
  enableSms: z.ZodOptional<z.ZodBoolean>;
2499
2974
  enableVoice: z.ZodOptional<z.ZodBoolean>;
2500
2975
  inboundCallHandling: z.ZodOptional<z.ZodEnum<{
2501
- fax: "fax";
2502
2976
  agent: "agent";
2977
+ fax: "fax";
2503
2978
  }>>;
2504
2979
  voiceUnavailableMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2505
2980
  providerPhoneUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2512,8 +2987,8 @@ declare const UpdatePhoneNumberSchema: z.ZodObject<{
2512
2987
  enableSms: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2513
2988
  enableVoice: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2514
2989
  inboundCallHandling: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2515
- fax: "fax";
2516
2990
  agent: "agent";
2991
+ fax: "fax";
2517
2992
  }>>>;
2518
2993
  voiceUnavailableMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2519
2994
  providerPhoneUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -2582,9 +3057,13 @@ declare const SiteFormDataSchema: z.ZodObject<{
2582
3057
  declare const SitePageFormDataSchema: z.ZodObject<{
2583
3058
  title: z.ZodString;
2584
3059
  slug: z.ZodOptional<z.ZodString>;
2585
- content: z.ZodOptional<z.ZodString>;
2586
- isPublic: z.ZodOptional<z.ZodBoolean>;
2587
- }, z.core.$strip>;
3060
+ status: z.ZodOptional<z.ZodString>;
3061
+ contentBlocks: z.ZodOptional<z.ZodType<TipTapDocumentInput, unknown, z.core.$ZodTypeInternals<TipTapDocumentInput, unknown>>>;
3062
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3063
+ sourceHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3064
+ sourceMarkdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3065
+ sourceMetadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3066
+ }, z.core.$strict>;
2588
3067
  declare const MenuItemFormDataSchema: z.ZodObject<{
2589
3068
  label: z.ZodString;
2590
3069
  itemType: z.ZodEnum<{
@@ -2696,18 +3175,26 @@ declare const CreateSitePageSchema: z.ZodObject<{
2696
3175
  siteId: z.ZodNumber;
2697
3176
  title: z.ZodString;
2698
3177
  slug: z.ZodOptional<z.ZodString>;
2699
- content: z.ZodOptional<z.ZodString>;
2700
- isPublic: z.ZodOptional<z.ZodBoolean>;
2701
- }, z.core.$strip>;
3178
+ status: z.ZodOptional<z.ZodString>;
3179
+ contentBlocks: z.ZodOptional<z.ZodType<TipTapDocumentInput, unknown, z.core.$ZodTypeInternals<TipTapDocumentInput, unknown>>>;
3180
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3181
+ sourceHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3182
+ sourceMarkdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3183
+ sourceMetadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3184
+ }, z.core.$strict>;
2702
3185
  declare const UpdateSitePageSchema: z.ZodObject<{
2703
3186
  wid: z.ZodString;
2704
3187
  siteId: z.ZodNumber;
2705
3188
  pageId: z.ZodNumber;
2706
3189
  title: z.ZodOptional<z.ZodString>;
2707
3190
  slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2708
- content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2709
- isPublic: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2710
- }, z.core.$strip>;
3191
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3192
+ contentBlocks: z.ZodOptional<z.ZodOptional<z.ZodType<TipTapDocumentInput, unknown, z.core.$ZodTypeInternals<TipTapDocumentInput, unknown>>>>;
3193
+ sourceUrl: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3194
+ sourceHtml: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3195
+ sourceMarkdown: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3196
+ sourceMetadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
3197
+ }, z.core.$strict>;
2711
3198
  declare const DeleteSitePageSchema: z.ZodObject<{
2712
3199
  wid: z.ZodString;
2713
3200
  siteId: z.ZodNumber;
@@ -2790,6 +3277,23 @@ type UpdateMenuItemInput = z.infer<typeof UpdateMenuItemSchema>;
2790
3277
  type DeleteMenuItemInput = z.infer<typeof DeleteMenuItemSchema>;
2791
3278
  type ReorderMenuItemsInput = z.infer<typeof ReorderMenuItemsRequestSchema>;
2792
3279
 
3280
+ /**
3281
+ * Revision-owned Agent behavior (`WorkflowAgentBehavior`). Strict, like the
3282
+ * Pydantic model (`extra="forbid"`); an omitted key takes the server default.
3283
+ */
3284
+ declare const WorkflowAgentBehaviorSchema: z.ZodObject<{
3285
+ responseLength: z.ZodOptional<z.ZodEnum<{
3286
+ readonly brief: "brief";
3287
+ readonly short: "short";
3288
+ readonly detailed: "detailed";
3289
+ }>>;
3290
+ oneQuestionPerTurn: z.ZodOptional<z.ZodBoolean>;
3291
+ aiDisclosure: z.ZodOptional<z.ZodEnum<{
3292
+ readonly when_asked: "when_asked";
3293
+ readonly at_opening: "at_opening";
3294
+ }>>;
3295
+ smsStopInstructions: z.ZodOptional<z.ZodBoolean>;
3296
+ }, z.core.$strict>;
2793
3297
  /** Fields accepted when creating a workflow (matches `CreateWorkflowRequest`). */
2794
3298
  declare const WorkflowCreateFormDataSchema: z.ZodObject<{
2795
3299
  name: z.ZodString;
@@ -2803,15 +3307,14 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
2803
3307
  frustration: "frustration";
2804
3308
  requests_human: "requests_human";
2805
3309
  }>>>>;
2806
- answerNotFound: z.ZodOptional<z.ZodBoolean>;
2807
3310
  pausedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2808
3311
  notifiedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2809
3312
  onlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2810
3313
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
3314
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2812
3315
  routingMode: z.ZodOptional<z.ZodEnum<{
2813
- workspace: "workspace";
2814
3316
  custom: "custom";
3317
+ workspace: "workspace";
2815
3318
  }>>;
2816
3319
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2817
3320
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -2821,6 +3324,19 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
2821
3324
  priorityMemberIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2822
3325
  operatorGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2823
3326
  }, z.core.$strict>>>;
3327
+ agentBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3328
+ responseLength: z.ZodOptional<z.ZodEnum<{
3329
+ readonly brief: "brief";
3330
+ readonly short: "short";
3331
+ readonly detailed: "detailed";
3332
+ }>>;
3333
+ oneQuestionPerTurn: z.ZodOptional<z.ZodBoolean>;
3334
+ aiDisclosure: z.ZodOptional<z.ZodEnum<{
3335
+ readonly when_asked: "when_asked";
3336
+ readonly at_opening: "at_opening";
3337
+ }>>;
3338
+ smsStopInstructions: z.ZodOptional<z.ZodBoolean>;
3339
+ }, z.core.$strict>>>;
2824
3340
  description: z.ZodOptional<z.ZodString>;
2825
3341
  prompt: z.ZodOptional<z.ZodString>;
2826
3342
  ownerId: z.ZodOptional<z.ZodNumber>;
@@ -2873,15 +3389,14 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
2873
3389
  frustration: "frustration";
2874
3390
  requests_human: "requests_human";
2875
3391
  }>>>>;
2876
- answerNotFound: z.ZodOptional<z.ZodBoolean>;
2877
3392
  pausedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2878
3393
  notifiedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2879
3394
  onlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2880
3395
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2881
3396
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2882
3397
  routingMode: z.ZodOptional<z.ZodEnum<{
2883
- workspace: "workspace";
2884
3398
  custom: "custom";
3399
+ workspace: "workspace";
2885
3400
  }>>;
2886
3401
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2887
3402
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -2891,6 +3406,19 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
2891
3406
  priorityMemberIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2892
3407
  operatorGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2893
3408
  }, z.core.$strict>>>;
3409
+ agentBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3410
+ responseLength: z.ZodOptional<z.ZodEnum<{
3411
+ readonly brief: "brief";
3412
+ readonly short: "short";
3413
+ readonly detailed: "detailed";
3414
+ }>>;
3415
+ oneQuestionPerTurn: z.ZodOptional<z.ZodBoolean>;
3416
+ aiDisclosure: z.ZodOptional<z.ZodEnum<{
3417
+ readonly when_asked: "when_asked";
3418
+ readonly at_opening: "at_opening";
3419
+ }>>;
3420
+ smsStopInstructions: z.ZodOptional<z.ZodBoolean>;
3421
+ }, z.core.$strict>>>;
2894
3422
  description: z.ZodOptional<z.ZodString>;
2895
3423
  prompt: z.ZodOptional<z.ZodString>;
2896
3424
  ownerId: z.ZodOptional<z.ZodNumber>;
@@ -2939,15 +3467,14 @@ declare const CreateWorkflowSchema: z.ZodObject<{
2939
3467
  frustration: "frustration";
2940
3468
  requests_human: "requests_human";
2941
3469
  }>>>>;
2942
- answerNotFound: z.ZodOptional<z.ZodBoolean>;
2943
3470
  pausedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2944
3471
  notifiedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2945
3472
  onlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2946
3473
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2947
3474
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2948
3475
  routingMode: z.ZodOptional<z.ZodEnum<{
2949
- workspace: "workspace";
2950
3476
  custom: "custom";
3477
+ workspace: "workspace";
2951
3478
  }>>;
2952
3479
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2953
3480
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -2957,6 +3484,19 @@ declare const CreateWorkflowSchema: z.ZodObject<{
2957
3484
  priorityMemberIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2958
3485
  operatorGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2959
3486
  }, z.core.$strict>>>;
3487
+ agentBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3488
+ responseLength: z.ZodOptional<z.ZodEnum<{
3489
+ readonly brief: "brief";
3490
+ readonly short: "short";
3491
+ readonly detailed: "detailed";
3492
+ }>>;
3493
+ oneQuestionPerTurn: z.ZodOptional<z.ZodBoolean>;
3494
+ aiDisclosure: z.ZodOptional<z.ZodEnum<{
3495
+ readonly when_asked: "when_asked";
3496
+ readonly at_opening: "at_opening";
3497
+ }>>;
3498
+ smsStopInstructions: z.ZodOptional<z.ZodBoolean>;
3499
+ }, z.core.$strict>>>;
2960
3500
  description: z.ZodOptional<z.ZodString>;
2961
3501
  prompt: z.ZodOptional<z.ZodString>;
2962
3502
  ownerId: z.ZodOptional<z.ZodNumber>;
@@ -2994,15 +3534,14 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
2994
3534
  frustration: "frustration";
2995
3535
  requests_human: "requests_human";
2996
3536
  }>>>>;
2997
- answerNotFound: z.ZodOptional<z.ZodBoolean>;
2998
3537
  pausedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2999
3538
  notifiedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3000
3539
  onlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3001
3540
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3002
3541
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3003
3542
  routingMode: z.ZodOptional<z.ZodEnum<{
3004
- workspace: "workspace";
3005
3543
  custom: "custom";
3544
+ workspace: "workspace";
3006
3545
  }>>;
3007
3546
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3008
3547
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3012,6 +3551,19 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
3012
3551
  priorityMemberIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3013
3552
  operatorGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3014
3553
  }, z.core.$strict>>>>;
3554
+ agentBehavior: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
3555
+ responseLength: z.ZodOptional<z.ZodEnum<{
3556
+ readonly brief: "brief";
3557
+ readonly short: "short";
3558
+ readonly detailed: "detailed";
3559
+ }>>;
3560
+ oneQuestionPerTurn: z.ZodOptional<z.ZodBoolean>;
3561
+ aiDisclosure: z.ZodOptional<z.ZodEnum<{
3562
+ readonly when_asked: "when_asked";
3563
+ readonly at_opening: "at_opening";
3564
+ }>>;
3565
+ smsStopInstructions: z.ZodOptional<z.ZodBoolean>;
3566
+ }, z.core.$strict>>>>;
3015
3567
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3016
3568
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3017
3569
  ownerId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3069,15 +3621,14 @@ declare const WorkflowEscalationPolicySchema: z.ZodObject<{
3069
3621
  frustration: "frustration";
3070
3622
  requests_human: "requests_human";
3071
3623
  }>>>>;
3072
- answerNotFound: z.ZodOptional<z.ZodBoolean>;
3073
3624
  pausedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
3625
  notifiedMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3075
3626
  onlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3076
3627
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3077
3628
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3078
3629
  routingMode: z.ZodOptional<z.ZodEnum<{
3079
- workspace: "workspace";
3080
3630
  custom: "custom";
3631
+ workspace: "workspace";
3081
3632
  }>>;
3082
3633
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3083
3634
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3171,5 +3722,5 @@ declare const PublicDemoFormRequestSchema: z.ZodObject<{
3171
3722
  fieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3172
3723
  }, z.core.$strict>;
3173
3724
 
3174
- export { AccountFormDataSchema, AccountReportItemSchema, AccountSchema, AddDataFieldSchema, AddWorkspaceMemberSchema, AdminAccountFormDataSchema, AdminAccountMembershipSchema, AdminOrganizationSchema, AdminWorkspaceMemberFormDataSchema, ApiKeyCreatedSchema, ApiKeyFormDataSchema, ApiKeySchema, ApiKeyScopeSchema, ApiKeyScopesResponseSchema, ArchiveChatSchema, ArchivePhoneNumberSchema, AssistantChatParticipantSchema, CancelCalendarEventSchema, ChannelEnum, ChatCompletionMessageSchema, ChatFilterFilterTypeEnum, ChatFilterObjectTypeEnum, ChatFilterRuleFormDataSchema, ChatFilterRuleSchema, ChatFiltersSchema, ChatFormDataSchema, ChatMessageAPIResponseSchema, ChatMessageChunkSchema, ChatMessageObjectSchema, ChatMessageSchema, ChatMessageUISchema, ChatMuteReasonEnum, ChatParticipantFormDataSchema, ChatSchema, CheckAvailabilitySchema, CloneWorkflowSchema, ContributorChatParticipantSchema, CreateAccountSchema, CreateCalendarEventSchema, CreateCalendarSchema, CreateChatCompletionSchema, CreateChatForWorkflowSchema, CreateChatSchema, CreateDataRecordSchema, CreateDataTypeSchema, CreateEventTypeSchema, CreateInboxSchema, CreateMemberRoleSchema, CreateMenuItemSchema, CreateOrganizationRequestSchema, CreatePhoneNumberSchema, CreateScheduleSchema, CreateSitePageSchema, CreateSiteSchema, CreateWorkflowSchema, CreateWorkspaceMemberRequestSchema, CreateWorkspaceSchema, DataCategory, DataFieldFormDataSchema, DataFieldSchema, DataFieldType, DataIntegrityReportItemSchema, DataRecordAssociationFormDataSchema, DataRecordFiltersSchema, DataRecordFormDataSchema, DataRecordReportItemSchema, DataRecordRetirementSchema, DataRecordSchema, DataRecordWithAccessModeSchema, DataRecordsPaginatedResponseSchema, DataSensitivity, DataTypeExportItemSchema, DataTypeFormDataSchema, DataTypeRecordScope, DataTypeSchema, DeleteCalendarEventSchema, DeleteCalendarSchema, DeleteChatSchema, DeleteDataRecordSchema, DeleteDataTypeSchema, DeleteEventTypeSchema, DeleteInboxSchema, DeleteMemberRoleSchema, DeleteMenuItemSchema, DeleteScheduleSchema, DeleteSitePageSchema, DeleteSiteSchema, DeleteWorkflowSchema, DeleteWorkspaceSchema, DuplicateAccountInfoSchema, EMPTY_SCHEMA_SENSITIVITY, ErrorResponseSchema, FunctionToolSchema, GenerateICalTokenSchema, GetAvailableSlotsSchema, GetAvailableWorkspaceFeaturesSchema, GetCalendarEventSchema, GetCalendarSchema, GetChatMessagesSchema, GetChatSchema, GetChatsNeedsResponseSchema, GetCurrentMemberSchema, GetDataRecordSchema, GetDataTypeBySlugSchema, GetDataTypeSchema, GetEventTypeSchema, GetFieldIndexStatusSchema, GetICalUrlSchema, GetInboxEmailSchema, GetInboxSchema, GetMemberRoleSchema, GetPhoneNumberSchema, GetProductSchema, GetProductsSchema, GetRecentInboxMessagesSchema, GetRecentSmsMessagesSchema, GetResellerWorkspacesSchema, GetSiteCountsSchema, GetSiteMenuSchema, GetSitePageBySlugSchema, GetSitePageSchema, GetSiteSchema, GetWorkflowSchema, GetWorkspaceDefaultsSchema, GetWorkspaceMemberSchema, GetWorkspaceSchema, HumanChatParticipantSchema, ImageUrlContentSchema, InboxEmailFiltersSchema, InboxFormDataSchema, InboxRuleSchema, InboxRulesConfigSchema, IndexStatus, InitiateOutboundCallSchema, KnowledgeEntrySchema, ListCalendarEventsSchema, ListCalendarsSchema, ListChatsSchema, ListDataRecordsSchema, ListDataTypesSchema, ListEventTypesSchema, ListInboxEmailsSchema, ListInboxesSchema, ListMemberRolesSchema, ListMenuItemsSchema, ListPhoneCallsSchema, ListPhoneNumbersSchema, ListPhoneSmsMessagesSchema, ListSchedulesSchema, ListSitePagesSchema, ListSitesSchema, ListWorkflowsSchema, ListWorkspaceMembersSchema, ListWorkspacesSchema, LoginRequestSchema, LoginResponseSchema, MarkEmailReadSchema, MarkEmailUnreadSchema, MemberFilterFormDataSchema, MemberFilterSchema, MemberFormDataSchema, MemberLabelFormDataSchema, MemberLabelSchema, MemberRoleFormDataSchema, MemberRoleSchema, MemberRoleTaskAccessSchema, MemberSchema, MenuItemFormDataSchema, MessageAudienceEnum, MessageContentPartSchema, MessageOriginEnum, MessageRoleEnum, MissingMembershipItemSchema, OrganizationSchema, PhoneNumberFormDataSchema, PublicDemoFormRequestSchema, PublicDemoMessageRequestSchema, RateLimitAllowlistEntrySchema, RateLimitOverrideSchema, RateMessageSchema, RemoveDataFieldSchema, RemoveWorkspaceMemberSchema, ReorderMenuItemsRequestSchema, ReorderMenuItemsSchema, RevokeICalTokenSchema, SMSLoginResponseSchema, SchemaFieldFormDataSchema, SchemaFieldSchema, SendAssistantMessageSchema, SendChatMessageSchema, SendSmsToMemberSchema, SiteFormDataSchema, SitePageFormDataSchema, StartPublicDemoRequestSchema, SupervisorChatParticipantSchema, TaskExportDataTypeRelationSchema, TextContentSchema, ToggleFieldIndexSchema, ToolCallFunctionSchema, ToolCallSchema, ToolResultSchema, TruncationReasonEnum, UnarchiveChatSchema, UpdateAttendeeResponseSchema, UpdateCalendarEventSchema, UpdateCalendarSchema, UpdateChatMuteSchema, UpdateChatSchema, UpdateCurrentMemberSchema, UpdateDataFieldSchema, UpdateDataRecordSchema, UpdateDataTypeSchema, UpdateEventTypeSchema, UpdateInboxSchema, UpdateMemberRoleSchema, UpdateMenuItemSchema, UpdateOrganizationRequestSchema, UpdatePhoneNumberSchema, UpdateScheduleSchema, UpdateSitePageSchema, UpdateSiteSchema, UpdateWorkflowSchema, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, UpsertDataRecordSchema, VerifyCodeRequestSchema, VerifyCodeResponseSchema, WorkflowCreateFormDataSchema, WorkflowEscalationPolicySchema, WorkflowEscalationRoutingSchema, WorkflowFormDataSchema, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
3725
+ export { AccountFormDataSchema, AccountReportItemSchema, AccountSchema, AddDataFieldSchema, AddWorkspaceMemberSchema, AdminAccountFormDataSchema, AdminAccountMembershipSchema, AdminOrganizationSchema, AdminWorkspaceMemberFormDataSchema, ApiKeyCreatedSchema, ApiKeyFormDataSchema, ApiKeySchema, ApiKeyScopeSchema, ApiKeyScopesResponseSchema, ArchiveChatSchema, ArchivePhoneNumberSchema, AssistantChatParticipantSchema, CallActivityLabelSchema, CancelCalendarEventSchema, ChannelEnum, ChatCompletionMessageSchema, ChatFilterFilterTypeEnum, ChatFilterObjectTypeEnum, ChatFilterRuleFormDataSchema, ChatFilterRuleSchema, ChatFiltersSchema, ChatFormDataSchema, ChatMessageAPIResponseSchema, ChatMessageChunkSchema, ChatMessageObjectSchema, ChatMessageSchema, ChatMessageUISchema, ChatMuteReasonEnum, ChatParticipantFormDataSchema, ChatSchema, CheckAvailabilitySchema, CloneWorkflowSchema, ContributorChatParticipantSchema, CreateAccountSchema, CreateCalendarEventSchema, CreateCalendarSchema, CreateChatCompletionSchema, CreateChatForWorkflowSchema, CreateChatSchema, CreateDataRecordSchema, CreateDataTypeSchema, CreateEventTypeSchema, CreateInboxSchema, CreateMemberRoleSchema, CreateMenuItemSchema, CreateOrganizationRequestSchema, CreatePhoneNumberSchema, CreateScheduleSchema, CreateSitePageSchema, CreateSiteSchema, CreateWorkflowSchema, CreateWorkspaceMemberRequestSchema, CreateWorkspaceSchema, DataCategory, DataFieldFormDataSchema, DataFieldSchema, DataFieldType, DataIntegrityReportItemSchema, DataRecordAssociationFormDataSchema, DataRecordFiltersSchema, DataRecordFormDataSchema, DataRecordReportItemSchema, DataRecordRetirementSchema, DataRecordSchema, DataRecordWithAccessModeSchema, DataRecordsPaginatedResponseSchema, DataSensitivity, DataTypeExportItemSchema, DataTypeFormDataSchema, DataTypeRecordScope, DataTypeSchema, DeleteCalendarEventSchema, DeleteCalendarSchema, DeleteChatSchema, DeleteDataRecordSchema, DeleteDataTypeSchema, DeleteEventTypeSchema, DeleteInboxSchema, DeleteMemberRoleSchema, DeleteMenuItemSchema, DeleteScheduleSchema, DeleteSitePageSchema, DeleteSiteSchema, DeleteWorkflowSchema, DeleteWorkspaceSchema, DuplicateAccountInfoSchema, EMPTY_SCHEMA_SENSITIVITY, ErrorResponseSchema, FunctionToolSchema, GenerateICalTokenSchema, GetAvailableSlotsSchema, GetAvailableWorkspaceFeaturesSchema, GetCalendarEventSchema, GetCalendarSchema, GetChatMessagesSchema, GetChatSchema, GetChatsNeedsResponseSchema, GetCurrentMemberSchema, GetDataRecordSchema, GetDataTypeBySlugSchema, GetDataTypeSchema, GetEventTypeSchema, GetFieldIndexStatusSchema, GetICalUrlSchema, GetInboxEmailSchema, GetInboxSchema, GetMemberRoleSchema, GetPhoneNumberSchema, GetProductSchema, GetProductsSchema, GetRecentInboxMessagesSchema, GetRecentSmsMessagesSchema, GetResellerWorkspacesSchema, GetSiteCountsSchema, GetSiteMenuSchema, GetSitePageBySlugSchema, GetSitePageSchema, GetSiteSchema, GetWorkflowSchema, GetWorkspaceDefaultsSchema, GetWorkspaceMemberSchema, GetWorkspaceSchema, HumanChatParticipantSchema, ImageUrlContentSchema, InboxEmailFiltersSchema, InboxFormDataSchema, InboxRuleSchema, InboxRulesConfigSchema, IndexStatus, InitiateOutboundCallSchema, KnowledgeEntrySchema, ListCalendarEventsSchema, ListCalendarsSchema, ListChatsSchema, ListDataRecordsSchema, ListDataTypesSchema, ListEventTypesSchema, ListInboxEmailsSchema, ListInboxesSchema, ListMemberRolesSchema, ListMenuItemsSchema, ListPhoneCallsSchema, ListPhoneNumbersSchema, ListPhoneSmsMessagesSchema, ListSchedulesSchema, ListSitePagesSchema, ListSitesSchema, ListWorkflowsSchema, ListWorkspaceMembersSchema, ListWorkspacesSchema, LoginRequestSchema, LoginResponseSchema, MarkEmailReadSchema, MarkEmailUnreadSchema, MemberFilterFormDataSchema, MemberFilterSchema, MemberFormDataSchema, MemberLabelFormDataSchema, MemberLabelSchema, MemberRoleFormDataSchema, MemberRoleSchema, MemberRoleTaskAccessSchema, MemberSchema, MenuItemFormDataSchema, MessageAudienceEnum, MessageContentPartSchema, MessageOriginEnum, MessageRoleEnum, MissingMembershipItemSchema, OrganizationSchema, PhoneNumberFormDataSchema, PublicDemoFormRequestSchema, PublicDemoMessageRequestSchema, RateLimitAllowlistEntrySchema, RateLimitOverrideSchema, RateMessageSchema, RemoveDataFieldSchema, RemoveWorkspaceMemberSchema, ReorderMenuItemsRequestSchema, ReorderMenuItemsSchema, RevokeICalTokenSchema, SMSLoginResponseSchema, SchemaFieldFormDataSchema, SchemaFieldSchema, SendAssistantMessageSchema, SendChatMessageSchema, SendSmsToMemberSchema, SiteFormDataSchema, SitePageFormDataSchema, StartPublicDemoRequestSchema, SupervisorChatParticipantSchema, TaskExportDataTypeRelationSchema, TextContentSchema, ToggleFieldIndexSchema, ToolCallFunctionSchema, ToolCallSchema, ToolResultSchema, TruncationReasonEnum, UnarchiveChatSchema, UpdateAttendeeResponseSchema, UpdateCalendarEventSchema, UpdateCalendarSchema, UpdateChatMuteSchema, UpdateChatSchema, UpdateCurrentMemberSchema, UpdateDataFieldSchema, UpdateDataRecordSchema, UpdateDataTypeSchema, UpdateEventTypeSchema, UpdateInboxSchema, UpdateMemberRoleSchema, UpdateMenuItemSchema, UpdateOrganizationRequestSchema, UpdatePhoneNumberSchema, UpdateScheduleSchema, UpdateSitePageSchema, UpdateSiteSchema, UpdateWorkflowSchema, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, UpsertDataRecordSchema, VerifyCodeRequestSchema, VerifyCodeResponseSchema, WorkflowAgentBehaviorSchema, WorkflowCreateFormDataSchema, WorkflowEscalationPolicySchema, WorkflowEscalationRoutingSchema, WorkflowFormDataSchema, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
3175
3726
  export type { Account, AccountFormData, AccountReportItem, AddDataFieldInput, AddWorkspaceMemberInput, AdminAccountFormData, AdminAccountMembership, AdminOrganization, AdminWorkspaceMemberFormData, ApiKey, ApiKeyCreated, ApiKeyFormData, ApiKeyScope, ApiKeyScopesResponse, ArchiveChatInput, ArchivePhoneNumberInput, AssistantChatParticipant, CancelCalendarEventInput, Channel, Chat, ChatCompletionMessage, ChatFilterFilterType, ChatFilterObjectType, ChatFilterRule, ChatFilterRuleFormData, ChatFormData, ChatMessage, ChatMessageAPIResponse, ChatMessageChunk, ChatMessageObject, ChatMessageUI, ChatMuteReasonValue, ChatParticipantFormData, CheckAvailabilityInput, CloneWorkflowInput, ContributorChatParticipant, CreateAccountInput, CreateCalendarEventInput, CreateCalendarInput, CreateChatCompletionInput, CreateChatForWorkflowInput, CreateChatInput, CreateDataRecordInput, CreateDataTypeInput, CreateEventTypeInput, CreateInboxInput, CreateMemberRoleInput, CreateMenuItemInput, CreateOrganizationRequest, CreatePhoneNumberInput, CreateScheduleInput, CreateSiteInput, CreateSitePageInput, CreateWorkflowInput, CreateWorkspaceInput, CreateWorkspaceMemberRequest, DataField, DataFieldFormData, DataIntegrityReportItem, DataRecord, DataRecordAssociationFormData, DataRecordFilters, DataRecordFormData, DataRecordReportItem, DataRecordRetirement, DataRecordWithAccessMode, DataRecordsPaginatedResponse, DataType, DataTypeExportItem, DataTypeFormData, DeleteCalendarEventInput, DeleteCalendarInput, DeleteChatInput, DeleteDataRecordInput, DeleteDataTypeInput, DeleteEventTypeInput, DeleteInboxInput, DeleteMemberRoleInput, DeleteMenuItemInput, DeleteScheduleInput, DeleteSiteInput, DeleteSitePageInput, DeleteWorkflowInput, DeleteWorkspaceInput, DuplicateAccountInfo, ErrorResponse, FunctionTool, GenerateICalTokenInput, GetAvailableSlotsInput, GetAvailableWorkspaceFeaturesInput, GetCalendarEventInput, GetCalendarInput, GetChatInput, GetChatMessagesInput, GetChatsNeedsResponseInput, GetCurrentMemberInput, GetDataRecordInput, GetDataTypeBySlugInput, GetDataTypeInput, GetEventTypeInput, GetFieldIndexStatusInput, GetICalUrlInput, GetInboxEmailInput, GetInboxInput, GetMemberRoleInput, GetPhoneNumberInput, GetProductInput, GetProductsInput, GetRecentInboxMessagesInput, GetRecentSmsMessagesInput, GetResellerWorkspacesInput, GetSiteCountsInput, GetSiteInput, GetSiteMenuInput, GetSitePageBySlugInput, GetSitePageInput, GetWorkflowInput, GetWorkspaceDefaultsInput, GetWorkspaceInput, GetWorkspaceMemberInput, HumanChatParticipant, ImageUrlContent, InboxEmailFilters, InboxFormData, InboxRule, InboxRulesConfig, InitiateOutboundCallInput, ListCalendarEventsInput, ListCalendarsInput, ListChatsInput, ListDataRecordsInput, ListDataTypesInput, ListEventTypesInput, ListInboxEmailsInput, ListInboxesInput, ListMemberRolesInput, ListMenuItemsInput, ListPhoneCallsInput, ListPhoneNumbersInput, ListPhoneSmsMessagesInput, ListSchedulesInput, ListSitePagesInput, ListSitesInput, ListWorkflowsInput, ListWorkspaceMembersInput, ListWorkspacesInput, LoginRequest, LoginResponse, MarkEmailReadInput, MarkEmailUnreadInput, Member, MemberFilter, MemberFilterFormData, MemberFormData, MemberLabel, MemberLabelFormData, MemberRole, MemberRoleFormData, MemberRoleTaskAccess, MenuItemFormData, MessageAudience, MessageContentPart, MessageOrigin, MessageRole, MissingMembershipItem, Organization, PhoneNumberFormData, RateLimitAllowlistEntry, RateLimitOverride, RateMessageInput, RemoveDataFieldInput, RemoveWorkspaceMemberInput, ReorderMenuItems, ReorderMenuItemsInput, RevokeICalTokenInput, SMSLoginResponse, SchemaField, SchemaFieldFormData, SendAssistantMessageInput, SendChatMessageInput, SendSmsToMemberInput, SiteFormData, SitePageFormData, SupervisorChatParticipant, TaskExportDataTypeRelation, TextContent, ToggleFieldIndexInput, ToolCall, ToolCallFunction, ToolResult, TruncationReason, UnarchiveChatInput, UpdateAttendeeResponseInput, UpdateCalendarEventInput, UpdateCalendarInput, UpdateChatInput, UpdateChatMuteInput, UpdateCurrentMemberInput, UpdateDataFieldInput, UpdateDataRecordInput, UpdateDataTypeInput, UpdateEventTypeInput, UpdateInboxInput, UpdateMemberRoleInput, UpdateMenuItemInput, UpdateOrganizationRequest, UpdatePhoneNumberInput, UpdateScheduleInput, UpdateSiteInput, UpdateSitePageInput, UpdateWorkflowInput, UpdateWorkspaceInput, UpdateWorkspaceMemberInput, UpdateWorkspaceMemberRequest, UpsertDataRecordInput, VerifyCodeRequest, VerifyCodeResponse, WorkflowCreateFormData, WorkflowFormData, WorkspaceFormData };