@livekit/protocol 1.45.6 → 1.45.8
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/dist/index.cjs +117 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +206 -7
- package/dist/index.d.mts +206 -7
- package/dist/index.d.ts +206 -7
- package/dist/index.mjs +117 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +86 -1
- package/src/gen/agent/livekit_agent_session_pb.js +32 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +15 -0
- package/src/gen/livekit_agent_dispatch_pb.js +3 -0
- package/src/gen/livekit_agent_pb.d.ts +10 -0
- package/src/gen/livekit_agent_pb.js +2 -0
- package/src/gen/livekit_sip_pb.d.ts +89 -4
- package/src/gen/livekit_sip_pb.js +26 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -29,6 +29,17 @@ const UserState = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
29
29
|
{ no: 2, name: "US_AWAY" }
|
|
30
30
|
]
|
|
31
31
|
);
|
|
32
|
+
const AmdCategory = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
33
|
+
"livekit.agent.AmdCategory",
|
|
34
|
+
[
|
|
35
|
+
{ no: 0, name: "AMD_UNKNOWN" },
|
|
36
|
+
{ no: 1, name: "AMD_HUMAN" },
|
|
37
|
+
{ no: 2, name: "AMD_MACHINE_IVR" },
|
|
38
|
+
{ no: 3, name: "AMD_MACHINE_VM" },
|
|
39
|
+
{ no: 4, name: "AMD_MACHINE_UNAVAILABLE" },
|
|
40
|
+
{ no: 5, name: "AMD_UNCERTAIN" }
|
|
41
|
+
]
|
|
42
|
+
);
|
|
32
43
|
const MetricsReport = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
33
44
|
"livekit.agent.MetricsReport",
|
|
34
45
|
() => [
|
|
@@ -466,7 +477,8 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
466
477
|
{ no: 14, name: "function_tools_executed", kind: "message", T: AgentSessionEvent_FunctionToolsExecuted, oneof: "event" },
|
|
467
478
|
{ no: 15, name: "error", kind: "message", T: AgentSessionEvent_Error, oneof: "event" },
|
|
468
479
|
{ no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
|
|
469
|
-
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" }
|
|
480
|
+
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
|
|
481
|
+
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" }
|
|
470
482
|
]
|
|
471
483
|
);
|
|
472
484
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -556,6 +568,29 @@ const AgentSessionEvent_OverlappingSpeech = /* @__PURE__ */ protobuf.proto3.make
|
|
|
556
568
|
],
|
|
557
569
|
{ localName: "AgentSessionEvent_OverlappingSpeech" }
|
|
558
570
|
);
|
|
571
|
+
const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
572
|
+
"livekit.agent.AgentSessionEvent.AmdPrediction",
|
|
573
|
+
() => [
|
|
574
|
+
{ no: 1, name: "speech_duration", kind: "message", T: protobuf.Duration },
|
|
575
|
+
{ no: 2, name: "category", kind: "enum", T: protobuf.proto3.getEnumType(AmdCategory) },
|
|
576
|
+
{
|
|
577
|
+
no: 3,
|
|
578
|
+
name: "reason",
|
|
579
|
+
kind: "scalar",
|
|
580
|
+
T: 9
|
|
581
|
+
/* ScalarType.STRING */
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
no: 4,
|
|
585
|
+
name: "transcript",
|
|
586
|
+
kind: "scalar",
|
|
587
|
+
T: 9
|
|
588
|
+
/* ScalarType.STRING */
|
|
589
|
+
},
|
|
590
|
+
{ no: 5, name: "delay", kind: "message", T: protobuf.Duration }
|
|
591
|
+
],
|
|
592
|
+
{ localName: "AgentSessionEvent_AmdPrediction" }
|
|
593
|
+
);
|
|
559
594
|
const AgentSessionEvent_SessionUsageUpdated = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
560
595
|
"livekit.agent.AgentSessionEvent.SessionUsageUpdated",
|
|
561
596
|
() => [
|
|
@@ -818,6 +853,7 @@ const livekit_agent_session_pb = {
|
|
|
818
853
|
AgentHandoff: AgentHandoff,
|
|
819
854
|
AgentSessionEvent: AgentSessionEvent,
|
|
820
855
|
AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
|
|
856
|
+
AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
|
|
821
857
|
AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
|
|
822
858
|
AgentSessionEvent_Error: AgentSessionEvent_Error,
|
|
823
859
|
AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
|
|
@@ -833,6 +869,7 @@ const livekit_agent_session_pb = {
|
|
|
833
869
|
AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush,
|
|
834
870
|
AgentSessionUsage: AgentSessionUsage,
|
|
835
871
|
AgentState: AgentState,
|
|
872
|
+
AmdCategory: AmdCategory,
|
|
836
873
|
ChatContext: ChatContext,
|
|
837
874
|
ChatContext_ChatItem: ChatContext_ChatItem,
|
|
838
875
|
ChatMessage: ChatMessage$1,
|
|
@@ -3212,6 +3249,13 @@ const Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3212
3249
|
kind: "scalar",
|
|
3213
3250
|
T: 8
|
|
3214
3251
|
/* ScalarType.BOOL */
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
no: 11,
|
|
3255
|
+
name: "deployment",
|
|
3256
|
+
kind: "scalar",
|
|
3257
|
+
T: 9
|
|
3258
|
+
/* ScalarType.STRING */
|
|
3215
3259
|
}
|
|
3216
3260
|
]
|
|
3217
3261
|
);
|
|
@@ -3357,7 +3401,14 @@ const RegisterWorkerRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3357
3401
|
/* ScalarType.UINT32 */
|
|
3358
3402
|
},
|
|
3359
3403
|
{ no: 6, name: "namespace", kind: "scalar", T: 9, opt: true },
|
|
3360
|
-
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission }
|
|
3404
|
+
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
|
|
3405
|
+
{
|
|
3406
|
+
no: 9,
|
|
3407
|
+
name: "deployment",
|
|
3408
|
+
kind: "scalar",
|
|
3409
|
+
T: 9
|
|
3410
|
+
/* ScalarType.STRING */
|
|
3411
|
+
}
|
|
3361
3412
|
]
|
|
3362
3413
|
);
|
|
3363
3414
|
const RegisterWorkerResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -3549,7 +3600,14 @@ const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
3549
3600
|
T: 9
|
|
3550
3601
|
/* ScalarType.STRING */
|
|
3551
3602
|
},
|
|
3552
|
-
{ no: 4, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
|
|
3603
|
+
{ no: 4, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) },
|
|
3604
|
+
{
|
|
3605
|
+
no: 5,
|
|
3606
|
+
name: "deployment",
|
|
3607
|
+
kind: "scalar",
|
|
3608
|
+
T: 9
|
|
3609
|
+
/* ScalarType.STRING */
|
|
3610
|
+
}
|
|
3553
3611
|
]
|
|
3554
3612
|
);
|
|
3555
3613
|
const RoomAgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -3569,7 +3627,14 @@ const RoomAgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3569
3627
|
T: 9
|
|
3570
3628
|
/* ScalarType.STRING */
|
|
3571
3629
|
},
|
|
3572
|
-
{ no: 3, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
|
|
3630
|
+
{ no: 3, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) },
|
|
3631
|
+
{
|
|
3632
|
+
no: 4,
|
|
3633
|
+
name: "deployment",
|
|
3634
|
+
kind: "scalar",
|
|
3635
|
+
T: 9
|
|
3636
|
+
/* ScalarType.STRING */
|
|
3637
|
+
}
|
|
3573
3638
|
]
|
|
3574
3639
|
);
|
|
3575
3640
|
const DeleteAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -3648,7 +3713,14 @@ const AgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3648
3713
|
/* ScalarType.STRING */
|
|
3649
3714
|
},
|
|
3650
3715
|
{ no: 5, name: "state", kind: "message", T: AgentDispatchState },
|
|
3651
|
-
{ no: 6, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
|
|
3716
|
+
{ no: 6, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) },
|
|
3717
|
+
{
|
|
3718
|
+
no: 7,
|
|
3719
|
+
name: "deployment",
|
|
3720
|
+
kind: "scalar",
|
|
3721
|
+
T: 9
|
|
3722
|
+
/* ScalarType.STRING */
|
|
3723
|
+
}
|
|
3652
3724
|
]
|
|
3653
3725
|
);
|
|
3654
3726
|
const AgentDispatchState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6250,6 +6322,39 @@ const CreateSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6250
6322
|
}
|
|
6251
6323
|
]
|
|
6252
6324
|
);
|
|
6325
|
+
const SIPCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6326
|
+
"livekit.SIPCodec",
|
|
6327
|
+
() => [
|
|
6328
|
+
{
|
|
6329
|
+
no: 1,
|
|
6330
|
+
name: "name",
|
|
6331
|
+
kind: "scalar",
|
|
6332
|
+
T: 9
|
|
6333
|
+
/* ScalarType.STRING */
|
|
6334
|
+
},
|
|
6335
|
+
{
|
|
6336
|
+
no: 2,
|
|
6337
|
+
name: "rate",
|
|
6338
|
+
kind: "scalar",
|
|
6339
|
+
T: 13
|
|
6340
|
+
/* ScalarType.UINT32 */
|
|
6341
|
+
}
|
|
6342
|
+
]
|
|
6343
|
+
);
|
|
6344
|
+
const SIPMediaConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6345
|
+
"livekit.SIPMediaConfig",
|
|
6346
|
+
() => [
|
|
6347
|
+
{
|
|
6348
|
+
no: 1,
|
|
6349
|
+
name: "only_listed_codecs",
|
|
6350
|
+
kind: "scalar",
|
|
6351
|
+
T: 8
|
|
6352
|
+
/* ScalarType.BOOL */
|
|
6353
|
+
},
|
|
6354
|
+
{ no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
|
|
6355
|
+
{ no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
6356
|
+
]
|
|
6357
|
+
);
|
|
6253
6358
|
const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6254
6359
|
"livekit.ProviderInfo",
|
|
6255
6360
|
() => [
|
|
@@ -6851,6 +6956,7 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6851
6956
|
/* ScalarType.STRING */
|
|
6852
6957
|
},
|
|
6853
6958
|
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
6959
|
+
{ no: 16, name: "media", kind: "message", T: SIPMediaConfig },
|
|
6854
6960
|
{
|
|
6855
6961
|
no: 11,
|
|
6856
6962
|
name: "krisp_enabled",
|
|
@@ -6875,7 +6981,8 @@ const SIPDispatchRuleUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6875
6981
|
T: 9
|
|
6876
6982
|
/* ScalarType.STRING */
|
|
6877
6983
|
} },
|
|
6878
|
-
{ no: 6, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
6984
|
+
{ no: 6, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
6985
|
+
{ no: 7, name: "media", kind: "message", T: SIPMediaConfig }
|
|
6879
6986
|
]
|
|
6880
6987
|
);
|
|
6881
6988
|
const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -7057,6 +7164,7 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
7057
7164
|
/* ScalarType.BOOL */
|
|
7058
7165
|
},
|
|
7059
7166
|
{ no: 18, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) },
|
|
7167
|
+
{ no: 23, name: "media", kind: "message", T: SIPMediaConfig },
|
|
7060
7168
|
{
|
|
7061
7169
|
no: 19,
|
|
7062
7170
|
name: "wait_until_answered",
|
|
@@ -9853,7 +9961,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
9853
9961
|
]
|
|
9854
9962
|
);
|
|
9855
9963
|
|
|
9856
|
-
const version = "1.45.
|
|
9964
|
+
const version = "1.45.8";
|
|
9857
9965
|
|
|
9858
9966
|
exports.Timestamp = protobuf.Timestamp;
|
|
9859
9967
|
exports.protoInt64 = protobuf.protoInt64;
|
|
@@ -10088,6 +10196,7 @@ exports.S3Upload = S3Upload;
|
|
|
10088
10196
|
exports.SIPCallDirection = SIPCallDirection;
|
|
10089
10197
|
exports.SIPCallInfo = SIPCallInfo;
|
|
10090
10198
|
exports.SIPCallStatus = SIPCallStatus;
|
|
10199
|
+
exports.SIPCodec = SIPCodec;
|
|
10091
10200
|
exports.SIPDispatchRule = SIPDispatchRule;
|
|
10092
10201
|
exports.SIPDispatchRuleCallee = SIPDispatchRuleCallee;
|
|
10093
10202
|
exports.SIPDispatchRuleDirect = SIPDispatchRuleDirect;
|
|
@@ -10098,6 +10207,7 @@ exports.SIPFeature = SIPFeature;
|
|
|
10098
10207
|
exports.SIPHeaderOptions = SIPHeaderOptions;
|
|
10099
10208
|
exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
|
|
10100
10209
|
exports.SIPInboundTrunkUpdate = SIPInboundTrunkUpdate;
|
|
10210
|
+
exports.SIPMediaConfig = SIPMediaConfig;
|
|
10101
10211
|
exports.SIPMediaEncryption = SIPMediaEncryption;
|
|
10102
10212
|
exports.SIPOutboundConfig = SIPOutboundConfig;
|
|
10103
10213
|
exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
|