@gravity-rail/sdk 0.13.0 → 0.14.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.
- package/dist/{chunk-FSSXKQR5.js → chunk-GP6ICMWF.js} +2 -1
- package/dist/chunk-GP6ICMWF.js.map +1 -0
- package/dist/{chunk-MUEM2BLY.js → chunk-K4MDFGMO.js} +325 -26
- package/dist/chunk-K4MDFGMO.js.map +1 -0
- package/dist/{client-BGs2ArRW.d.ts → client-CKudWmUT.d.cts} +745 -50
- package/dist/{client-DlndHSuK.d.cts → client-EAvh7w0y.d.ts} +745 -50
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +334 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -7
- package/dist/index.d.ts +6 -7
- package/dist/index.js +17 -10
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +319 -24
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +411 -142
- package/dist/internal.d.ts +411 -142
- package/dist/internal.js +9 -3
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-DV77AxSI.d.ts → revision-state-BUBt9Rir.d.ts} +9 -4
- package/dist/{revision-state-Dz5sHCgJ.d.cts → revision-state-CY4LBdfa.d.cts} +9 -4
- package/dist/schemas.cjs +38 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +68 -3
- package/dist/schemas.d.ts +68 -3
- package/dist/schemas.js +36 -1
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-Bz1JR0r0.d.cts → tasks-iRrM4SaF.d.cts} +43 -3
- package/dist/{tasks-Bz1JR0r0.d.ts → tasks-iRrM4SaF.d.ts} +43 -3
- package/package.json +2 -2
- package/dist/chunk-FSSXKQR5.js.map +0 -1
- package/dist/chunk-MUEM2BLY.js.map +0 -1
package/dist/schemas.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a9 as CalendarScheduleAvailabilityType, ab as CalendarScheduleRecurrence, a1 as CalendarEventStatus, z as AttendeeResponseStatus, D as DataFieldType, b1 as DataTypeRecordScope, aX as DataSensitivity, aH as DataCategory, bF as IndexStatus } from './tasks-
|
|
3
|
-
export { fa as AbilityData, fb as AbilityDataSchema, fc as AnonymousInquiryFormSchema, fd as ArchiveTaskInput, fe as ArchiveTaskSchema, ff as ChildTaskFormData, fg as ChildTaskFormDataSchema, fh as CreateInquiryInput, fi as CreateInquirySchema, fj as CreateMilestoneInput, fk as CreateMilestoneSchema, fl as CreateTaskInput, fm as CreateTaskSchema, fn as DeleteInquiryInput, fo as DeleteInquirySchema, fp as DeleteMilestoneInput, fq as DeleteMilestoneSchema, fr as DeleteTaskInput, fs as DeleteTaskSchema, ft as EnrichInquiryInput, fu as EnrichInquirySchema, fv as GetInquiryInput, fw as GetInquirySchema, fx as GetMilestoneInput, fy as GetMilestoneSchema, fz as GetTaskInput, fA as GetTaskSchema, fB as ListInquiriesInput, fC as ListInquiriesSchema, fD as ListMilestonesInput, fE as ListMilestonesSchema, fF as ListTasksInput, fG as ListTasksSchema, fH as MilestoneFormData, fI as MilestoneFormDataSchema, fJ as MilestoneGoalFormDataSchema, fK as TaskFormData, fL as TaskFormDataSchema, fM as UnarchiveTaskInput, fN as UnarchiveTaskSchema, fO as UpdateInquiryInput, fP as UpdateInquiryRequestSchema, fQ as UpdateInquirySchema, fR as UpdateMilestoneInput, fS as UpdateMilestoneSchema, fT as UpdateTaskInput, fU as UpdateTaskSchema } from './tasks-
|
|
2
|
+
import { a9 as CalendarScheduleAvailabilityType, ab as CalendarScheduleRecurrence, a1 as CalendarEventStatus, z as AttendeeResponseStatus, D as DataFieldType, b1 as DataTypeRecordScope, aX as DataSensitivity, aH as DataCategory, bF as IndexStatus } from './tasks-iRrM4SaF.cjs';
|
|
3
|
+
export { fa as AbilityData, fb as AbilityDataSchema, fc as AnonymousInquiryFormSchema, fd as ArchiveTaskInput, fe as ArchiveTaskSchema, ff as ChildTaskFormData, fg as ChildTaskFormDataSchema, fh as CreateInquiryInput, fi as CreateInquirySchema, fj as CreateMilestoneInput, fk as CreateMilestoneSchema, fl as CreateTaskInput, fm as CreateTaskSchema, fn as DeleteInquiryInput, fo as DeleteInquirySchema, fp as DeleteMilestoneInput, fq as DeleteMilestoneSchema, fr as DeleteTaskInput, fs as DeleteTaskSchema, ft as EnrichInquiryInput, fu as EnrichInquirySchema, fv as GetInquiryInput, fw as GetInquirySchema, fx as GetMilestoneInput, fy as GetMilestoneSchema, fz as GetTaskInput, fA as GetTaskSchema, fB as ListInquiriesInput, fC as ListInquiriesSchema, fD as ListMilestonesInput, fE as ListMilestonesSchema, fF as ListTasksInput, fG as ListTasksSchema, fH as MilestoneFormData, fI as MilestoneFormDataSchema, fJ as MilestoneGoalFormDataSchema, fK as TaskFormData, fL as TaskFormDataSchema, fM as UnarchiveTaskInput, fN as UnarchiveTaskSchema, fO as UpdateInquiryInput, fP as UpdateInquiryRequestSchema, fQ as UpdateInquirySchema, fR as UpdateMilestoneInput, fS as UpdateMilestoneSchema, fT as UpdateTaskInput, fU as UpdateTaskSchema } from './tasks-iRrM4SaF.cjs';
|
|
4
4
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
5
5
|
|
|
6
6
|
declare const AccountFormDataSchema: z.ZodObject<{
|
|
@@ -478,6 +478,7 @@ type GetICalUrlInput = z.infer<typeof GetICalUrlSchema>;
|
|
|
478
478
|
declare const ChannelEnum: z.ZodEnum<{
|
|
479
479
|
email: "email";
|
|
480
480
|
routine: "routine";
|
|
481
|
+
fax: "fax";
|
|
481
482
|
cli: "cli";
|
|
482
483
|
frame: "frame";
|
|
483
484
|
"phone-sms": "phone-sms";
|
|
@@ -528,6 +529,19 @@ declare const TruncationReasonEnum: z.ZodEnum<{
|
|
|
528
529
|
client_interrupt: "client_interrupt";
|
|
529
530
|
user_cancel: "user_cancel";
|
|
530
531
|
}>;
|
|
532
|
+
declare const MessageOriginEnum: z.ZodEnum<{
|
|
533
|
+
member: "member";
|
|
534
|
+
workflow: "workflow";
|
|
535
|
+
tool: "tool";
|
|
536
|
+
operator: "operator";
|
|
537
|
+
agent: "agent";
|
|
538
|
+
background_run: "background_run";
|
|
539
|
+
platform: "platform";
|
|
540
|
+
}>;
|
|
541
|
+
declare const MessageAudienceEnum: z.ZodEnum<{
|
|
542
|
+
conversation: "conversation";
|
|
543
|
+
agent_only: "agent_only";
|
|
544
|
+
}>;
|
|
531
545
|
declare const ChatParticipantFormDataSchema: z.ZodObject<{
|
|
532
546
|
memberId: z.ZodOptional<z.ZodNumber>;
|
|
533
547
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -763,6 +777,7 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
763
777
|
channel: z.ZodEnum<{
|
|
764
778
|
email: "email";
|
|
765
779
|
routine: "routine";
|
|
780
|
+
fax: "fax";
|
|
766
781
|
cli: "cli";
|
|
767
782
|
frame: "frame";
|
|
768
783
|
"phone-sms": "phone-sms";
|
|
@@ -989,6 +1004,21 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
989
1004
|
smsDeliveryErrorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
990
1005
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
991
1006
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1007
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1008
|
+
member: "member";
|
|
1009
|
+
workflow: "workflow";
|
|
1010
|
+
tool: "tool";
|
|
1011
|
+
operator: "operator";
|
|
1012
|
+
agent: "agent";
|
|
1013
|
+
background_run: "background_run";
|
|
1014
|
+
platform: "platform";
|
|
1015
|
+
}>>>;
|
|
1016
|
+
audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1017
|
+
conversation: "conversation";
|
|
1018
|
+
agent_only: "agent_only";
|
|
1019
|
+
}>>>;
|
|
1020
|
+
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1021
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
992
1022
|
}, z.core.$strip>;
|
|
993
1023
|
declare const ChatCompletionMessageSchema: z.ZodObject<{
|
|
994
1024
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1066,6 +1096,21 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1066
1096
|
smsDeliveryErrorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1067
1097
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1068
1098
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1099
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1100
|
+
member: "member";
|
|
1101
|
+
workflow: "workflow";
|
|
1102
|
+
tool: "tool";
|
|
1103
|
+
operator: "operator";
|
|
1104
|
+
agent: "agent";
|
|
1105
|
+
background_run: "background_run";
|
|
1106
|
+
platform: "platform";
|
|
1107
|
+
}>>>;
|
|
1108
|
+
audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1109
|
+
conversation: "conversation";
|
|
1110
|
+
agent_only: "agent_only";
|
|
1111
|
+
}>>>;
|
|
1112
|
+
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1113
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1069
1114
|
error: z.ZodOptional<z.ZodObject<{
|
|
1070
1115
|
code: z.ZodString;
|
|
1071
1116
|
message: z.ZodString;
|
|
@@ -1140,6 +1185,21 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
1140
1185
|
smsDeliveryErrorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1141
1186
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1142
1187
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1188
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1189
|
+
member: "member";
|
|
1190
|
+
workflow: "workflow";
|
|
1191
|
+
tool: "tool";
|
|
1192
|
+
operator: "operator";
|
|
1193
|
+
agent: "agent";
|
|
1194
|
+
background_run: "background_run";
|
|
1195
|
+
platform: "platform";
|
|
1196
|
+
}>>>;
|
|
1197
|
+
audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1198
|
+
conversation: "conversation";
|
|
1199
|
+
agent_only: "agent_only";
|
|
1200
|
+
}>>>;
|
|
1201
|
+
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1202
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1143
1203
|
error: z.ZodOptional<z.ZodObject<{
|
|
1144
1204
|
code: z.ZodString;
|
|
1145
1205
|
message: z.ZodString;
|
|
@@ -1164,6 +1224,8 @@ type MessageRole = z.infer<typeof MessageRoleEnum>;
|
|
|
1164
1224
|
type ChatFilterObjectType = z.infer<typeof ChatFilterObjectTypeEnum>;
|
|
1165
1225
|
type ChatFilterFilterType = z.infer<typeof ChatFilterFilterTypeEnum>;
|
|
1166
1226
|
type TruncationReason = z.infer<typeof TruncationReasonEnum>;
|
|
1227
|
+
type MessageOrigin = z.infer<typeof MessageOriginEnum>;
|
|
1228
|
+
type MessageAudience = z.infer<typeof MessageAudienceEnum>;
|
|
1167
1229
|
type ChatParticipantFormData = z.infer<typeof ChatParticipantFormDataSchema>;
|
|
1168
1230
|
type HumanChatParticipant = z.infer<typeof HumanChatParticipantSchema>;
|
|
1169
1231
|
type OperatorChatParticipant = z.infer<typeof OperatorChatParticipantSchema>;
|
|
@@ -2422,6 +2484,7 @@ declare const PhoneNumberFormDataSchema: z.ZodObject<{
|
|
|
2422
2484
|
restartDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2423
2485
|
enableSms: z.ZodOptional<z.ZodBoolean>;
|
|
2424
2486
|
enableVoice: z.ZodOptional<z.ZodBoolean>;
|
|
2487
|
+
inboundCallHandling: z.ZodOptional<z.ZodString>;
|
|
2425
2488
|
voiceUnavailableMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2426
2489
|
assistantEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2427
2490
|
voiceForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2444,6 +2507,7 @@ declare const CreatePhoneNumberSchema: z.ZodObject<{
|
|
|
2444
2507
|
restartDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2445
2508
|
enableSms: z.ZodOptional<z.ZodBoolean>;
|
|
2446
2509
|
enableVoice: z.ZodOptional<z.ZodBoolean>;
|
|
2510
|
+
inboundCallHandling: z.ZodOptional<z.ZodString>;
|
|
2447
2511
|
voiceUnavailableMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2448
2512
|
assistantEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2449
2513
|
voiceForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2460,6 +2524,7 @@ declare const UpdatePhoneNumberSchema: z.ZodObject<{
|
|
|
2460
2524
|
restartDelay: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
2461
2525
|
enableSms: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2462
2526
|
enableVoice: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2527
|
+
inboundCallHandling: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2463
2528
|
voiceUnavailableMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2464
2529
|
assistantEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2465
2530
|
voiceForwardNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2936,4 +3001,4 @@ declare function zodToMcpSchema(schema: any): any;
|
|
|
2936
3001
|
*/
|
|
2937
3002
|
declare function createTool(name: string, description: string, schema: z.ZodSchema<any>): Tool;
|
|
2938
3003
|
|
|
2939
|
-
export { 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 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 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 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, type DataRecordRetirement, DataRecordRetirementSchema, 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 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 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 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 MemberFilterFormData, MemberFilterFormDataSchema, 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 RateLimitAllowlistEntry, RateLimitAllowlistEntrySchema, type RateLimitOverride, RateLimitOverrideSchema, 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 TextContent, TextContentSchema, type ToggleFieldIndexInput, ToggleFieldIndexSchema, type ToolCall, type ToolCallFunction, ToolCallFunctionSchema, ToolCallSchema, type ToolResult, ToolResultSchema, type TruncationReason, TruncationReasonEnum, type UnarchiveChatInput, UnarchiveChatSchema, 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 UpdateWorkflowInput, UpdateWorkflowSchema, type UpdateWorkspaceInput, type UpdateWorkspaceMemberInput, type UpdateWorkspaceMemberRequest, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, type UpsertDataRecordInput, UpsertDataRecordSchema, type VerifyCodeRequest, VerifyCodeRequestSchema, type VerifyCodeResponse, VerifyCodeResponseSchema, type WorkflowCreateFormData, WorkflowCreateFormDataSchema, type WorkflowFormData, WorkflowFormDataSchema, type WorkspaceFormData, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
|
|
3004
|
+
export { 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 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 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 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, type DataRecordRetirement, DataRecordRetirementSchema, 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 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 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 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 MemberFilterFormData, MemberFilterFormDataSchema, 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 MessageAudience, MessageAudienceEnum, type MessageContentPart, MessageContentPartSchema, type MessageOrigin, MessageOriginEnum, type MessageRole, MessageRoleEnum, type MissingMembershipItem, MissingMembershipItemSchema, type OperatorChatParticipant, OperatorChatParticipantSchema, type Organization, OrganizationSchema, type PhoneNumberFormData, PhoneNumberFormDataSchema, type RateLimitAllowlistEntry, RateLimitAllowlistEntrySchema, type RateLimitOverride, RateLimitOverrideSchema, 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 TextContent, TextContentSchema, type ToggleFieldIndexInput, ToggleFieldIndexSchema, type ToolCall, type ToolCallFunction, ToolCallFunctionSchema, ToolCallSchema, type ToolResult, ToolResultSchema, type TruncationReason, TruncationReasonEnum, type UnarchiveChatInput, UnarchiveChatSchema, 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 UpdateWorkflowInput, UpdateWorkflowSchema, type UpdateWorkspaceInput, type UpdateWorkspaceMemberInput, type UpdateWorkspaceMemberRequest, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, type UpsertDataRecordInput, UpsertDataRecordSchema, type VerifyCodeRequest, VerifyCodeRequestSchema, type VerifyCodeResponse, VerifyCodeResponseSchema, type WorkflowCreateFormData, WorkflowCreateFormDataSchema, type WorkflowFormData, WorkflowFormDataSchema, type WorkspaceFormData, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a9 as CalendarScheduleAvailabilityType, ab as CalendarScheduleRecurrence, a1 as CalendarEventStatus, z as AttendeeResponseStatus, D as DataFieldType, b1 as DataTypeRecordScope, aX as DataSensitivity, aH as DataCategory, bF as IndexStatus } from './tasks-
|
|
3
|
-
export { fa as AbilityData, fb as AbilityDataSchema, fc as AnonymousInquiryFormSchema, fd as ArchiveTaskInput, fe as ArchiveTaskSchema, ff as ChildTaskFormData, fg as ChildTaskFormDataSchema, fh as CreateInquiryInput, fi as CreateInquirySchema, fj as CreateMilestoneInput, fk as CreateMilestoneSchema, fl as CreateTaskInput, fm as CreateTaskSchema, fn as DeleteInquiryInput, fo as DeleteInquirySchema, fp as DeleteMilestoneInput, fq as DeleteMilestoneSchema, fr as DeleteTaskInput, fs as DeleteTaskSchema, ft as EnrichInquiryInput, fu as EnrichInquirySchema, fv as GetInquiryInput, fw as GetInquirySchema, fx as GetMilestoneInput, fy as GetMilestoneSchema, fz as GetTaskInput, fA as GetTaskSchema, fB as ListInquiriesInput, fC as ListInquiriesSchema, fD as ListMilestonesInput, fE as ListMilestonesSchema, fF as ListTasksInput, fG as ListTasksSchema, fH as MilestoneFormData, fI as MilestoneFormDataSchema, fJ as MilestoneGoalFormDataSchema, fK as TaskFormData, fL as TaskFormDataSchema, fM as UnarchiveTaskInput, fN as UnarchiveTaskSchema, fO as UpdateInquiryInput, fP as UpdateInquiryRequestSchema, fQ as UpdateInquirySchema, fR as UpdateMilestoneInput, fS as UpdateMilestoneSchema, fT as UpdateTaskInput, fU as UpdateTaskSchema } from './tasks-
|
|
2
|
+
import { a9 as CalendarScheduleAvailabilityType, ab as CalendarScheduleRecurrence, a1 as CalendarEventStatus, z as AttendeeResponseStatus, D as DataFieldType, b1 as DataTypeRecordScope, aX as DataSensitivity, aH as DataCategory, bF as IndexStatus } from './tasks-iRrM4SaF.js';
|
|
3
|
+
export { fa as AbilityData, fb as AbilityDataSchema, fc as AnonymousInquiryFormSchema, fd as ArchiveTaskInput, fe as ArchiveTaskSchema, ff as ChildTaskFormData, fg as ChildTaskFormDataSchema, fh as CreateInquiryInput, fi as CreateInquirySchema, fj as CreateMilestoneInput, fk as CreateMilestoneSchema, fl as CreateTaskInput, fm as CreateTaskSchema, fn as DeleteInquiryInput, fo as DeleteInquirySchema, fp as DeleteMilestoneInput, fq as DeleteMilestoneSchema, fr as DeleteTaskInput, fs as DeleteTaskSchema, ft as EnrichInquiryInput, fu as EnrichInquirySchema, fv as GetInquiryInput, fw as GetInquirySchema, fx as GetMilestoneInput, fy as GetMilestoneSchema, fz as GetTaskInput, fA as GetTaskSchema, fB as ListInquiriesInput, fC as ListInquiriesSchema, fD as ListMilestonesInput, fE as ListMilestonesSchema, fF as ListTasksInput, fG as ListTasksSchema, fH as MilestoneFormData, fI as MilestoneFormDataSchema, fJ as MilestoneGoalFormDataSchema, fK as TaskFormData, fL as TaskFormDataSchema, fM as UnarchiveTaskInput, fN as UnarchiveTaskSchema, fO as UpdateInquiryInput, fP as UpdateInquiryRequestSchema, fQ as UpdateInquirySchema, fR as UpdateMilestoneInput, fS as UpdateMilestoneSchema, fT as UpdateTaskInput, fU as UpdateTaskSchema } from './tasks-iRrM4SaF.js';
|
|
4
4
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
5
5
|
|
|
6
6
|
declare const AccountFormDataSchema: z.ZodObject<{
|
|
@@ -478,6 +478,7 @@ type GetICalUrlInput = z.infer<typeof GetICalUrlSchema>;
|
|
|
478
478
|
declare const ChannelEnum: z.ZodEnum<{
|
|
479
479
|
email: "email";
|
|
480
480
|
routine: "routine";
|
|
481
|
+
fax: "fax";
|
|
481
482
|
cli: "cli";
|
|
482
483
|
frame: "frame";
|
|
483
484
|
"phone-sms": "phone-sms";
|
|
@@ -528,6 +529,19 @@ declare const TruncationReasonEnum: z.ZodEnum<{
|
|
|
528
529
|
client_interrupt: "client_interrupt";
|
|
529
530
|
user_cancel: "user_cancel";
|
|
530
531
|
}>;
|
|
532
|
+
declare const MessageOriginEnum: z.ZodEnum<{
|
|
533
|
+
member: "member";
|
|
534
|
+
workflow: "workflow";
|
|
535
|
+
tool: "tool";
|
|
536
|
+
operator: "operator";
|
|
537
|
+
agent: "agent";
|
|
538
|
+
background_run: "background_run";
|
|
539
|
+
platform: "platform";
|
|
540
|
+
}>;
|
|
541
|
+
declare const MessageAudienceEnum: z.ZodEnum<{
|
|
542
|
+
conversation: "conversation";
|
|
543
|
+
agent_only: "agent_only";
|
|
544
|
+
}>;
|
|
531
545
|
declare const ChatParticipantFormDataSchema: z.ZodObject<{
|
|
532
546
|
memberId: z.ZodOptional<z.ZodNumber>;
|
|
533
547
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -763,6 +777,7 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
763
777
|
channel: z.ZodEnum<{
|
|
764
778
|
email: "email";
|
|
765
779
|
routine: "routine";
|
|
780
|
+
fax: "fax";
|
|
766
781
|
cli: "cli";
|
|
767
782
|
frame: "frame";
|
|
768
783
|
"phone-sms": "phone-sms";
|
|
@@ -989,6 +1004,21 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
989
1004
|
smsDeliveryErrorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
990
1005
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
991
1006
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1007
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1008
|
+
member: "member";
|
|
1009
|
+
workflow: "workflow";
|
|
1010
|
+
tool: "tool";
|
|
1011
|
+
operator: "operator";
|
|
1012
|
+
agent: "agent";
|
|
1013
|
+
background_run: "background_run";
|
|
1014
|
+
platform: "platform";
|
|
1015
|
+
}>>>;
|
|
1016
|
+
audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1017
|
+
conversation: "conversation";
|
|
1018
|
+
agent_only: "agent_only";
|
|
1019
|
+
}>>>;
|
|
1020
|
+
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1021
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
992
1022
|
}, z.core.$strip>;
|
|
993
1023
|
declare const ChatCompletionMessageSchema: z.ZodObject<{
|
|
994
1024
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1066,6 +1096,21 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1066
1096
|
smsDeliveryErrorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1067
1097
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1068
1098
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1099
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1100
|
+
member: "member";
|
|
1101
|
+
workflow: "workflow";
|
|
1102
|
+
tool: "tool";
|
|
1103
|
+
operator: "operator";
|
|
1104
|
+
agent: "agent";
|
|
1105
|
+
background_run: "background_run";
|
|
1106
|
+
platform: "platform";
|
|
1107
|
+
}>>>;
|
|
1108
|
+
audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1109
|
+
conversation: "conversation";
|
|
1110
|
+
agent_only: "agent_only";
|
|
1111
|
+
}>>>;
|
|
1112
|
+
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1113
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1069
1114
|
error: z.ZodOptional<z.ZodObject<{
|
|
1070
1115
|
code: z.ZodString;
|
|
1071
1116
|
message: z.ZodString;
|
|
@@ -1140,6 +1185,21 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
1140
1185
|
smsDeliveryErrorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1141
1186
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1142
1187
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1188
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1189
|
+
member: "member";
|
|
1190
|
+
workflow: "workflow";
|
|
1191
|
+
tool: "tool";
|
|
1192
|
+
operator: "operator";
|
|
1193
|
+
agent: "agent";
|
|
1194
|
+
background_run: "background_run";
|
|
1195
|
+
platform: "platform";
|
|
1196
|
+
}>>>;
|
|
1197
|
+
audience: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1198
|
+
conversation: "conversation";
|
|
1199
|
+
agent_only: "agent_only";
|
|
1200
|
+
}>>>;
|
|
1201
|
+
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1202
|
+
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1143
1203
|
error: z.ZodOptional<z.ZodObject<{
|
|
1144
1204
|
code: z.ZodString;
|
|
1145
1205
|
message: z.ZodString;
|
|
@@ -1164,6 +1224,8 @@ type MessageRole = z.infer<typeof MessageRoleEnum>;
|
|
|
1164
1224
|
type ChatFilterObjectType = z.infer<typeof ChatFilterObjectTypeEnum>;
|
|
1165
1225
|
type ChatFilterFilterType = z.infer<typeof ChatFilterFilterTypeEnum>;
|
|
1166
1226
|
type TruncationReason = z.infer<typeof TruncationReasonEnum>;
|
|
1227
|
+
type MessageOrigin = z.infer<typeof MessageOriginEnum>;
|
|
1228
|
+
type MessageAudience = z.infer<typeof MessageAudienceEnum>;
|
|
1167
1229
|
type ChatParticipantFormData = z.infer<typeof ChatParticipantFormDataSchema>;
|
|
1168
1230
|
type HumanChatParticipant = z.infer<typeof HumanChatParticipantSchema>;
|
|
1169
1231
|
type OperatorChatParticipant = z.infer<typeof OperatorChatParticipantSchema>;
|
|
@@ -2422,6 +2484,7 @@ declare const PhoneNumberFormDataSchema: z.ZodObject<{
|
|
|
2422
2484
|
restartDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2423
2485
|
enableSms: z.ZodOptional<z.ZodBoolean>;
|
|
2424
2486
|
enableVoice: z.ZodOptional<z.ZodBoolean>;
|
|
2487
|
+
inboundCallHandling: z.ZodOptional<z.ZodString>;
|
|
2425
2488
|
voiceUnavailableMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2426
2489
|
assistantEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2427
2490
|
voiceForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2444,6 +2507,7 @@ declare const CreatePhoneNumberSchema: z.ZodObject<{
|
|
|
2444
2507
|
restartDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2445
2508
|
enableSms: z.ZodOptional<z.ZodBoolean>;
|
|
2446
2509
|
enableVoice: z.ZodOptional<z.ZodBoolean>;
|
|
2510
|
+
inboundCallHandling: z.ZodOptional<z.ZodString>;
|
|
2447
2511
|
voiceUnavailableMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2448
2512
|
assistantEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2449
2513
|
voiceForwardNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2460,6 +2524,7 @@ declare const UpdatePhoneNumberSchema: z.ZodObject<{
|
|
|
2460
2524
|
restartDelay: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
2461
2525
|
enableSms: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2462
2526
|
enableVoice: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2527
|
+
inboundCallHandling: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2463
2528
|
voiceUnavailableMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2464
2529
|
assistantEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2465
2530
|
voiceForwardNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2936,4 +3001,4 @@ declare function zodToMcpSchema(schema: any): any;
|
|
|
2936
3001
|
*/
|
|
2937
3002
|
declare function createTool(name: string, description: string, schema: z.ZodSchema<any>): Tool;
|
|
2938
3003
|
|
|
2939
|
-
export { 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 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 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 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, type DataRecordRetirement, DataRecordRetirementSchema, 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 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 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 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 MemberFilterFormData, MemberFilterFormDataSchema, 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 RateLimitAllowlistEntry, RateLimitAllowlistEntrySchema, type RateLimitOverride, RateLimitOverrideSchema, 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 TextContent, TextContentSchema, type ToggleFieldIndexInput, ToggleFieldIndexSchema, type ToolCall, type ToolCallFunction, ToolCallFunctionSchema, ToolCallSchema, type ToolResult, ToolResultSchema, type TruncationReason, TruncationReasonEnum, type UnarchiveChatInput, UnarchiveChatSchema, 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 UpdateWorkflowInput, UpdateWorkflowSchema, type UpdateWorkspaceInput, type UpdateWorkspaceMemberInput, type UpdateWorkspaceMemberRequest, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, type UpsertDataRecordInput, UpsertDataRecordSchema, type VerifyCodeRequest, VerifyCodeRequestSchema, type VerifyCodeResponse, VerifyCodeResponseSchema, type WorkflowCreateFormData, WorkflowCreateFormDataSchema, type WorkflowFormData, WorkflowFormDataSchema, type WorkspaceFormData, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
|
|
3004
|
+
export { 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 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 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 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, type DataRecordRetirement, DataRecordRetirementSchema, 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 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 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 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 MemberFilterFormData, MemberFilterFormDataSchema, 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 MessageAudience, MessageAudienceEnum, type MessageContentPart, MessageContentPartSchema, type MessageOrigin, MessageOriginEnum, type MessageRole, MessageRoleEnum, type MissingMembershipItem, MissingMembershipItemSchema, type OperatorChatParticipant, OperatorChatParticipantSchema, type Organization, OrganizationSchema, type PhoneNumberFormData, PhoneNumberFormDataSchema, type RateLimitAllowlistEntry, RateLimitAllowlistEntrySchema, type RateLimitOverride, RateLimitOverrideSchema, 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 TextContent, TextContentSchema, type ToggleFieldIndexInput, ToggleFieldIndexSchema, type ToolCall, type ToolCallFunction, ToolCallFunctionSchema, ToolCallSchema, type ToolResult, ToolResultSchema, type TruncationReason, TruncationReasonEnum, type UnarchiveChatInput, UnarchiveChatSchema, 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 UpdateWorkflowInput, UpdateWorkflowSchema, type UpdateWorkspaceInput, type UpdateWorkspaceMemberInput, type UpdateWorkspaceMemberRequest, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, type UpsertDataRecordInput, UpsertDataRecordSchema, type VerifyCodeRequest, VerifyCodeRequestSchema, type VerifyCodeResponse, VerifyCodeResponseSchema, type WorkflowCreateFormData, WorkflowCreateFormDataSchema, type WorkflowFormData, WorkflowFormDataSchema, type WorkspaceFormData, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
|
package/dist/schemas.js
CHANGED
|
@@ -499,6 +499,7 @@ var ChannelEnum = z4.enum([
|
|
|
499
499
|
"frame",
|
|
500
500
|
"phone-sms",
|
|
501
501
|
"phone-voice",
|
|
502
|
+
"fax",
|
|
502
503
|
"phone-whatsapp",
|
|
503
504
|
"email",
|
|
504
505
|
"background",
|
|
@@ -551,6 +552,28 @@ var TruncationReasonEnum = z4.enum([
|
|
|
551
552
|
"error"
|
|
552
553
|
// Error occurred during generation
|
|
553
554
|
]);
|
|
555
|
+
var MessageOriginEnum = z4.enum([
|
|
556
|
+
"member",
|
|
557
|
+
// a human member of the workspace
|
|
558
|
+
"agent",
|
|
559
|
+
// the AI assistant's own output
|
|
560
|
+
"operator",
|
|
561
|
+
// a human operator acting in the conversation
|
|
562
|
+
"tool",
|
|
563
|
+
// tool / function output
|
|
564
|
+
"workflow",
|
|
565
|
+
// orchestration machinery (task guidance, routing notes)
|
|
566
|
+
"background_run",
|
|
567
|
+
// a detached background trajectory of the agent
|
|
568
|
+
"platform"
|
|
569
|
+
// Gravity Rail itself (notices, system events)
|
|
570
|
+
]);
|
|
571
|
+
var MessageAudienceEnum = z4.enum([
|
|
572
|
+
"conversation",
|
|
573
|
+
// participates in the member-facing transcript
|
|
574
|
+
"agent_only"
|
|
575
|
+
// context the member never said; never render as speech
|
|
576
|
+
]);
|
|
554
577
|
var ChatParticipantFormDataSchema = z4.object({
|
|
555
578
|
memberId: z4.number().optional(),
|
|
556
579
|
role: z4.string().optional(),
|
|
@@ -795,7 +818,16 @@ var ChatMessageAPIResponseSchema = z4.object({
|
|
|
795
818
|
smsDeliveryErrorCode: z4.string().nullable().optional(),
|
|
796
819
|
smsDeliveryUpdatedAt: z4.string().nullable().optional(),
|
|
797
820
|
// Friendly failure reason — only set when smsDeliveryStatus is failed/undelivered.
|
|
798
|
-
smsDeliveryFailureReason: z4.string().nullable().optional()
|
|
821
|
+
smsDeliveryFailureReason: z4.string().nullable().optional(),
|
|
822
|
+
// ADR-11 provenance. Null on rows written before the columns existed —
|
|
823
|
+
// clients fall back to `role`.
|
|
824
|
+
origin: MessageOriginEnum.nullable().optional(),
|
|
825
|
+
audience: MessageAudienceEnum.nullable().optional(),
|
|
826
|
+
// Forked-trajectory "show work" affordance: how many messages hang off this
|
|
827
|
+
// one as a detached background thread, and the fork point this message
|
|
828
|
+
// itself hangs off (the PARENT's uuid, so it joins against `id`).
|
|
829
|
+
childMessageCount: z4.number().optional(),
|
|
830
|
+
parentMessageId: z4.string().nullable().optional()
|
|
799
831
|
});
|
|
800
832
|
var ChatCompletionMessageSchema = z4.object({
|
|
801
833
|
id: z4.string().optional(),
|
|
@@ -1607,6 +1639,7 @@ var PhoneNumberFormDataSchema = z10.object({
|
|
|
1607
1639
|
restartDelay: z10.number().nullable().optional(),
|
|
1608
1640
|
enableSms: z10.boolean().optional(),
|
|
1609
1641
|
enableVoice: z10.boolean().optional(),
|
|
1642
|
+
inboundCallHandling: z10.string().optional(),
|
|
1610
1643
|
voiceUnavailableMessage: z10.string().nullable().optional(),
|
|
1611
1644
|
assistantEnabled: z10.boolean().optional(),
|
|
1612
1645
|
voiceForwardNumber: z10.string().nullable().optional(),
|
|
@@ -2053,7 +2086,9 @@ export {
|
|
|
2053
2086
|
MemberRoleWorkflowAccessSchema,
|
|
2054
2087
|
MemberSchema,
|
|
2055
2088
|
MenuItemFormDataSchema,
|
|
2089
|
+
MessageAudienceEnum,
|
|
2056
2090
|
MessageContentPartSchema,
|
|
2091
|
+
MessageOriginEnum,
|
|
2057
2092
|
MessageRoleEnum,
|
|
2058
2093
|
MilestoneFormDataSchema,
|
|
2059
2094
|
MilestoneGoalFormDataSchema,
|