@gravity-rail/sdk 0.32.0 → 0.34.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/README.md +5 -0
- package/dist/{chat-interaction-BKdImgZ5.d.ts → chat-interaction-BiH_iWSK.d.ts} +13679 -12591
- package/dist/{chat-interaction-DLfC_h_P.d.cts → chat-interaction-C-B463O4.d.cts} +13679 -12591
- package/dist/{chunk-N446FGCT.js → chunk-ON7HBHJA.js} +234 -22
- package/dist/chunk-ON7HBHJA.js.map +1 -0
- package/dist/helpers.d.cts +3 -3
- package/dist/helpers.d.ts +3 -3
- package/dist/index.cjs +236 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -6
- package/dist/index.d.ts +47 -6
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +235 -21
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +30 -12
- package/dist/internal.d.ts +30 -12
- package/dist/internal.js +5 -1
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-Bsq5dKwi.d.cts → revision-state-CXEcwfWa.d.cts} +44 -44
- package/dist/{revision-state-CQTYcIRG.d.ts → revision-state-DLQDfN6Z.d.ts} +44 -44
- package/dist/schemas.cjs +33 -10
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +26 -23
- package/dist/schemas.d.ts +26 -23
- package/dist/schemas.js +32 -9
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-B-31JPuq.d.cts → tasks-Co5om-p9.d.cts} +3147 -3145
- package/dist/{tasks-B-31JPuq.d.ts → tasks-Co5om-p9.d.ts} +3147 -3145
- package/package.json +3 -3
- package/dist/chunk-N446FGCT.js.map +0 -1
package/dist/schemas.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ae as CalendarScheduleAvailabilityType, ag as CalendarScheduleRecurrence, a6 as CalendarEventStatus, F as AttendeeResponseStatus, D as DataFieldType, ba as DataTypeRecordScope, b4 as DataSensitivity, aQ as DataCategory, bU as IndexStatus } from './tasks-
|
|
3
|
-
export { g0 as AbilityData, g1 as AbilityDataSchema, g2 as AnonymousInquiryFormSchema, g3 as ArchiveTaskInput, g4 as ArchiveTaskSchema, g5 as ChildTaskFormData, g6 as ChildTaskFormDataSchema, g7 as CreateInquiryInput, g8 as CreateInquirySchema, g9 as CreateTaskInput, ga as CreateTaskSchema, gb as DeleteInquiryInput, gc as DeleteInquirySchema, gd as DeleteTaskInput, ge as DeleteTaskSchema, gf as EnrichInquiryInput, gg as EnrichInquirySchema, gh as GetInquiryInput, gi as GetInquirySchema, gj as GetTaskInput, gk as GetTaskSchema, gl as ListInquiriesInput, gm as ListInquiriesSchema, gn as ListTasksInput, go as ListTasksSchema, gp as TaskFormData, gq as TaskFormDataSchema, gr as UnarchiveTaskInput, gs as UnarchiveTaskSchema, gt as UpdateInquiryInput, gu as UpdateInquiryRequestSchema, gv as UpdateInquirySchema, gw as UpdateTaskInput, gx as UpdateTaskSchema } from './tasks-
|
|
2
|
+
import { ae as CalendarScheduleAvailabilityType, ag as CalendarScheduleRecurrence, a6 as CalendarEventStatus, F as AttendeeResponseStatus, D as DataFieldType, ba as DataTypeRecordScope, b4 as DataSensitivity, aQ as DataCategory, bU as IndexStatus } from './tasks-Co5om-p9.cjs';
|
|
3
|
+
export { g0 as AbilityData, g1 as AbilityDataSchema, g2 as AnonymousInquiryFormSchema, g3 as ArchiveTaskInput, g4 as ArchiveTaskSchema, g5 as ChildTaskFormData, g6 as ChildTaskFormDataSchema, g7 as CreateInquiryInput, g8 as CreateInquirySchema, g9 as CreateTaskInput, ga as CreateTaskSchema, gb as DeleteInquiryInput, gc as DeleteInquirySchema, gd as DeleteTaskInput, ge as DeleteTaskSchema, gf as EnrichInquiryInput, gg as EnrichInquirySchema, gh as GetInquiryInput, gi as GetInquirySchema, gj as GetTaskInput, gk as GetTaskSchema, gl as ListInquiriesInput, gm as ListInquiriesSchema, gn as ListTasksInput, go as ListTasksSchema, gp as TaskFormData, gq as TaskFormDataSchema, gr as UnarchiveTaskInput, gs as UnarchiveTaskSchema, gt as UpdateInquiryInput, gu as UpdateInquiryRequestSchema, gv as UpdateInquirySchema, gw as UpdateTaskInput, gx as UpdateTaskSchema } from './tasks-Co5om-p9.cjs';
|
|
4
4
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
5
5
|
|
|
6
6
|
declare const AccountFormDataSchema: z.ZodObject<{
|
|
@@ -525,6 +525,12 @@ declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
|
|
|
525
525
|
notEquals: "notEquals";
|
|
526
526
|
onlyMine: "onlyMine";
|
|
527
527
|
}>;
|
|
528
|
+
declare const ChatMuteReasonEnum: z.ZodEnum<{
|
|
529
|
+
working: "working";
|
|
530
|
+
waiting_on_person: "waiting_on_person";
|
|
531
|
+
resolved_elsewhere: "resolved_elsewhere";
|
|
532
|
+
not_mine: "not_mine";
|
|
533
|
+
}>;
|
|
528
534
|
declare const TruncationReasonEnum: z.ZodEnum<{
|
|
529
535
|
error: "error";
|
|
530
536
|
barge_in: "barge_in";
|
|
@@ -614,7 +620,6 @@ declare const ChatFormDataSchema: z.ZodObject<{
|
|
|
614
620
|
assistantRealtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
615
621
|
paused: z.ZodOptional<z.ZodBoolean>;
|
|
616
622
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
617
|
-
needsResponse: z.ZodOptional<z.ZodBoolean>;
|
|
618
623
|
initialMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
619
624
|
}, z.core.$strip>;
|
|
620
625
|
declare const ChatFiltersSchema: z.ZodObject<{
|
|
@@ -703,7 +708,6 @@ declare const CreateChatSchema: z.ZodObject<{
|
|
|
703
708
|
assistantRealtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
704
709
|
paused: z.ZodOptional<z.ZodBoolean>;
|
|
705
710
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
706
|
-
needsResponse: z.ZodOptional<z.ZodBoolean>;
|
|
707
711
|
initialMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
708
712
|
}, z.core.$strip>;
|
|
709
713
|
declare const UpdateChatSchema: z.ZodObject<{
|
|
@@ -715,7 +719,6 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
715
719
|
workflowId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
716
720
|
workflowRevisionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
717
721
|
channel: z.ZodOptional<z.ZodString>;
|
|
718
|
-
needsResponse: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
719
722
|
paused: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
720
723
|
workflowUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
721
724
|
workflowRevisionUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -739,7 +742,6 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
739
742
|
assistantChatModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
740
743
|
assistantRealtimeModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
741
744
|
assistantRealtimeModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
742
|
-
muted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
743
745
|
initialMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
744
746
|
}, z.core.$strip>;
|
|
745
747
|
declare const DeleteChatSchema: z.ZodObject<{
|
|
@@ -758,11 +760,13 @@ declare const UpdateChatMuteSchema: z.ZodObject<{
|
|
|
758
760
|
wid: z.ZodString;
|
|
759
761
|
chatId: z.ZodNumber;
|
|
760
762
|
muted: z.ZodBoolean;
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
763
|
+
muteReason: z.ZodOptional<z.ZodEnum<{
|
|
764
|
+
working: "working";
|
|
765
|
+
waiting_on_person: "waiting_on_person";
|
|
766
|
+
resolved_elsewhere: "resolved_elsewhere";
|
|
767
|
+
not_mine: "not_mine";
|
|
768
|
+
}>>;
|
|
769
|
+
muteExpiresOnInbound: z.ZodOptional<z.ZodBoolean>;
|
|
766
770
|
}, z.core.$strip>;
|
|
767
771
|
declare const GetChatsNeedsResponseSchema: z.ZodObject<{
|
|
768
772
|
wid: z.ZodString;
|
|
@@ -823,7 +827,6 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
823
827
|
id: z.ZodNumber;
|
|
824
828
|
archived: z.ZodBoolean;
|
|
825
829
|
muted: z.ZodBoolean;
|
|
826
|
-
needsResponse: z.ZodBoolean;
|
|
827
830
|
channel: z.ZodEnum<{
|
|
828
831
|
email: "email";
|
|
829
832
|
routine: "routine";
|
|
@@ -1274,6 +1277,7 @@ type MessageRole = z.infer<typeof MessageRoleEnum>;
|
|
|
1274
1277
|
type ChatFilterObjectType = z.infer<typeof ChatFilterObjectTypeEnum>;
|
|
1275
1278
|
type ChatFilterFilterType = z.infer<typeof ChatFilterFilterTypeEnum>;
|
|
1276
1279
|
type TruncationReason = z.infer<typeof TruncationReasonEnum>;
|
|
1280
|
+
type ChatMuteReasonValue = z.infer<typeof ChatMuteReasonEnum>;
|
|
1277
1281
|
type MessageOrigin = z.infer<typeof MessageOriginEnum>;
|
|
1278
1282
|
type MessageAudience = z.infer<typeof MessageAudienceEnum>;
|
|
1279
1283
|
type ChatParticipantFormData = z.infer<typeof ChatParticipantFormDataSchema>;
|
|
@@ -1306,7 +1310,6 @@ type DeleteChatInput = z.infer<typeof DeleteChatSchema>;
|
|
|
1306
1310
|
type ArchiveChatInput = z.infer<typeof ArchiveChatSchema>;
|
|
1307
1311
|
type UnarchiveChatInput = z.infer<typeof UnarchiveChatSchema>;
|
|
1308
1312
|
type UpdateChatMuteInput = z.infer<typeof UpdateChatMuteSchema>;
|
|
1309
|
-
type UpdateChatNeedsResponseInput = z.infer<typeof UpdateChatNeedsResponseSchema>;
|
|
1310
1313
|
type GetChatsNeedsResponseInput = z.infer<typeof GetChatsNeedsResponseSchema>;
|
|
1311
1314
|
type GetChatMessagesInput = z.infer<typeof GetChatMessagesSchema>;
|
|
1312
1315
|
type SendChatMessageInput = z.infer<typeof SendChatMessageSchema>;
|
|
@@ -1856,9 +1859,9 @@ declare const InboxRuleSchema: z.ZodObject<{
|
|
|
1856
1859
|
}>;
|
|
1857
1860
|
operator: z.ZodEnum<{
|
|
1858
1861
|
equals: "equals";
|
|
1859
|
-
contains: "contains";
|
|
1860
1862
|
regex: "regex";
|
|
1861
1863
|
ends_with: "ends_with";
|
|
1864
|
+
contains: "contains";
|
|
1862
1865
|
ip_in_range: "ip_in_range";
|
|
1863
1866
|
}>;
|
|
1864
1867
|
value: z.ZodString;
|
|
@@ -1890,9 +1893,9 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1890
1893
|
}>;
|
|
1891
1894
|
operator: z.ZodEnum<{
|
|
1892
1895
|
equals: "equals";
|
|
1893
|
-
contains: "contains";
|
|
1894
1896
|
regex: "regex";
|
|
1895
1897
|
ends_with: "ends_with";
|
|
1898
|
+
contains: "contains";
|
|
1896
1899
|
ip_in_range: "ip_in_range";
|
|
1897
1900
|
}>;
|
|
1898
1901
|
value: z.ZodString;
|
|
@@ -1904,9 +1907,9 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1904
1907
|
}>;
|
|
1905
1908
|
operator: z.ZodEnum<{
|
|
1906
1909
|
equals: "equals";
|
|
1907
|
-
contains: "contains";
|
|
1908
1910
|
regex: "regex";
|
|
1909
1911
|
ends_with: "ends_with";
|
|
1912
|
+
contains: "contains";
|
|
1910
1913
|
ip_in_range: "ip_in_range";
|
|
1911
1914
|
}>;
|
|
1912
1915
|
value: z.ZodString;
|
|
@@ -1943,9 +1946,9 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1943
1946
|
}>;
|
|
1944
1947
|
operator: z.ZodEnum<{
|
|
1945
1948
|
equals: "equals";
|
|
1946
|
-
contains: "contains";
|
|
1947
1949
|
regex: "regex";
|
|
1948
1950
|
ends_with: "ends_with";
|
|
1951
|
+
contains: "contains";
|
|
1949
1952
|
ip_in_range: "ip_in_range";
|
|
1950
1953
|
}>;
|
|
1951
1954
|
value: z.ZodString;
|
|
@@ -1957,9 +1960,9 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1957
1960
|
}>;
|
|
1958
1961
|
operator: z.ZodEnum<{
|
|
1959
1962
|
equals: "equals";
|
|
1960
|
-
contains: "contains";
|
|
1961
1963
|
regex: "regex";
|
|
1962
1964
|
ends_with: "ends_with";
|
|
1965
|
+
contains: "contains";
|
|
1963
1966
|
ip_in_range: "ip_in_range";
|
|
1964
1967
|
}>;
|
|
1965
1968
|
value: z.ZodString;
|
|
@@ -2017,9 +2020,9 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
2017
2020
|
}>;
|
|
2018
2021
|
operator: z.ZodEnum<{
|
|
2019
2022
|
equals: "equals";
|
|
2020
|
-
contains: "contains";
|
|
2021
2023
|
regex: "regex";
|
|
2022
2024
|
ends_with: "ends_with";
|
|
2025
|
+
contains: "contains";
|
|
2023
2026
|
ip_in_range: "ip_in_range";
|
|
2024
2027
|
}>;
|
|
2025
2028
|
value: z.ZodString;
|
|
@@ -2031,9 +2034,9 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
2031
2034
|
}>;
|
|
2032
2035
|
operator: z.ZodEnum<{
|
|
2033
2036
|
equals: "equals";
|
|
2034
|
-
contains: "contains";
|
|
2035
2037
|
regex: "regex";
|
|
2036
2038
|
ends_with: "ends_with";
|
|
2039
|
+
contains: "contains";
|
|
2037
2040
|
ip_in_range: "ip_in_range";
|
|
2038
2041
|
}>;
|
|
2039
2042
|
value: z.ZodString;
|
|
@@ -2080,9 +2083,9 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
2080
2083
|
}>;
|
|
2081
2084
|
operator: z.ZodEnum<{
|
|
2082
2085
|
equals: "equals";
|
|
2083
|
-
contains: "contains";
|
|
2084
2086
|
regex: "regex";
|
|
2085
2087
|
ends_with: "ends_with";
|
|
2088
|
+
contains: "contains";
|
|
2086
2089
|
ip_in_range: "ip_in_range";
|
|
2087
2090
|
}>;
|
|
2088
2091
|
value: z.ZodString;
|
|
@@ -2094,9 +2097,9 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
2094
2097
|
}>;
|
|
2095
2098
|
operator: z.ZodEnum<{
|
|
2096
2099
|
equals: "equals";
|
|
2097
|
-
contains: "contains";
|
|
2098
2100
|
regex: "regex";
|
|
2099
2101
|
ends_with: "ends_with";
|
|
2102
|
+
contains: "contains";
|
|
2100
2103
|
ip_in_range: "ip_in_range";
|
|
2101
2104
|
}>;
|
|
2102
2105
|
value: z.ZodString;
|
|
@@ -3052,4 +3055,4 @@ declare function zodToMcpSchema(schema: any): any;
|
|
|
3052
3055
|
*/
|
|
3053
3056
|
declare function createTool(name: string, description: string, schema: z.ZodSchema<any>): Tool;
|
|
3054
3057
|
|
|
3055
|
-
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 AssistantChatParticipant, AssistantChatParticipantSchema, 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 ContributorChatParticipant, ContributorChatParticipantSchema, 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, EMPTY_SCHEMA_SENSITIVITY, 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 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 SupervisorChatParticipant, SupervisorChatParticipantSchema, 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 };
|
|
3058
|
+
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 AssistantChatParticipant, AssistantChatParticipantSchema, 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, ChatMuteReasonEnum, type ChatMuteReasonValue, type ChatParticipantFormData, ChatParticipantFormDataSchema, ChatSchema, type CheckAvailabilityInput, CheckAvailabilitySchema, type CloneWorkflowInput, CloneWorkflowSchema, type ContributorChatParticipant, ContributorChatParticipantSchema, 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, EMPTY_SCHEMA_SENSITIVITY, 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 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 SupervisorChatParticipant, SupervisorChatParticipantSchema, 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, 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 { ae as CalendarScheduleAvailabilityType, ag as CalendarScheduleRecurrence, a6 as CalendarEventStatus, F as AttendeeResponseStatus, D as DataFieldType, ba as DataTypeRecordScope, b4 as DataSensitivity, aQ as DataCategory, bU as IndexStatus } from './tasks-
|
|
3
|
-
export { g0 as AbilityData, g1 as AbilityDataSchema, g2 as AnonymousInquiryFormSchema, g3 as ArchiveTaskInput, g4 as ArchiveTaskSchema, g5 as ChildTaskFormData, g6 as ChildTaskFormDataSchema, g7 as CreateInquiryInput, g8 as CreateInquirySchema, g9 as CreateTaskInput, ga as CreateTaskSchema, gb as DeleteInquiryInput, gc as DeleteInquirySchema, gd as DeleteTaskInput, ge as DeleteTaskSchema, gf as EnrichInquiryInput, gg as EnrichInquirySchema, gh as GetInquiryInput, gi as GetInquirySchema, gj as GetTaskInput, gk as GetTaskSchema, gl as ListInquiriesInput, gm as ListInquiriesSchema, gn as ListTasksInput, go as ListTasksSchema, gp as TaskFormData, gq as TaskFormDataSchema, gr as UnarchiveTaskInput, gs as UnarchiveTaskSchema, gt as UpdateInquiryInput, gu as UpdateInquiryRequestSchema, gv as UpdateInquirySchema, gw as UpdateTaskInput, gx as UpdateTaskSchema } from './tasks-
|
|
2
|
+
import { ae as CalendarScheduleAvailabilityType, ag as CalendarScheduleRecurrence, a6 as CalendarEventStatus, F as AttendeeResponseStatus, D as DataFieldType, ba as DataTypeRecordScope, b4 as DataSensitivity, aQ as DataCategory, bU as IndexStatus } from './tasks-Co5om-p9.js';
|
|
3
|
+
export { g0 as AbilityData, g1 as AbilityDataSchema, g2 as AnonymousInquiryFormSchema, g3 as ArchiveTaskInput, g4 as ArchiveTaskSchema, g5 as ChildTaskFormData, g6 as ChildTaskFormDataSchema, g7 as CreateInquiryInput, g8 as CreateInquirySchema, g9 as CreateTaskInput, ga as CreateTaskSchema, gb as DeleteInquiryInput, gc as DeleteInquirySchema, gd as DeleteTaskInput, ge as DeleteTaskSchema, gf as EnrichInquiryInput, gg as EnrichInquirySchema, gh as GetInquiryInput, gi as GetInquirySchema, gj as GetTaskInput, gk as GetTaskSchema, gl as ListInquiriesInput, gm as ListInquiriesSchema, gn as ListTasksInput, go as ListTasksSchema, gp as TaskFormData, gq as TaskFormDataSchema, gr as UnarchiveTaskInput, gs as UnarchiveTaskSchema, gt as UpdateInquiryInput, gu as UpdateInquiryRequestSchema, gv as UpdateInquirySchema, gw as UpdateTaskInput, gx as UpdateTaskSchema } from './tasks-Co5om-p9.js';
|
|
4
4
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
5
5
|
|
|
6
6
|
declare const AccountFormDataSchema: z.ZodObject<{
|
|
@@ -525,6 +525,12 @@ declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
|
|
|
525
525
|
notEquals: "notEquals";
|
|
526
526
|
onlyMine: "onlyMine";
|
|
527
527
|
}>;
|
|
528
|
+
declare const ChatMuteReasonEnum: z.ZodEnum<{
|
|
529
|
+
working: "working";
|
|
530
|
+
waiting_on_person: "waiting_on_person";
|
|
531
|
+
resolved_elsewhere: "resolved_elsewhere";
|
|
532
|
+
not_mine: "not_mine";
|
|
533
|
+
}>;
|
|
528
534
|
declare const TruncationReasonEnum: z.ZodEnum<{
|
|
529
535
|
error: "error";
|
|
530
536
|
barge_in: "barge_in";
|
|
@@ -614,7 +620,6 @@ declare const ChatFormDataSchema: z.ZodObject<{
|
|
|
614
620
|
assistantRealtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
615
621
|
paused: z.ZodOptional<z.ZodBoolean>;
|
|
616
622
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
617
|
-
needsResponse: z.ZodOptional<z.ZodBoolean>;
|
|
618
623
|
initialMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
619
624
|
}, z.core.$strip>;
|
|
620
625
|
declare const ChatFiltersSchema: z.ZodObject<{
|
|
@@ -703,7 +708,6 @@ declare const CreateChatSchema: z.ZodObject<{
|
|
|
703
708
|
assistantRealtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
704
709
|
paused: z.ZodOptional<z.ZodBoolean>;
|
|
705
710
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
706
|
-
needsResponse: z.ZodOptional<z.ZodBoolean>;
|
|
707
711
|
initialMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
708
712
|
}, z.core.$strip>;
|
|
709
713
|
declare const UpdateChatSchema: z.ZodObject<{
|
|
@@ -715,7 +719,6 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
715
719
|
workflowId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
716
720
|
workflowRevisionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
717
721
|
channel: z.ZodOptional<z.ZodString>;
|
|
718
|
-
needsResponse: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
719
722
|
paused: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
720
723
|
workflowUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
721
724
|
workflowRevisionUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -739,7 +742,6 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
739
742
|
assistantChatModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
740
743
|
assistantRealtimeModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
741
744
|
assistantRealtimeModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
742
|
-
muted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
743
745
|
initialMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
744
746
|
}, z.core.$strip>;
|
|
745
747
|
declare const DeleteChatSchema: z.ZodObject<{
|
|
@@ -758,11 +760,13 @@ declare const UpdateChatMuteSchema: z.ZodObject<{
|
|
|
758
760
|
wid: z.ZodString;
|
|
759
761
|
chatId: z.ZodNumber;
|
|
760
762
|
muted: z.ZodBoolean;
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
763
|
+
muteReason: z.ZodOptional<z.ZodEnum<{
|
|
764
|
+
working: "working";
|
|
765
|
+
waiting_on_person: "waiting_on_person";
|
|
766
|
+
resolved_elsewhere: "resolved_elsewhere";
|
|
767
|
+
not_mine: "not_mine";
|
|
768
|
+
}>>;
|
|
769
|
+
muteExpiresOnInbound: z.ZodOptional<z.ZodBoolean>;
|
|
766
770
|
}, z.core.$strip>;
|
|
767
771
|
declare const GetChatsNeedsResponseSchema: z.ZodObject<{
|
|
768
772
|
wid: z.ZodString;
|
|
@@ -823,7 +827,6 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
823
827
|
id: z.ZodNumber;
|
|
824
828
|
archived: z.ZodBoolean;
|
|
825
829
|
muted: z.ZodBoolean;
|
|
826
|
-
needsResponse: z.ZodBoolean;
|
|
827
830
|
channel: z.ZodEnum<{
|
|
828
831
|
email: "email";
|
|
829
832
|
routine: "routine";
|
|
@@ -1274,6 +1277,7 @@ type MessageRole = z.infer<typeof MessageRoleEnum>;
|
|
|
1274
1277
|
type ChatFilterObjectType = z.infer<typeof ChatFilterObjectTypeEnum>;
|
|
1275
1278
|
type ChatFilterFilterType = z.infer<typeof ChatFilterFilterTypeEnum>;
|
|
1276
1279
|
type TruncationReason = z.infer<typeof TruncationReasonEnum>;
|
|
1280
|
+
type ChatMuteReasonValue = z.infer<typeof ChatMuteReasonEnum>;
|
|
1277
1281
|
type MessageOrigin = z.infer<typeof MessageOriginEnum>;
|
|
1278
1282
|
type MessageAudience = z.infer<typeof MessageAudienceEnum>;
|
|
1279
1283
|
type ChatParticipantFormData = z.infer<typeof ChatParticipantFormDataSchema>;
|
|
@@ -1306,7 +1310,6 @@ type DeleteChatInput = z.infer<typeof DeleteChatSchema>;
|
|
|
1306
1310
|
type ArchiveChatInput = z.infer<typeof ArchiveChatSchema>;
|
|
1307
1311
|
type UnarchiveChatInput = z.infer<typeof UnarchiveChatSchema>;
|
|
1308
1312
|
type UpdateChatMuteInput = z.infer<typeof UpdateChatMuteSchema>;
|
|
1309
|
-
type UpdateChatNeedsResponseInput = z.infer<typeof UpdateChatNeedsResponseSchema>;
|
|
1310
1313
|
type GetChatsNeedsResponseInput = z.infer<typeof GetChatsNeedsResponseSchema>;
|
|
1311
1314
|
type GetChatMessagesInput = z.infer<typeof GetChatMessagesSchema>;
|
|
1312
1315
|
type SendChatMessageInput = z.infer<typeof SendChatMessageSchema>;
|
|
@@ -1856,9 +1859,9 @@ declare const InboxRuleSchema: z.ZodObject<{
|
|
|
1856
1859
|
}>;
|
|
1857
1860
|
operator: z.ZodEnum<{
|
|
1858
1861
|
equals: "equals";
|
|
1859
|
-
contains: "contains";
|
|
1860
1862
|
regex: "regex";
|
|
1861
1863
|
ends_with: "ends_with";
|
|
1864
|
+
contains: "contains";
|
|
1862
1865
|
ip_in_range: "ip_in_range";
|
|
1863
1866
|
}>;
|
|
1864
1867
|
value: z.ZodString;
|
|
@@ -1890,9 +1893,9 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1890
1893
|
}>;
|
|
1891
1894
|
operator: z.ZodEnum<{
|
|
1892
1895
|
equals: "equals";
|
|
1893
|
-
contains: "contains";
|
|
1894
1896
|
regex: "regex";
|
|
1895
1897
|
ends_with: "ends_with";
|
|
1898
|
+
contains: "contains";
|
|
1896
1899
|
ip_in_range: "ip_in_range";
|
|
1897
1900
|
}>;
|
|
1898
1901
|
value: z.ZodString;
|
|
@@ -1904,9 +1907,9 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1904
1907
|
}>;
|
|
1905
1908
|
operator: z.ZodEnum<{
|
|
1906
1909
|
equals: "equals";
|
|
1907
|
-
contains: "contains";
|
|
1908
1910
|
regex: "regex";
|
|
1909
1911
|
ends_with: "ends_with";
|
|
1912
|
+
contains: "contains";
|
|
1910
1913
|
ip_in_range: "ip_in_range";
|
|
1911
1914
|
}>;
|
|
1912
1915
|
value: z.ZodString;
|
|
@@ -1943,9 +1946,9 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1943
1946
|
}>;
|
|
1944
1947
|
operator: z.ZodEnum<{
|
|
1945
1948
|
equals: "equals";
|
|
1946
|
-
contains: "contains";
|
|
1947
1949
|
regex: "regex";
|
|
1948
1950
|
ends_with: "ends_with";
|
|
1951
|
+
contains: "contains";
|
|
1949
1952
|
ip_in_range: "ip_in_range";
|
|
1950
1953
|
}>;
|
|
1951
1954
|
value: z.ZodString;
|
|
@@ -1957,9 +1960,9 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1957
1960
|
}>;
|
|
1958
1961
|
operator: z.ZodEnum<{
|
|
1959
1962
|
equals: "equals";
|
|
1960
|
-
contains: "contains";
|
|
1961
1963
|
regex: "regex";
|
|
1962
1964
|
ends_with: "ends_with";
|
|
1965
|
+
contains: "contains";
|
|
1963
1966
|
ip_in_range: "ip_in_range";
|
|
1964
1967
|
}>;
|
|
1965
1968
|
value: z.ZodString;
|
|
@@ -2017,9 +2020,9 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
2017
2020
|
}>;
|
|
2018
2021
|
operator: z.ZodEnum<{
|
|
2019
2022
|
equals: "equals";
|
|
2020
|
-
contains: "contains";
|
|
2021
2023
|
regex: "regex";
|
|
2022
2024
|
ends_with: "ends_with";
|
|
2025
|
+
contains: "contains";
|
|
2023
2026
|
ip_in_range: "ip_in_range";
|
|
2024
2027
|
}>;
|
|
2025
2028
|
value: z.ZodString;
|
|
@@ -2031,9 +2034,9 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
2031
2034
|
}>;
|
|
2032
2035
|
operator: z.ZodEnum<{
|
|
2033
2036
|
equals: "equals";
|
|
2034
|
-
contains: "contains";
|
|
2035
2037
|
regex: "regex";
|
|
2036
2038
|
ends_with: "ends_with";
|
|
2039
|
+
contains: "contains";
|
|
2037
2040
|
ip_in_range: "ip_in_range";
|
|
2038
2041
|
}>;
|
|
2039
2042
|
value: z.ZodString;
|
|
@@ -2080,9 +2083,9 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
2080
2083
|
}>;
|
|
2081
2084
|
operator: z.ZodEnum<{
|
|
2082
2085
|
equals: "equals";
|
|
2083
|
-
contains: "contains";
|
|
2084
2086
|
regex: "regex";
|
|
2085
2087
|
ends_with: "ends_with";
|
|
2088
|
+
contains: "contains";
|
|
2086
2089
|
ip_in_range: "ip_in_range";
|
|
2087
2090
|
}>;
|
|
2088
2091
|
value: z.ZodString;
|
|
@@ -2094,9 +2097,9 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
2094
2097
|
}>;
|
|
2095
2098
|
operator: z.ZodEnum<{
|
|
2096
2099
|
equals: "equals";
|
|
2097
|
-
contains: "contains";
|
|
2098
2100
|
regex: "regex";
|
|
2099
2101
|
ends_with: "ends_with";
|
|
2102
|
+
contains: "contains";
|
|
2100
2103
|
ip_in_range: "ip_in_range";
|
|
2101
2104
|
}>;
|
|
2102
2105
|
value: z.ZodString;
|
|
@@ -3052,4 +3055,4 @@ declare function zodToMcpSchema(schema: any): any;
|
|
|
3052
3055
|
*/
|
|
3053
3056
|
declare function createTool(name: string, description: string, schema: z.ZodSchema<any>): Tool;
|
|
3054
3057
|
|
|
3055
|
-
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 AssistantChatParticipant, AssistantChatParticipantSchema, 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 ContributorChatParticipant, ContributorChatParticipantSchema, 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, EMPTY_SCHEMA_SENSITIVITY, 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 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 SupervisorChatParticipant, SupervisorChatParticipantSchema, 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 };
|
|
3058
|
+
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 AssistantChatParticipant, AssistantChatParticipantSchema, 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, ChatMuteReasonEnum, type ChatMuteReasonValue, type ChatParticipantFormData, ChatParticipantFormDataSchema, ChatSchema, type CheckAvailabilityInput, CheckAvailabilitySchema, type CloneWorkflowInput, CloneWorkflowSchema, type ContributorChatParticipant, ContributorChatParticipantSchema, 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, EMPTY_SCHEMA_SENSITIVITY, 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 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 SupervisorChatParticipant, SupervisorChatParticipantSchema, 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, 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
|
@@ -542,6 +542,12 @@ var ChatFilterFilterTypeEnum = z4.enum([
|
|
|
542
542
|
"onlyMine",
|
|
543
543
|
"active"
|
|
544
544
|
]);
|
|
545
|
+
var ChatMuteReasonEnum = z4.enum([
|
|
546
|
+
"working",
|
|
547
|
+
"waiting_on_person",
|
|
548
|
+
"resolved_elsewhere",
|
|
549
|
+
"not_mine"
|
|
550
|
+
]);
|
|
545
551
|
var TruncationReasonEnum = z4.enum([
|
|
546
552
|
"barge_in",
|
|
547
553
|
// User interrupted the assistant mid-response (voice)
|
|
@@ -639,7 +645,6 @@ var ChatFormDataSchema = z4.object({
|
|
|
639
645
|
assistantRealtimeModelConfig: z4.record(z4.string(), z4.unknown()).nullable().optional(),
|
|
640
646
|
paused: z4.boolean().optional(),
|
|
641
647
|
muted: z4.boolean().optional(),
|
|
642
|
-
needsResponse: z4.boolean().optional(),
|
|
643
648
|
// Human-typed initial SMS/email body. Optional, request-body only.
|
|
644
649
|
// Backend dispatches via the existing initial-message path when the
|
|
645
650
|
// Agent is disabled. Treat as PHI client-side.
|
|
@@ -664,7 +669,14 @@ var GetChatSchema = WorkspaceIdSchema.extend({
|
|
|
664
669
|
var CreateChatSchema = WorkspaceIdSchema.merge(ChatFormDataSchema);
|
|
665
670
|
var UpdateChatSchema = WorkspaceIdSchema.extend({
|
|
666
671
|
chatId: z4.number().describe("Chat ID")
|
|
667
|
-
|
|
672
|
+
// `muted` is deliberately absent: the generic update endpoint does not
|
|
673
|
+
// carry mute state at all (GRA-8353 — a mute without a reason mints
|
|
674
|
+
// exactly the anonymous state the reason vocabulary exists to prevent),
|
|
675
|
+
// so its request model forbids the field. Mute state goes through the
|
|
676
|
+
// dedicated mute schema below, the only writer of the decision fields.
|
|
677
|
+
}).merge(
|
|
678
|
+
ChatFormDataSchema.omit({ browserChannel: true, interactionMode: true, muted: true }).partial()
|
|
679
|
+
);
|
|
668
680
|
var DeleteChatSchema = WorkspaceIdSchema.extend({
|
|
669
681
|
chatId: z4.number().describe("Chat ID to delete")
|
|
670
682
|
});
|
|
@@ -676,11 +688,23 @@ var UnarchiveChatSchema = WorkspaceIdSchema.extend({
|
|
|
676
688
|
});
|
|
677
689
|
var UpdateChatMuteSchema = WorkspaceIdSchema.extend({
|
|
678
690
|
chatId: z4.number().describe("Chat ID"),
|
|
679
|
-
muted: z4.boolean().describe("Mute status")
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
691
|
+
muted: z4.boolean().describe("Mute status"),
|
|
692
|
+
muteReason: ChatMuteReasonEnum.optional().describe(
|
|
693
|
+
"Why the chat is muted (required when muting)"
|
|
694
|
+
),
|
|
695
|
+
muteExpiresOnInbound: z4.boolean().optional().describe("Lapse the mute when the member sends a new inbound message")
|
|
696
|
+
// Runtime mirror of the backend request model's validator
|
|
697
|
+
// (`UpdateChatMuteRequest._muting_requires_reason`): muting without a
|
|
698
|
+
// reason is a 422 at the API, so it is a parse failure here — a bare
|
|
699
|
+
// boolean cannot reach the endpoint as an anonymous mute.
|
|
700
|
+
}).superRefine((data, ctx) => {
|
|
701
|
+
if (data.muted && data.muteReason === void 0) {
|
|
702
|
+
ctx.addIssue({
|
|
703
|
+
code: z4.ZodIssueCode.custom,
|
|
704
|
+
path: ["muteReason"],
|
|
705
|
+
message: "Muting a chat requires a muteReason from the closed vocabulary: working, waiting_on_person, resolved_elsewhere, not_mine."
|
|
706
|
+
});
|
|
707
|
+
}
|
|
684
708
|
});
|
|
685
709
|
var GetChatsNeedsResponseSchema = WorkspaceIdSchema;
|
|
686
710
|
var GetChatMessagesSchema = WorkspaceIdSchema.extend({
|
|
@@ -741,7 +765,6 @@ var ChatSchema = z4.object({
|
|
|
741
765
|
id: z4.number(),
|
|
742
766
|
archived: z4.boolean(),
|
|
743
767
|
muted: z4.boolean(),
|
|
744
|
-
needsResponse: z4.boolean(),
|
|
745
768
|
channel: ChannelEnum,
|
|
746
769
|
chatType: z4.string(),
|
|
747
770
|
paused: z4.boolean(),
|
|
@@ -1937,6 +1960,7 @@ export {
|
|
|
1937
1960
|
ChatMessageObjectSchema,
|
|
1938
1961
|
ChatMessageSchema,
|
|
1939
1962
|
ChatMessageUISchema,
|
|
1963
|
+
ChatMuteReasonEnum,
|
|
1940
1964
|
ChatParticipantFormDataSchema,
|
|
1941
1965
|
ChatSchema,
|
|
1942
1966
|
CheckAvailabilitySchema,
|
|
@@ -2126,7 +2150,6 @@ export {
|
|
|
2126
2150
|
UpdateCalendarEventSchema,
|
|
2127
2151
|
UpdateCalendarSchema,
|
|
2128
2152
|
UpdateChatMuteSchema,
|
|
2129
|
-
UpdateChatNeedsResponseSchema,
|
|
2130
2153
|
UpdateChatSchema,
|
|
2131
2154
|
UpdateCurrentMemberSchema,
|
|
2132
2155
|
UpdateDataFieldSchema,
|