@wildix/wilma-copilot-sessions-client 1.0.5 → 1.0.7

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 (37) hide show
  1. package/dist-cjs/WilmaCopilotSessions.js +14 -4
  2. package/dist-cjs/commands/{GetCopilotSessionEventsCommand.js → AskCommand.js} +6 -6
  3. package/dist-cjs/commands/EnrichCommand.js +20 -0
  4. package/dist-cjs/commands/GetSessionEventsCommand.js +20 -0
  5. package/dist-cjs/commands/ListSessionsCommand.js +20 -0
  6. package/dist-cjs/commands/OpenCommand.js +20 -0
  7. package/dist-cjs/commands/ResolveCommand.js +20 -0
  8. package/dist-cjs/commands/{StreamCopilotSessionEventsCommand.js → StreamSessionEventsCommand.js} +6 -6
  9. package/dist-cjs/commands/index.js +7 -2
  10. package/dist-cjs/models/enums.js +22 -3
  11. package/dist-cjs/schemas/schemas_0.js +187 -33
  12. package/dist-es/WilmaCopilotSessions.js +14 -4
  13. package/dist-es/commands/{GetCopilotSessionEventsCommand.js → AskCommand.js} +5 -5
  14. package/dist-es/commands/{StreamCopilotSessionEventsCommand.js → EnrichCommand.js} +5 -5
  15. package/dist-es/commands/GetSessionEventsCommand.js +16 -0
  16. package/dist-es/commands/ListSessionsCommand.js +16 -0
  17. package/dist-es/commands/OpenCommand.js +16 -0
  18. package/dist-es/commands/ResolveCommand.js +16 -0
  19. package/dist-es/commands/StreamSessionEventsCommand.js +16 -0
  20. package/dist-es/commands/index.js +7 -2
  21. package/dist-es/models/enums.js +21 -2
  22. package/dist-es/schemas/schemas_0.js +185 -32
  23. package/dist-types/WilmaCopilotSessions.d.ts +53 -10
  24. package/dist-types/WilmaCopilotSessionsClient.d.ts +15 -4
  25. package/dist-types/commands/AskCommand.d.ts +87 -0
  26. package/dist-types/commands/EnrichCommand.d.ts +116 -0
  27. package/dist-types/commands/{GetCopilotSessionEventsCommand.d.ts → GetSessionEventsCommand.d.ts} +38 -24
  28. package/dist-types/commands/ListSessionsCommand.d.ts +93 -0
  29. package/dist-types/commands/OpenCommand.d.ts +117 -0
  30. package/dist-types/commands/ResolveCommand.d.ts +110 -0
  31. package/dist-types/commands/{StreamCopilotSessionEventsCommand.d.ts → StreamSessionEventsCommand.d.ts} +23 -23
  32. package/dist-types/commands/index.d.ts +7 -2
  33. package/dist-types/index.d.ts +6 -0
  34. package/dist-types/models/enums.d.ts +79 -6
  35. package/dist-types/models/models_0.d.ts +369 -9
  36. package/dist-types/schemas/schemas_0.d.ts +28 -6
  37. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
2
- import type { AssetIcon, AssetSeverity, ButtonVariant, CallDevice, CallParticipantRole, CallParticipantType, CallTranscriptionSpeaker, ConferenceParticipantRole, ConferenceParticipantType, CopilotSessionStatus, License, LiveEventType, MessageSmsStatus, MessageType, MessageWhatsAppStatus, PbxLicenseType, TranscriptionSentiment } from "./enums";
2
+ import type { AssetIcon, AssetSeverity, ButtonVariant, CallDevice, CallParticipantRole, CallParticipantType, CallTranscriptionSpeaker, ConferenceParticipantRole, ConferenceParticipantType, CopilotConversationKind, CopilotIngestedSessionState, CopilotLifecycleReason, CopilotSessionStatus, License, LiveEventType, MessageSmsStatus, MessageType, MessageWhatsAppStatus, PbxLicenseType, TranscriptionSentiment } from "./enums";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -423,6 +423,72 @@ export interface ConferenceAnalyticsLiveTranscriptionEvent {
423
423
  chunk: ConferenceTranscriptionChunk;
424
424
  participant?: ConferenceParticipant | undefined;
425
425
  }
426
+ /**
427
+ * @public
428
+ */
429
+ export interface AskInput {
430
+ /**
431
+ * The copilot session to record the ask in.
432
+ * @public
433
+ */
434
+ sessionId: string;
435
+ /**
436
+ * Company that owns the session. Required when calling with a service (s2s) token.
437
+ * @public
438
+ */
439
+ company?: string | undefined;
440
+ /**
441
+ * The Wilma session (wilma-assistant) holding the ask and its output.
442
+ * @public
443
+ */
444
+ wilmaSessionId: string;
445
+ /**
446
+ * Read-only, expiring token scoped to `wilmaSessionId`, issued by wilma-assistant. Published on the `ask` event so other agents can view the output.
447
+ * @public
448
+ */
449
+ accessToken?: string | undefined;
450
+ }
451
+ /**
452
+ * @public
453
+ */
454
+ export interface AskOutput {
455
+ /**
456
+ * Index of the recorded `ask` event in the session log.
457
+ * @public
458
+ */
459
+ index: number;
460
+ }
461
+ /**
462
+ * An ask recorded in the session. The ask itself runs as a regular Wilma session (wilma-assistant); any agent in the company can render its output by presenting `accessToken` to wilma-assistant — copilot sessions are shared within the tenant.
463
+ * @public
464
+ */
465
+ export interface CopilotAskEvent {
466
+ /**
467
+ * Monotonic per-session event index. Drives resumption: pass `index + 1` of the last seen event as `startIndex` when reconnecting.
468
+ * @public
469
+ */
470
+ index: number;
471
+ /**
472
+ * ISO-8601 time the event was recorded.
473
+ * @public
474
+ */
475
+ timestamp: string;
476
+ /**
477
+ * The user who asked.
478
+ * @public
479
+ */
480
+ userId: string;
481
+ /**
482
+ * The Wilma session (wilma-assistant) holding the ask and its output.
483
+ * @public
484
+ */
485
+ wilmaSessionId: string;
486
+ /**
487
+ * Read-only, session-scoped, expiring token other agents present to wilma-assistant to view the ask output.
488
+ * @public
489
+ */
490
+ accessToken?: string | undefined;
491
+ }
426
492
  /**
427
493
  * An asset shown or updated in the session. Carries the full asset state at this point; re-emitted on updates (e.g. playbook progress).
428
494
  * @public
@@ -471,6 +537,56 @@ export interface CopilotAssistantEvent {
471
537
  id: string;
472
538
  state: __DocumentType;
473
539
  }
540
+ /**
541
+ * The conversation a copilot session is bound to. Server-reported (in session summaries) — clients never construct these ids.
542
+ * @public
543
+ */
544
+ export interface CopilotContextConversation {
545
+ /**
546
+ * Channel id (chats and conferences), WDA call id (calls), or a server-minted id (`app` sessions).
547
+ * @public
548
+ */
549
+ id: string;
550
+ /**
551
+ * The kind of conversation a context event or session refers to.
552
+ * @public
553
+ */
554
+ kind: CopilotConversationKind;
555
+ }
556
+ /**
557
+ * A typed reference to a record in an external system. `type` is dot-namespaced by system, e.g. `salesforce.contact`, `salesforce.account`, `hubspot.contact`, `phonebook.contact`.
558
+ * @public
559
+ */
560
+ export interface CopilotContextEntity {
561
+ id: string;
562
+ type: string;
563
+ }
564
+ /**
565
+ * The result of a client-side contact lookup: the identities and enrichment in scope for the customer. Reused by Open (optional — an already-bound channel or an anonymous call needs none) and Enrich (late-arriving evidence, e.g. a CRM match resolved after open).
566
+ * @public
567
+ */
568
+ export interface CopilotContextLookup {
569
+ /**
570
+ * Customer email addresses. Identity, first-class: merged into the relationship.
571
+ * @public
572
+ */
573
+ emails?: string[] | undefined;
574
+ /**
575
+ * Customer phone numbers. Identity, first-class: merged into the relationship.
576
+ * @public
577
+ */
578
+ phones?: string[] | undefined;
579
+ /**
580
+ * Typed references to records in external systems, e.g. a Salesforce contact. Identity, first-class: merged into the relationship.
581
+ * @public
582
+ */
583
+ entities?: CopilotContextEntity[] | undefined;
584
+ /**
585
+ * Everything else, as an open string-to-string map keyed by dot-namespaced source, e.g. `phonebook.name`, `salesforce.deal_stage`, `match.confidence`.
586
+ * @public
587
+ */
588
+ attributes?: Record<string, string> | undefined;
589
+ }
474
590
  /**
475
591
  * An evaluation result detected or updated in the session. Carries the full evaluation state at this point; re-emitted on updates.
476
592
  * @public
@@ -489,6 +605,18 @@ export interface CopilotEvaluationEvent {
489
605
  id: string;
490
606
  state: __DocumentType;
491
607
  }
608
+ /**
609
+ * The session an ingested context event was routed to.
610
+ * @public
611
+ */
612
+ export interface CopilotIngestedSession {
613
+ id: string;
614
+ /**
615
+ * How an ingested event was attached to a session.
616
+ * @public
617
+ */
618
+ state: CopilotIngestedSessionState;
619
+ }
492
620
  /**
493
621
  * An intent detected or updated in the session. Carries the full intent state at this point; re-emitted on updates.
494
622
  * @public
@@ -508,7 +636,7 @@ export interface CopilotIntentEvent {
508
636
  state: __DocumentType;
509
637
  }
510
638
  /**
511
- * Session lifecycle transition. Emitted on attach and on every terminal transition.
639
+ * Session lifecycle transition. Emitted on attach and on every status transition; `reason` says why the session moved.
512
640
  * @public
513
641
  */
514
642
  export interface CopilotLifecycleEvent {
@@ -524,6 +652,37 @@ export interface CopilotLifecycleEvent {
524
652
  timestamp: string;
525
653
  sessionId: string;
526
654
  status: CopilotSessionStatus;
655
+ /**
656
+ * Why a lifecycle transition happened.
657
+ * @public
658
+ */
659
+ reason?: CopilotLifecycleReason | undefined;
660
+ }
661
+ /**
662
+ * A relationship update visible to an active session — e.g. another session was created or revived on the same relationship.
663
+ * @public
664
+ */
665
+ export interface CopilotRelationshipEvent {
666
+ /**
667
+ * Monotonic per-session event index. Drives resumption: pass `index + 1` of the last seen event as `startIndex` when reconnecting.
668
+ * @public
669
+ */
670
+ index: number;
671
+ /**
672
+ * ISO-8601 time the event was recorded.
673
+ * @public
674
+ */
675
+ timestamp: string;
676
+ /**
677
+ * Id of a relationship: the durable, cross-channel view of one customer that copilot sessions attach to. Identities (emails, phones, entities) merge into it as context is ingested.
678
+ * @public
679
+ */
680
+ relationshipId: string;
681
+ /**
682
+ * The other session attached to the same relationship, when the update is about one.
683
+ * @public
684
+ */
685
+ sessionId?: string | undefined;
527
686
  }
528
687
  /**
529
688
  * Original WDA live transcription event for the assisted conversation surface.
@@ -594,16 +753,16 @@ export interface CopilotTranscriptionEvent {
594
753
  data: CopilotTranscriptionData;
595
754
  }
596
755
  /**
597
- * A single typed copilot session event. Exactly one member is set; the member name doubles as the `event:` field of the SSE frames produced by StreamCopilotSessionEvents.
756
+ * A single typed copilot session event. Exactly one member is set; the member name doubles as the `event:` field of the SSE frames produced by StreamSessionEvents.
598
757
  * @public
599
758
  */
600
- export type CopilotSessionEvent = CopilotSessionEvent.AssetMember | CopilotSessionEvent.AssistantMember | CopilotSessionEvent.EvaluationMember | CopilotSessionEvent.IntentMember | CopilotSessionEvent.LifecycleMember | CopilotSessionEvent.TranscriptMember | CopilotSessionEvent.$UnknownMember;
759
+ export type CopilotSessionEvent = CopilotSessionEvent.AskMember | CopilotSessionEvent.AssetMember | CopilotSessionEvent.AssistantMember | CopilotSessionEvent.EvaluationMember | CopilotSessionEvent.IntentMember | CopilotSessionEvent.LifecycleMember | CopilotSessionEvent.RelationshipMember | CopilotSessionEvent.TranscriptMember | CopilotSessionEvent.$UnknownMember;
601
760
  /**
602
761
  * @public
603
762
  */
604
763
  export declare namespace CopilotSessionEvent {
605
764
  /**
606
- * Session lifecycle transition. Emitted on attach and on every terminal transition.
765
+ * Session lifecycle transition. Emitted on attach and on every status transition; `reason` says why the session moved.
607
766
  * @public
608
767
  */
609
768
  interface LifecycleMember {
@@ -613,6 +772,8 @@ export declare namespace CopilotSessionEvent {
613
772
  evaluation?: never;
614
773
  asset?: never;
615
774
  assistant?: never;
775
+ relationship?: never;
776
+ ask?: never;
616
777
  $unknown?: never;
617
778
  }
618
779
  /**
@@ -626,6 +787,8 @@ export declare namespace CopilotSessionEvent {
626
787
  evaluation?: never;
627
788
  asset?: never;
628
789
  assistant?: never;
790
+ relationship?: never;
791
+ ask?: never;
629
792
  $unknown?: never;
630
793
  }
631
794
  /**
@@ -639,6 +802,8 @@ export declare namespace CopilotSessionEvent {
639
802
  evaluation?: never;
640
803
  asset?: never;
641
804
  assistant?: never;
805
+ relationship?: never;
806
+ ask?: never;
642
807
  $unknown?: never;
643
808
  }
644
809
  /**
@@ -652,6 +817,8 @@ export declare namespace CopilotSessionEvent {
652
817
  evaluation: CopilotEvaluationEvent;
653
818
  asset?: never;
654
819
  assistant?: never;
820
+ relationship?: never;
821
+ ask?: never;
655
822
  $unknown?: never;
656
823
  }
657
824
  /**
@@ -665,6 +832,8 @@ export declare namespace CopilotSessionEvent {
665
832
  evaluation?: never;
666
833
  asset: CopilotAssetEvent;
667
834
  assistant?: never;
835
+ relationship?: never;
836
+ ask?: never;
668
837
  $unknown?: never;
669
838
  }
670
839
  /**
@@ -678,6 +847,38 @@ export declare namespace CopilotSessionEvent {
678
847
  evaluation?: never;
679
848
  asset?: never;
680
849
  assistant: CopilotAssistantEvent;
850
+ relationship?: never;
851
+ ask?: never;
852
+ $unknown?: never;
853
+ }
854
+ /**
855
+ * A relationship update visible to an active session — e.g. another session was created or revived on the same relationship.
856
+ * @public
857
+ */
858
+ interface RelationshipMember {
859
+ lifecycle?: never;
860
+ transcript?: never;
861
+ intent?: never;
862
+ evaluation?: never;
863
+ asset?: never;
864
+ assistant?: never;
865
+ relationship: CopilotRelationshipEvent;
866
+ ask?: never;
867
+ $unknown?: never;
868
+ }
869
+ /**
870
+ * An ask recorded in the session. The ask itself runs as a regular Wilma session (wilma-assistant); any agent in the company can render its output by presenting `accessToken` to wilma-assistant — copilot sessions are shared within the tenant.
871
+ * @public
872
+ */
873
+ interface AskMember {
874
+ lifecycle?: never;
875
+ transcript?: never;
876
+ intent?: never;
877
+ evaluation?: never;
878
+ asset?: never;
879
+ assistant?: never;
880
+ relationship?: never;
881
+ ask: CopilotAskEvent;
681
882
  $unknown?: never;
682
883
  }
683
884
  /**
@@ -690,6 +891,8 @@ export declare namespace CopilotSessionEvent {
690
891
  evaluation?: never;
691
892
  asset?: never;
692
893
  assistant?: never;
894
+ relationship?: never;
895
+ ask?: never;
693
896
  $unknown: [string, any];
694
897
  }
695
898
  /**
@@ -703,13 +906,73 @@ export declare namespace CopilotSessionEvent {
703
906
  evaluation: (value: CopilotEvaluationEvent) => T;
704
907
  asset: (value: CopilotAssetEvent) => T;
705
908
  assistant: (value: CopilotAssistantEvent) => T;
909
+ relationship: (value: CopilotRelationshipEvent) => T;
910
+ ask: (value: CopilotAskEvent) => T;
706
911
  _: (name: string, value: any) => T;
707
912
  }
708
913
  }
914
+ /**
915
+ * A compact view of a copilot session associated with a relationship. Sessions are owned by the company and shared within the tenant.
916
+ * @public
917
+ */
918
+ export interface CopilotSessionSummary {
919
+ id: string;
920
+ status: CopilotSessionStatus;
921
+ /**
922
+ * The conversation the session is bound to (`app` for sessions opened without a call, chat or conference). Clients use this to open the underlying surface — session ids are opaque and must not be parsed for it.
923
+ * @public
924
+ */
925
+ conversation: CopilotContextConversation;
926
+ /**
927
+ * ISO-8601 timestamp with millisecond precision, e.g. '2026-07-10T14:12:30.123Z'.
928
+ * @public
929
+ */
930
+ startedAt?: string | undefined;
931
+ /**
932
+ * Time of the last event applied to the session; drives the idle and archive transitions.
933
+ * @public
934
+ */
935
+ lastActivityAt?: string | undefined;
936
+ }
937
+ /**
938
+ * @public
939
+ */
940
+ export interface EnrichInput {
941
+ /**
942
+ * Company that owns the relationship. Required when calling with a service (s2s) token.
943
+ * @public
944
+ */
945
+ company?: string | undefined;
946
+ /**
947
+ * Id of a relationship: the durable, cross-channel view of one customer that copilot sessions attach to. Identities (emails, phones, entities) merge into it as context is ingested.
948
+ * @public
949
+ */
950
+ relationshipId: string;
951
+ /**
952
+ * The result of a client-side contact lookup: the identities and enrichment in scope for the customer. Reused by Open (optional — an already-bound channel or an anonymous call needs none) and Enrich (late-arriving evidence, e.g. a CRM match resolved after open).
953
+ * @public
954
+ */
955
+ lookup: CopilotContextLookup;
956
+ }
957
+ /**
958
+ * @public
959
+ */
960
+ export interface EnrichOutput {
961
+ /**
962
+ * The authoritative relationship after applying the evidence. May differ from the input when strong evidence re-resolves the customer.
963
+ * @public
964
+ */
965
+ relationshipId: string;
966
+ /**
967
+ * Sessions associated with the authoritative relationship, most recent first.
968
+ * @public
969
+ */
970
+ related: CopilotSessionSummary[];
971
+ }
709
972
  /**
710
973
  * @public
711
974
  */
712
- export interface GetCopilotSessionEventsInput {
975
+ export interface GetSessionEventsInput {
713
976
  sessionId: string;
714
977
  /**
715
978
  * Company that owns the session. Required when calling with a service (s2s) token, which is not scoped to a single company.
@@ -730,7 +993,7 @@ export interface GetCopilotSessionEventsInput {
730
993
  /**
731
994
  * @public
732
995
  */
733
- export interface GetCopilotSessionEventsOutput {
996
+ export interface GetSessionEventsOutput {
734
997
  events: CopilotSessionEvent[];
735
998
  /**
736
999
  * Present when more events exist; pass it as `startIndex` of the next call.
@@ -741,7 +1004,104 @@ export interface GetCopilotSessionEventsOutput {
741
1004
  /**
742
1005
  * @public
743
1006
  */
744
- export interface StreamCopilotSessionEventsInput {
1007
+ export interface ListSessionsInput {
1008
+ /**
1009
+ * Company scope. Required when calling with a service (s2s) token.
1010
+ * @public
1011
+ */
1012
+ company?: string | undefined;
1013
+ /**
1014
+ * The user whose participated sessions to list. Defaults to the caller; required when calling with a service (s2s) token.
1015
+ * @public
1016
+ */
1017
+ user?: string | undefined;
1018
+ limit?: number | undefined;
1019
+ /**
1020
+ * Opaque cursor returned by a previous page; pass it back to fetch the next page.
1021
+ * @public
1022
+ */
1023
+ cursor?: string | undefined;
1024
+ }
1025
+ /**
1026
+ * @public
1027
+ */
1028
+ export interface ListSessionsOutput {
1029
+ sessions: CopilotSessionSummary[];
1030
+ /**
1031
+ * Present when more sessions exist; pass it as `cursor` of the next call.
1032
+ * @public
1033
+ */
1034
+ nextCursor?: string | undefined;
1035
+ }
1036
+ /**
1037
+ * @public
1038
+ */
1039
+ export interface OpenInput {
1040
+ /**
1041
+ * Company that owns the relationship. Required when calling with a service (s2s) token, which is not scoped to a single company.
1042
+ * @public
1043
+ */
1044
+ company?: string | undefined;
1045
+ /**
1046
+ * The client-side contact lookup result. Omit when there is nothing resolved yet, e.g. an anonymous call.
1047
+ * @public
1048
+ */
1049
+ lookup?: CopilotContextLookup | undefined;
1050
+ }
1051
+ /**
1052
+ * @public
1053
+ */
1054
+ export interface OpenOutput {
1055
+ /**
1056
+ * Id of a relationship: the durable, cross-channel view of one customer that copilot sessions attach to. Identities (emails, phones, entities) merge into it as context is ingested.
1057
+ * @public
1058
+ */
1059
+ relationshipId: string;
1060
+ /**
1061
+ * The session the open was routed to.
1062
+ * @public
1063
+ */
1064
+ session: CopilotIngestedSession;
1065
+ /**
1066
+ * Sessions already associated with the relationship, most recent first. Excludes the session the open was routed to.
1067
+ * @public
1068
+ */
1069
+ related: CopilotSessionSummary[];
1070
+ }
1071
+ /**
1072
+ * @public
1073
+ */
1074
+ export interface ResolveInput {
1075
+ /**
1076
+ * Company scope. Required when calling with a service (s2s) token.
1077
+ * @public
1078
+ */
1079
+ company?: string | undefined;
1080
+ /**
1081
+ * The result of a client-side contact lookup: the identities and enrichment in scope for the customer. Reused by Open (optional — an already-bound channel or an anonymous call needs none) and Enrich (late-arriving evidence, e.g. a CRM match resolved after open).
1082
+ * @public
1083
+ */
1084
+ lookup: CopilotContextLookup;
1085
+ }
1086
+ /**
1087
+ * @public
1088
+ */
1089
+ export interface ResolveOutput {
1090
+ /**
1091
+ * The relationship the lookup resolved to, when one matched. Lookup never creates relationships.
1092
+ * @public
1093
+ */
1094
+ relationshipId?: string | undefined;
1095
+ /**
1096
+ * Sessions associated with the matched relationship, most recent first. Empty when nothing matched.
1097
+ * @public
1098
+ */
1099
+ sessions: CopilotSessionSummary[];
1100
+ }
1101
+ /**
1102
+ * @public
1103
+ */
1104
+ export interface StreamSessionEventsInput {
745
1105
  sessionId: string;
746
1106
  /**
747
1107
  * Company that owns the session. Required when calling with a service (s2s) token, which is not scoped to a single company.
@@ -757,7 +1117,7 @@ export interface StreamCopilotSessionEventsInput {
757
1117
  /**
758
1118
  * @public
759
1119
  */
760
- export interface StreamCopilotSessionEventsOutput {
1120
+ export interface StreamSessionEventsOutput {
761
1121
  /**
762
1122
  * Raw Server-Sent Events byte stream (`text/event-stream`). Each frame carries one CopilotSessionEvent: `id:` is the event index, `event:` is the union member name, and `data:` is the JSON document of the union value, e.g. `\{"asset": \{...\}\}`.
763
1123
  * @public
@@ -19,16 +19,33 @@ export declare var ChatAnalyticsLiveTranscriptionEvent$: StaticStructureSchema;
19
19
  export declare var ConferenceAnalyticsLiveTranscriptionEvent$: StaticStructureSchema;
20
20
  export declare var ConferenceParticipant$: StaticStructureSchema;
21
21
  export declare var ConferenceTranscriptionChunk$: StaticStructureSchema;
22
+ export declare var AskInput$: StaticStructureSchema;
23
+ export declare var AskOutput$: StaticStructureSchema;
24
+ export declare var CopilotAskEvent$: StaticStructureSchema;
22
25
  export declare var CopilotAssetEvent$: StaticStructureSchema;
23
26
  export declare var CopilotAssistantEvent$: StaticStructureSchema;
27
+ export declare var CopilotContextConversation$: StaticStructureSchema;
28
+ export declare var CopilotContextEntity$: StaticStructureSchema;
29
+ export declare var CopilotContextLookup$: StaticStructureSchema;
24
30
  export declare var CopilotEvaluationEvent$: StaticStructureSchema;
31
+ export declare var CopilotIngestedSession$: StaticStructureSchema;
25
32
  export declare var CopilotIntentEvent$: StaticStructureSchema;
26
33
  export declare var CopilotLifecycleEvent$: StaticStructureSchema;
34
+ export declare var CopilotRelationshipEvent$: StaticStructureSchema;
35
+ export declare var CopilotSessionSummary$: StaticStructureSchema;
27
36
  export declare var CopilotTranscriptionEvent$: StaticStructureSchema;
28
- export declare var GetCopilotSessionEventsInput$: StaticStructureSchema;
29
- export declare var GetCopilotSessionEventsOutput$: StaticStructureSchema;
30
- export declare var StreamCopilotSessionEventsInput$: StaticStructureSchema;
31
- export declare var StreamCopilotSessionEventsOutput$: StaticStructureSchema;
37
+ export declare var EnrichInput$: StaticStructureSchema;
38
+ export declare var EnrichOutput$: StaticStructureSchema;
39
+ export declare var GetSessionEventsInput$: StaticStructureSchema;
40
+ export declare var GetSessionEventsOutput$: StaticStructureSchema;
41
+ export declare var ListSessionsInput$: StaticStructureSchema;
42
+ export declare var ListSessionsOutput$: StaticStructureSchema;
43
+ export declare var OpenInput$: StaticStructureSchema;
44
+ export declare var OpenOutput$: StaticStructureSchema;
45
+ export declare var ResolveInput$: StaticStructureSchema;
46
+ export declare var ResolveOutput$: StaticStructureSchema;
47
+ export declare var StreamSessionEventsInput$: StaticStructureSchema;
48
+ export declare var StreamSessionEventsOutput$: StaticStructureSchema;
32
49
  export declare var ButtonActionHandler$: StaticStructureSchema;
33
50
  export declare var ButtonElement$: StaticStructureSchema;
34
51
  export declare var ButtonLinkHandler$: StaticStructureSchema;
@@ -46,5 +63,10 @@ export declare var CopilotTranscriptionData$: StaticUnionSchema;
46
63
  export declare var ActionElement$: StaticUnionSchema;
47
64
  export declare var ButtonHandler$: StaticUnionSchema;
48
65
  export declare var Element$: StaticUnionSchema;
49
- export declare var GetCopilotSessionEvents$: StaticOperationSchema;
50
- export declare var StreamCopilotSessionEvents$: StaticOperationSchema;
66
+ export declare var Ask$: StaticOperationSchema;
67
+ export declare var Enrich$: StaticOperationSchema;
68
+ export declare var GetSessionEvents$: StaticOperationSchema;
69
+ export declare var ListSessions$: StaticOperationSchema;
70
+ export declare var Open$: StaticOperationSchema;
71
+ export declare var Resolve$: StaticOperationSchema;
72
+ export declare var StreamSessionEvents$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wilma-copilot-sessions-client",
3
3
  "description": "@wildix/wilma-copilot-sessions-client client",
4
- "version": "1.0.5",
4
+ "version": "1.0.7",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",