@gravity-rail/sdk 0.22.0 → 0.32.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 +57 -8
- package/dist/agui.d.cts +1 -1
- package/dist/agui.d.ts +1 -1
- package/dist/audio.d.cts +1 -1
- package/dist/audio.d.ts +1 -1
- package/dist/{client-C10qSd6b.d.ts → chat-interaction-BKdImgZ5.d.ts} +5604 -1531
- package/dist/{client-Ct0soeip.d.cts → chat-interaction-DLfC_h_P.d.cts} +5604 -1531
- package/dist/{chunk-3HAV5XUJ.js → chunk-HRUMZ46V.js} +1 -1
- package/dist/chunk-HRUMZ46V.js.map +1 -0
- package/dist/{chunk-WMA6YCAS.js → chunk-N446FGCT.js} +1230 -201
- package/dist/chunk-N446FGCT.js.map +1 -0
- package/dist/{chunk-7OLBLLV7.js → chunk-P2E6LU7I.js} +57 -7
- package/dist/chunk-P2E6LU7I.js.map +1 -0
- package/dist/helpers.cjs +54 -1
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +3 -2
- package/dist/helpers.d.ts +3 -2
- package/dist/helpers.js +11 -3
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +2291 -148
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +509 -6
- package/dist/index.d.ts +509 -6
- package/dist/index.js +1032 -23
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +1320 -220
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +33 -49
- package/dist/internal.d.ts +33 -49
- package/dist/internal.js +73 -33
- package/dist/internal.js.map +1 -1
- package/dist/realtime.cjs +279 -14
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +169 -17
- package/dist/realtime.d.ts +169 -17
- package/dist/realtime.js +264 -13
- package/dist/realtime.js.map +1 -1
- package/dist/{revision-state-CCPTiW-i.d.cts → revision-state-Bsq5dKwi.d.cts} +236 -5
- package/dist/{revision-state-C6aM-PHu.d.ts → revision-state-CQTYcIRG.d.ts} +236 -5
- package/dist/schemas.cjs +3 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +31 -13
- package/dist/schemas.d.ts +31 -13
- package/dist/schemas.js +4 -2
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-WH_VfzMv.d.cts → tasks-B-31JPuq.d.cts} +298 -114
- package/dist/{tasks-WH_VfzMv.d.ts → tasks-B-31JPuq.d.ts} +298 -114
- package/dist/types-0c6_NGU4.d.cts +90 -0
- package/dist/types-0c6_NGU4.d.ts +90 -0
- package/package.json +3 -3
- package/dist/chunk-3HAV5XUJ.js.map +0 -1
- package/dist/chunk-7OLBLLV7.js.map +0 -1
- package/dist/chunk-WMA6YCAS.js.map +0 -1
- package/dist/types-DkYyrvoC.d.cts +0 -19
- package/dist/types-DkYyrvoC.d.ts +0 -19
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,
|
|
3
|
-
export {
|
|
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-B-31JPuq.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-B-31JPuq.cjs';
|
|
4
4
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
5
5
|
|
|
6
6
|
declare const AccountFormDataSchema: z.ZodObject<{
|
|
@@ -505,10 +505,10 @@ declare const MessageRoleEnum: z.ZodEnum<{
|
|
|
505
505
|
}>;
|
|
506
506
|
declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
507
507
|
title: "title";
|
|
508
|
+
owner: "owner";
|
|
508
509
|
participant: "participant";
|
|
509
510
|
mode: "mode";
|
|
510
511
|
channel: "channel";
|
|
511
|
-
owner: "owner";
|
|
512
512
|
needsResponse: "needsResponse";
|
|
513
513
|
paused: "paused";
|
|
514
514
|
messageCount: "messageCount";
|
|
@@ -517,8 +517,8 @@ declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
|
517
517
|
declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
|
|
518
518
|
any: "any";
|
|
519
519
|
all: "all";
|
|
520
|
-
active: "active";
|
|
521
520
|
none: "none";
|
|
521
|
+
active: "active";
|
|
522
522
|
partial: "partial";
|
|
523
523
|
exact: "exact";
|
|
524
524
|
equals: "equals";
|
|
@@ -584,6 +584,15 @@ declare const ChatFormDataSchema: z.ZodObject<{
|
|
|
584
584
|
workflowRevisionUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
585
585
|
phoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
586
586
|
siteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
587
|
+
browserChannel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
588
|
+
"web-chat": "web-chat";
|
|
589
|
+
"web-voice": "web-voice";
|
|
590
|
+
}>>>;
|
|
591
|
+
interactionMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
592
|
+
text: "text";
|
|
593
|
+
push_to_talk: "push_to_talk";
|
|
594
|
+
realtime: "realtime";
|
|
595
|
+
}>>>;
|
|
587
596
|
memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
588
597
|
participants: z.ZodArray<z.ZodObject<{
|
|
589
598
|
memberId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -664,6 +673,15 @@ declare const CreateChatSchema: z.ZodObject<{
|
|
|
664
673
|
workflowRevisionUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
665
674
|
phoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
666
675
|
siteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
676
|
+
browserChannel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
677
|
+
"web-chat": "web-chat";
|
|
678
|
+
"web-voice": "web-voice";
|
|
679
|
+
}>>>;
|
|
680
|
+
interactionMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
681
|
+
text: "text";
|
|
682
|
+
push_to_talk: "push_to_talk";
|
|
683
|
+
realtime: "realtime";
|
|
684
|
+
}>>>;
|
|
667
685
|
memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
668
686
|
participants: z.ZodArray<z.ZodObject<{
|
|
669
687
|
memberId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -692,15 +710,17 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
692
710
|
wid: z.ZodString;
|
|
693
711
|
chatId: z.ZodNumber;
|
|
694
712
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
713
|
+
memberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
695
714
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
696
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
697
715
|
workflowId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
698
|
-
workflowUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
699
716
|
workflowRevisionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
717
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
718
|
+
needsResponse: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
719
|
+
paused: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
720
|
+
workflowUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
700
721
|
workflowRevisionUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
701
722
|
phoneNumberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
702
723
|
siteId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
703
|
-
memberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
704
724
|
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
705
725
|
memberId: z.ZodOptional<z.ZodNumber>;
|
|
706
726
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -719,9 +739,7 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
719
739
|
assistantChatModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
720
740
|
assistantRealtimeModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
721
741
|
assistantRealtimeModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
722
|
-
paused: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
723
742
|
muted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
724
|
-
needsResponse: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
725
743
|
initialMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
726
744
|
}, z.core.$strip>;
|
|
727
745
|
declare const DeleteChatSchema: z.ZodObject<{
|
|
@@ -864,10 +882,10 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
864
882
|
declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
865
883
|
objectType: z.ZodEnum<{
|
|
866
884
|
title: "title";
|
|
885
|
+
owner: "owner";
|
|
867
886
|
participant: "participant";
|
|
868
887
|
mode: "mode";
|
|
869
888
|
channel: "channel";
|
|
870
|
-
owner: "owner";
|
|
871
889
|
needsResponse: "needsResponse";
|
|
872
890
|
paused: "paused";
|
|
873
891
|
messageCount: "messageCount";
|
|
@@ -876,8 +894,8 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
876
894
|
filterType: z.ZodEnum<{
|
|
877
895
|
any: "any";
|
|
878
896
|
all: "all";
|
|
879
|
-
active: "active";
|
|
880
897
|
none: "none";
|
|
898
|
+
active: "active";
|
|
881
899
|
partial: "partial";
|
|
882
900
|
exact: "exact";
|
|
883
901
|
equals: "equals";
|
|
@@ -890,10 +908,10 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
890
908
|
declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
891
909
|
objectType: z.ZodEnum<{
|
|
892
910
|
title: "title";
|
|
911
|
+
owner: "owner";
|
|
893
912
|
participant: "participant";
|
|
894
913
|
mode: "mode";
|
|
895
914
|
channel: "channel";
|
|
896
|
-
owner: "owner";
|
|
897
915
|
needsResponse: "needsResponse";
|
|
898
916
|
paused: "paused";
|
|
899
917
|
messageCount: "messageCount";
|
|
@@ -902,8 +920,8 @@ declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
|
902
920
|
filterType: z.ZodEnum<{
|
|
903
921
|
any: "any";
|
|
904
922
|
all: "all";
|
|
905
|
-
active: "active";
|
|
906
923
|
none: "none";
|
|
924
|
+
active: "active";
|
|
907
925
|
partial: "partial";
|
|
908
926
|
exact: "exact";
|
|
909
927
|
equals: "equals";
|
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,
|
|
3
|
-
export {
|
|
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-B-31JPuq.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-B-31JPuq.js';
|
|
4
4
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
5
5
|
|
|
6
6
|
declare const AccountFormDataSchema: z.ZodObject<{
|
|
@@ -505,10 +505,10 @@ declare const MessageRoleEnum: z.ZodEnum<{
|
|
|
505
505
|
}>;
|
|
506
506
|
declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
507
507
|
title: "title";
|
|
508
|
+
owner: "owner";
|
|
508
509
|
participant: "participant";
|
|
509
510
|
mode: "mode";
|
|
510
511
|
channel: "channel";
|
|
511
|
-
owner: "owner";
|
|
512
512
|
needsResponse: "needsResponse";
|
|
513
513
|
paused: "paused";
|
|
514
514
|
messageCount: "messageCount";
|
|
@@ -517,8 +517,8 @@ declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
|
517
517
|
declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
|
|
518
518
|
any: "any";
|
|
519
519
|
all: "all";
|
|
520
|
-
active: "active";
|
|
521
520
|
none: "none";
|
|
521
|
+
active: "active";
|
|
522
522
|
partial: "partial";
|
|
523
523
|
exact: "exact";
|
|
524
524
|
equals: "equals";
|
|
@@ -584,6 +584,15 @@ declare const ChatFormDataSchema: z.ZodObject<{
|
|
|
584
584
|
workflowRevisionUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
585
585
|
phoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
586
586
|
siteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
587
|
+
browserChannel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
588
|
+
"web-chat": "web-chat";
|
|
589
|
+
"web-voice": "web-voice";
|
|
590
|
+
}>>>;
|
|
591
|
+
interactionMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
592
|
+
text: "text";
|
|
593
|
+
push_to_talk: "push_to_talk";
|
|
594
|
+
realtime: "realtime";
|
|
595
|
+
}>>>;
|
|
587
596
|
memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
588
597
|
participants: z.ZodArray<z.ZodObject<{
|
|
589
598
|
memberId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -664,6 +673,15 @@ declare const CreateChatSchema: z.ZodObject<{
|
|
|
664
673
|
workflowRevisionUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
665
674
|
phoneNumberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
666
675
|
siteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
676
|
+
browserChannel: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
677
|
+
"web-chat": "web-chat";
|
|
678
|
+
"web-voice": "web-voice";
|
|
679
|
+
}>>>;
|
|
680
|
+
interactionMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
681
|
+
text: "text";
|
|
682
|
+
push_to_talk: "push_to_talk";
|
|
683
|
+
realtime: "realtime";
|
|
684
|
+
}>>>;
|
|
667
685
|
memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
668
686
|
participants: z.ZodArray<z.ZodObject<{
|
|
669
687
|
memberId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -692,15 +710,17 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
692
710
|
wid: z.ZodString;
|
|
693
711
|
chatId: z.ZodNumber;
|
|
694
712
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
713
|
+
memberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
695
714
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
696
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
697
715
|
workflowId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
698
|
-
workflowUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
699
716
|
workflowRevisionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
717
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
718
|
+
needsResponse: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
719
|
+
paused: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
720
|
+
workflowUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
700
721
|
workflowRevisionUuid: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
701
722
|
phoneNumberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
702
723
|
siteId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
703
|
-
memberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
704
724
|
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
705
725
|
memberId: z.ZodOptional<z.ZodNumber>;
|
|
706
726
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -719,9 +739,7 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
719
739
|
assistantChatModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
720
740
|
assistantRealtimeModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
721
741
|
assistantRealtimeModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
722
|
-
paused: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
723
742
|
muted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
724
|
-
needsResponse: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
725
743
|
initialMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
726
744
|
}, z.core.$strip>;
|
|
727
745
|
declare const DeleteChatSchema: z.ZodObject<{
|
|
@@ -864,10 +882,10 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
864
882
|
declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
865
883
|
objectType: z.ZodEnum<{
|
|
866
884
|
title: "title";
|
|
885
|
+
owner: "owner";
|
|
867
886
|
participant: "participant";
|
|
868
887
|
mode: "mode";
|
|
869
888
|
channel: "channel";
|
|
870
|
-
owner: "owner";
|
|
871
889
|
needsResponse: "needsResponse";
|
|
872
890
|
paused: "paused";
|
|
873
891
|
messageCount: "messageCount";
|
|
@@ -876,8 +894,8 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
876
894
|
filterType: z.ZodEnum<{
|
|
877
895
|
any: "any";
|
|
878
896
|
all: "all";
|
|
879
|
-
active: "active";
|
|
880
897
|
none: "none";
|
|
898
|
+
active: "active";
|
|
881
899
|
partial: "partial";
|
|
882
900
|
exact: "exact";
|
|
883
901
|
equals: "equals";
|
|
@@ -890,10 +908,10 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
890
908
|
declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
891
909
|
objectType: z.ZodEnum<{
|
|
892
910
|
title: "title";
|
|
911
|
+
owner: "owner";
|
|
893
912
|
participant: "participant";
|
|
894
913
|
mode: "mode";
|
|
895
914
|
channel: "channel";
|
|
896
|
-
owner: "owner";
|
|
897
915
|
needsResponse: "needsResponse";
|
|
898
916
|
paused: "paused";
|
|
899
917
|
messageCount: "messageCount";
|
|
@@ -902,8 +920,8 @@ declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
|
902
920
|
filterType: z.ZodEnum<{
|
|
903
921
|
any: "any";
|
|
904
922
|
all: "all";
|
|
905
|
-
active: "active";
|
|
906
923
|
none: "none";
|
|
924
|
+
active: "active";
|
|
907
925
|
partial: "partial";
|
|
908
926
|
exact: "exact";
|
|
909
927
|
equals: "equals";
|
package/dist/schemas.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
DataSensitivity,
|
|
9
9
|
DataTypeRecordScope,
|
|
10
10
|
IndexStatus
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HRUMZ46V.js";
|
|
12
12
|
|
|
13
13
|
// src/schemas/accounts.ts
|
|
14
14
|
import { z } from "zod";
|
|
@@ -616,6 +616,8 @@ var ChatFormDataSchema = z4.object({
|
|
|
616
616
|
workflowRevisionUuid: z4.string().nullable().optional(),
|
|
617
617
|
phoneNumberId: z4.number().nullable().optional(),
|
|
618
618
|
siteId: z4.number().nullable().optional(),
|
|
619
|
+
browserChannel: z4.enum(["web-chat", "web-voice"]).nullable().optional(),
|
|
620
|
+
interactionMode: z4.enum(["text", "push_to_talk", "realtime"]).nullable().optional(),
|
|
619
621
|
memberId: z4.number().nullable().optional(),
|
|
620
622
|
participants: z4.array(ChatParticipantFormDataSchema),
|
|
621
623
|
// Who answers. The explicit successor to `agentEnabled` — see ChatFormData.
|
|
@@ -662,7 +664,7 @@ var GetChatSchema = WorkspaceIdSchema.extend({
|
|
|
662
664
|
var CreateChatSchema = WorkspaceIdSchema.merge(ChatFormDataSchema);
|
|
663
665
|
var UpdateChatSchema = WorkspaceIdSchema.extend({
|
|
664
666
|
chatId: z4.number().describe("Chat ID")
|
|
665
|
-
}).merge(ChatFormDataSchema.partial());
|
|
667
|
+
}).merge(ChatFormDataSchema.omit({ browserChannel: true, interactionMode: true }).partial());
|
|
666
668
|
var DeleteChatSchema = WorkspaceIdSchema.extend({
|
|
667
669
|
chatId: z4.number().describe("Chat ID to delete")
|
|
668
670
|
});
|