@gravity-rail/sdk 1.0.0 → 3.0.1
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 +9 -9
- package/dist/{chat-interaction-BWvViNx-.d.cts → chat-interaction-BPqj_KMO.d.cts} +3037 -1154
- package/dist/{chat-interaction-CRGcStD0.d.ts → chat-interaction-CDlei6KK.d.ts} +3037 -1154
- package/dist/{chunk-VBG6XUBN.js → chunk-LWRMGN4Z.js} +901 -311
- package/dist/chunk-LWRMGN4Z.js.map +1 -0
- package/dist/{chunk-GCN4OMYU.js → chunk-RLFS7O2L.js} +4 -1
- package/dist/{chunk-GCN4OMYU.js.map → chunk-RLFS7O2L.js.map} +1 -1
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +6 -4
- package/dist/helpers.d.ts +6 -4
- package/dist/helpers.js +1 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +947 -334
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -10
- package/dist/index.d.ts +26 -10
- package/dist/index.js +49 -25
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +903 -309
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +99 -6
- package/dist/internal.d.ts +99 -6
- package/dist/internal.js +8 -2
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-DcjopLJf.d.ts → member-import-BbWJzHSV.d.ts} +1 -1
- package/dist/{member-import-fQz-gVmQ.d.cts → member-import-DxBggQLc.d.cts} +1 -1
- package/dist/{path-BKAZ7CTT.d.ts → path-5DteJvEx.d.ts} +35 -3
- package/dist/{path-C5Cn4Kl7.d.cts → path-bqfiH1XI.d.cts} +35 -3
- package/dist/schemas.cjs +57 -6
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +77 -9
- package/dist/schemas.d.ts +77 -9
- package/dist/schemas.js +53 -6
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-DVm54e2a.d.cts → tasks-fAwwBZIX.d.cts} +53 -11
- package/dist/{tasks-DVm54e2a.d.ts → tasks-fAwwBZIX.d.ts} +53 -11
- package/package.json +10 -4
- package/dist/chunk-VBG6XUBN.js.map +0 -1
package/dist/schemas.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-
|
|
2
|
+
import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-fAwwBZIX.cjs';
|
|
3
3
|
import { CalendarScheduleAvailabilityType, CalendarScheduleRecurrence, CalendarEventStatus, AttendeeResponseStatus } from './index.cjs';
|
|
4
|
-
export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-
|
|
4
|
+
export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-fAwwBZIX.cjs';
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -137,7 +137,7 @@ declare const DataTypeSchema: z.ZodObject<{
|
|
|
137
137
|
}, z.core.$strip>;
|
|
138
138
|
declare const DataTypeFormDataSchema: z.ZodObject<{
|
|
139
139
|
name: z.ZodString;
|
|
140
|
-
slug: z.ZodString
|
|
140
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
141
141
|
description: z.ZodOptional<z.ZodString>;
|
|
142
142
|
prompt: z.ZodOptional<z.ZodString>;
|
|
143
143
|
isCollection: z.ZodBoolean;
|
|
@@ -190,7 +190,7 @@ declare const GetDataTypeBySlugSchema: z.ZodObject<{
|
|
|
190
190
|
declare const CreateDataTypeSchema: z.ZodObject<{
|
|
191
191
|
wid: z.ZodString;
|
|
192
192
|
name: z.ZodString;
|
|
193
|
-
slug: z.ZodString
|
|
193
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
194
194
|
description: z.ZodOptional<z.ZodString>;
|
|
195
195
|
prompt: z.ZodOptional<z.ZodString>;
|
|
196
196
|
isCollection: z.ZodBoolean;
|
|
@@ -226,7 +226,7 @@ declare const UpdateDataTypeSchema: z.ZodObject<{
|
|
|
226
226
|
wid: z.ZodString;
|
|
227
227
|
dataTypeId: z.ZodNumber;
|
|
228
228
|
name: z.ZodOptional<z.ZodString>;
|
|
229
|
-
slug: z.ZodOptional<z.ZodString
|
|
229
|
+
slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
230
230
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
231
231
|
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
232
232
|
isCollection: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1590,7 +1590,6 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1590
1590
|
agent_only: "agent_only";
|
|
1591
1591
|
}>>>;
|
|
1592
1592
|
toolStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
|
-
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1594
1593
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1595
1594
|
}, z.core.$strip>;
|
|
1596
1595
|
declare const ChatCompletionMessageSchema: z.ZodObject<{
|
|
@@ -1682,7 +1681,6 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1682
1681
|
agent_only: "agent_only";
|
|
1683
1682
|
}>>>;
|
|
1684
1683
|
toolStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1685
|
-
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1686
1684
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1687
1685
|
error: z.ZodOptional<z.ZodObject<{
|
|
1688
1686
|
code: z.ZodString;
|
|
@@ -1771,7 +1769,6 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
1771
1769
|
agent_only: "agent_only";
|
|
1772
1770
|
}>>>;
|
|
1773
1771
|
toolStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1774
|
-
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1775
1772
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1776
1773
|
error: z.ZodOptional<z.ZodObject<{
|
|
1777
1774
|
code: z.ZodString;
|
|
@@ -2162,6 +2159,9 @@ declare const CreateWorkspaceMemberRequestSchema: z.ZodObject<{
|
|
|
2162
2159
|
phone: z.ZodOptional<z.ZodString>;
|
|
2163
2160
|
accountUuid: z.ZodOptional<z.ZodString>;
|
|
2164
2161
|
name: z.ZodOptional<z.ZodString>;
|
|
2162
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2163
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2164
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2165
2165
|
description: z.ZodOptional<z.ZodString>;
|
|
2166
2166
|
externalId: z.ZodOptional<z.ZodString>;
|
|
2167
2167
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
@@ -2181,6 +2181,9 @@ declare const CreateWorkspaceMemberRequestSchema: z.ZodObject<{
|
|
|
2181
2181
|
}, z.core.$strip>;
|
|
2182
2182
|
declare const UpdateWorkspaceMemberRequestSchema: z.ZodObject<{
|
|
2183
2183
|
name: z.ZodOptional<z.ZodString>;
|
|
2184
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2185
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2186
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2184
2187
|
description: z.ZodOptional<z.ZodString>;
|
|
2185
2188
|
phone: z.ZodOptional<z.ZodString>;
|
|
2186
2189
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -2209,6 +2212,9 @@ declare const MemberFormDataSchema: z.ZodObject<{
|
|
|
2209
2212
|
notifyEmail: z.ZodOptional<z.ZodBoolean>;
|
|
2210
2213
|
notifyVoice: z.ZodOptional<z.ZodBoolean>;
|
|
2211
2214
|
name: z.ZodOptional<z.ZodString>;
|
|
2215
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2216
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2217
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2212
2218
|
description: z.ZodOptional<z.ZodString>;
|
|
2213
2219
|
phone: z.ZodOptional<z.ZodString>;
|
|
2214
2220
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -2234,6 +2240,9 @@ declare const GetCurrentMemberSchema: z.ZodObject<{
|
|
|
2234
2240
|
declare const UpdateCurrentMemberSchema: z.ZodObject<{
|
|
2235
2241
|
wid: z.ZodString;
|
|
2236
2242
|
name: z.ZodOptional<z.ZodString>;
|
|
2243
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2244
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2245
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2237
2246
|
description: z.ZodOptional<z.ZodString>;
|
|
2238
2247
|
dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2239
2248
|
}, z.core.$strip>;
|
|
@@ -2266,6 +2275,9 @@ declare const AddWorkspaceMemberSchema: z.ZodObject<{
|
|
|
2266
2275
|
phone: z.ZodOptional<z.ZodString>;
|
|
2267
2276
|
accountUuid: z.ZodOptional<z.ZodString>;
|
|
2268
2277
|
name: z.ZodOptional<z.ZodString>;
|
|
2278
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2279
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2280
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2269
2281
|
description: z.ZodOptional<z.ZodString>;
|
|
2270
2282
|
externalId: z.ZodOptional<z.ZodString>;
|
|
2271
2283
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
@@ -2287,6 +2299,9 @@ declare const UpdateWorkspaceMemberSchema: z.ZodObject<{
|
|
|
2287
2299
|
wid: z.ZodString;
|
|
2288
2300
|
memberId: z.ZodNumber;
|
|
2289
2301
|
name: z.ZodOptional<z.ZodString>;
|
|
2302
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2304
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2290
2305
|
description: z.ZodOptional<z.ZodString>;
|
|
2291
2306
|
phone: z.ZodOptional<z.ZodString>;
|
|
2292
2307
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -2395,6 +2410,9 @@ declare const MemberSchema: z.ZodObject<{
|
|
|
2395
2410
|
accountUuid: z.ZodString;
|
|
2396
2411
|
memberRoleId: z.ZodNumber;
|
|
2397
2412
|
name: z.ZodOptional<z.ZodString>;
|
|
2413
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2414
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2415
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2398
2416
|
description: z.ZodOptional<z.ZodString>;
|
|
2399
2417
|
phone: z.ZodOptional<z.ZodString>;
|
|
2400
2418
|
phoneType: z.ZodOptional<z.ZodString>;
|
|
@@ -2815,6 +2833,7 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
|
|
|
2815
2833
|
chatModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2816
2834
|
realtimeModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2817
2835
|
realtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2836
|
+
enableVoicemailDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2818
2837
|
defaultPhoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2819
2838
|
defaultInboxId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2820
2839
|
createMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2831,6 +2850,17 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
|
|
|
2831
2850
|
* (`createMode`, `defaultTask*`) are absent because the update model rejects
|
|
2832
2851
|
* them.
|
|
2833
2852
|
*/
|
|
2853
|
+
declare const KnowledgeEntrySchema: z.ZodObject<{
|
|
2854
|
+
kind: z.ZodEnum<{
|
|
2855
|
+
file: "file";
|
|
2856
|
+
folder: "folder";
|
|
2857
|
+
}>;
|
|
2858
|
+
id: z.ZodNumber;
|
|
2859
|
+
canRead: z.ZodOptional<z.ZodBoolean>;
|
|
2860
|
+
canList: z.ZodOptional<z.ZodBoolean>;
|
|
2861
|
+
canSearch: z.ZodOptional<z.ZodBoolean>;
|
|
2862
|
+
hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2863
|
+
}, z.core.$strict>;
|
|
2834
2864
|
declare const WorkflowFormDataSchema: z.ZodObject<{
|
|
2835
2865
|
name: z.ZodString;
|
|
2836
2866
|
escalationSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2873,8 +2903,20 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
|
|
|
2873
2903
|
chatModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2874
2904
|
realtimeModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2875
2905
|
realtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2906
|
+
enableVoicemailDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2876
2907
|
defaultPhoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2877
2908
|
defaultInboxId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2909
|
+
knowledge: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2910
|
+
kind: z.ZodEnum<{
|
|
2911
|
+
file: "file";
|
|
2912
|
+
folder: "folder";
|
|
2913
|
+
}>;
|
|
2914
|
+
id: z.ZodNumber;
|
|
2915
|
+
canRead: z.ZodOptional<z.ZodBoolean>;
|
|
2916
|
+
canList: z.ZodOptional<z.ZodBoolean>;
|
|
2917
|
+
canSearch: z.ZodOptional<z.ZodBoolean>;
|
|
2918
|
+
hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2919
|
+
}, z.core.$strict>>>>;
|
|
2878
2920
|
startTaskId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2879
2921
|
}, z.core.$strict>;
|
|
2880
2922
|
declare const ListWorkflowsSchema: z.ZodObject<{
|
|
@@ -2927,6 +2969,7 @@ declare const CreateWorkflowSchema: z.ZodObject<{
|
|
|
2927
2969
|
chatModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2928
2970
|
realtimeModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2929
2971
|
realtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2972
|
+
enableVoicemailDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2930
2973
|
defaultPhoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2931
2974
|
defaultInboxId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2932
2975
|
createMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2981,8 +3024,20 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
|
|
|
2981
3024
|
chatModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
2982
3025
|
realtimeModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2983
3026
|
realtimeModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
3027
|
+
enableVoicemailDetection: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
2984
3028
|
defaultPhoneNumberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
2985
3029
|
defaultInboxId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
3030
|
+
knowledge: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3031
|
+
kind: z.ZodEnum<{
|
|
3032
|
+
file: "file";
|
|
3033
|
+
folder: "folder";
|
|
3034
|
+
}>;
|
|
3035
|
+
id: z.ZodNumber;
|
|
3036
|
+
canRead: z.ZodOptional<z.ZodBoolean>;
|
|
3037
|
+
canList: z.ZodOptional<z.ZodBoolean>;
|
|
3038
|
+
canSearch: z.ZodOptional<z.ZodBoolean>;
|
|
3039
|
+
hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3040
|
+
}, z.core.$strict>>>>>;
|
|
2986
3041
|
startTaskId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
2987
3042
|
}, z.core.$strict>;
|
|
2988
3043
|
declare const DeleteWorkflowSchema: z.ZodObject<{
|
|
@@ -3103,5 +3158,18 @@ declare function zodToMcpSchema(schema: any): any;
|
|
|
3103
3158
|
*/
|
|
3104
3159
|
declare function createTool(name: string, description: string, schema: z.ZodSchema<any>): Tool;
|
|
3105
3160
|
|
|
3106
|
-
|
|
3161
|
+
declare const StartPublicDemoRequestSchema: z.ZodObject<{
|
|
3162
|
+
channel: z.ZodDefault<z.ZodEnum<{
|
|
3163
|
+
"phone-sms": "phone-sms";
|
|
3164
|
+
"phone-voice": "phone-voice";
|
|
3165
|
+
}>>;
|
|
3166
|
+
}, z.core.$strict>;
|
|
3167
|
+
declare const PublicDemoMessageRequestSchema: z.ZodObject<{
|
|
3168
|
+
content: z.ZodString;
|
|
3169
|
+
}, z.core.$strict>;
|
|
3170
|
+
declare const PublicDemoFormRequestSchema: z.ZodObject<{
|
|
3171
|
+
fieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3172
|
+
}, z.core.$strict>;
|
|
3173
|
+
|
|
3174
|
+
export { AccountFormDataSchema, AccountReportItemSchema, AccountSchema, AddDataFieldSchema, AddWorkspaceMemberSchema, AdminAccountFormDataSchema, AdminAccountMembershipSchema, AdminOrganizationSchema, AdminWorkspaceMemberFormDataSchema, ApiKeyCreatedSchema, ApiKeyFormDataSchema, ApiKeySchema, ApiKeyScopeSchema, ApiKeyScopesResponseSchema, ArchiveChatSchema, ArchivePhoneNumberSchema, AssistantChatParticipantSchema, CancelCalendarEventSchema, ChannelEnum, ChatCompletionMessageSchema, ChatFilterFilterTypeEnum, ChatFilterObjectTypeEnum, ChatFilterRuleFormDataSchema, ChatFilterRuleSchema, ChatFiltersSchema, ChatFormDataSchema, ChatMessageAPIResponseSchema, ChatMessageChunkSchema, ChatMessageObjectSchema, ChatMessageSchema, ChatMessageUISchema, ChatMuteReasonEnum, ChatParticipantFormDataSchema, ChatSchema, CheckAvailabilitySchema, CloneWorkflowSchema, ContributorChatParticipantSchema, CreateAccountSchema, CreateCalendarEventSchema, CreateCalendarSchema, CreateChatCompletionSchema, CreateChatForWorkflowSchema, CreateChatSchema, CreateDataRecordSchema, CreateDataTypeSchema, CreateEventTypeSchema, CreateInboxSchema, CreateMemberRoleSchema, CreateMenuItemSchema, CreateOrganizationRequestSchema, CreatePhoneNumberSchema, CreateScheduleSchema, CreateSitePageSchema, CreateSiteSchema, CreateWorkflowSchema, CreateWorkspaceMemberRequestSchema, CreateWorkspaceSchema, DataCategory, DataFieldFormDataSchema, DataFieldSchema, DataFieldType, DataIntegrityReportItemSchema, DataRecordAssociationFormDataSchema, DataRecordFiltersSchema, DataRecordFormDataSchema, DataRecordReportItemSchema, DataRecordRetirementSchema, DataRecordSchema, DataRecordWithAccessModeSchema, DataRecordsPaginatedResponseSchema, DataSensitivity, DataTypeExportItemSchema, DataTypeFormDataSchema, DataTypeRecordScope, DataTypeSchema, DeleteCalendarEventSchema, DeleteCalendarSchema, DeleteChatSchema, DeleteDataRecordSchema, DeleteDataTypeSchema, DeleteEventTypeSchema, DeleteInboxSchema, DeleteMemberRoleSchema, DeleteMenuItemSchema, DeleteScheduleSchema, DeleteSitePageSchema, DeleteSiteSchema, DeleteWorkflowSchema, DeleteWorkspaceSchema, DuplicateAccountInfoSchema, EMPTY_SCHEMA_SENSITIVITY, ErrorResponseSchema, FunctionToolSchema, GenerateICalTokenSchema, GetAvailableSlotsSchema, GetAvailableWorkspaceFeaturesSchema, GetCalendarEventSchema, GetCalendarSchema, GetChatMessagesSchema, GetChatSchema, GetChatsNeedsResponseSchema, GetCurrentMemberSchema, GetDataRecordSchema, GetDataTypeBySlugSchema, GetDataTypeSchema, GetEventTypeSchema, GetFieldIndexStatusSchema, GetICalUrlSchema, GetInboxEmailSchema, GetInboxSchema, GetMemberRoleSchema, GetPhoneNumberSchema, GetProductSchema, GetProductsSchema, GetRecentInboxMessagesSchema, GetRecentSmsMessagesSchema, GetResellerWorkspacesSchema, GetSiteCountsSchema, GetSiteMenuSchema, GetSitePageBySlugSchema, GetSitePageSchema, GetSiteSchema, GetWorkflowSchema, GetWorkspaceDefaultsSchema, GetWorkspaceMemberSchema, GetWorkspaceSchema, HumanChatParticipantSchema, ImageUrlContentSchema, InboxEmailFiltersSchema, InboxFormDataSchema, InboxRuleSchema, InboxRulesConfigSchema, IndexStatus, InitiateOutboundCallSchema, KnowledgeEntrySchema, ListCalendarEventsSchema, ListCalendarsSchema, ListChatsSchema, ListDataRecordsSchema, ListDataTypesSchema, ListEventTypesSchema, ListInboxEmailsSchema, ListInboxesSchema, ListMemberRolesSchema, ListMenuItemsSchema, ListPhoneCallsSchema, ListPhoneNumbersSchema, ListPhoneSmsMessagesSchema, ListSchedulesSchema, ListSitePagesSchema, ListSitesSchema, ListWorkflowsSchema, ListWorkspaceMembersSchema, ListWorkspacesSchema, LoginRequestSchema, LoginResponseSchema, MarkEmailReadSchema, MarkEmailUnreadSchema, MemberFilterFormDataSchema, MemberFilterSchema, MemberFormDataSchema, MemberLabelFormDataSchema, MemberLabelSchema, MemberRoleFormDataSchema, MemberRoleSchema, MemberRoleTaskAccessSchema, MemberSchema, MenuItemFormDataSchema, MessageAudienceEnum, MessageContentPartSchema, MessageOriginEnum, MessageRoleEnum, MissingMembershipItemSchema, OrganizationSchema, PhoneNumberFormDataSchema, PublicDemoFormRequestSchema, PublicDemoMessageRequestSchema, RateLimitAllowlistEntrySchema, RateLimitOverrideSchema, RateMessageSchema, RemoveDataFieldSchema, RemoveWorkspaceMemberSchema, ReorderMenuItemsRequestSchema, ReorderMenuItemsSchema, RevokeICalTokenSchema, SMSLoginResponseSchema, SchemaFieldFormDataSchema, SchemaFieldSchema, SendAssistantMessageSchema, SendChatMessageSchema, SendSmsToMemberSchema, SiteFormDataSchema, SitePageFormDataSchema, StartPublicDemoRequestSchema, SupervisorChatParticipantSchema, TaskExportDataTypeRelationSchema, TextContentSchema, ToggleFieldIndexSchema, ToolCallFunctionSchema, ToolCallSchema, ToolResultSchema, TruncationReasonEnum, UnarchiveChatSchema, UpdateAttendeeResponseSchema, UpdateCalendarEventSchema, UpdateCalendarSchema, UpdateChatMuteSchema, UpdateChatSchema, UpdateCurrentMemberSchema, UpdateDataFieldSchema, UpdateDataRecordSchema, UpdateDataTypeSchema, UpdateEventTypeSchema, UpdateInboxSchema, UpdateMemberRoleSchema, UpdateMenuItemSchema, UpdateOrganizationRequestSchema, UpdatePhoneNumberSchema, UpdateScheduleSchema, UpdateSitePageSchema, UpdateSiteSchema, UpdateWorkflowSchema, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, UpsertDataRecordSchema, VerifyCodeRequestSchema, VerifyCodeResponseSchema, WorkflowCreateFormDataSchema, WorkflowEscalationPolicySchema, WorkflowEscalationRoutingSchema, WorkflowFormDataSchema, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
|
|
3107
3175
|
export type { Account, AccountFormData, AccountReportItem, AddDataFieldInput, AddWorkspaceMemberInput, AdminAccountFormData, AdminAccountMembership, AdminOrganization, AdminWorkspaceMemberFormData, ApiKey, ApiKeyCreated, ApiKeyFormData, ApiKeyScope, ApiKeyScopesResponse, ArchiveChatInput, ArchivePhoneNumberInput, AssistantChatParticipant, CancelCalendarEventInput, Channel, Chat, ChatCompletionMessage, ChatFilterFilterType, ChatFilterObjectType, ChatFilterRule, ChatFilterRuleFormData, ChatFormData, ChatMessage, ChatMessageAPIResponse, ChatMessageChunk, ChatMessageObject, ChatMessageUI, ChatMuteReasonValue, ChatParticipantFormData, CheckAvailabilityInput, CloneWorkflowInput, ContributorChatParticipant, CreateAccountInput, CreateCalendarEventInput, CreateCalendarInput, CreateChatCompletionInput, CreateChatForWorkflowInput, CreateChatInput, CreateDataRecordInput, CreateDataTypeInput, CreateEventTypeInput, CreateInboxInput, CreateMemberRoleInput, CreateMenuItemInput, CreateOrganizationRequest, CreatePhoneNumberInput, CreateScheduleInput, CreateSiteInput, CreateSitePageInput, CreateWorkflowInput, CreateWorkspaceInput, CreateWorkspaceMemberRequest, DataField, DataFieldFormData, DataIntegrityReportItem, DataRecord, DataRecordAssociationFormData, DataRecordFilters, DataRecordFormData, DataRecordReportItem, DataRecordRetirement, DataRecordWithAccessMode, DataRecordsPaginatedResponse, DataType, DataTypeExportItem, DataTypeFormData, DeleteCalendarEventInput, DeleteCalendarInput, DeleteChatInput, DeleteDataRecordInput, DeleteDataTypeInput, DeleteEventTypeInput, DeleteInboxInput, DeleteMemberRoleInput, DeleteMenuItemInput, DeleteScheduleInput, DeleteSiteInput, DeleteSitePageInput, DeleteWorkflowInput, DeleteWorkspaceInput, DuplicateAccountInfo, ErrorResponse, FunctionTool, GenerateICalTokenInput, GetAvailableSlotsInput, GetAvailableWorkspaceFeaturesInput, GetCalendarEventInput, GetCalendarInput, GetChatInput, GetChatMessagesInput, GetChatsNeedsResponseInput, GetCurrentMemberInput, GetDataRecordInput, GetDataTypeBySlugInput, GetDataTypeInput, GetEventTypeInput, GetFieldIndexStatusInput, GetICalUrlInput, GetInboxEmailInput, GetInboxInput, GetMemberRoleInput, GetPhoneNumberInput, GetProductInput, GetProductsInput, GetRecentInboxMessagesInput, GetRecentSmsMessagesInput, GetResellerWorkspacesInput, GetSiteCountsInput, GetSiteInput, GetSiteMenuInput, GetSitePageBySlugInput, GetSitePageInput, GetWorkflowInput, GetWorkspaceDefaultsInput, GetWorkspaceInput, GetWorkspaceMemberInput, HumanChatParticipant, ImageUrlContent, InboxEmailFilters, InboxFormData, InboxRule, InboxRulesConfig, InitiateOutboundCallInput, ListCalendarEventsInput, ListCalendarsInput, ListChatsInput, ListDataRecordsInput, ListDataTypesInput, ListEventTypesInput, ListInboxEmailsInput, ListInboxesInput, ListMemberRolesInput, ListMenuItemsInput, ListPhoneCallsInput, ListPhoneNumbersInput, ListPhoneSmsMessagesInput, ListSchedulesInput, ListSitePagesInput, ListSitesInput, ListWorkflowsInput, ListWorkspaceMembersInput, ListWorkspacesInput, LoginRequest, LoginResponse, MarkEmailReadInput, MarkEmailUnreadInput, Member, MemberFilter, MemberFilterFormData, MemberFormData, MemberLabel, MemberLabelFormData, MemberRole, MemberRoleFormData, MemberRoleTaskAccess, MenuItemFormData, MessageAudience, MessageContentPart, MessageOrigin, MessageRole, MissingMembershipItem, Organization, PhoneNumberFormData, RateLimitAllowlistEntry, RateLimitOverride, RateMessageInput, RemoveDataFieldInput, RemoveWorkspaceMemberInput, ReorderMenuItems, ReorderMenuItemsInput, RevokeICalTokenInput, SMSLoginResponse, SchemaField, SchemaFieldFormData, SendAssistantMessageInput, SendChatMessageInput, SendSmsToMemberInput, SiteFormData, SitePageFormData, SupervisorChatParticipant, TaskExportDataTypeRelation, TextContent, ToggleFieldIndexInput, ToolCall, ToolCallFunction, ToolResult, TruncationReason, UnarchiveChatInput, UpdateAttendeeResponseInput, UpdateCalendarEventInput, UpdateCalendarInput, UpdateChatInput, UpdateChatMuteInput, UpdateCurrentMemberInput, UpdateDataFieldInput, UpdateDataRecordInput, UpdateDataTypeInput, UpdateEventTypeInput, UpdateInboxInput, UpdateMemberRoleInput, UpdateMenuItemInput, UpdateOrganizationRequest, UpdatePhoneNumberInput, UpdateScheduleInput, UpdateSiteInput, UpdateSitePageInput, UpdateWorkflowInput, UpdateWorkspaceInput, UpdateWorkspaceMemberInput, UpdateWorkspaceMemberRequest, UpsertDataRecordInput, VerifyCodeRequest, VerifyCodeResponse, WorkflowCreateFormData, WorkflowFormData, WorkspaceFormData };
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-
|
|
2
|
+
import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-fAwwBZIX.js';
|
|
3
3
|
import { CalendarScheduleAvailabilityType, CalendarScheduleRecurrence, CalendarEventStatus, AttendeeResponseStatus } from './index.js';
|
|
4
|
-
export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-
|
|
4
|
+
export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-fAwwBZIX.js';
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -137,7 +137,7 @@ declare const DataTypeSchema: z.ZodObject<{
|
|
|
137
137
|
}, z.core.$strip>;
|
|
138
138
|
declare const DataTypeFormDataSchema: z.ZodObject<{
|
|
139
139
|
name: z.ZodString;
|
|
140
|
-
slug: z.ZodString
|
|
140
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
141
141
|
description: z.ZodOptional<z.ZodString>;
|
|
142
142
|
prompt: z.ZodOptional<z.ZodString>;
|
|
143
143
|
isCollection: z.ZodBoolean;
|
|
@@ -190,7 +190,7 @@ declare const GetDataTypeBySlugSchema: z.ZodObject<{
|
|
|
190
190
|
declare const CreateDataTypeSchema: z.ZodObject<{
|
|
191
191
|
wid: z.ZodString;
|
|
192
192
|
name: z.ZodString;
|
|
193
|
-
slug: z.ZodString
|
|
193
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
194
194
|
description: z.ZodOptional<z.ZodString>;
|
|
195
195
|
prompt: z.ZodOptional<z.ZodString>;
|
|
196
196
|
isCollection: z.ZodBoolean;
|
|
@@ -226,7 +226,7 @@ declare const UpdateDataTypeSchema: z.ZodObject<{
|
|
|
226
226
|
wid: z.ZodString;
|
|
227
227
|
dataTypeId: z.ZodNumber;
|
|
228
228
|
name: z.ZodOptional<z.ZodString>;
|
|
229
|
-
slug: z.ZodOptional<z.ZodString
|
|
229
|
+
slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
230
230
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
231
231
|
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
232
232
|
isCollection: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1590,7 +1590,6 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1590
1590
|
agent_only: "agent_only";
|
|
1591
1591
|
}>>>;
|
|
1592
1592
|
toolStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
|
-
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1594
1593
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1595
1594
|
}, z.core.$strip>;
|
|
1596
1595
|
declare const ChatCompletionMessageSchema: z.ZodObject<{
|
|
@@ -1682,7 +1681,6 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1682
1681
|
agent_only: "agent_only";
|
|
1683
1682
|
}>>>;
|
|
1684
1683
|
toolStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1685
|
-
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1686
1684
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1687
1685
|
error: z.ZodOptional<z.ZodObject<{
|
|
1688
1686
|
code: z.ZodString;
|
|
@@ -1771,7 +1769,6 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
1771
1769
|
agent_only: "agent_only";
|
|
1772
1770
|
}>>>;
|
|
1773
1771
|
toolStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1774
|
-
childMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
1775
1772
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1776
1773
|
error: z.ZodOptional<z.ZodObject<{
|
|
1777
1774
|
code: z.ZodString;
|
|
@@ -2162,6 +2159,9 @@ declare const CreateWorkspaceMemberRequestSchema: z.ZodObject<{
|
|
|
2162
2159
|
phone: z.ZodOptional<z.ZodString>;
|
|
2163
2160
|
accountUuid: z.ZodOptional<z.ZodString>;
|
|
2164
2161
|
name: z.ZodOptional<z.ZodString>;
|
|
2162
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2163
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2164
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2165
2165
|
description: z.ZodOptional<z.ZodString>;
|
|
2166
2166
|
externalId: z.ZodOptional<z.ZodString>;
|
|
2167
2167
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
@@ -2181,6 +2181,9 @@ declare const CreateWorkspaceMemberRequestSchema: z.ZodObject<{
|
|
|
2181
2181
|
}, z.core.$strip>;
|
|
2182
2182
|
declare const UpdateWorkspaceMemberRequestSchema: z.ZodObject<{
|
|
2183
2183
|
name: z.ZodOptional<z.ZodString>;
|
|
2184
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2185
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2186
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2184
2187
|
description: z.ZodOptional<z.ZodString>;
|
|
2185
2188
|
phone: z.ZodOptional<z.ZodString>;
|
|
2186
2189
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -2209,6 +2212,9 @@ declare const MemberFormDataSchema: z.ZodObject<{
|
|
|
2209
2212
|
notifyEmail: z.ZodOptional<z.ZodBoolean>;
|
|
2210
2213
|
notifyVoice: z.ZodOptional<z.ZodBoolean>;
|
|
2211
2214
|
name: z.ZodOptional<z.ZodString>;
|
|
2215
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2216
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2217
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2212
2218
|
description: z.ZodOptional<z.ZodString>;
|
|
2213
2219
|
phone: z.ZodOptional<z.ZodString>;
|
|
2214
2220
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -2234,6 +2240,9 @@ declare const GetCurrentMemberSchema: z.ZodObject<{
|
|
|
2234
2240
|
declare const UpdateCurrentMemberSchema: z.ZodObject<{
|
|
2235
2241
|
wid: z.ZodString;
|
|
2236
2242
|
name: z.ZodOptional<z.ZodString>;
|
|
2243
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2244
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2245
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2237
2246
|
description: z.ZodOptional<z.ZodString>;
|
|
2238
2247
|
dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2239
2248
|
}, z.core.$strip>;
|
|
@@ -2266,6 +2275,9 @@ declare const AddWorkspaceMemberSchema: z.ZodObject<{
|
|
|
2266
2275
|
phone: z.ZodOptional<z.ZodString>;
|
|
2267
2276
|
accountUuid: z.ZodOptional<z.ZodString>;
|
|
2268
2277
|
name: z.ZodOptional<z.ZodString>;
|
|
2278
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2279
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2280
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2269
2281
|
description: z.ZodOptional<z.ZodString>;
|
|
2270
2282
|
externalId: z.ZodOptional<z.ZodString>;
|
|
2271
2283
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
@@ -2287,6 +2299,9 @@ declare const UpdateWorkspaceMemberSchema: z.ZodObject<{
|
|
|
2287
2299
|
wid: z.ZodString;
|
|
2288
2300
|
memberId: z.ZodNumber;
|
|
2289
2301
|
name: z.ZodOptional<z.ZodString>;
|
|
2302
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2304
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2290
2305
|
description: z.ZodOptional<z.ZodString>;
|
|
2291
2306
|
phone: z.ZodOptional<z.ZodString>;
|
|
2292
2307
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -2395,6 +2410,9 @@ declare const MemberSchema: z.ZodObject<{
|
|
|
2395
2410
|
accountUuid: z.ZodString;
|
|
2396
2411
|
memberRoleId: z.ZodNumber;
|
|
2397
2412
|
name: z.ZodOptional<z.ZodString>;
|
|
2413
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2414
|
+
middleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2415
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2398
2416
|
description: z.ZodOptional<z.ZodString>;
|
|
2399
2417
|
phone: z.ZodOptional<z.ZodString>;
|
|
2400
2418
|
phoneType: z.ZodOptional<z.ZodString>;
|
|
@@ -2815,6 +2833,7 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
|
|
|
2815
2833
|
chatModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2816
2834
|
realtimeModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2817
2835
|
realtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2836
|
+
enableVoicemailDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2818
2837
|
defaultPhoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2819
2838
|
defaultInboxId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2820
2839
|
createMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2831,6 +2850,17 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
|
|
|
2831
2850
|
* (`createMode`, `defaultTask*`) are absent because the update model rejects
|
|
2832
2851
|
* them.
|
|
2833
2852
|
*/
|
|
2853
|
+
declare const KnowledgeEntrySchema: z.ZodObject<{
|
|
2854
|
+
kind: z.ZodEnum<{
|
|
2855
|
+
file: "file";
|
|
2856
|
+
folder: "folder";
|
|
2857
|
+
}>;
|
|
2858
|
+
id: z.ZodNumber;
|
|
2859
|
+
canRead: z.ZodOptional<z.ZodBoolean>;
|
|
2860
|
+
canList: z.ZodOptional<z.ZodBoolean>;
|
|
2861
|
+
canSearch: z.ZodOptional<z.ZodBoolean>;
|
|
2862
|
+
hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2863
|
+
}, z.core.$strict>;
|
|
2834
2864
|
declare const WorkflowFormDataSchema: z.ZodObject<{
|
|
2835
2865
|
name: z.ZodString;
|
|
2836
2866
|
escalationSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2873,8 +2903,20 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
|
|
|
2873
2903
|
chatModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2874
2904
|
realtimeModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2875
2905
|
realtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2906
|
+
enableVoicemailDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2876
2907
|
defaultPhoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2877
2908
|
defaultInboxId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2909
|
+
knowledge: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2910
|
+
kind: z.ZodEnum<{
|
|
2911
|
+
file: "file";
|
|
2912
|
+
folder: "folder";
|
|
2913
|
+
}>;
|
|
2914
|
+
id: z.ZodNumber;
|
|
2915
|
+
canRead: z.ZodOptional<z.ZodBoolean>;
|
|
2916
|
+
canList: z.ZodOptional<z.ZodBoolean>;
|
|
2917
|
+
canSearch: z.ZodOptional<z.ZodBoolean>;
|
|
2918
|
+
hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2919
|
+
}, z.core.$strict>>>>;
|
|
2878
2920
|
startTaskId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2879
2921
|
}, z.core.$strict>;
|
|
2880
2922
|
declare const ListWorkflowsSchema: z.ZodObject<{
|
|
@@ -2927,6 +2969,7 @@ declare const CreateWorkflowSchema: z.ZodObject<{
|
|
|
2927
2969
|
chatModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2928
2970
|
realtimeModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2929
2971
|
realtimeModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2972
|
+
enableVoicemailDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2930
2973
|
defaultPhoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2931
2974
|
defaultInboxId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2932
2975
|
createMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2981,8 +3024,20 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
|
|
|
2981
3024
|
chatModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
2982
3025
|
realtimeModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2983
3026
|
realtimeModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
3027
|
+
enableVoicemailDetection: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
2984
3028
|
defaultPhoneNumberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
2985
3029
|
defaultInboxId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
3030
|
+
knowledge: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3031
|
+
kind: z.ZodEnum<{
|
|
3032
|
+
file: "file";
|
|
3033
|
+
folder: "folder";
|
|
3034
|
+
}>;
|
|
3035
|
+
id: z.ZodNumber;
|
|
3036
|
+
canRead: z.ZodOptional<z.ZodBoolean>;
|
|
3037
|
+
canList: z.ZodOptional<z.ZodBoolean>;
|
|
3038
|
+
canSearch: z.ZodOptional<z.ZodBoolean>;
|
|
3039
|
+
hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3040
|
+
}, z.core.$strict>>>>>;
|
|
2986
3041
|
startTaskId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
2987
3042
|
}, z.core.$strict>;
|
|
2988
3043
|
declare const DeleteWorkflowSchema: z.ZodObject<{
|
|
@@ -3103,5 +3158,18 @@ declare function zodToMcpSchema(schema: any): any;
|
|
|
3103
3158
|
*/
|
|
3104
3159
|
declare function createTool(name: string, description: string, schema: z.ZodSchema<any>): Tool;
|
|
3105
3160
|
|
|
3106
|
-
|
|
3161
|
+
declare const StartPublicDemoRequestSchema: z.ZodObject<{
|
|
3162
|
+
channel: z.ZodDefault<z.ZodEnum<{
|
|
3163
|
+
"phone-sms": "phone-sms";
|
|
3164
|
+
"phone-voice": "phone-voice";
|
|
3165
|
+
}>>;
|
|
3166
|
+
}, z.core.$strict>;
|
|
3167
|
+
declare const PublicDemoMessageRequestSchema: z.ZodObject<{
|
|
3168
|
+
content: z.ZodString;
|
|
3169
|
+
}, z.core.$strict>;
|
|
3170
|
+
declare const PublicDemoFormRequestSchema: z.ZodObject<{
|
|
3171
|
+
fieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3172
|
+
}, z.core.$strict>;
|
|
3173
|
+
|
|
3174
|
+
export { AccountFormDataSchema, AccountReportItemSchema, AccountSchema, AddDataFieldSchema, AddWorkspaceMemberSchema, AdminAccountFormDataSchema, AdminAccountMembershipSchema, AdminOrganizationSchema, AdminWorkspaceMemberFormDataSchema, ApiKeyCreatedSchema, ApiKeyFormDataSchema, ApiKeySchema, ApiKeyScopeSchema, ApiKeyScopesResponseSchema, ArchiveChatSchema, ArchivePhoneNumberSchema, AssistantChatParticipantSchema, CancelCalendarEventSchema, ChannelEnum, ChatCompletionMessageSchema, ChatFilterFilterTypeEnum, ChatFilterObjectTypeEnum, ChatFilterRuleFormDataSchema, ChatFilterRuleSchema, ChatFiltersSchema, ChatFormDataSchema, ChatMessageAPIResponseSchema, ChatMessageChunkSchema, ChatMessageObjectSchema, ChatMessageSchema, ChatMessageUISchema, ChatMuteReasonEnum, ChatParticipantFormDataSchema, ChatSchema, CheckAvailabilitySchema, CloneWorkflowSchema, ContributorChatParticipantSchema, CreateAccountSchema, CreateCalendarEventSchema, CreateCalendarSchema, CreateChatCompletionSchema, CreateChatForWorkflowSchema, CreateChatSchema, CreateDataRecordSchema, CreateDataTypeSchema, CreateEventTypeSchema, CreateInboxSchema, CreateMemberRoleSchema, CreateMenuItemSchema, CreateOrganizationRequestSchema, CreatePhoneNumberSchema, CreateScheduleSchema, CreateSitePageSchema, CreateSiteSchema, CreateWorkflowSchema, CreateWorkspaceMemberRequestSchema, CreateWorkspaceSchema, DataCategory, DataFieldFormDataSchema, DataFieldSchema, DataFieldType, DataIntegrityReportItemSchema, DataRecordAssociationFormDataSchema, DataRecordFiltersSchema, DataRecordFormDataSchema, DataRecordReportItemSchema, DataRecordRetirementSchema, DataRecordSchema, DataRecordWithAccessModeSchema, DataRecordsPaginatedResponseSchema, DataSensitivity, DataTypeExportItemSchema, DataTypeFormDataSchema, DataTypeRecordScope, DataTypeSchema, DeleteCalendarEventSchema, DeleteCalendarSchema, DeleteChatSchema, DeleteDataRecordSchema, DeleteDataTypeSchema, DeleteEventTypeSchema, DeleteInboxSchema, DeleteMemberRoleSchema, DeleteMenuItemSchema, DeleteScheduleSchema, DeleteSitePageSchema, DeleteSiteSchema, DeleteWorkflowSchema, DeleteWorkspaceSchema, DuplicateAccountInfoSchema, EMPTY_SCHEMA_SENSITIVITY, ErrorResponseSchema, FunctionToolSchema, GenerateICalTokenSchema, GetAvailableSlotsSchema, GetAvailableWorkspaceFeaturesSchema, GetCalendarEventSchema, GetCalendarSchema, GetChatMessagesSchema, GetChatSchema, GetChatsNeedsResponseSchema, GetCurrentMemberSchema, GetDataRecordSchema, GetDataTypeBySlugSchema, GetDataTypeSchema, GetEventTypeSchema, GetFieldIndexStatusSchema, GetICalUrlSchema, GetInboxEmailSchema, GetInboxSchema, GetMemberRoleSchema, GetPhoneNumberSchema, GetProductSchema, GetProductsSchema, GetRecentInboxMessagesSchema, GetRecentSmsMessagesSchema, GetResellerWorkspacesSchema, GetSiteCountsSchema, GetSiteMenuSchema, GetSitePageBySlugSchema, GetSitePageSchema, GetSiteSchema, GetWorkflowSchema, GetWorkspaceDefaultsSchema, GetWorkspaceMemberSchema, GetWorkspaceSchema, HumanChatParticipantSchema, ImageUrlContentSchema, InboxEmailFiltersSchema, InboxFormDataSchema, InboxRuleSchema, InboxRulesConfigSchema, IndexStatus, InitiateOutboundCallSchema, KnowledgeEntrySchema, ListCalendarEventsSchema, ListCalendarsSchema, ListChatsSchema, ListDataRecordsSchema, ListDataTypesSchema, ListEventTypesSchema, ListInboxEmailsSchema, ListInboxesSchema, ListMemberRolesSchema, ListMenuItemsSchema, ListPhoneCallsSchema, ListPhoneNumbersSchema, ListPhoneSmsMessagesSchema, ListSchedulesSchema, ListSitePagesSchema, ListSitesSchema, ListWorkflowsSchema, ListWorkspaceMembersSchema, ListWorkspacesSchema, LoginRequestSchema, LoginResponseSchema, MarkEmailReadSchema, MarkEmailUnreadSchema, MemberFilterFormDataSchema, MemberFilterSchema, MemberFormDataSchema, MemberLabelFormDataSchema, MemberLabelSchema, MemberRoleFormDataSchema, MemberRoleSchema, MemberRoleTaskAccessSchema, MemberSchema, MenuItemFormDataSchema, MessageAudienceEnum, MessageContentPartSchema, MessageOriginEnum, MessageRoleEnum, MissingMembershipItemSchema, OrganizationSchema, PhoneNumberFormDataSchema, PublicDemoFormRequestSchema, PublicDemoMessageRequestSchema, RateLimitAllowlistEntrySchema, RateLimitOverrideSchema, RateMessageSchema, RemoveDataFieldSchema, RemoveWorkspaceMemberSchema, ReorderMenuItemsRequestSchema, ReorderMenuItemsSchema, RevokeICalTokenSchema, SMSLoginResponseSchema, SchemaFieldFormDataSchema, SchemaFieldSchema, SendAssistantMessageSchema, SendChatMessageSchema, SendSmsToMemberSchema, SiteFormDataSchema, SitePageFormDataSchema, StartPublicDemoRequestSchema, SupervisorChatParticipantSchema, TaskExportDataTypeRelationSchema, TextContentSchema, ToggleFieldIndexSchema, ToolCallFunctionSchema, ToolCallSchema, ToolResultSchema, TruncationReasonEnum, UnarchiveChatSchema, UpdateAttendeeResponseSchema, UpdateCalendarEventSchema, UpdateCalendarSchema, UpdateChatMuteSchema, UpdateChatSchema, UpdateCurrentMemberSchema, UpdateDataFieldSchema, UpdateDataRecordSchema, UpdateDataTypeSchema, UpdateEventTypeSchema, UpdateInboxSchema, UpdateMemberRoleSchema, UpdateMenuItemSchema, UpdateOrganizationRequestSchema, UpdatePhoneNumberSchema, UpdateScheduleSchema, UpdateSitePageSchema, UpdateSiteSchema, UpdateWorkflowSchema, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, UpsertDataRecordSchema, VerifyCodeRequestSchema, VerifyCodeResponseSchema, WorkflowCreateFormDataSchema, WorkflowEscalationPolicySchema, WorkflowEscalationRoutingSchema, WorkflowFormDataSchema, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
|
|
3107
3175
|
export type { Account, AccountFormData, AccountReportItem, AddDataFieldInput, AddWorkspaceMemberInput, AdminAccountFormData, AdminAccountMembership, AdminOrganization, AdminWorkspaceMemberFormData, ApiKey, ApiKeyCreated, ApiKeyFormData, ApiKeyScope, ApiKeyScopesResponse, ArchiveChatInput, ArchivePhoneNumberInput, AssistantChatParticipant, CancelCalendarEventInput, Channel, Chat, ChatCompletionMessage, ChatFilterFilterType, ChatFilterObjectType, ChatFilterRule, ChatFilterRuleFormData, ChatFormData, ChatMessage, ChatMessageAPIResponse, ChatMessageChunk, ChatMessageObject, ChatMessageUI, ChatMuteReasonValue, ChatParticipantFormData, CheckAvailabilityInput, CloneWorkflowInput, ContributorChatParticipant, CreateAccountInput, CreateCalendarEventInput, CreateCalendarInput, CreateChatCompletionInput, CreateChatForWorkflowInput, CreateChatInput, CreateDataRecordInput, CreateDataTypeInput, CreateEventTypeInput, CreateInboxInput, CreateMemberRoleInput, CreateMenuItemInput, CreateOrganizationRequest, CreatePhoneNumberInput, CreateScheduleInput, CreateSiteInput, CreateSitePageInput, CreateWorkflowInput, CreateWorkspaceInput, CreateWorkspaceMemberRequest, DataField, DataFieldFormData, DataIntegrityReportItem, DataRecord, DataRecordAssociationFormData, DataRecordFilters, DataRecordFormData, DataRecordReportItem, DataRecordRetirement, DataRecordWithAccessMode, DataRecordsPaginatedResponse, DataType, DataTypeExportItem, DataTypeFormData, DeleteCalendarEventInput, DeleteCalendarInput, DeleteChatInput, DeleteDataRecordInput, DeleteDataTypeInput, DeleteEventTypeInput, DeleteInboxInput, DeleteMemberRoleInput, DeleteMenuItemInput, DeleteScheduleInput, DeleteSiteInput, DeleteSitePageInput, DeleteWorkflowInput, DeleteWorkspaceInput, DuplicateAccountInfo, ErrorResponse, FunctionTool, GenerateICalTokenInput, GetAvailableSlotsInput, GetAvailableWorkspaceFeaturesInput, GetCalendarEventInput, GetCalendarInput, GetChatInput, GetChatMessagesInput, GetChatsNeedsResponseInput, GetCurrentMemberInput, GetDataRecordInput, GetDataTypeBySlugInput, GetDataTypeInput, GetEventTypeInput, GetFieldIndexStatusInput, GetICalUrlInput, GetInboxEmailInput, GetInboxInput, GetMemberRoleInput, GetPhoneNumberInput, GetProductInput, GetProductsInput, GetRecentInboxMessagesInput, GetRecentSmsMessagesInput, GetResellerWorkspacesInput, GetSiteCountsInput, GetSiteInput, GetSiteMenuInput, GetSitePageBySlugInput, GetSitePageInput, GetWorkflowInput, GetWorkspaceDefaultsInput, GetWorkspaceInput, GetWorkspaceMemberInput, HumanChatParticipant, ImageUrlContent, InboxEmailFilters, InboxFormData, InboxRule, InboxRulesConfig, InitiateOutboundCallInput, ListCalendarEventsInput, ListCalendarsInput, ListChatsInput, ListDataRecordsInput, ListDataTypesInput, ListEventTypesInput, ListInboxEmailsInput, ListInboxesInput, ListMemberRolesInput, ListMenuItemsInput, ListPhoneCallsInput, ListPhoneNumbersInput, ListPhoneSmsMessagesInput, ListSchedulesInput, ListSitePagesInput, ListSitesInput, ListWorkflowsInput, ListWorkspaceMembersInput, ListWorkspacesInput, LoginRequest, LoginResponse, MarkEmailReadInput, MarkEmailUnreadInput, Member, MemberFilter, MemberFilterFormData, MemberFormData, MemberLabel, MemberLabelFormData, MemberRole, MemberRoleFormData, MemberRoleTaskAccess, MenuItemFormData, MessageAudience, MessageContentPart, MessageOrigin, MessageRole, MissingMembershipItem, Organization, PhoneNumberFormData, RateLimitAllowlistEntry, RateLimitOverride, RateMessageInput, RemoveDataFieldInput, RemoveWorkspaceMemberInput, ReorderMenuItems, ReorderMenuItemsInput, RevokeICalTokenInput, SMSLoginResponse, SchemaField, SchemaFieldFormData, SendAssistantMessageInput, SendChatMessageInput, SendSmsToMemberInput, SiteFormData, SitePageFormData, SupervisorChatParticipant, TaskExportDataTypeRelation, TextContent, ToggleFieldIndexInput, ToolCall, ToolCallFunction, ToolResult, TruncationReason, UnarchiveChatInput, UpdateAttendeeResponseInput, UpdateCalendarEventInput, UpdateCalendarInput, UpdateChatInput, UpdateChatMuteInput, UpdateCurrentMemberInput, UpdateDataFieldInput, UpdateDataRecordInput, UpdateDataTypeInput, UpdateEventTypeInput, UpdateInboxInput, UpdateMemberRoleInput, UpdateMenuItemInput, UpdateOrganizationRequest, UpdatePhoneNumberInput, UpdateScheduleInput, UpdateSiteInput, UpdateSitePageInput, UpdateWorkflowInput, UpdateWorkspaceInput, UpdateWorkspaceMemberInput, UpdateWorkspaceMemberRequest, UpsertDataRecordInput, VerifyCodeRequest, VerifyCodeResponse, WorkflowCreateFormData, WorkflowFormData, WorkspaceFormData };
|