@gravity-rail/sdk 0.21.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.
Files changed (55) hide show
  1. package/README.md +57 -8
  2. package/dist/agui.d.cts +1 -1
  3. package/dist/agui.d.ts +1 -1
  4. package/dist/audio.d.cts +1 -1
  5. package/dist/audio.d.ts +1 -1
  6. package/dist/{client-B0eh2BEY.d.cts → chat-interaction-BKdImgZ5.d.ts} +8006 -3570
  7. package/dist/{client-CFz-BGmY.d.ts → chat-interaction-DLfC_h_P.d.cts} +8006 -3570
  8. package/dist/{chunk-3HAV5XUJ.js → chunk-HRUMZ46V.js} +1 -1
  9. package/dist/chunk-HRUMZ46V.js.map +1 -0
  10. package/dist/{chunk-24L4RD4Z.js → chunk-N446FGCT.js} +1247 -203
  11. package/dist/chunk-N446FGCT.js.map +1 -0
  12. package/dist/{chunk-7OLBLLV7.js → chunk-P2E6LU7I.js} +57 -7
  13. package/dist/chunk-P2E6LU7I.js.map +1 -0
  14. package/dist/helpers.cjs +54 -1
  15. package/dist/helpers.cjs.map +1 -1
  16. package/dist/helpers.d.cts +3 -2
  17. package/dist/helpers.d.ts +3 -2
  18. package/dist/helpers.js +11 -3
  19. package/dist/helpers.js.map +1 -1
  20. package/dist/index.cjs +2302 -144
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +509 -6
  23. package/dist/index.d.ts +509 -6
  24. package/dist/index.js +1032 -23
  25. package/dist/index.js.map +1 -1
  26. package/dist/internal.cjs +1337 -222
  27. package/dist/internal.cjs.map +1 -1
  28. package/dist/internal.d.cts +33 -49
  29. package/dist/internal.d.ts +33 -49
  30. package/dist/internal.js +73 -33
  31. package/dist/internal.js.map +1 -1
  32. package/dist/realtime.cjs +279 -14
  33. package/dist/realtime.cjs.map +1 -1
  34. package/dist/realtime.d.cts +169 -17
  35. package/dist/realtime.d.ts +169 -17
  36. package/dist/realtime.js +264 -13
  37. package/dist/realtime.js.map +1 -1
  38. package/dist/{revision-state-fJ9PM15N.d.cts → revision-state-Bsq5dKwi.d.cts} +236 -5
  39. package/dist/{revision-state-KfOztBkY.d.ts → revision-state-CQTYcIRG.d.ts} +236 -5
  40. package/dist/schemas.cjs +3 -1
  41. package/dist/schemas.cjs.map +1 -1
  42. package/dist/schemas.d.cts +31 -13
  43. package/dist/schemas.d.ts +31 -13
  44. package/dist/schemas.js +4 -2
  45. package/dist/schemas.js.map +1 -1
  46. package/dist/{tasks-WH_VfzMv.d.cts → tasks-B-31JPuq.d.cts} +298 -114
  47. package/dist/{tasks-WH_VfzMv.d.ts → tasks-B-31JPuq.d.ts} +298 -114
  48. package/dist/types-0c6_NGU4.d.cts +90 -0
  49. package/dist/types-0c6_NGU4.d.ts +90 -0
  50. package/package.json +3 -3
  51. package/dist/chunk-24L4RD4Z.js.map +0 -1
  52. package/dist/chunk-3HAV5XUJ.js.map +0 -1
  53. package/dist/chunk-7OLBLLV7.js.map +0 -1
  54. package/dist/types-DkYyrvoC.d.cts +0 -19
  55. package/dist/types-DkYyrvoC.d.ts +0 -19
@@ -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, bS as IndexStatus } from './tasks-WH_VfzMv.cjs';
3
- export { fX as AbilityData, fY as AbilityDataSchema, fZ as AnonymousInquiryFormSchema, f_ as ArchiveTaskInput, f$ as ArchiveTaskSchema, g0 as ChildTaskFormData, g1 as ChildTaskFormDataSchema, g2 as CreateInquiryInput, g3 as CreateInquirySchema, g4 as CreateTaskInput, g5 as CreateTaskSchema, g6 as DeleteInquiryInput, g7 as DeleteInquirySchema, g8 as DeleteTaskInput, g9 as DeleteTaskSchema, ga as EnrichInquiryInput, gb as EnrichInquirySchema, gc as GetInquiryInput, gd as GetInquirySchema, ge as GetTaskInput, gf as GetTaskSchema, gg as ListInquiriesInput, gh as ListInquiriesSchema, gi as ListTasksInput, gj as ListTasksSchema, gk as TaskFormData, gl as TaskFormDataSchema, gm as UnarchiveTaskInput, gn as UnarchiveTaskSchema, go as UpdateInquiryInput, gp as UpdateInquiryRequestSchema, gq as UpdateInquirySchema, gr as UpdateTaskInput, gs as UpdateTaskSchema } from './tasks-WH_VfzMv.cjs';
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, bS as IndexStatus } from './tasks-WH_VfzMv.js';
3
- export { fX as AbilityData, fY as AbilityDataSchema, fZ as AnonymousInquiryFormSchema, f_ as ArchiveTaskInput, f$ as ArchiveTaskSchema, g0 as ChildTaskFormData, g1 as ChildTaskFormDataSchema, g2 as CreateInquiryInput, g3 as CreateInquirySchema, g4 as CreateTaskInput, g5 as CreateTaskSchema, g6 as DeleteInquiryInput, g7 as DeleteInquirySchema, g8 as DeleteTaskInput, g9 as DeleteTaskSchema, ga as EnrichInquiryInput, gb as EnrichInquirySchema, gc as GetInquiryInput, gd as GetInquirySchema, ge as GetTaskInput, gf as GetTaskSchema, gg as ListInquiriesInput, gh as ListInquiriesSchema, gi as ListTasksInput, gj as ListTasksSchema, gk as TaskFormData, gl as TaskFormDataSchema, gm as UnarchiveTaskInput, gn as UnarchiveTaskSchema, go as UpdateInquiryInput, gp as UpdateInquiryRequestSchema, gq as UpdateInquirySchema, gr as UpdateTaskInput, gs as UpdateTaskSchema } from './tasks-WH_VfzMv.js';
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-3HAV5XUJ.js";
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
  });