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

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.
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TrackInput, TrackOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotSessionsClientResolvedConfig } from "../WilmaCopilotSessionsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TrackCommand}.
14
+ */
15
+ export interface TrackCommandInput extends TrackInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TrackCommand}.
21
+ */
22
+ export interface TrackCommandOutput extends TrackOutput, __MetadataBearer {
23
+ }
24
+ declare const TrackCommand_base: {
25
+ new (input: TrackCommandInput): import("@smithy/core/client").CommandImpl<TrackCommandInput, TrackCommandOutput, WilmaCopilotSessionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TrackCommandInput): import("@smithy/core/client").CommandImpl<TrackCommandInput, TrackCommandOutput, WilmaCopilotSessionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Reports which copilot assets the user actually saw rendered (impressions). Copilot may emit
31
+ * assets nobody sees — the panel can be closed — so emitted counts alone overstate reach. Views
32
+ * reported here feed the per-resource emitted / seen / clicked statistics administrators read
33
+ * from the wilma-copilot config API. Batch-friendly: report visible assets when they render,
34
+ * deduplicated per session by the server.
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { WilmaCopilotSessionsClient, TrackCommand } from "@wildix/wilma-copilot-sessions-client"; // ES Modules import
39
+ * // const { WilmaCopilotSessionsClient, TrackCommand } = require("@wildix/wilma-copilot-sessions-client"); // CommonJS import
40
+ * // import type { WilmaCopilotSessionsClientConfig } from "@wildix/wilma-copilot-sessions-client";
41
+ * const config = {}; // type is WilmaCopilotSessionsClientConfig
42
+ * const client = new WilmaCopilotSessionsClient(config);
43
+ * const input = { // TrackInput
44
+ * sessionId: "STRING_VALUE", // required
45
+ * company: "STRING_VALUE",
46
+ * views: [ // CopilotAssetViews // required
47
+ * { // CopilotAssetView
48
+ * assetId: "STRING_VALUE", // required
49
+ * at: "STRING_VALUE",
50
+ * },
51
+ * ],
52
+ * };
53
+ * const command = new TrackCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // TrackOutput
56
+ * // accepted: true || false, // required
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param TrackCommandInput - {@link TrackCommandInput}
62
+ * @returns {@link TrackCommandOutput}
63
+ * @see {@link TrackCommandInput} for command's `input` shape.
64
+ * @see {@link TrackCommandOutput} for command's `response` shape.
65
+ * @see {@link WilmaCopilotSessionsClientResolvedConfig | config} for WilmaCopilotSessionsClient's `config` shape.
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ *
69
+ * @throws {@link ForbiddenException} (client fault)
70
+ *
71
+ * @throws {@link NotFoundException} (client fault)
72
+ *
73
+ * @throws {@link WilmaCopilotSessionsServiceException}
74
+ * <p>Base exception class for all service exceptions from WilmaCopilotSessions service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class TrackCommand extends TrackCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: TrackInput;
84
+ output: TrackOutput;
85
+ };
86
+ sdk: {
87
+ input: TrackCommandInput;
88
+ output: TrackCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -1,7 +1,10 @@
1
+ export * from "./ActCommand";
1
2
  export * from "./AskCommand";
2
3
  export * from "./EnrichCommand";
3
4
  export * from "./GetSessionEventsCommand";
5
+ export * from "./ListRelationshipSessionsCommand";
4
6
  export * from "./ListSessionsCommand";
5
7
  export * from "./OpenCommand";
6
8
  export * from "./ResolveCommand";
7
9
  export * from "./StreamSessionEventsCommand";
10
+ export * from "./TrackCommand";
@@ -247,6 +247,22 @@ export declare const AssetSeverity: {
247
247
  * @public
248
248
  */
249
249
  export type AssetSeverity = (typeof AssetSeverity)[keyof typeof AssetSeverity];
250
+ /**
251
+ * @public
252
+ * @enum
253
+ */
254
+ export declare const CopilotActionStatus: {
255
+ readonly COMPLETED: "completed";
256
+ readonly FAILED: "failed";
257
+ /**
258
+ * The action was accepted and its execution started.
259
+ */
260
+ readonly LAUNCHED: "launched";
261
+ };
262
+ /**
263
+ * @public
264
+ */
265
+ export type CopilotActionStatus = (typeof CopilotActionStatus)[keyof typeof CopilotActionStatus];
250
266
  /**
251
267
  * @public
252
268
  * @enum
@@ -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, CopilotConversationKind, CopilotIngestedSessionState, CopilotLifecycleReason, CopilotSessionStatus, License, LiveEventType, MessageSmsStatus, MessageType, MessageWhatsAppStatus, PbxLicenseType, TranscriptionSentiment } from "./enums";
2
+ import type { AssetIcon, AssetSeverity, ButtonVariant, CallDevice, CallParticipantRole, CallParticipantType, CallTranscriptionSpeaker, ConferenceParticipantRole, ConferenceParticipantType, CopilotActionStatus, CopilotConversationKind, CopilotIngestedSessionState, CopilotLifecycleReason, CopilotSessionStatus, License, LiveEventType, MessageSmsStatus, MessageType, MessageWhatsAppStatus, PbxLicenseType, TranscriptionSentiment } from "./enums";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -423,6 +423,114 @@ export interface ConferenceAnalyticsLiveTranscriptionEvent {
423
423
  chunk: ConferenceTranscriptionChunk;
424
424
  participant?: ConferenceParticipant | undefined;
425
425
  }
426
+ /**
427
+ * Launches the knowledge search suggested for a detected question (contextual knowledge answers, `suggest_action` mode).
428
+ * @public
429
+ */
430
+ export interface KnowledgeSearchClientAction {
431
+ /**
432
+ * The suggested question's id — the `questionId` carried by the suggestion asset's action payload.
433
+ * @public
434
+ */
435
+ questionId: string;
436
+ /**
437
+ * The question text; used when the suggestion is no longer part of the live session state (e.g. after a revive).
438
+ * @public
439
+ */
440
+ question?: string | undefined;
441
+ }
442
+ /**
443
+ * Invokes one smart action offered by an asset.
444
+ * @public
445
+ */
446
+ export interface SmartActionClientAction {
447
+ /**
448
+ * Id of the asset carrying the smart action.
449
+ * @public
450
+ */
451
+ assetId: string;
452
+ /**
453
+ * Id of the clicked action inside the asset's smart-action list.
454
+ * @public
455
+ */
456
+ actionId: string;
457
+ /**
458
+ * Values for `guided` variable bindings collected from the user, keyed by variable name.
459
+ * @public
460
+ */
461
+ variables?: __DocumentType | undefined;
462
+ }
463
+ /**
464
+ * One user interaction with copilot output. Exactly one member is set.
465
+ * @public
466
+ */
467
+ export type CopilotClientAction = CopilotClientAction.KnowledgeSearchMember | CopilotClientAction.SmartActionMember | CopilotClientAction.$UnknownMember;
468
+ /**
469
+ * @public
470
+ */
471
+ export declare namespace CopilotClientAction {
472
+ /**
473
+ * Launches the knowledge search suggested for a detected question (contextual knowledge answers, `suggest_action` mode).
474
+ * @public
475
+ */
476
+ interface KnowledgeSearchMember {
477
+ knowledgeSearch: KnowledgeSearchClientAction;
478
+ smartAction?: never;
479
+ $unknown?: never;
480
+ }
481
+ /**
482
+ * Invokes one smart action offered by an asset.
483
+ * @public
484
+ */
485
+ interface SmartActionMember {
486
+ knowledgeSearch?: never;
487
+ smartAction: SmartActionClientAction;
488
+ $unknown?: never;
489
+ }
490
+ /**
491
+ * @public
492
+ */
493
+ interface $UnknownMember {
494
+ knowledgeSearch?: never;
495
+ smartAction?: never;
496
+ $unknown: [string, any];
497
+ }
498
+ /**
499
+ * @deprecated unused in schema-serde mode.
500
+ *
501
+ */
502
+ interface Visitor<T> {
503
+ knowledgeSearch: (value: KnowledgeSearchClientAction) => T;
504
+ smartAction: (value: SmartActionClientAction) => T;
505
+ _: (name: string, value: any) => T;
506
+ }
507
+ }
508
+ /**
509
+ * @public
510
+ */
511
+ export interface ActInput {
512
+ sessionId: string;
513
+ /**
514
+ * Company that owns the session. Required when calling with a service (s2s) token, which is not scoped to a single company.
515
+ * @public
516
+ */
517
+ company?: string | undefined;
518
+ /**
519
+ * One user interaction with copilot output. Exactly one member is set.
520
+ * @public
521
+ */
522
+ action: CopilotClientAction;
523
+ }
524
+ /**
525
+ * @public
526
+ */
527
+ export interface ActOutput {
528
+ /**
529
+ * True when the action was accepted into the session mailbox. Follow the event log for outcomes.
530
+ * @public
531
+ */
532
+ accepted: boolean;
533
+ }
426
534
  /**
427
535
  * @public
428
536
  */
@@ -458,6 +566,48 @@ export interface AskOutput {
458
566
  */
459
567
  index: number;
460
568
  }
569
+ /**
570
+ * A client action recorded in the session with its execution outcome. Emitted when the action is accepted (`launched`) and re-emitted when its execution settles (`completed` / `failed`).
571
+ * @public
572
+ */
573
+ export interface CopilotActionEvent {
574
+ /**
575
+ * Monotonic per-session event index. Drives resumption: pass `index + 1` of the last seen event as `startIndex` when reconnecting.
576
+ * @public
577
+ */
578
+ index: number;
579
+ /**
580
+ * ISO-8601 time the event was recorded.
581
+ * @public
582
+ */
583
+ timestamp: string;
584
+ /**
585
+ * Id of the asset the action belongs to.
586
+ * @public
587
+ */
588
+ id: string;
589
+ /**
590
+ * What was invoked: `knowledge_search`, `runAgent`, `runTool`, `transfer`, `handover` or `openUrl`.
591
+ * @public
592
+ */
593
+ kind: string;
594
+ status: CopilotActionStatus;
595
+ /**
596
+ * The user who triggered the action.
597
+ * @public
598
+ */
599
+ userId?: string | undefined;
600
+ /**
601
+ * Execution result payload, for smart actions with `show_card` result mode.
602
+ * @public
603
+ */
604
+ result?: __DocumentType | undefined;
605
+ /**
606
+ * Failure description when status is `failed`.
607
+ * @public
608
+ */
609
+ error?: string | undefined;
610
+ }
461
611
  /**
462
612
  * 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
613
  * @public
@@ -519,6 +669,18 @@ export interface CopilotAssetEvent {
519
669
  content?: string | undefined;
520
670
  state: __DocumentType;
521
671
  }
672
+ /**
673
+ * One asset the user actually saw rendered in the copilot panel.
674
+ * @public
675
+ */
676
+ export interface CopilotAssetView {
677
+ assetId: string;
678
+ /**
679
+ * When the asset became visible. Defaults to the time the report is ingested.
680
+ * @public
681
+ */
682
+ at?: string | undefined;
683
+ }
522
684
  /**
523
685
  * An assistant chat shown or updated in the session.
524
686
  * @public
@@ -756,7 +918,7 @@ export interface CopilotTranscriptionEvent {
756
918
  * 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.
757
919
  * @public
758
920
  */
759
- export type CopilotSessionEvent = CopilotSessionEvent.AskMember | CopilotSessionEvent.AssetMember | CopilotSessionEvent.AssistantMember | CopilotSessionEvent.EvaluationMember | CopilotSessionEvent.IntentMember | CopilotSessionEvent.LifecycleMember | CopilotSessionEvent.RelationshipMember | CopilotSessionEvent.TranscriptMember | CopilotSessionEvent.$UnknownMember;
921
+ export type CopilotSessionEvent = CopilotSessionEvent.ActionMember | CopilotSessionEvent.AskMember | CopilotSessionEvent.AssetMember | CopilotSessionEvent.AssistantMember | CopilotSessionEvent.EvaluationMember | CopilotSessionEvent.IntentMember | CopilotSessionEvent.LifecycleMember | CopilotSessionEvent.RelationshipMember | CopilotSessionEvent.TranscriptMember | CopilotSessionEvent.$UnknownMember;
760
922
  /**
761
923
  * @public
762
924
  */
@@ -774,6 +936,7 @@ export declare namespace CopilotSessionEvent {
774
936
  assistant?: never;
775
937
  relationship?: never;
776
938
  ask?: never;
939
+ action?: never;
777
940
  $unknown?: never;
778
941
  }
779
942
  /**
@@ -789,6 +952,7 @@ export declare namespace CopilotSessionEvent {
789
952
  assistant?: never;
790
953
  relationship?: never;
791
954
  ask?: never;
955
+ action?: never;
792
956
  $unknown?: never;
793
957
  }
794
958
  /**
@@ -804,6 +968,7 @@ export declare namespace CopilotSessionEvent {
804
968
  assistant?: never;
805
969
  relationship?: never;
806
970
  ask?: never;
971
+ action?: never;
807
972
  $unknown?: never;
808
973
  }
809
974
  /**
@@ -819,6 +984,7 @@ export declare namespace CopilotSessionEvent {
819
984
  assistant?: never;
820
985
  relationship?: never;
821
986
  ask?: never;
987
+ action?: never;
822
988
  $unknown?: never;
823
989
  }
824
990
  /**
@@ -834,6 +1000,7 @@ export declare namespace CopilotSessionEvent {
834
1000
  assistant?: never;
835
1001
  relationship?: never;
836
1002
  ask?: never;
1003
+ action?: never;
837
1004
  $unknown?: never;
838
1005
  }
839
1006
  /**
@@ -849,6 +1016,7 @@ export declare namespace CopilotSessionEvent {
849
1016
  assistant: CopilotAssistantEvent;
850
1017
  relationship?: never;
851
1018
  ask?: never;
1019
+ action?: never;
852
1020
  $unknown?: never;
853
1021
  }
854
1022
  /**
@@ -864,6 +1032,7 @@ export declare namespace CopilotSessionEvent {
864
1032
  assistant?: never;
865
1033
  relationship: CopilotRelationshipEvent;
866
1034
  ask?: never;
1035
+ action?: never;
867
1036
  $unknown?: never;
868
1037
  }
869
1038
  /**
@@ -879,6 +1048,23 @@ export declare namespace CopilotSessionEvent {
879
1048
  assistant?: never;
880
1049
  relationship?: never;
881
1050
  ask: CopilotAskEvent;
1051
+ action?: never;
1052
+ $unknown?: never;
1053
+ }
1054
+ /**
1055
+ * A client action recorded in the session with its execution outcome. Emitted when the action is accepted (`launched`) and re-emitted when its execution settles (`completed` / `failed`).
1056
+ * @public
1057
+ */
1058
+ interface ActionMember {
1059
+ lifecycle?: never;
1060
+ transcript?: never;
1061
+ intent?: never;
1062
+ evaluation?: never;
1063
+ asset?: never;
1064
+ assistant?: never;
1065
+ relationship?: never;
1066
+ ask?: never;
1067
+ action: CopilotActionEvent;
882
1068
  $unknown?: never;
883
1069
  }
884
1070
  /**
@@ -893,6 +1079,7 @@ export declare namespace CopilotSessionEvent {
893
1079
  assistant?: never;
894
1080
  relationship?: never;
895
1081
  ask?: never;
1082
+ action?: never;
896
1083
  $unknown: [string, any];
897
1084
  }
898
1085
  /**
@@ -908,6 +1095,7 @@ export declare namespace CopilotSessionEvent {
908
1095
  assistant: (value: CopilotAssistantEvent) => T;
909
1096
  relationship: (value: CopilotRelationshipEvent) => T;
910
1097
  ask: (value: CopilotAskEvent) => T;
1098
+ action: (value: CopilotActionEvent) => T;
911
1099
  _: (name: string, value: any) => T;
912
1100
  }
913
1101
  }
@@ -1001,6 +1189,38 @@ export interface GetSessionEventsOutput {
1001
1189
  */
1002
1190
  nextStartIndex?: number | undefined;
1003
1191
  }
1192
+ /**
1193
+ * @public
1194
+ */
1195
+ export interface ListRelationshipSessionsInput {
1196
+ /**
1197
+ * The relationship whose sessions to list, as returned by Open, Enrich or Resolve.
1198
+ * @public
1199
+ */
1200
+ relationshipId: string;
1201
+ /**
1202
+ * Company that owns the relationship. Required when calling with a service (s2s) token, which is not scoped to a single company.
1203
+ * @public
1204
+ */
1205
+ company?: string | undefined;
1206
+ limit?: number | undefined;
1207
+ /**
1208
+ * Opaque cursor returned by a previous page; pass it back to fetch the next page.
1209
+ * @public
1210
+ */
1211
+ cursor?: string | undefined;
1212
+ }
1213
+ /**
1214
+ * @public
1215
+ */
1216
+ export interface ListRelationshipSessionsOutput {
1217
+ sessions: CopilotSessionSummary[];
1218
+ /**
1219
+ * Present when more sessions exist; pass it as `cursor` of the next call.
1220
+ * @public
1221
+ */
1222
+ nextCursor?: string | undefined;
1223
+ }
1004
1224
  /**
1005
1225
  * @public
1006
1226
  */
@@ -1125,3 +1345,25 @@ export interface StreamSessionEventsOutput {
1125
1345
  events: StreamingBlobTypes;
1126
1346
  contentType: string;
1127
1347
  }
1348
+ /**
1349
+ * @public
1350
+ */
1351
+ export interface TrackInput {
1352
+ sessionId: string;
1353
+ /**
1354
+ * Company that owns the session. Required when calling with a service (s2s) token, which is not scoped to a single company.
1355
+ * @public
1356
+ */
1357
+ company?: string | undefined;
1358
+ views: CopilotAssetView[];
1359
+ }
1360
+ /**
1361
+ * @public
1362
+ */
1363
+ export interface TrackOutput {
1364
+ /**
1365
+ * True when the views were recorded.
1366
+ * @public
1367
+ */
1368
+ accepted: boolean;
1369
+ }
@@ -19,10 +19,14 @@ 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 ActInput$: StaticStructureSchema;
23
+ export declare var ActOutput$: StaticStructureSchema;
22
24
  export declare var AskInput$: StaticStructureSchema;
23
25
  export declare var AskOutput$: StaticStructureSchema;
26
+ export declare var CopilotActionEvent$: StaticStructureSchema;
24
27
  export declare var CopilotAskEvent$: StaticStructureSchema;
25
28
  export declare var CopilotAssetEvent$: StaticStructureSchema;
29
+ export declare var CopilotAssetView$: StaticStructureSchema;
26
30
  export declare var CopilotAssistantEvent$: StaticStructureSchema;
27
31
  export declare var CopilotContextConversation$: StaticStructureSchema;
28
32
  export declare var CopilotContextEntity$: StaticStructureSchema;
@@ -38,14 +42,20 @@ export declare var EnrichInput$: StaticStructureSchema;
38
42
  export declare var EnrichOutput$: StaticStructureSchema;
39
43
  export declare var GetSessionEventsInput$: StaticStructureSchema;
40
44
  export declare var GetSessionEventsOutput$: StaticStructureSchema;
45
+ export declare var KnowledgeSearchClientAction$: StaticStructureSchema;
46
+ export declare var ListRelationshipSessionsInput$: StaticStructureSchema;
47
+ export declare var ListRelationshipSessionsOutput$: StaticStructureSchema;
41
48
  export declare var ListSessionsInput$: StaticStructureSchema;
42
49
  export declare var ListSessionsOutput$: StaticStructureSchema;
43
50
  export declare var OpenInput$: StaticStructureSchema;
44
51
  export declare var OpenOutput$: StaticStructureSchema;
45
52
  export declare var ResolveInput$: StaticStructureSchema;
46
53
  export declare var ResolveOutput$: StaticStructureSchema;
54
+ export declare var SmartActionClientAction$: StaticStructureSchema;
47
55
  export declare var StreamSessionEventsInput$: StaticStructureSchema;
48
56
  export declare var StreamSessionEventsOutput$: StaticStructureSchema;
57
+ export declare var TrackInput$: StaticStructureSchema;
58
+ export declare var TrackOutput$: StaticStructureSchema;
49
59
  export declare var ButtonActionHandler$: StaticStructureSchema;
50
60
  export declare var ButtonElement$: StaticStructureSchema;
51
61
  export declare var ButtonLinkHandler$: StaticStructureSchema;
@@ -58,15 +68,19 @@ export declare var MessageQuote$: StaticStructureSchema;
58
68
  export declare var MessageTemplateConfig$: StaticStructureSchema;
59
69
  export declare var Reaction$: StaticStructureSchema;
60
70
  export declare var User$: StaticStructureSchema;
71
+ export declare var CopilotClientAction$: StaticUnionSchema;
61
72
  export declare var CopilotSessionEvent$: StaticUnionSchema;
62
73
  export declare var CopilotTranscriptionData$: StaticUnionSchema;
63
74
  export declare var ActionElement$: StaticUnionSchema;
64
75
  export declare var ButtonHandler$: StaticUnionSchema;
65
76
  export declare var Element$: StaticUnionSchema;
77
+ export declare var Act$: StaticOperationSchema;
66
78
  export declare var Ask$: StaticOperationSchema;
67
79
  export declare var Enrich$: StaticOperationSchema;
68
80
  export declare var GetSessionEvents$: StaticOperationSchema;
81
+ export declare var ListRelationshipSessions$: StaticOperationSchema;
69
82
  export declare var ListSessions$: StaticOperationSchema;
70
83
  export declare var Open$: StaticOperationSchema;
71
84
  export declare var Resolve$: StaticOperationSchema;
72
85
  export declare var StreamSessionEvents$: StaticOperationSchema;
86
+ export declare var Track$: 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.7",
4
+ "version": "1.0.9",
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",