@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.
@@ -1,12 +1,10 @@
1
1
  import { z } from 'zod';
2
- import { bv as CalendarScheduleAvailabilityType, bu as CalendarScheduleRecurrence, bw as CalendarEventStatus, bz as AttendeeResponseStatus, bP as DataFieldType, bQ as IndexStatus } from './inquiries-BGoNkl8N.cjs';
3
- export { cw as CreateInquiryInput, aH as CreateInquirySchema, cH as CreateMilestoneInput, cB as CreateMilestoneSchema, cy as DeleteInquiryInput, ct as DeleteInquirySchema, cJ as DeleteMilestoneInput, cD as DeleteMilestoneSchema, cv as GetInquiryInput, cr as GetInquirySchema, cG as GetMilestoneInput, cA as GetMilestoneSchema, cu as ListInquiriesInput, cq as ListInquiriesSchema, cF as ListMilestonesInput, cz as ListMilestonesSchema, cE as MilestoneFormData, M as MilestoneFormDataSchema, a as MilestoneGoalFormDataSchema, cx as UpdateInquiryInput, aI as UpdateInquiryRequestSchema, cs as UpdateInquirySchema, cI as UpdateMilestoneInput, cC as UpdateMilestoneSchema } from './inquiries-BGoNkl8N.cjs';
2
+ import { a1 as CalendarScheduleAvailabilityType, a3 as CalendarScheduleRecurrence, W as CalendarEventStatus, D as AttendeeResponseStatus, au as DataFieldType, aK as DataTypeRecordScope, aE as DataSensitivity, aq as DataCategory, b0 as IndexStatus } from './inquiries-s_RbhMsE.cjs';
3
+ export { cT as CreateInquiryInput, cU as CreateInquirySchema, cV as CreateMilestoneInput, cW as CreateMilestoneSchema, cX as DeleteInquiryInput, cY as DeleteInquirySchema, cZ as DeleteMilestoneInput, c_ as DeleteMilestoneSchema, c$ as EnrichInquiryInput, d0 as EnrichInquirySchema, d1 as GetInquiryInput, d2 as GetInquirySchema, d3 as GetMilestoneInput, d4 as GetMilestoneSchema, d5 as ListInquiriesInput, d6 as ListInquiriesSchema, d7 as ListMilestonesInput, d8 as ListMilestonesSchema, d9 as MilestoneFormData, da as MilestoneFormDataSchema, db as MilestoneGoalFormDataSchema, dc as UpdateInquiryInput, dd as UpdateInquiryRequestSchema, de as UpdateInquirySchema, df as UpdateMilestoneInput, dg as UpdateMilestoneSchema } from './inquiries-s_RbhMsE.cjs';
4
4
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
5
5
 
6
6
  declare const AccountFormDataSchema: z.ZodObject<{
7
7
  name: z.ZodOptional<z.ZodString>;
8
- email: z.ZodOptional<z.ZodString>;
9
- phone: z.ZodOptional<z.ZodString>;
10
8
  tosAccepted: z.ZodOptional<z.ZodBoolean>;
11
9
  optedOut: z.ZodOptional<z.ZodBoolean>;
12
10
  locale: z.ZodOptional<z.ZodString>;
@@ -14,12 +12,12 @@ declare const AccountFormDataSchema: z.ZodObject<{
14
12
  }, z.core.$strip>;
15
13
  declare const AdminAccountFormDataSchema: z.ZodObject<{
16
14
  name: z.ZodOptional<z.ZodString>;
17
- email: z.ZodOptional<z.ZodString>;
18
- phone: z.ZodOptional<z.ZodString>;
19
15
  tosAccepted: z.ZodOptional<z.ZodBoolean>;
20
16
  optedOut: z.ZodOptional<z.ZodBoolean>;
21
17
  locale: z.ZodOptional<z.ZodString>;
22
18
  timezone: z.ZodOptional<z.ZodString>;
19
+ email: z.ZodOptional<z.ZodString>;
20
+ phone: z.ZodOptional<z.ZodString>;
23
21
  isSuperuser: z.ZodOptional<z.ZodBoolean>;
24
22
  enabled: z.ZodOptional<z.ZodBoolean>;
25
23
  orgOwner: z.ZodOptional<z.ZodBoolean>;
@@ -117,7 +115,13 @@ declare const OrganizationSchema: z.ZodObject<{
117
115
  id: z.ZodNumber;
118
116
  uuid: z.ZodString;
119
117
  name: z.ZodString;
118
+ slug: z.ZodString;
120
119
  primary: z.ZodBoolean;
120
+ authMode: z.ZodEnum<{
121
+ open: "open";
122
+ ssoForDomain: "ssoForDomain";
123
+ ssoOnly: "ssoOnly";
124
+ }>;
121
125
  contactEmail: z.ZodOptional<z.ZodString>;
122
126
  contactPhone: z.ZodOptional<z.ZodString>;
123
127
  createdAt: z.ZodString;
@@ -128,7 +132,13 @@ declare const AdminOrganizationSchema: z.ZodObject<{
128
132
  id: z.ZodNumber;
129
133
  uuid: z.ZodString;
130
134
  name: z.ZodString;
135
+ slug: z.ZodString;
131
136
  primary: z.ZodBoolean;
137
+ authMode: z.ZodEnum<{
138
+ open: "open";
139
+ ssoForDomain: "ssoForDomain";
140
+ ssoOnly: "ssoOnly";
141
+ }>;
132
142
  contactEmail: z.ZodOptional<z.ZodString>;
133
143
  contactPhone: z.ZodOptional<z.ZodString>;
134
144
  createdAt: z.ZodString;
@@ -147,11 +157,22 @@ declare const CreateOrganizationRequestSchema: z.ZodObject<{
147
157
  }, z.core.$strip>;
148
158
  declare const UpdateOrganizationRequestSchema: z.ZodObject<{
149
159
  name: z.ZodOptional<z.ZodString>;
160
+ slug: z.ZodOptional<z.ZodString>;
150
161
  primary: z.ZodOptional<z.ZodBoolean>;
151
162
  contactEmail: z.ZodOptional<z.ZodString>;
152
163
  contactPhone: z.ZodOptional<z.ZodString>;
164
+ authMode: z.ZodOptional<z.ZodEnum<{
165
+ open: "open";
166
+ ssoForDomain: "ssoForDomain";
167
+ ssoOnly: "ssoOnly";
168
+ }>>;
169
+ ssoProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
+ ssoDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
+ ssoAutoProvision: z.ZodOptional<z.ZodBoolean>;
172
+ ssoOidc: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
153
173
  logo: z.ZodOptional<z.ZodString>;
154
174
  logoMimeType: z.ZodOptional<z.ZodString>;
175
+ twilioSubAccountSid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
176
  }, z.core.$strip>;
156
177
  declare const AdminAccountMembershipSchema: z.ZodObject<{
157
178
  workspaceUuid: z.ZodString;
@@ -221,159 +242,6 @@ type DuplicateAccountInfo = z.infer<typeof DuplicateAccountInfoSchema>;
221
242
  type MissingMembershipItem = z.infer<typeof MissingMembershipItemSchema>;
222
243
  type CreateAccountInput = z.infer<typeof CreateAccountSchema>;
223
244
 
224
- declare const AssistantSchema: z.ZodObject<{
225
- id: z.ZodNumber;
226
- name: z.ZodString;
227
- uuid: z.ZodString;
228
- externalId: z.ZodOptional<z.ZodString>;
229
- identity: z.ZodOptional<z.ZodString>;
230
- description: z.ZodOptional<z.ZodString>;
231
- chatModel: z.ZodOptional<z.ZodString>;
232
- realtimeModel: z.ZodOptional<z.ZodString>;
233
- ttsModel: z.ZodOptional<z.ZodString>;
234
- voice: z.ZodOptional<z.ZodString>;
235
- createdAt: z.ZodString;
236
- updatedAt: z.ZodString;
237
- ownerId: z.ZodNumber;
238
- smsOffHoursMode: z.ZodOptional<z.ZodEnum<{
239
- message: "message";
240
- no_reply: "no_reply";
241
- forward: "forward";
242
- }>>;
243
- smsOffHoursMessage: z.ZodOptional<z.ZodString>;
244
- smsForwardNumber: z.ZodOptional<z.ZodString>;
245
- voiceOffHoursMode: z.ZodOptional<z.ZodEnum<{
246
- message: "message";
247
- no_reply: "no_reply";
248
- forward: "forward";
249
- }>>;
250
- voiceOffHoursMessage: z.ZodOptional<z.ZodString>;
251
- voiceForwardNumber: z.ZodOptional<z.ZodString>;
252
- }, z.core.$strip>;
253
- declare const AssistantFormDataSchema: z.ZodObject<{
254
- name: z.ZodString;
255
- identity: z.ZodOptional<z.ZodString>;
256
- description: z.ZodOptional<z.ZodString>;
257
- externalId: z.ZodOptional<z.ZodString>;
258
- labelIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
259
- chatModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
- realtimeModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
- ttsModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
- voice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
- ownerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
264
- smsOffHoursMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
265
- message: "message";
266
- no_reply: "no_reply";
267
- forward: "forward";
268
- }>>>;
269
- smsOffHoursMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
270
- smsForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
- voiceOffHoursMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
272
- message: "message";
273
- no_reply: "no_reply";
274
- forward: "forward";
275
- }>>>;
276
- voiceOffHoursMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
- voiceForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
- }, z.core.$strip>;
279
- declare const AssistantExportItemSchema: z.ZodObject<{
280
- uuid: z.ZodString;
281
- name: z.ZodString;
282
- description: z.ZodNullable<z.ZodString>;
283
- }, z.core.$strip>;
284
- declare const AIChatParticipantSchema: z.ZodObject<{
285
- name: z.ZodString;
286
- assistantId: z.ZodNumber;
287
- role: z.ZodLiteral<"assistant">;
288
- additionalInstructions: z.ZodOptional<z.ZodString>;
289
- chatModel: z.ZodOptional<z.ZodString>;
290
- realtimeModel: z.ZodOptional<z.ZodString>;
291
- }, z.core.$strip>;
292
- declare const ListAssistantsSchema: z.ZodObject<{
293
- wid: z.ZodString;
294
- page: z.ZodOptional<z.ZodNumber>;
295
- pageSize: z.ZodOptional<z.ZodNumber>;
296
- sortBy: z.ZodOptional<z.ZodString>;
297
- sortOrder: z.ZodOptional<z.ZodEnum<{
298
- asc: "asc";
299
- desc: "desc";
300
- }>>;
301
- mine: z.ZodOptional<z.ZodBoolean>;
302
- search: z.ZodOptional<z.ZodString>;
303
- }, z.core.$strip>;
304
- declare const GetAssistantSchema: z.ZodObject<{
305
- wid: z.ZodString;
306
- assistantId: z.ZodNumber;
307
- }, z.core.$strip>;
308
- declare const CreateAssistantSchema: z.ZodObject<{
309
- wid: z.ZodString;
310
- name: z.ZodString;
311
- identity: z.ZodOptional<z.ZodString>;
312
- description: z.ZodOptional<z.ZodString>;
313
- externalId: z.ZodOptional<z.ZodString>;
314
- labelIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
315
- chatModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
- realtimeModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
- ttsModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
- voice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
- ownerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
320
- smsOffHoursMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
321
- message: "message";
322
- no_reply: "no_reply";
323
- forward: "forward";
324
- }>>>;
325
- smsOffHoursMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
- smsForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
- voiceOffHoursMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
328
- message: "message";
329
- no_reply: "no_reply";
330
- forward: "forward";
331
- }>>>;
332
- voiceOffHoursMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
- voiceForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
334
- }, z.core.$strip>;
335
- declare const UpdateAssistantSchema: z.ZodObject<{
336
- wid: z.ZodString;
337
- assistantId: z.ZodNumber;
338
- name: z.ZodOptional<z.ZodString>;
339
- identity: z.ZodOptional<z.ZodOptional<z.ZodString>>;
340
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
341
- externalId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
342
- labelIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
343
- chatModel: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
344
- realtimeModel: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
345
- ttsModel: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
346
- voice: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
347
- ownerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
348
- smsOffHoursMode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
349
- message: "message";
350
- no_reply: "no_reply";
351
- forward: "forward";
352
- }>>>>;
353
- smsOffHoursMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
354
- smsForwardNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
355
- voiceOffHoursMode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
356
- message: "message";
357
- no_reply: "no_reply";
358
- forward: "forward";
359
- }>>>>;
360
- voiceOffHoursMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
361
- voiceForwardNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
362
- }, z.core.$strip>;
363
- declare const DeleteAssistantSchema: z.ZodObject<{
364
- wid: z.ZodString;
365
- assistantId: z.ZodNumber;
366
- }, z.core.$strip>;
367
- type Assistant = z.infer<typeof AssistantSchema>;
368
- type AssistantFormData = z.infer<typeof AssistantFormDataSchema>;
369
- type AssistantExportItem = z.infer<typeof AssistantExportItemSchema>;
370
- type AIChatParticipant = z.infer<typeof AIChatParticipantSchema>;
371
- type ListAssistantsInput = z.infer<typeof ListAssistantsSchema>;
372
- type GetAssistantInput = z.infer<typeof GetAssistantSchema>;
373
- type CreateAssistantInput = z.infer<typeof CreateAssistantSchema>;
374
- type UpdateAssistantInput = z.infer<typeof UpdateAssistantSchema>;
375
- type DeleteAssistantInput = z.infer<typeof DeleteAssistantSchema>;
376
-
377
245
  declare const ListCalendarsSchema: z.ZodObject<{
378
246
  wid: z.ZodString;
379
247
  page: z.ZodOptional<z.ZodNumber>;
@@ -611,13 +479,14 @@ declare const ChannelEnum: z.ZodEnum<{
611
479
  "phone-sms": "phone-sms";
612
480
  realtime: "realtime";
613
481
  chat: "chat";
482
+ background: "background";
614
483
  "site-chat": "site-chat";
615
484
  "direct-message": "direct-message";
616
485
  }>;
617
486
  declare const MessageRoleEnum: z.ZodEnum<{
618
487
  function: "function";
619
- assistant: "assistant";
620
488
  user: "user";
489
+ assistant: "assistant";
621
490
  system: "system";
622
491
  tool: "tool";
623
492
  operator: "operator";
@@ -631,6 +500,7 @@ declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
631
500
  needsResponse: "needsResponse";
632
501
  paused: "paused";
633
502
  messageCount: "messageCount";
503
+ toolCall: "toolCall";
634
504
  }>;
635
505
  declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
636
506
  any: "any";
@@ -651,7 +521,6 @@ declare const TruncationReasonEnum: z.ZodEnum<{
651
521
  }>;
652
522
  declare const ChatParticipantFormDataSchema: z.ZodObject<{
653
523
  memberId: z.ZodOptional<z.ZodNumber>;
654
- assistantId: z.ZodOptional<z.ZodNumber>;
655
524
  role: z.ZodOptional<z.ZodString>;
656
525
  additionalInstructions: z.ZodOptional<z.ZodString>;
657
526
  }, z.core.$strip>;
@@ -675,15 +544,15 @@ declare const ChatFormDataSchema: z.ZodObject<{
675
544
  memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
676
545
  participants: z.ZodArray<z.ZodObject<{
677
546
  memberId: z.ZodOptional<z.ZodNumber>;
678
- assistantId: z.ZodOptional<z.ZodNumber>;
679
547
  role: z.ZodOptional<z.ZodString>;
680
548
  additionalInstructions: z.ZodOptional<z.ZodString>;
681
549
  }, z.core.$strip>>;
682
- assistantEnabled: z.ZodOptional<z.ZodBoolean>;
683
- assistantMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
550
+ agentEnabled: z.ZodOptional<z.ZodBoolean>;
551
+ agentMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
684
552
  paused: z.ZodOptional<z.ZodBoolean>;
685
553
  muted: z.ZodOptional<z.ZodBoolean>;
686
554
  needsResponse: z.ZodOptional<z.ZodBoolean>;
555
+ workflowVersionNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
687
556
  }, z.core.$strip>;
688
557
  declare const ChatFiltersSchema: z.ZodObject<{
689
558
  page: z.ZodOptional<z.ZodNumber>;
@@ -729,15 +598,15 @@ declare const CreateChatSchema: z.ZodObject<{
729
598
  memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
730
599
  participants: z.ZodArray<z.ZodObject<{
731
600
  memberId: z.ZodOptional<z.ZodNumber>;
732
- assistantId: z.ZodOptional<z.ZodNumber>;
733
601
  role: z.ZodOptional<z.ZodString>;
734
602
  additionalInstructions: z.ZodOptional<z.ZodString>;
735
603
  }, z.core.$strip>>;
736
- assistantEnabled: z.ZodOptional<z.ZodBoolean>;
737
- assistantMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
604
+ agentEnabled: z.ZodOptional<z.ZodBoolean>;
605
+ agentMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
738
606
  paused: z.ZodOptional<z.ZodBoolean>;
739
607
  muted: z.ZodOptional<z.ZodBoolean>;
740
608
  needsResponse: z.ZodOptional<z.ZodBoolean>;
609
+ workflowVersionNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
741
610
  }, z.core.$strip>;
742
611
  declare const UpdateChatSchema: z.ZodObject<{
743
612
  wid: z.ZodString;
@@ -751,15 +620,15 @@ declare const UpdateChatSchema: z.ZodObject<{
751
620
  memberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
752
621
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
753
622
  memberId: z.ZodOptional<z.ZodNumber>;
754
- assistantId: z.ZodOptional<z.ZodNumber>;
755
623
  role: z.ZodOptional<z.ZodString>;
756
624
  additionalInstructions: z.ZodOptional<z.ZodString>;
757
625
  }, z.core.$strip>>>;
758
- assistantEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
759
- assistantMemberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
626
+ agentEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
627
+ agentMemberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
760
628
  paused: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
761
629
  muted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
762
630
  needsResponse: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
631
+ workflowVersionNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
763
632
  }, z.core.$strip>;
764
633
  declare const DeleteChatSchema: z.ZodObject<{
765
634
  wid: z.ZodString;
@@ -817,7 +686,7 @@ declare const CreateChatForWorkflowSchema: z.ZodObject<{
817
686
  wid: z.ZodString;
818
687
  workflowId: z.ZodNumber;
819
688
  memberId: z.ZodNumber;
820
- assistantId: z.ZodOptional<z.ZodNumber>;
689
+ agentId: z.ZodOptional<z.ZodNumber>;
821
690
  chatTitle: z.ZodOptional<z.ZodString>;
822
691
  }, z.core.$strip>;
823
692
  declare const CreateChatCompletionSchema: z.ZodObject<{
@@ -848,6 +717,7 @@ declare const ChatSchema: z.ZodObject<{
848
717
  "phone-sms": "phone-sms";
849
718
  realtime: "realtime";
850
719
  chat: "chat";
720
+ background: "background";
851
721
  "site-chat": "site-chat";
852
722
  "direct-message": "direct-message";
853
723
  }>;
@@ -869,7 +739,8 @@ declare const ChatSchema: z.ZodObject<{
869
739
  role: z.ZodLiteral<"operator">;
870
740
  }, z.core.$strip>, z.ZodObject<{
871
741
  name: z.ZodString;
872
- assistantId: z.ZodNumber;
742
+ memberId: z.ZodNumber;
743
+ memberType: z.ZodOptional<z.ZodString>;
873
744
  role: z.ZodLiteral<"assistant">;
874
745
  additionalInstructions: z.ZodOptional<z.ZodString>;
875
746
  }, z.core.$strip>]>>;
@@ -885,6 +756,7 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
885
756
  needsResponse: "needsResponse";
886
757
  paused: "paused";
887
758
  messageCount: "messageCount";
759
+ toolCall: "toolCall";
888
760
  }>;
889
761
  filterType: z.ZodEnum<{
890
762
  any: "any";
@@ -910,6 +782,7 @@ declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
910
782
  needsResponse: "needsResponse";
911
783
  paused: "paused";
912
784
  messageCount: "messageCount";
785
+ toolCall: "toolCall";
913
786
  }>;
914
787
  filterType: z.ZodEnum<{
915
788
  any: "any";
@@ -963,8 +836,8 @@ declare const MessageContentPartSchema: z.ZodUnion<readonly [z.ZodObject<{
963
836
  declare const ChatMessageObjectSchema: z.ZodObject<{
964
837
  role: z.ZodEnum<{
965
838
  function: "function";
966
- assistant: "assistant";
967
839
  user: "user";
840
+ assistant: "assistant";
968
841
  system: "system";
969
842
  tool: "tool";
970
843
  operator: "operator";
@@ -994,8 +867,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
994
867
  chatId: z.ZodNumber;
995
868
  participantRole: z.ZodEnum<{
996
869
  function: "function";
997
- assistant: "assistant";
998
870
  user: "user";
871
+ assistant: "assistant";
999
872
  system: "system";
1000
873
  tool: "tool";
1001
874
  operator: "operator";
@@ -1004,8 +877,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1004
877
  participantId: z.ZodNullable<z.ZodNumber>;
1005
878
  role: z.ZodEnum<{
1006
879
  function: "function";
1007
- assistant: "assistant";
1008
880
  user: "user";
881
+ assistant: "assistant";
1009
882
  system: "system";
1010
883
  tool: "tool";
1011
884
  operator: "operator";
@@ -1053,8 +926,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1053
926
  }, z.core.$strip>;
1054
927
  declare const ChatCompletionMessageSchema: z.ZodObject<{
1055
928
  role: z.ZodEnum<{
1056
- assistant: "assistant";
1057
929
  user: "user";
930
+ assistant: "assistant";
1058
931
  system: "system";
1059
932
  }>;
1060
933
  content: z.ZodString;
@@ -1065,8 +938,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
1065
938
  chatId: z.ZodNumber;
1066
939
  participantRole: z.ZodEnum<{
1067
940
  function: "function";
1068
- assistant: "assistant";
1069
941
  user: "user";
942
+ assistant: "assistant";
1070
943
  system: "system";
1071
944
  tool: "tool";
1072
945
  operator: "operator";
@@ -1075,8 +948,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
1075
948
  participantId: z.ZodNullable<z.ZodNumber>;
1076
949
  role: z.ZodEnum<{
1077
950
  function: "function";
1078
- assistant: "assistant";
1079
951
  user: "user";
952
+ assistant: "assistant";
1080
953
  system: "system";
1081
954
  tool: "tool";
1082
955
  operator: "operator";
@@ -1134,8 +1007,8 @@ declare const ChatMessageSchema: z.ZodObject<{
1134
1007
  chatId: z.ZodNumber;
1135
1008
  participantRole: z.ZodEnum<{
1136
1009
  function: "function";
1137
- assistant: "assistant";
1138
1010
  user: "user";
1011
+ assistant: "assistant";
1139
1012
  system: "system";
1140
1013
  tool: "tool";
1141
1014
  operator: "operator";
@@ -1144,8 +1017,8 @@ declare const ChatMessageSchema: z.ZodObject<{
1144
1017
  participantId: z.ZodNullable<z.ZodNumber>;
1145
1018
  role: z.ZodEnum<{
1146
1019
  function: "function";
1147
- assistant: "assistant";
1148
1020
  user: "user";
1021
+ assistant: "assistant";
1149
1022
  system: "system";
1150
1023
  tool: "tool";
1151
1024
  operator: "operator";
@@ -1200,8 +1073,8 @@ declare const ChatMessageSchema: z.ZodObject<{
1200
1073
  declare const ChatMessageChunkSchema: z.ZodObject<{
1201
1074
  type: z.ZodEnum<{
1202
1075
  error: "error";
1203
- content: "content";
1204
1076
  toolCall: "toolCall";
1077
+ content: "content";
1205
1078
  }>;
1206
1079
  content: z.ZodOptional<z.ZodString>;
1207
1080
  toolCallId: z.ZodOptional<z.ZodString>;
@@ -1252,6 +1125,15 @@ type RateMessageInput = z.infer<typeof RateMessageSchema>;
1252
1125
  type CreateChatForWorkflowInput = z.infer<typeof CreateChatForWorkflowSchema>;
1253
1126
  type CreateChatCompletionInput = z.infer<typeof CreateChatCompletionSchema>;
1254
1127
 
1128
+ declare const DataTypeMemberRoleAccessInputSchema: z.ZodObject<{
1129
+ memberRoleId: z.ZodNumber;
1130
+ accessMode: z.ZodNumber;
1131
+ }, z.core.$strict>;
1132
+ declare const DataTypeMemberRoleAccessResponseSchema: z.ZodObject<{
1133
+ memberRoleId: z.ZodNumber;
1134
+ accessMode: z.ZodNumber;
1135
+ memberRoleName: z.ZodString;
1136
+ }, z.core.$strict>;
1255
1137
  declare const DataFieldSchema: z.ZodObject<{
1256
1138
  id: z.ZodOptional<z.ZodNumber>;
1257
1139
  name: z.ZodString;
@@ -1262,6 +1144,7 @@ declare const DataFieldSchema: z.ZodObject<{
1262
1144
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1263
1145
  label: z.ZodString;
1264
1146
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1147
+ visibleWhen: z.ZodOptional<z.ZodString>;
1265
1148
  }, z.core.$strip>>>;
1266
1149
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1267
1150
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
@@ -1279,6 +1162,7 @@ declare const DataFieldFormDataSchema: z.ZodObject<{
1279
1162
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1280
1163
  label: z.ZodString;
1281
1164
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1165
+ visibleWhen: z.ZodOptional<z.ZodString>;
1282
1166
  }, z.core.$strip>>>;
1283
1167
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1284
1168
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
@@ -1295,11 +1179,16 @@ declare const SchemaFieldSchema: z.ZodObject<{
1295
1179
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1296
1180
  label: z.ZodString;
1297
1181
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1182
+ visibleWhen: z.ZodOptional<z.ZodString>;
1298
1183
  }, z.core.$strip>>>;
1299
1184
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1300
1185
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
1301
1186
  adminOnly: z.ZodOptional<z.ZodBoolean>;
1302
1187
  defaultValue: z.ZodOptional<z.ZodAny>;
1188
+ sensitivity: z.ZodOptional<z.ZodEnum<typeof DataSensitivity>>;
1189
+ categories: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof DataCategory>>>;
1190
+ celFunction: z.ZodOptional<z.ZodString>;
1191
+ validateCel: z.ZodOptional<z.ZodString>;
1303
1192
  }, z.core.$strip>;
1304
1193
  declare const SchemaFieldFormDataSchema: z.ZodObject<{
1305
1194
  slug: z.ZodString;
@@ -1311,11 +1200,16 @@ declare const SchemaFieldFormDataSchema: z.ZodObject<{
1311
1200
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1312
1201
  label: z.ZodString;
1313
1202
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1203
+ visibleWhen: z.ZodOptional<z.ZodString>;
1314
1204
  }, z.core.$strip>>>;
1315
1205
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1316
1206
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
1317
1207
  adminOnly: z.ZodOptional<z.ZodBoolean>;
1318
1208
  defaultValue: z.ZodOptional<z.ZodAny>;
1209
+ sensitivity: z.ZodOptional<z.ZodEnum<typeof DataSensitivity>>;
1210
+ categories: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof DataCategory>>>;
1211
+ celFunction: z.ZodOptional<z.ZodString>;
1212
+ validateCel: z.ZodOptional<z.ZodString>;
1319
1213
  }, z.core.$strip>;
1320
1214
  declare const DataTypeSchema: z.ZodObject<{
1321
1215
  id: z.ZodNumber;
@@ -1326,7 +1220,16 @@ declare const DataTypeSchema: z.ZodObject<{
1326
1220
  prompt: z.ZodOptional<z.ZodString>;
1327
1221
  isCollection: z.ZodBoolean;
1328
1222
  pinned: z.ZodOptional<z.ZodBoolean>;
1223
+ archived: z.ZodOptional<z.ZodBoolean>;
1329
1224
  ownerId: z.ZodNullable<z.ZodNumber>;
1225
+ recordScope: z.ZodEnum<typeof DataTypeRecordScope>;
1226
+ sensitivity: z.ZodEnum<typeof DataSensitivity>;
1227
+ categories: z.ZodArray<z.ZodEnum<typeof DataCategory>>;
1228
+ memberRoleAccess: z.ZodOptional<z.ZodArray<z.ZodObject<{
1229
+ memberRoleId: z.ZodNumber;
1230
+ accessMode: z.ZodNumber;
1231
+ memberRoleName: z.ZodString;
1232
+ }, z.core.$strict>>>;
1330
1233
  createdAt: z.ZodString;
1331
1234
  updatedAt: z.ZodString;
1332
1235
  fields: z.ZodArray<z.ZodObject<{
@@ -1339,11 +1242,16 @@ declare const DataTypeSchema: z.ZodObject<{
1339
1242
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1340
1243
  label: z.ZodString;
1341
1244
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1245
+ visibleWhen: z.ZodOptional<z.ZodString>;
1342
1246
  }, z.core.$strip>>>;
1343
1247
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1344
1248
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
1345
1249
  adminOnly: z.ZodOptional<z.ZodBoolean>;
1346
1250
  defaultValue: z.ZodOptional<z.ZodAny>;
1251
+ sensitivity: z.ZodOptional<z.ZodEnum<typeof DataSensitivity>>;
1252
+ categories: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof DataCategory>>>;
1253
+ celFunction: z.ZodOptional<z.ZodString>;
1254
+ validateCel: z.ZodOptional<z.ZodString>;
1347
1255
  }, z.core.$strip>>;
1348
1256
  }, z.core.$strip>;
1349
1257
  declare const DataTypeFormDataSchema: z.ZodObject<{
@@ -1353,6 +1261,7 @@ declare const DataTypeFormDataSchema: z.ZodObject<{
1353
1261
  prompt: z.ZodOptional<z.ZodString>;
1354
1262
  isCollection: z.ZodBoolean;
1355
1263
  pinned: z.ZodOptional<z.ZodBoolean>;
1264
+ recordScope: z.ZodOptional<z.ZodEnum<typeof DataTypeRecordScope>>;
1356
1265
  fields: z.ZodArray<z.ZodObject<{
1357
1266
  slug: z.ZodString;
1358
1267
  name: z.ZodString;
@@ -1363,14 +1272,23 @@ declare const DataTypeFormDataSchema: z.ZodObject<{
1363
1272
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1364
1273
  label: z.ZodString;
1365
1274
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1275
+ visibleWhen: z.ZodOptional<z.ZodString>;
1366
1276
  }, z.core.$strip>>>;
1367
1277
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1368
1278
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
1369
1279
  adminOnly: z.ZodOptional<z.ZodBoolean>;
1370
1280
  defaultValue: z.ZodOptional<z.ZodAny>;
1281
+ sensitivity: z.ZodOptional<z.ZodEnum<typeof DataSensitivity>>;
1282
+ categories: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof DataCategory>>>;
1283
+ celFunction: z.ZodOptional<z.ZodString>;
1284
+ validateCel: z.ZodOptional<z.ZodString>;
1371
1285
  }, z.core.$strip>>;
1286
+ memberRoleAccess: z.ZodOptional<z.ZodArray<z.ZodObject<{
1287
+ memberRoleId: z.ZodNumber;
1288
+ accessMode: z.ZodNumber;
1289
+ }, z.core.$strict>>>;
1372
1290
  ownerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1373
- }, z.core.$strip>;
1291
+ }, z.core.$strict>;
1374
1292
  declare const DataRecordFiltersSchema: z.ZodObject<{
1375
1293
  page: z.ZodOptional<z.ZodNumber>;
1376
1294
  pageSize: z.ZodOptional<z.ZodNumber>;
@@ -1397,6 +1315,11 @@ declare const CreateDataTypeSchema: z.ZodObject<{
1397
1315
  prompt: z.ZodOptional<z.ZodString>;
1398
1316
  isCollection: z.ZodBoolean;
1399
1317
  pinned: z.ZodOptional<z.ZodBoolean>;
1318
+ recordScope: z.ZodOptional<z.ZodEnum<typeof DataTypeRecordScope>>;
1319
+ memberRoleAccess: z.ZodOptional<z.ZodArray<z.ZodObject<{
1320
+ memberRoleId: z.ZodNumber;
1321
+ accessMode: z.ZodNumber;
1322
+ }, z.core.$strict>>>;
1400
1323
  ownerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1401
1324
  fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
1402
1325
  slug: z.ZodString;
@@ -1408,13 +1331,18 @@ declare const CreateDataTypeSchema: z.ZodObject<{
1408
1331
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1409
1332
  label: z.ZodString;
1410
1333
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1334
+ visibleWhen: z.ZodOptional<z.ZodString>;
1411
1335
  }, z.core.$strip>>>;
1412
1336
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1413
1337
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
1414
1338
  adminOnly: z.ZodOptional<z.ZodBoolean>;
1415
1339
  defaultValue: z.ZodOptional<z.ZodAny>;
1340
+ sensitivity: z.ZodOptional<z.ZodEnum<typeof DataSensitivity>>;
1341
+ categories: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof DataCategory>>>;
1342
+ celFunction: z.ZodOptional<z.ZodString>;
1343
+ validateCel: z.ZodOptional<z.ZodString>;
1416
1344
  }, z.core.$strip>>>;
1417
- }, z.core.$strip>;
1345
+ }, z.core.$strict>;
1418
1346
  declare const UpdateDataTypeSchema: z.ZodObject<{
1419
1347
  wid: z.ZodString;
1420
1348
  dataTypeId: z.ZodNumber;
@@ -1424,6 +1352,7 @@ declare const UpdateDataTypeSchema: z.ZodObject<{
1424
1352
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1425
1353
  isCollection: z.ZodOptional<z.ZodBoolean>;
1426
1354
  pinned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1355
+ recordScope: z.ZodOptional<z.ZodOptional<z.ZodEnum<typeof DataTypeRecordScope>>>;
1427
1356
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1428
1357
  slug: z.ZodString;
1429
1358
  name: z.ZodString;
@@ -1434,14 +1363,23 @@ declare const UpdateDataTypeSchema: z.ZodObject<{
1434
1363
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1435
1364
  label: z.ZodString;
1436
1365
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1366
+ visibleWhen: z.ZodOptional<z.ZodString>;
1437
1367
  }, z.core.$strip>>>;
1438
1368
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1439
1369
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
1440
1370
  adminOnly: z.ZodOptional<z.ZodBoolean>;
1441
1371
  defaultValue: z.ZodOptional<z.ZodAny>;
1372
+ sensitivity: z.ZodOptional<z.ZodEnum<typeof DataSensitivity>>;
1373
+ categories: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof DataCategory>>>;
1374
+ celFunction: z.ZodOptional<z.ZodString>;
1375
+ validateCel: z.ZodOptional<z.ZodString>;
1442
1376
  }, z.core.$strip>>>;
1377
+ memberRoleAccess: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1378
+ memberRoleId: z.ZodNumber;
1379
+ accessMode: z.ZodNumber;
1380
+ }, z.core.$strict>>>>;
1443
1381
  ownerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1444
- }, z.core.$strip>;
1382
+ }, z.core.$strict>;
1445
1383
  declare const DeleteDataTypeSchema: z.ZodObject<{
1446
1384
  wid: z.ZodString;
1447
1385
  dataTypeId: z.ZodNumber;
@@ -1463,6 +1401,7 @@ declare const CreateDataRecordSchema: z.ZodObject<{
1463
1401
  wid: z.ZodString;
1464
1402
  dataTypeId: z.ZodNumber;
1465
1403
  memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1404
+ memberExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1466
1405
  fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
1467
1406
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1468
1407
  assignmentTaskId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1487,6 +1426,8 @@ declare const UpsertDataRecordSchema: z.ZodObject<{
1487
1426
  dataTypeId: z.ZodNumber;
1488
1427
  externalId: z.ZodString;
1489
1428
  fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
1429
+ memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1430
+ memberExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1490
1431
  }, z.core.$strip>;
1491
1432
  declare const ToggleFieldIndexSchema: z.ZodObject<{
1492
1433
  wid: z.ZodString;
@@ -1510,6 +1451,7 @@ declare const AddDataFieldSchema: z.ZodObject<{
1510
1451
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1511
1452
  label: z.ZodString;
1512
1453
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1454
+ visibleWhen: z.ZodOptional<z.ZodString>;
1513
1455
  }, z.core.$strip>>>;
1514
1456
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1515
1457
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
@@ -1532,6 +1474,7 @@ declare const UpdateDataFieldSchema: z.ZodObject<{
1532
1474
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1533
1475
  label: z.ZodString;
1534
1476
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1477
+ visibleWhen: z.ZodOptional<z.ZodString>;
1535
1478
  }, z.core.$strip>>>;
1536
1479
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1537
1480
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
@@ -1548,13 +1491,14 @@ declare const DataRecordSchema: z.ZodObject<{
1548
1491
  updatedAt: z.ZodString;
1549
1492
  }, z.core.$strip>;
1550
1493
  declare const DataRecordFormDataSchema: z.ZodObject<{
1551
- memberId: z.ZodOptional<z.ZodNumber>;
1494
+ memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1495
+ memberExternalId: z.ZodOptional<z.ZodString>;
1552
1496
  fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
1553
1497
  externalId: z.ZodOptional<z.ZodString>;
1554
1498
  assignmentTaskId: z.ZodOptional<z.ZodNumber>;
1555
1499
  }, z.core.$strip>;
1556
1500
  declare const DataRecordsPaginatedResponseSchema: z.ZodObject<{
1557
- records: z.ZodArray<z.ZodObject<{
1501
+ items: z.ZodArray<z.ZodObject<{
1558
1502
  id: z.ZodNumber;
1559
1503
  dataTypeId: z.ZodNumber;
1560
1504
  memberId: z.ZodNullable<z.ZodNumber>;
@@ -1564,14 +1508,10 @@ declare const DataRecordsPaginatedResponseSchema: z.ZodObject<{
1564
1508
  createdAt: z.ZodString;
1565
1509
  updatedAt: z.ZodString;
1566
1510
  }, z.core.$strip>>;
1567
- pagination: z.ZodObject<{
1568
- page: z.ZodNumber;
1569
- page_size: z.ZodNumber;
1570
- total_count: z.ZodNumber;
1571
- total_pages: z.ZodNumber;
1572
- has_next: z.ZodBoolean;
1573
- has_prev: z.ZodBoolean;
1574
- }, z.core.$strip>;
1511
+ total: z.ZodNumber;
1512
+ page: z.ZodNumber;
1513
+ pageSize: z.ZodNumber;
1514
+ totalPages: z.ZodNumber;
1575
1515
  }, z.core.$strip>;
1576
1516
  declare const DataRecordWithAccessModeSchema: z.ZodObject<{
1577
1517
  id: z.ZodNumber;
@@ -1608,27 +1548,33 @@ declare const DataIntegrityReportItemSchema: z.ZodObject<{
1608
1548
  }, z.core.$strip>;
1609
1549
  declare const DataTypeExportItemSchema: z.ZodObject<{
1610
1550
  uuid: z.ZodString;
1551
+ templateUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1611
1552
  name: z.ZodString;
1612
1553
  slug: z.ZodString;
1613
- description: z.ZodNullable<z.ZodString>;
1554
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1555
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1614
1556
  isCollection: z.ZodBoolean;
1557
+ recordScope: z.ZodEnum<typeof DataTypeRecordScope>;
1615
1558
  fields: z.ZodArray<z.ZodObject<{
1616
- id: z.ZodOptional<z.ZodNumber>;
1617
- name: z.ZodString;
1618
1559
  slug: z.ZodString;
1560
+ name: z.ZodString;
1619
1561
  description: z.ZodOptional<z.ZodString>;
1620
- required: z.ZodBoolean;
1621
1562
  fieldType: z.ZodEnum<typeof DataFieldType>;
1563
+ required: z.ZodBoolean;
1564
+ order: z.ZodOptional<z.ZodNumber>;
1622
1565
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1623
1566
  label: z.ZodString;
1624
1567
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1568
+ visibleWhen: z.ZodOptional<z.ZodString>;
1625
1569
  }, z.core.$strip>>>;
1626
1570
  referencedTypeId: z.ZodOptional<z.ZodNumber>;
1627
1571
  shouldIndex: z.ZodOptional<z.ZodBoolean>;
1628
- indexStatus: z.ZodOptional<z.ZodEnum<typeof IndexStatus>>;
1629
1572
  adminOnly: z.ZodOptional<z.ZodBoolean>;
1630
- createdAt: z.ZodString;
1631
- updatedAt: z.ZodString;
1573
+ defaultValue: z.ZodOptional<z.ZodAny>;
1574
+ sensitivity: z.ZodOptional<z.ZodEnum<typeof DataSensitivity>>;
1575
+ categories: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof DataCategory>>>;
1576
+ celFunction: z.ZodOptional<z.ZodString>;
1577
+ validateCel: z.ZodOptional<z.ZodString>;
1632
1578
  }, z.core.$strip>>;
1633
1579
  }, z.core.$strip>;
1634
1580
  declare const TaskExportDataTypeRelationSchema: z.ZodObject<{
@@ -1676,9 +1622,9 @@ declare const InboxRuleSchema: z.ZodObject<{
1676
1622
  }>;
1677
1623
  operator: z.ZodEnum<{
1678
1624
  equals: "equals";
1679
- contains: "contains";
1680
- ends_with: "ends_with";
1681
1625
  regex: "regex";
1626
+ ends_with: "ends_with";
1627
+ contains: "contains";
1682
1628
  ip_in_range: "ip_in_range";
1683
1629
  }>;
1684
1630
  value: z.ZodString;
@@ -1701,9 +1647,9 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
1701
1647
  }>;
1702
1648
  operator: z.ZodEnum<{
1703
1649
  equals: "equals";
1704
- contains: "contains";
1705
- ends_with: "ends_with";
1706
1650
  regex: "regex";
1651
+ ends_with: "ends_with";
1652
+ contains: "contains";
1707
1653
  ip_in_range: "ip_in_range";
1708
1654
  }>;
1709
1655
  value: z.ZodString;
@@ -1715,9 +1661,9 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
1715
1661
  }>;
1716
1662
  operator: z.ZodEnum<{
1717
1663
  equals: "equals";
1718
- contains: "contains";
1719
- ends_with: "ends_with";
1720
1664
  regex: "regex";
1665
+ ends_with: "ends_with";
1666
+ contains: "contains";
1721
1667
  ip_in_range: "ip_in_range";
1722
1668
  }>;
1723
1669
  value: z.ZodString;
@@ -1744,9 +1690,9 @@ declare const InboxFormDataSchema: z.ZodObject<{
1744
1690
  }>;
1745
1691
  operator: z.ZodEnum<{
1746
1692
  equals: "equals";
1747
- contains: "contains";
1748
- ends_with: "ends_with";
1749
1693
  regex: "regex";
1694
+ ends_with: "ends_with";
1695
+ contains: "contains";
1750
1696
  ip_in_range: "ip_in_range";
1751
1697
  }>;
1752
1698
  value: z.ZodString;
@@ -1758,22 +1704,22 @@ declare const InboxFormDataSchema: z.ZodObject<{
1758
1704
  }>;
1759
1705
  operator: z.ZodEnum<{
1760
1706
  equals: "equals";
1761
- contains: "contains";
1762
- ends_with: "ends_with";
1763
1707
  regex: "regex";
1708
+ ends_with: "ends_with";
1709
+ contains: "contains";
1764
1710
  ip_in_range: "ip_in_range";
1765
1711
  }>;
1766
1712
  value: z.ZodString;
1767
1713
  }, z.core.$strip>>>;
1768
1714
  }, z.core.$strip>>;
1769
- isPublic: z.ZodOptional<z.ZodBoolean>;
1770
1715
  defaultWorkflowId: z.ZodOptional<z.ZodNumber>;
1771
1716
  assistantEnabled: z.ZodOptional<z.ZodBoolean>;
1717
+ autoReplyEnabled: z.ZodOptional<z.ZodBoolean>;
1772
1718
  recipient: z.ZodOptional<z.ZodString>;
1773
1719
  }, z.core.$strip>;
1774
1720
  declare const InboxEmailFiltersSchema: z.ZodObject<{
1775
- limit: z.ZodOptional<z.ZodNumber>;
1776
- offset: z.ZodOptional<z.ZodNumber>;
1721
+ page: z.ZodOptional<z.ZodNumber>;
1722
+ pageSize: z.ZodOptional<z.ZodNumber>;
1777
1723
  includeAttachments: z.ZodOptional<z.ZodBoolean>;
1778
1724
  }, z.core.$strip>;
1779
1725
  declare const ListInboxesSchema: z.ZodObject<{
@@ -1805,9 +1751,9 @@ declare const CreateInboxSchema: z.ZodObject<{
1805
1751
  }>;
1806
1752
  operator: z.ZodEnum<{
1807
1753
  equals: "equals";
1808
- contains: "contains";
1809
- ends_with: "ends_with";
1810
1754
  regex: "regex";
1755
+ ends_with: "ends_with";
1756
+ contains: "contains";
1811
1757
  ip_in_range: "ip_in_range";
1812
1758
  }>;
1813
1759
  value: z.ZodString;
@@ -1819,17 +1765,17 @@ declare const CreateInboxSchema: z.ZodObject<{
1819
1765
  }>;
1820
1766
  operator: z.ZodEnum<{
1821
1767
  equals: "equals";
1822
- contains: "contains";
1823
- ends_with: "ends_with";
1824
1768
  regex: "regex";
1769
+ ends_with: "ends_with";
1770
+ contains: "contains";
1825
1771
  ip_in_range: "ip_in_range";
1826
1772
  }>;
1827
1773
  value: z.ZodString;
1828
1774
  }, z.core.$strip>>>;
1829
1775
  }, z.core.$strip>>;
1830
- isPublic: z.ZodOptional<z.ZodBoolean>;
1831
1776
  defaultWorkflowId: z.ZodOptional<z.ZodNumber>;
1832
1777
  assistantEnabled: z.ZodOptional<z.ZodBoolean>;
1778
+ autoReplyEnabled: z.ZodOptional<z.ZodBoolean>;
1833
1779
  recipient: z.ZodOptional<z.ZodString>;
1834
1780
  }, z.core.$strip>;
1835
1781
  declare const UpdateInboxSchema: z.ZodObject<{
@@ -1855,9 +1801,9 @@ declare const UpdateInboxSchema: z.ZodObject<{
1855
1801
  }>;
1856
1802
  operator: z.ZodEnum<{
1857
1803
  equals: "equals";
1858
- contains: "contains";
1859
- ends_with: "ends_with";
1860
1804
  regex: "regex";
1805
+ ends_with: "ends_with";
1806
+ contains: "contains";
1861
1807
  ip_in_range: "ip_in_range";
1862
1808
  }>;
1863
1809
  value: z.ZodString;
@@ -1869,17 +1815,17 @@ declare const UpdateInboxSchema: z.ZodObject<{
1869
1815
  }>;
1870
1816
  operator: z.ZodEnum<{
1871
1817
  equals: "equals";
1872
- contains: "contains";
1873
- ends_with: "ends_with";
1874
1818
  regex: "regex";
1819
+ ends_with: "ends_with";
1820
+ contains: "contains";
1875
1821
  ip_in_range: "ip_in_range";
1876
1822
  }>;
1877
1823
  value: z.ZodString;
1878
1824
  }, z.core.$strip>>>;
1879
1825
  }, z.core.$strip>>>;
1880
- isPublic: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1881
1826
  defaultWorkflowId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1882
1827
  assistantEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1828
+ autoReplyEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1883
1829
  recipient: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1884
1830
  }, z.core.$strip>;
1885
1831
  declare const DeleteInboxSchema: z.ZodObject<{
@@ -1889,8 +1835,8 @@ declare const DeleteInboxSchema: z.ZodObject<{
1889
1835
  declare const ListInboxEmailsSchema: z.ZodObject<{
1890
1836
  wid: z.ZodString;
1891
1837
  inboxId: z.ZodNumber;
1892
- limit: z.ZodOptional<z.ZodNumber>;
1893
- offset: z.ZodOptional<z.ZodNumber>;
1838
+ page: z.ZodOptional<z.ZodNumber>;
1839
+ pageSize: z.ZodOptional<z.ZodNumber>;
1894
1840
  includeAttachments: z.ZodOptional<z.ZodBoolean>;
1895
1841
  }, z.core.$strip>;
1896
1842
  declare const GetInboxEmailSchema: z.ZodObject<{
@@ -1937,6 +1883,7 @@ declare const CreateWorkspaceMemberRequestSchema: z.ZodObject<{
1937
1883
  name: z.ZodOptional<z.ZodString>;
1938
1884
  description: z.ZodOptional<z.ZodString>;
1939
1885
  externalId: z.ZodOptional<z.ZodString>;
1886
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1940
1887
  memberRoleId: z.ZodNumber;
1941
1888
  notifySms: z.ZodOptional<z.ZodBoolean>;
1942
1889
  notifyEmail: z.ZodOptional<z.ZodBoolean>;
@@ -1957,6 +1904,7 @@ declare const UpdateWorkspaceMemberRequestSchema: z.ZodObject<{
1957
1904
  phone: z.ZodOptional<z.ZodString>;
1958
1905
  email: z.ZodOptional<z.ZodString>;
1959
1906
  externalId: z.ZodOptional<z.ZodString>;
1907
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1960
1908
  memberRoleId: z.ZodOptional<z.ZodNumber>;
1961
1909
  labelIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1962
1910
  notifySms: z.ZodOptional<z.ZodBoolean>;
@@ -1984,6 +1932,7 @@ declare const MemberFormDataSchema: z.ZodObject<{
1984
1932
  phone: z.ZodOptional<z.ZodString>;
1985
1933
  email: z.ZodOptional<z.ZodString>;
1986
1934
  externalId: z.ZodOptional<z.ZodString>;
1935
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1987
1936
  }, z.core.$strip>;
1988
1937
  declare const MemberRoleTaskAccessSchema: z.ZodObject<{
1989
1938
  taskId: z.ZodNumber;
@@ -2035,6 +1984,7 @@ declare const UpdateCurrentMemberSchema: z.ZodObject<{
2035
1984
  wid: z.ZodString;
2036
1985
  name: z.ZodOptional<z.ZodString>;
2037
1986
  description: z.ZodOptional<z.ZodString>;
1987
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2038
1988
  }, z.core.$strip>;
2039
1989
  declare const ListWorkspaceMembersSchema: z.ZodObject<{
2040
1990
  wid: z.ZodString;
@@ -2067,6 +2017,7 @@ declare const AddWorkspaceMemberSchema: z.ZodObject<{
2067
2017
  name: z.ZodOptional<z.ZodString>;
2068
2018
  description: z.ZodOptional<z.ZodString>;
2069
2019
  externalId: z.ZodOptional<z.ZodString>;
2020
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2070
2021
  memberRoleId: z.ZodNumber;
2071
2022
  notifySms: z.ZodOptional<z.ZodBoolean>;
2072
2023
  notifyEmail: z.ZodOptional<z.ZodBoolean>;
@@ -2089,6 +2040,7 @@ declare const UpdateWorkspaceMemberSchema: z.ZodObject<{
2089
2040
  phone: z.ZodOptional<z.ZodString>;
2090
2041
  email: z.ZodOptional<z.ZodString>;
2091
2042
  externalId: z.ZodOptional<z.ZodString>;
2043
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2092
2044
  memberRoleId: z.ZodOptional<z.ZodNumber>;
2093
2045
  labelIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2094
2046
  notifySms: z.ZodOptional<z.ZodBoolean>;
@@ -2191,23 +2143,28 @@ declare const MemberLabelFormDataSchema: z.ZodObject<{
2191
2143
  }, z.core.$strip>;
2192
2144
  declare const MemberFilterObjectTypeEnum: z.ZodEnum<{
2193
2145
  name: "name";
2146
+ tosAccepted: "tosAccepted";
2194
2147
  email: "email";
2195
2148
  phone: "phone";
2196
- tosAccepted: "tosAccepted";
2149
+ memberType: "memberType";
2197
2150
  member: "member";
2198
2151
  label: "label";
2199
2152
  dataType: "dataType";
2200
2153
  memberRole: "memberRole";
2201
2154
  phoneType: "phoneType";
2155
+ age: "age";
2156
+ dateOfBirth: "dateOfBirth";
2202
2157
  workflow: "workflow";
2203
2158
  notifySms: "notifySms";
2204
2159
  notifyEmail: "notifyEmail";
2160
+ notifyVoice: "notifyVoice";
2205
2161
  calendarEvent: "calendarEvent";
2206
2162
  chatEngagement: "chatEngagement";
2207
2163
  lastMessageActivity: "lastMessageActivity";
2208
2164
  memberCreated: "memberCreated";
2209
2165
  isDefault: "isDefault";
2210
- memberType: "memberType";
2166
+ memberField: "memberField";
2167
+ journey: "journey";
2211
2168
  }>;
2212
2169
  declare const MemberFilterFilterTypeEnum: z.ZodEnum<{
2213
2170
  never: "never";
@@ -2236,6 +2193,10 @@ declare const MemberFilterFilterTypeEnum: z.ZodEnum<{
2236
2193
  after: "after";
2237
2194
  between: "between";
2238
2195
  daysAgo: "daysAgo";
2196
+ lessThanDaysAgo: "lessThanDaysAgo";
2197
+ daysUntil: "daysUntil";
2198
+ hasKey: "hasKey";
2199
+ hasKeyValue: "hasKeyValue";
2239
2200
  notBetween: "notBetween";
2240
2201
  }>;
2241
2202
  declare const MemberFilterRuleSchema: z.ZodObject<{
@@ -2243,23 +2204,28 @@ declare const MemberFilterRuleSchema: z.ZodObject<{
2243
2204
  uuid: z.ZodString;
2244
2205
  objectType: z.ZodEnum<{
2245
2206
  name: "name";
2207
+ tosAccepted: "tosAccepted";
2246
2208
  email: "email";
2247
2209
  phone: "phone";
2248
- tosAccepted: "tosAccepted";
2210
+ memberType: "memberType";
2249
2211
  member: "member";
2250
2212
  label: "label";
2251
2213
  dataType: "dataType";
2252
2214
  memberRole: "memberRole";
2253
2215
  phoneType: "phoneType";
2216
+ age: "age";
2217
+ dateOfBirth: "dateOfBirth";
2254
2218
  workflow: "workflow";
2255
2219
  notifySms: "notifySms";
2256
2220
  notifyEmail: "notifyEmail";
2221
+ notifyVoice: "notifyVoice";
2257
2222
  calendarEvent: "calendarEvent";
2258
2223
  chatEngagement: "chatEngagement";
2259
2224
  lastMessageActivity: "lastMessageActivity";
2260
2225
  memberCreated: "memberCreated";
2261
2226
  isDefault: "isDefault";
2262
- memberType: "memberType";
2227
+ memberField: "memberField";
2228
+ journey: "journey";
2263
2229
  }>;
2264
2230
  filterType: z.ZodEnum<{
2265
2231
  never: "never";
@@ -2288,6 +2254,10 @@ declare const MemberFilterRuleSchema: z.ZodObject<{
2288
2254
  after: "after";
2289
2255
  between: "between";
2290
2256
  daysAgo: "daysAgo";
2257
+ lessThanDaysAgo: "lessThanDaysAgo";
2258
+ daysUntil: "daysUntil";
2259
+ hasKey: "hasKey";
2260
+ hasKeyValue: "hasKeyValue";
2291
2261
  notBetween: "notBetween";
2292
2262
  }>;
2293
2263
  objectIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -2296,23 +2266,28 @@ declare const MemberFilterRuleSchema: z.ZodObject<{
2296
2266
  declare const MemberFilterRuleFormDataSchema: z.ZodObject<{
2297
2267
  objectType: z.ZodEnum<{
2298
2268
  name: "name";
2269
+ tosAccepted: "tosAccepted";
2299
2270
  email: "email";
2300
2271
  phone: "phone";
2301
- tosAccepted: "tosAccepted";
2272
+ memberType: "memberType";
2302
2273
  member: "member";
2303
2274
  label: "label";
2304
2275
  dataType: "dataType";
2305
2276
  memberRole: "memberRole";
2306
2277
  phoneType: "phoneType";
2278
+ age: "age";
2279
+ dateOfBirth: "dateOfBirth";
2307
2280
  workflow: "workflow";
2308
2281
  notifySms: "notifySms";
2309
2282
  notifyEmail: "notifyEmail";
2283
+ notifyVoice: "notifyVoice";
2310
2284
  calendarEvent: "calendarEvent";
2311
2285
  chatEngagement: "chatEngagement";
2312
2286
  lastMessageActivity: "lastMessageActivity";
2313
2287
  memberCreated: "memberCreated";
2314
2288
  isDefault: "isDefault";
2315
- memberType: "memberType";
2289
+ memberField: "memberField";
2290
+ journey: "journey";
2316
2291
  }>;
2317
2292
  filterType: z.ZodEnum<{
2318
2293
  never: "never";
@@ -2341,6 +2316,10 @@ declare const MemberFilterRuleFormDataSchema: z.ZodObject<{
2341
2316
  after: "after";
2342
2317
  between: "between";
2343
2318
  daysAgo: "daysAgo";
2319
+ lessThanDaysAgo: "lessThanDaysAgo";
2320
+ daysUntil: "daysUntil";
2321
+ hasKey: "hasKey";
2322
+ hasKeyValue: "hasKeyValue";
2344
2323
  notBetween: "notBetween";
2345
2324
  }>;
2346
2325
  objectIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -2359,23 +2338,28 @@ declare const MemberFilterSchema: z.ZodObject<{
2359
2338
  uuid: z.ZodString;
2360
2339
  objectType: z.ZodEnum<{
2361
2340
  name: "name";
2341
+ tosAccepted: "tosAccepted";
2362
2342
  email: "email";
2363
2343
  phone: "phone";
2364
- tosAccepted: "tosAccepted";
2344
+ memberType: "memberType";
2365
2345
  member: "member";
2366
2346
  label: "label";
2367
2347
  dataType: "dataType";
2368
2348
  memberRole: "memberRole";
2369
2349
  phoneType: "phoneType";
2350
+ age: "age";
2351
+ dateOfBirth: "dateOfBirth";
2370
2352
  workflow: "workflow";
2371
2353
  notifySms: "notifySms";
2372
2354
  notifyEmail: "notifyEmail";
2355
+ notifyVoice: "notifyVoice";
2373
2356
  calendarEvent: "calendarEvent";
2374
2357
  chatEngagement: "chatEngagement";
2375
2358
  lastMessageActivity: "lastMessageActivity";
2376
2359
  memberCreated: "memberCreated";
2377
2360
  isDefault: "isDefault";
2378
- memberType: "memberType";
2361
+ memberField: "memberField";
2362
+ journey: "journey";
2379
2363
  }>;
2380
2364
  filterType: z.ZodEnum<{
2381
2365
  never: "never";
@@ -2404,6 +2388,10 @@ declare const MemberFilterSchema: z.ZodObject<{
2404
2388
  after: "after";
2405
2389
  between: "between";
2406
2390
  daysAgo: "daysAgo";
2391
+ lessThanDaysAgo: "lessThanDaysAgo";
2392
+ daysUntil: "daysUntil";
2393
+ hasKey: "hasKey";
2394
+ hasKeyValue: "hasKeyValue";
2407
2395
  notBetween: "notBetween";
2408
2396
  }>;
2409
2397
  objectIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -2417,23 +2405,28 @@ declare const MemberFilterFormDataSchema: z.ZodObject<{
2417
2405
  rules: z.ZodArray<z.ZodObject<{
2418
2406
  objectType: z.ZodEnum<{
2419
2407
  name: "name";
2408
+ tosAccepted: "tosAccepted";
2420
2409
  email: "email";
2421
2410
  phone: "phone";
2422
- tosAccepted: "tosAccepted";
2411
+ memberType: "memberType";
2423
2412
  member: "member";
2424
2413
  label: "label";
2425
2414
  dataType: "dataType";
2426
2415
  memberRole: "memberRole";
2427
2416
  phoneType: "phoneType";
2417
+ age: "age";
2418
+ dateOfBirth: "dateOfBirth";
2428
2419
  workflow: "workflow";
2429
2420
  notifySms: "notifySms";
2430
2421
  notifyEmail: "notifyEmail";
2422
+ notifyVoice: "notifyVoice";
2431
2423
  calendarEvent: "calendarEvent";
2432
2424
  chatEngagement: "chatEngagement";
2433
2425
  lastMessageActivity: "lastMessageActivity";
2434
2426
  memberCreated: "memberCreated";
2435
2427
  isDefault: "isDefault";
2436
- memberType: "memberType";
2428
+ memberField: "memberField";
2429
+ journey: "journey";
2437
2430
  }>;
2438
2431
  filterType: z.ZodEnum<{
2439
2432
  never: "never";
@@ -2462,6 +2455,10 @@ declare const MemberFilterFormDataSchema: z.ZodObject<{
2462
2455
  after: "after";
2463
2456
  between: "between";
2464
2457
  daysAgo: "daysAgo";
2458
+ lessThanDaysAgo: "lessThanDaysAgo";
2459
+ daysUntil: "daysUntil";
2460
+ hasKey: "hasKey";
2461
+ hasKeyValue: "hasKeyValue";
2465
2462
  notBetween: "notBetween";
2466
2463
  }>;
2467
2464
  objectIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -2504,6 +2501,7 @@ declare const MemberSchema: z.ZodObject<{
2504
2501
  phoneType: z.ZodOptional<z.ZodString>;
2505
2502
  email: z.ZodOptional<z.ZodString>;
2506
2503
  externalId: z.ZodOptional<z.ZodString>;
2504
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2507
2505
  tosAccepted: z.ZodOptional<z.ZodBoolean>;
2508
2506
  accountTosAccepted: z.ZodOptional<z.ZodBoolean>;
2509
2507
  memberRoleName: z.ZodOptional<z.ZodString>;
@@ -2566,7 +2564,6 @@ type UpdateMemberRoleInput = z.infer<typeof UpdateMemberRoleSchema>;
2566
2564
  type DeleteMemberRoleInput = z.infer<typeof DeleteMemberRoleSchema>;
2567
2565
 
2568
2566
  declare const PhoneNumberFormDataSchema: z.ZodObject<{
2569
- number: z.ZodOptional<z.ZodString>;
2570
2567
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2571
2568
  allowSignup: z.ZodBoolean;
2572
2569
  signupMemberRoleId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2578,6 +2575,7 @@ declare const PhoneNumberFormDataSchema: z.ZodObject<{
2578
2575
  voiceUnavailableMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2579
2576
  assistantEnabled: z.ZodOptional<z.ZodBoolean>;
2580
2577
  voiceForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
+ providerPhoneUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2581
2579
  }, z.core.$strip>;
2582
2580
  declare const ListPhoneNumbersSchema: z.ZodObject<{
2583
2581
  wid: z.ZodString;
@@ -2588,7 +2586,6 @@ declare const GetPhoneNumberSchema: z.ZodObject<{
2588
2586
  }, z.core.$strip>;
2589
2587
  declare const CreatePhoneNumberSchema: z.ZodObject<{
2590
2588
  wid: z.ZodString;
2591
- number: z.ZodOptional<z.ZodString>;
2592
2589
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2593
2590
  allowSignup: z.ZodBoolean;
2594
2591
  signupMemberRoleId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2600,11 +2597,11 @@ declare const CreatePhoneNumberSchema: z.ZodObject<{
2600
2597
  voiceUnavailableMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2601
2598
  assistantEnabled: z.ZodOptional<z.ZodBoolean>;
2602
2599
  voiceForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
+ providerPhoneUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2603
2601
  }, z.core.$strip>;
2604
2602
  declare const UpdatePhoneNumberSchema: z.ZodObject<{
2605
2603
  wid: z.ZodString;
2606
2604
  phoneNumberId: z.ZodNumber;
2607
- number: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2608
2605
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2609
2606
  allowSignup: z.ZodOptional<z.ZodBoolean>;
2610
2607
  signupMemberRoleId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -2616,8 +2613,9 @@ declare const UpdatePhoneNumberSchema: z.ZodObject<{
2616
2613
  voiceUnavailableMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2617
2614
  assistantEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2618
2615
  voiceForwardNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2616
+ providerPhoneUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2619
2617
  }, z.core.$strip>;
2620
- declare const DeletePhoneNumberSchema: z.ZodObject<{
2618
+ declare const ArchivePhoneNumberSchema: z.ZodObject<{
2621
2619
  wid: z.ZodString;
2622
2620
  phoneNumberId: z.ZodNumber;
2623
2621
  }, z.core.$strip>;
@@ -2649,7 +2647,7 @@ type ListPhoneNumbersInput = z.infer<typeof ListPhoneNumbersSchema>;
2649
2647
  type GetPhoneNumberInput = z.infer<typeof GetPhoneNumberSchema>;
2650
2648
  type CreatePhoneNumberInput = z.infer<typeof CreatePhoneNumberSchema>;
2651
2649
  type UpdatePhoneNumberInput = z.infer<typeof UpdatePhoneNumberSchema>;
2652
- type DeletePhoneNumberInput = z.infer<typeof DeletePhoneNumberSchema>;
2650
+ type ArchivePhoneNumberInput = z.infer<typeof ArchivePhoneNumberSchema>;
2653
2651
  type ListPhoneCallsInput = z.infer<typeof ListPhoneCallsSchema>;
2654
2652
  type ListPhoneSmsMessagesInput = z.infer<typeof ListPhoneSmsMessagesSchema>;
2655
2653
  type GetRecentSmsMessagesInput = z.infer<typeof GetRecentSmsMessagesSchema>;
@@ -2884,6 +2882,7 @@ declare const ChildTaskFormDataSchema: z.ZodObject<{
2884
2882
  choicePrompt: z.ZodOptional<z.ZodString>;
2885
2883
  autoNext: z.ZodOptional<z.ZodBoolean>;
2886
2884
  required: z.ZodOptional<z.ZodBoolean>;
2885
+ celCondition: z.ZodOptional<z.ZodString>;
2887
2886
  }, z.core.$strip>;
2888
2887
  declare const AbilityDataSchema: z.ZodObject<{
2889
2888
  id: z.ZodOptional<z.ZodNumber>;
@@ -2904,6 +2903,7 @@ declare const TaskFormDataSchema: z.ZodObject<{
2904
2903
  choicePrompt: z.ZodOptional<z.ZodString>;
2905
2904
  autoNext: z.ZodOptional<z.ZodBoolean>;
2906
2905
  required: z.ZodOptional<z.ZodBoolean>;
2906
+ celCondition: z.ZodOptional<z.ZodString>;
2907
2907
  }, z.core.$strip>>>;
2908
2908
  workflowId: z.ZodNumber;
2909
2909
  celGuard: z.ZodOptional<z.ZodString>;
@@ -2937,6 +2937,7 @@ declare const CreateTaskSchema: z.ZodObject<{
2937
2937
  choicePrompt: z.ZodOptional<z.ZodString>;
2938
2938
  autoNext: z.ZodOptional<z.ZodBoolean>;
2939
2939
  required: z.ZodOptional<z.ZodBoolean>;
2940
+ celCondition: z.ZodOptional<z.ZodString>;
2940
2941
  }, z.core.$strip>>>;
2941
2942
  workflowId: z.ZodNumber;
2942
2943
  celGuard: z.ZodOptional<z.ZodString>;
@@ -2962,6 +2963,7 @@ declare const UpdateTaskSchema: z.ZodObject<{
2962
2963
  choicePrompt: z.ZodOptional<z.ZodString>;
2963
2964
  autoNext: z.ZodOptional<z.ZodBoolean>;
2964
2965
  required: z.ZodOptional<z.ZodBoolean>;
2966
+ celCondition: z.ZodOptional<z.ZodString>;
2965
2967
  }, z.core.$strip>>>>;
2966
2968
  workflowId: z.ZodOptional<z.ZodNumber>;
2967
2969
  celGuard: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2999,7 +3001,7 @@ type UnarchiveTaskInput = z.infer<typeof UnarchiveTaskSchema>;
2999
3001
  declare const WorkflowFormDataSchema: z.ZodObject<{
3000
3002
  name: z.ZodString;
3001
3003
  description: z.ZodOptional<z.ZodString>;
3002
- assistantId: z.ZodNumber;
3004
+ agentId: z.ZodNumber;
3003
3005
  }, z.core.$strip>;
3004
3006
  declare const ListWorkflowsSchema: z.ZodObject<{
3005
3007
  wid: z.ZodString;
@@ -3012,14 +3014,14 @@ declare const CreateWorkflowSchema: z.ZodObject<{
3012
3014
  wid: z.ZodString;
3013
3015
  name: z.ZodString;
3014
3016
  description: z.ZodOptional<z.ZodString>;
3015
- assistantId: z.ZodNumber;
3017
+ agentId: z.ZodNumber;
3016
3018
  }, z.core.$strip>;
3017
3019
  declare const UpdateWorkflowSchema: z.ZodObject<{
3018
3020
  wid: z.ZodString;
3019
3021
  workflowId: z.ZodNumber;
3020
3022
  name: z.ZodOptional<z.ZodString>;
3021
3023
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3022
- assistantId: z.ZodOptional<z.ZodNumber>;
3024
+ agentId: z.ZodOptional<z.ZodNumber>;
3023
3025
  }, z.core.$strip>;
3024
3026
  declare const DeleteWorkflowSchema: z.ZodObject<{
3025
3027
  wid: z.ZodString;
@@ -3103,4 +3105,4 @@ declare function zodToMcpSchema(schema: any): any;
3103
3105
  */
3104
3106
  declare function createTool(name: string, description: string, schema: z.ZodSchema<any>): Tool;
3105
3107
 
3106
- export { type AIChatParticipant, AIChatParticipantSchema, AbilityDataSchema, type Account, type AccountFormData, AccountFormDataSchema, type AccountReportItem, AccountReportItemSchema, AccountSchema, type AddDataFieldInput, AddDataFieldSchema, type AddWorkspaceMemberInput, AddWorkspaceMemberSchema, type AdminAccountFormData, AdminAccountFormDataSchema, type AdminAccountMembership, AdminAccountMembershipSchema, type AdminOrganization, AdminOrganizationSchema, type AdminWorkspaceMemberFormData, AdminWorkspaceMemberFormDataSchema, type ApiKey, type ApiKeyCreated, ApiKeyCreatedSchema, type ApiKeyFormData, ApiKeyFormDataSchema, ApiKeySchema, type ApiKeyScope, ApiKeyScopeSchema, type ApiKeyScopesResponse, ApiKeyScopesResponseSchema, type ArchiveChatInput, ArchiveChatSchema, type ArchiveTaskInput, ArchiveTaskSchema, type Assistant, type AssistantExportItem, AssistantExportItemSchema, type AssistantFormData, AssistantFormDataSchema, AssistantSchema, type CancelCalendarEventInput, CancelCalendarEventSchema, type Channel, ChannelEnum, type Chat, type ChatCompletionMessage, ChatCompletionMessageSchema, type ChatFilterFilterType, ChatFilterFilterTypeEnum, type ChatFilterObjectType, ChatFilterObjectTypeEnum, type ChatFilterRule, type ChatFilterRuleFormData, ChatFilterRuleFormDataSchema, ChatFilterRuleSchema, ChatFiltersSchema, type ChatFormData, ChatFormDataSchema, type ChatMessage, type ChatMessageAPIResponse, ChatMessageAPIResponseSchema, type ChatMessageChunk, ChatMessageChunkSchema, type ChatMessageObject, ChatMessageObjectSchema, ChatMessageSchema, type ChatMessageUI, ChatMessageUISchema, type ChatParticipantFormData, ChatParticipantFormDataSchema, ChatSchema, type CheckAvailabilityInput, CheckAvailabilitySchema, type ChildTaskFormData, ChildTaskFormDataSchema, type CloneWorkflowInput, CloneWorkflowSchema, type CreateAccountInput, CreateAccountSchema, type CreateAssistantInput, CreateAssistantSchema, type CreateCalendarEventInput, CreateCalendarEventSchema, type CreateCalendarInput, CreateCalendarSchema, type CreateChatCompletionInput, CreateChatCompletionSchema, type CreateChatForWorkflowInput, CreateChatForWorkflowSchema, type CreateChatInput, CreateChatSchema, type CreateDataRecordInput, CreateDataRecordSchema, type CreateDataTypeInput, CreateDataTypeSchema, type CreateEventTypeInput, CreateEventTypeSchema, type CreateInboxInput, CreateInboxSchema, type CreateMemberRoleInput, CreateMemberRoleSchema, type CreateMenuItemInput, CreateMenuItemSchema, type CreateOrganizationRequest, CreateOrganizationRequestSchema, type CreatePhoneNumberInput, CreatePhoneNumberSchema, type CreateScheduleInput, CreateScheduleSchema, type CreateSiteInput, type CreateSitePageInput, CreateSitePageSchema, CreateSiteSchema, type CreateTaskInput, CreateTaskSchema, type CreateWorkflowInput, CreateWorkflowSchema, type CreateWorkspaceInput, type CreateWorkspaceMemberRequest, CreateWorkspaceMemberRequestSchema, CreateWorkspaceSchema, type DataField, type DataFieldFormData, DataFieldFormDataSchema, DataFieldSchema, DataFieldType, type DataIntegrityReportItem, DataIntegrityReportItemSchema, type DataRecord, type DataRecordAssociationFormData, DataRecordAssociationFormDataSchema, type DataRecordFilters, DataRecordFiltersSchema, type DataRecordFormData, DataRecordFormDataSchema, type DataRecordReportItem, DataRecordReportItemSchema, DataRecordSchema, type DataRecordWithAccessMode, DataRecordWithAccessModeSchema, type DataRecordsPaginatedResponse, DataRecordsPaginatedResponseSchema, type DataType, type DataTypeExportItem, DataTypeExportItemSchema, type DataTypeFormData, DataTypeFormDataSchema, DataTypeSchema, type DeleteAssistantInput, DeleteAssistantSchema, type DeleteCalendarEventInput, DeleteCalendarEventSchema, type DeleteCalendarInput, DeleteCalendarSchema, type DeleteChatInput, DeleteChatSchema, type DeleteDataRecordInput, DeleteDataRecordSchema, type DeleteDataTypeInput, DeleteDataTypeSchema, type DeleteEventTypeInput, DeleteEventTypeSchema, type DeleteInboxInput, DeleteInboxSchema, type DeleteMemberRoleInput, DeleteMemberRoleSchema, type DeleteMenuItemInput, DeleteMenuItemSchema, type DeletePhoneNumberInput, DeletePhoneNumberSchema, type DeleteScheduleInput, DeleteScheduleSchema, type DeleteSiteInput, type DeleteSitePageInput, DeleteSitePageSchema, DeleteSiteSchema, type DeleteTaskInput, DeleteTaskSchema, type DeleteWorkflowInput, DeleteWorkflowSchema, type DeleteWorkspaceInput, DeleteWorkspaceSchema, type DuplicateAccountInfo, DuplicateAccountInfoSchema, type ErrorResponse, ErrorResponseSchema, type FunctionTool, FunctionToolSchema, type GenerateICalTokenInput, GenerateICalTokenSchema, type GetAssistantInput, GetAssistantSchema, type GetAvailableSlotsInput, GetAvailableSlotsSchema, type GetAvailableWorkspaceFeaturesInput, GetAvailableWorkspaceFeaturesSchema, type GetCalendarEventInput, GetCalendarEventSchema, type GetCalendarInput, GetCalendarSchema, type GetChatInput, type GetChatMessagesInput, GetChatMessagesSchema, GetChatSchema, type GetChatsNeedsResponseInput, GetChatsNeedsResponseSchema, type GetCurrentMemberInput, GetCurrentMemberSchema, type GetDataRecordInput, GetDataRecordSchema, type GetDataTypeBySlugInput, GetDataTypeBySlugSchema, type GetDataTypeInput, GetDataTypeSchema, type GetEventTypeInput, GetEventTypeSchema, type GetFieldIndexStatusInput, GetFieldIndexStatusSchema, type GetICalUrlInput, GetICalUrlSchema, type GetInboxEmailInput, GetInboxEmailSchema, type GetInboxInput, GetInboxSchema, type GetMemberRoleInput, GetMemberRoleSchema, type GetPhoneNumberInput, GetPhoneNumberSchema, type GetProductInput, GetProductSchema, type GetProductsInput, GetProductsSchema, type GetRecentInboxMessagesInput, GetRecentInboxMessagesSchema, type GetRecentSmsMessagesInput, GetRecentSmsMessagesSchema, type GetResellerWorkspacesInput, GetResellerWorkspacesSchema, type GetSiteCountsInput, GetSiteCountsSchema, type GetSiteInput, type GetSiteMenuInput, GetSiteMenuSchema, type GetSitePageBySlugInput, GetSitePageBySlugSchema, type GetSitePageInput, GetSitePageSchema, GetSiteSchema, type GetTaskInput, GetTaskSchema, type GetWorkflowInput, GetWorkflowSchema, type GetWorkspaceDefaultsInput, GetWorkspaceDefaultsSchema, type GetWorkspaceInput, type GetWorkspaceMemberInput, GetWorkspaceMemberSchema, GetWorkspaceSchema, type HumanChatParticipant, HumanChatParticipantSchema, type ImageUrlContent, ImageUrlContentSchema, type InboxEmailFilters, InboxEmailFiltersSchema, type InboxFormData, InboxFormDataSchema, type InboxRule, InboxRuleSchema, type InboxRulesConfig, InboxRulesConfigSchema, IndexStatus, type InitiateOutboundCallInput, InitiateOutboundCallSchema, type ListAssistantsInput, ListAssistantsSchema, type ListCalendarEventsInput, ListCalendarEventsSchema, type ListCalendarsInput, ListCalendarsSchema, type ListChatsInput, ListChatsSchema, type ListDataRecordsInput, ListDataRecordsSchema, type ListDataTypesInput, ListDataTypesSchema, type ListEventTypesInput, ListEventTypesSchema, type ListInboxEmailsInput, ListInboxEmailsSchema, type ListInboxesInput, ListInboxesSchema, type ListMemberRolesInput, ListMemberRolesSchema, type ListMenuItemsInput, ListMenuItemsSchema, type ListPhoneCallsInput, ListPhoneCallsSchema, type ListPhoneNumbersInput, ListPhoneNumbersSchema, type ListPhoneSmsMessagesInput, ListPhoneSmsMessagesSchema, type ListSchedulesInput, ListSchedulesSchema, type ListSitePagesInput, ListSitePagesSchema, type ListSitesInput, ListSitesSchema, type ListTasksInput, ListTasksSchema, type ListWorkflowsInput, ListWorkflowsSchema, type ListWorkspaceMembersInput, ListWorkspaceMembersSchema, type ListWorkspacesInput, ListWorkspacesSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type MarkEmailReadInput, MarkEmailReadSchema, type MarkEmailUnreadInput, MarkEmailUnreadSchema, type Member, type MemberFilter, type MemberFilterFilterType, MemberFilterFilterTypeEnum, type MemberFilterFormData, MemberFilterFormDataSchema, type MemberFilterObjectType, MemberFilterObjectTypeEnum, type MemberFilterRule, type MemberFilterRuleFormData, MemberFilterRuleFormDataSchema, MemberFilterRuleSchema, MemberFilterSchema, type MemberFormData, MemberFormDataSchema, type MemberLabel, type MemberLabelFormData, MemberLabelFormDataSchema, MemberLabelSchema, type MemberRole, type MemberRoleDataTypeAccess, MemberRoleDataTypeAccessSchema, type MemberRoleFormData, MemberRoleFormDataSchema, type MemberRoleInboxAccess, MemberRoleInboxAccessSchema, MemberRoleSchema, type MemberRoleSiteAccess, MemberRoleSiteAccessSchema, type MemberRoleTaskAccess, MemberRoleTaskAccessSchema, type MemberRoleWorkflowAccess, MemberRoleWorkflowAccessSchema, MemberSchema, type MenuItemFormData, MenuItemFormDataSchema, type MessageContentPart, MessageContentPartSchema, type MessageRole, MessageRoleEnum, type MissingMembershipItem, MissingMembershipItemSchema, type OperatorChatParticipant, OperatorChatParticipantSchema, type Organization, OrganizationSchema, type PhoneNumberFormData, PhoneNumberFormDataSchema, type RateMessageInput, RateMessageSchema, type RemoveDataFieldInput, RemoveDataFieldSchema, type RemoveWorkspaceMemberInput, RemoveWorkspaceMemberSchema, type ReorderMenuItems, type ReorderMenuItemsInput, ReorderMenuItemsRequestSchema, ReorderMenuItemsSchema, type RevokeICalTokenInput, RevokeICalTokenSchema, type SMSLoginResponse, SMSLoginResponseSchema, type SchemaField, type SchemaFieldFormData, SchemaFieldFormDataSchema, SchemaFieldSchema, type SendAssistantMessageInput, SendAssistantMessageSchema, type SendChatMessageInput, SendChatMessageSchema, type SendSmsToMemberInput, SendSmsToMemberSchema, type SiteFormData, SiteFormDataSchema, type SitePageFormData, SitePageFormDataSchema, type StartSiteCrawlInput, StartSiteCrawlSchema, type TaskExportDataTypeRelation, TaskExportDataTypeRelationSchema, type TaskFormData, TaskFormDataSchema, type TextContent, TextContentSchema, type ToggleFieldIndexInput, ToggleFieldIndexSchema, type ToolCall, type ToolCallFunction, ToolCallFunctionSchema, ToolCallSchema, type ToolResult, ToolResultSchema, type TruncationReason, TruncationReasonEnum, type UnarchiveChatInput, UnarchiveChatSchema, type UnarchiveTaskInput, UnarchiveTaskSchema, type UpdateAssistantInput, UpdateAssistantSchema, type UpdateAttendeeResponseInput, UpdateAttendeeResponseSchema, type UpdateCalendarEventInput, UpdateCalendarEventSchema, type UpdateCalendarInput, UpdateCalendarSchema, type UpdateChatInput, type UpdateChatMuteInput, UpdateChatMuteSchema, type UpdateChatNeedsResponseInput, UpdateChatNeedsResponseSchema, UpdateChatSchema, type UpdateCurrentMemberInput, UpdateCurrentMemberSchema, type UpdateDataFieldInput, UpdateDataFieldSchema, type UpdateDataRecordInput, UpdateDataRecordSchema, type UpdateDataTypeInput, UpdateDataTypeSchema, type UpdateEventTypeInput, UpdateEventTypeSchema, type UpdateInboxInput, UpdateInboxSchema, type UpdateMemberRoleInput, UpdateMemberRoleSchema, type UpdateMenuItemInput, UpdateMenuItemSchema, type UpdateOrganizationRequest, UpdateOrganizationRequestSchema, type UpdatePhoneNumberInput, UpdatePhoneNumberSchema, type UpdateScheduleInput, UpdateScheduleSchema, type UpdateSiteInput, type UpdateSitePageInput, UpdateSitePageSchema, UpdateSiteSchema, type UpdateTaskInput, UpdateTaskSchema, type UpdateWorkflowInput, UpdateWorkflowSchema, type UpdateWorkspaceInput, type UpdateWorkspaceMemberInput, type UpdateWorkspaceMemberRequest, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, type UpsertDataRecordInput, UpsertDataRecordSchema, type VerifyCodeRequest, VerifyCodeRequestSchema, type VerifyCodeResponse, VerifyCodeResponseSchema, type WorkflowFormData, WorkflowFormDataSchema, type WorkspaceFormData, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
3108
+ export { AbilityDataSchema, type Account, type AccountFormData, AccountFormDataSchema, type AccountReportItem, AccountReportItemSchema, AccountSchema, type AddDataFieldInput, AddDataFieldSchema, type AddWorkspaceMemberInput, AddWorkspaceMemberSchema, type AdminAccountFormData, AdminAccountFormDataSchema, type AdminAccountMembership, AdminAccountMembershipSchema, type AdminOrganization, AdminOrganizationSchema, type AdminWorkspaceMemberFormData, AdminWorkspaceMemberFormDataSchema, type ApiKey, type ApiKeyCreated, ApiKeyCreatedSchema, type ApiKeyFormData, ApiKeyFormDataSchema, ApiKeySchema, type ApiKeyScope, ApiKeyScopeSchema, type ApiKeyScopesResponse, ApiKeyScopesResponseSchema, type ArchiveChatInput, ArchiveChatSchema, type ArchivePhoneNumberInput, ArchivePhoneNumberSchema, type ArchiveTaskInput, ArchiveTaskSchema, type CancelCalendarEventInput, CancelCalendarEventSchema, type Channel, ChannelEnum, type Chat, type ChatCompletionMessage, ChatCompletionMessageSchema, type ChatFilterFilterType, ChatFilterFilterTypeEnum, type ChatFilterObjectType, ChatFilterObjectTypeEnum, type ChatFilterRule, type ChatFilterRuleFormData, ChatFilterRuleFormDataSchema, ChatFilterRuleSchema, ChatFiltersSchema, type ChatFormData, ChatFormDataSchema, type ChatMessage, type ChatMessageAPIResponse, ChatMessageAPIResponseSchema, type ChatMessageChunk, ChatMessageChunkSchema, type ChatMessageObject, ChatMessageObjectSchema, ChatMessageSchema, type ChatMessageUI, ChatMessageUISchema, type ChatParticipantFormData, ChatParticipantFormDataSchema, ChatSchema, type CheckAvailabilityInput, CheckAvailabilitySchema, type ChildTaskFormData, ChildTaskFormDataSchema, type CloneWorkflowInput, CloneWorkflowSchema, type CreateAccountInput, CreateAccountSchema, type CreateCalendarEventInput, CreateCalendarEventSchema, type CreateCalendarInput, CreateCalendarSchema, type CreateChatCompletionInput, CreateChatCompletionSchema, type CreateChatForWorkflowInput, CreateChatForWorkflowSchema, type CreateChatInput, CreateChatSchema, type CreateDataRecordInput, CreateDataRecordSchema, type CreateDataTypeInput, CreateDataTypeSchema, type CreateEventTypeInput, CreateEventTypeSchema, type CreateInboxInput, CreateInboxSchema, type CreateMemberRoleInput, CreateMemberRoleSchema, type CreateMenuItemInput, CreateMenuItemSchema, type CreateOrganizationRequest, CreateOrganizationRequestSchema, type CreatePhoneNumberInput, CreatePhoneNumberSchema, type CreateScheduleInput, CreateScheduleSchema, type CreateSiteInput, type CreateSitePageInput, CreateSitePageSchema, CreateSiteSchema, type CreateTaskInput, CreateTaskSchema, type CreateWorkflowInput, CreateWorkflowSchema, type CreateWorkspaceInput, type CreateWorkspaceMemberRequest, CreateWorkspaceMemberRequestSchema, CreateWorkspaceSchema, DataCategory, type DataField, type DataFieldFormData, DataFieldFormDataSchema, DataFieldSchema, DataFieldType, type DataIntegrityReportItem, DataIntegrityReportItemSchema, type DataRecord, type DataRecordAssociationFormData, DataRecordAssociationFormDataSchema, type DataRecordFilters, DataRecordFiltersSchema, type DataRecordFormData, DataRecordFormDataSchema, type DataRecordReportItem, DataRecordReportItemSchema, DataRecordSchema, type DataRecordWithAccessMode, DataRecordWithAccessModeSchema, type DataRecordsPaginatedResponse, DataRecordsPaginatedResponseSchema, DataSensitivity, type DataType, type DataTypeExportItem, DataTypeExportItemSchema, type DataTypeFormData, DataTypeFormDataSchema, DataTypeMemberRoleAccessInputSchema, DataTypeMemberRoleAccessResponseSchema, DataTypeRecordScope, DataTypeSchema, type DeleteCalendarEventInput, DeleteCalendarEventSchema, type DeleteCalendarInput, DeleteCalendarSchema, type DeleteChatInput, DeleteChatSchema, type DeleteDataRecordInput, DeleteDataRecordSchema, type DeleteDataTypeInput, DeleteDataTypeSchema, type DeleteEventTypeInput, DeleteEventTypeSchema, type DeleteInboxInput, DeleteInboxSchema, type DeleteMemberRoleInput, DeleteMemberRoleSchema, type DeleteMenuItemInput, DeleteMenuItemSchema, type DeleteScheduleInput, DeleteScheduleSchema, type DeleteSiteInput, type DeleteSitePageInput, DeleteSitePageSchema, DeleteSiteSchema, type DeleteTaskInput, DeleteTaskSchema, type DeleteWorkflowInput, DeleteWorkflowSchema, type DeleteWorkspaceInput, DeleteWorkspaceSchema, type DuplicateAccountInfo, DuplicateAccountInfoSchema, type ErrorResponse, ErrorResponseSchema, type FunctionTool, FunctionToolSchema, type GenerateICalTokenInput, GenerateICalTokenSchema, type GetAvailableSlotsInput, GetAvailableSlotsSchema, type GetAvailableWorkspaceFeaturesInput, GetAvailableWorkspaceFeaturesSchema, type GetCalendarEventInput, GetCalendarEventSchema, type GetCalendarInput, GetCalendarSchema, type GetChatInput, type GetChatMessagesInput, GetChatMessagesSchema, GetChatSchema, type GetChatsNeedsResponseInput, GetChatsNeedsResponseSchema, type GetCurrentMemberInput, GetCurrentMemberSchema, type GetDataRecordInput, GetDataRecordSchema, type GetDataTypeBySlugInput, GetDataTypeBySlugSchema, type GetDataTypeInput, GetDataTypeSchema, type GetEventTypeInput, GetEventTypeSchema, type GetFieldIndexStatusInput, GetFieldIndexStatusSchema, type GetICalUrlInput, GetICalUrlSchema, type GetInboxEmailInput, GetInboxEmailSchema, type GetInboxInput, GetInboxSchema, type GetMemberRoleInput, GetMemberRoleSchema, type GetPhoneNumberInput, GetPhoneNumberSchema, type GetProductInput, GetProductSchema, type GetProductsInput, GetProductsSchema, type GetRecentInboxMessagesInput, GetRecentInboxMessagesSchema, type GetRecentSmsMessagesInput, GetRecentSmsMessagesSchema, type GetResellerWorkspacesInput, GetResellerWorkspacesSchema, type GetSiteCountsInput, GetSiteCountsSchema, type GetSiteInput, type GetSiteMenuInput, GetSiteMenuSchema, type GetSitePageBySlugInput, GetSitePageBySlugSchema, type GetSitePageInput, GetSitePageSchema, GetSiteSchema, type GetTaskInput, GetTaskSchema, type GetWorkflowInput, GetWorkflowSchema, type GetWorkspaceDefaultsInput, GetWorkspaceDefaultsSchema, type GetWorkspaceInput, type GetWorkspaceMemberInput, GetWorkspaceMemberSchema, GetWorkspaceSchema, type HumanChatParticipant, HumanChatParticipantSchema, type ImageUrlContent, ImageUrlContentSchema, type InboxEmailFilters, InboxEmailFiltersSchema, type InboxFormData, InboxFormDataSchema, type InboxRule, InboxRuleSchema, type InboxRulesConfig, InboxRulesConfigSchema, IndexStatus, type InitiateOutboundCallInput, InitiateOutboundCallSchema, type ListCalendarEventsInput, ListCalendarEventsSchema, type ListCalendarsInput, ListCalendarsSchema, type ListChatsInput, ListChatsSchema, type ListDataRecordsInput, ListDataRecordsSchema, type ListDataTypesInput, ListDataTypesSchema, type ListEventTypesInput, ListEventTypesSchema, type ListInboxEmailsInput, ListInboxEmailsSchema, type ListInboxesInput, ListInboxesSchema, type ListMemberRolesInput, ListMemberRolesSchema, type ListMenuItemsInput, ListMenuItemsSchema, type ListPhoneCallsInput, ListPhoneCallsSchema, type ListPhoneNumbersInput, ListPhoneNumbersSchema, type ListPhoneSmsMessagesInput, ListPhoneSmsMessagesSchema, type ListSchedulesInput, ListSchedulesSchema, type ListSitePagesInput, ListSitePagesSchema, type ListSitesInput, ListSitesSchema, type ListTasksInput, ListTasksSchema, type ListWorkflowsInput, ListWorkflowsSchema, type ListWorkspaceMembersInput, ListWorkspaceMembersSchema, type ListWorkspacesInput, ListWorkspacesSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type MarkEmailReadInput, MarkEmailReadSchema, type MarkEmailUnreadInput, MarkEmailUnreadSchema, type Member, type MemberFilter, type MemberFilterFilterType, MemberFilterFilterTypeEnum, type MemberFilterFormData, MemberFilterFormDataSchema, type MemberFilterObjectType, MemberFilterObjectTypeEnum, type MemberFilterRule, type MemberFilterRuleFormData, MemberFilterRuleFormDataSchema, MemberFilterRuleSchema, MemberFilterSchema, type MemberFormData, MemberFormDataSchema, type MemberLabel, type MemberLabelFormData, MemberLabelFormDataSchema, MemberLabelSchema, type MemberRole, type MemberRoleDataTypeAccess, MemberRoleDataTypeAccessSchema, type MemberRoleFormData, MemberRoleFormDataSchema, type MemberRoleInboxAccess, MemberRoleInboxAccessSchema, MemberRoleSchema, type MemberRoleSiteAccess, MemberRoleSiteAccessSchema, type MemberRoleTaskAccess, MemberRoleTaskAccessSchema, type MemberRoleWorkflowAccess, MemberRoleWorkflowAccessSchema, MemberSchema, type MenuItemFormData, MenuItemFormDataSchema, type MessageContentPart, MessageContentPartSchema, type MessageRole, MessageRoleEnum, type MissingMembershipItem, MissingMembershipItemSchema, type OperatorChatParticipant, OperatorChatParticipantSchema, type Organization, OrganizationSchema, type PhoneNumberFormData, PhoneNumberFormDataSchema, type RateMessageInput, RateMessageSchema, type RemoveDataFieldInput, RemoveDataFieldSchema, type RemoveWorkspaceMemberInput, RemoveWorkspaceMemberSchema, type ReorderMenuItems, type ReorderMenuItemsInput, ReorderMenuItemsRequestSchema, ReorderMenuItemsSchema, type RevokeICalTokenInput, RevokeICalTokenSchema, type SMSLoginResponse, SMSLoginResponseSchema, type SchemaField, type SchemaFieldFormData, SchemaFieldFormDataSchema, SchemaFieldSchema, type SendAssistantMessageInput, SendAssistantMessageSchema, type SendChatMessageInput, SendChatMessageSchema, type SendSmsToMemberInput, SendSmsToMemberSchema, type SiteFormData, SiteFormDataSchema, type SitePageFormData, SitePageFormDataSchema, type StartSiteCrawlInput, StartSiteCrawlSchema, type TaskExportDataTypeRelation, TaskExportDataTypeRelationSchema, type TaskFormData, TaskFormDataSchema, type TextContent, TextContentSchema, type ToggleFieldIndexInput, ToggleFieldIndexSchema, type ToolCall, type ToolCallFunction, ToolCallFunctionSchema, ToolCallSchema, type ToolResult, ToolResultSchema, type TruncationReason, TruncationReasonEnum, type UnarchiveChatInput, UnarchiveChatSchema, type UnarchiveTaskInput, UnarchiveTaskSchema, type UpdateAttendeeResponseInput, UpdateAttendeeResponseSchema, type UpdateCalendarEventInput, UpdateCalendarEventSchema, type UpdateCalendarInput, UpdateCalendarSchema, type UpdateChatInput, type UpdateChatMuteInput, UpdateChatMuteSchema, type UpdateChatNeedsResponseInput, UpdateChatNeedsResponseSchema, UpdateChatSchema, type UpdateCurrentMemberInput, UpdateCurrentMemberSchema, type UpdateDataFieldInput, UpdateDataFieldSchema, type UpdateDataRecordInput, UpdateDataRecordSchema, type UpdateDataTypeInput, UpdateDataTypeSchema, type UpdateEventTypeInput, UpdateEventTypeSchema, type UpdateInboxInput, UpdateInboxSchema, type UpdateMemberRoleInput, UpdateMemberRoleSchema, type UpdateMenuItemInput, UpdateMenuItemSchema, type UpdateOrganizationRequest, UpdateOrganizationRequestSchema, type UpdatePhoneNumberInput, UpdatePhoneNumberSchema, type UpdateScheduleInput, UpdateScheduleSchema, type UpdateSiteInput, type UpdateSitePageInput, UpdateSitePageSchema, UpdateSiteSchema, type UpdateTaskInput, UpdateTaskSchema, type UpdateWorkflowInput, UpdateWorkflowSchema, type UpdateWorkspaceInput, type UpdateWorkspaceMemberInput, type UpdateWorkspaceMemberRequest, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, type UpsertDataRecordInput, UpsertDataRecordSchema, type VerifyCodeRequest, VerifyCodeRequestSchema, type VerifyCodeResponse, VerifyCodeResponseSchema, type WorkflowFormData, WorkflowFormDataSchema, type WorkspaceFormData, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };