@livekit/protocol 1.53.1 → 1.53.2
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 +143 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +247 -6
- package/dist/index.d.mts +247 -6
- package/dist/index.d.ts +247 -6
- package/dist/index.mjs +141 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
- package/src/gen/livekit_agent_dispatch_pb.d.ts +38 -0
- package/src/gen/livekit_agent_dispatch_pb.js +16 -0
- package/src/gen/livekit_agent_pb.d.ts +107 -0
- package/src/gen/livekit_agent_pb.js +25 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +21 -0
- package/src/gen/livekit_agent_simulation_pb.js +3 -0
- package/src/gen/livekit_internal_pb.d.ts +3 -3
- package/src/gen/livekit_internal_pb.js +1 -1
- package/src/gen/livekit_sip_pb.d.ts +80 -5
- package/src/gen/livekit_sip_pb.js +22 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4707,6 +4707,13 @@ const Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4707
4707
|
kind: "scalar",
|
|
4708
4708
|
T: 8
|
|
4709
4709
|
/* ScalarType.BOOL */
|
|
4710
|
+
},
|
|
4711
|
+
{
|
|
4712
|
+
no: 14,
|
|
4713
|
+
name: "created_at",
|
|
4714
|
+
kind: "scalar",
|
|
4715
|
+
T: 3
|
|
4716
|
+
/* ScalarType.INT64 */
|
|
4710
4717
|
}
|
|
4711
4718
|
]
|
|
4712
4719
|
);
|
|
@@ -4763,7 +4770,21 @@ const JobState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4763
4770
|
T: 9
|
|
4764
4771
|
/* ScalarType.STRING */
|
|
4765
4772
|
},
|
|
4766
|
-
{ no: 9, name: "reason", kind: "enum", T: protobuf.proto3.getEnumType(JobStateReason) }
|
|
4773
|
+
{ no: 9, name: "reason", kind: "enum", T: protobuf.proto3.getEnumType(JobStateReason) },
|
|
4774
|
+
{
|
|
4775
|
+
no: 10,
|
|
4776
|
+
name: "accepted_at",
|
|
4777
|
+
kind: "scalar",
|
|
4778
|
+
T: 3
|
|
4779
|
+
/* ScalarType.INT64 */
|
|
4780
|
+
},
|
|
4781
|
+
{
|
|
4782
|
+
no: 11,
|
|
4783
|
+
name: "assigned_at",
|
|
4784
|
+
kind: "scalar",
|
|
4785
|
+
T: 3
|
|
4786
|
+
/* ScalarType.INT64 */
|
|
4787
|
+
}
|
|
4767
4788
|
]
|
|
4768
4789
|
);
|
|
4769
4790
|
const WorkerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -4989,6 +5010,68 @@ const UpdateJobStatus = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4989
5010
|
kind: "scalar",
|
|
4990
5011
|
T: 9
|
|
4991
5012
|
/* ScalarType.STRING */
|
|
5013
|
+
},
|
|
5014
|
+
{ no: 4, name: "join_timing", kind: "message", T: JobJoinTiming }
|
|
5015
|
+
]
|
|
5016
|
+
);
|
|
5017
|
+
const JobJoinTiming = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5018
|
+
"livekit.JobJoinTiming",
|
|
5019
|
+
() => [
|
|
5020
|
+
{
|
|
5021
|
+
no: 1,
|
|
5022
|
+
name: "offer_received_us",
|
|
5023
|
+
kind: "scalar",
|
|
5024
|
+
T: 3
|
|
5025
|
+
/* ScalarType.INT64 */
|
|
5026
|
+
},
|
|
5027
|
+
{
|
|
5028
|
+
no: 2,
|
|
5029
|
+
name: "accepted_us",
|
|
5030
|
+
kind: "scalar",
|
|
5031
|
+
T: 3
|
|
5032
|
+
/* ScalarType.INT64 */
|
|
5033
|
+
},
|
|
5034
|
+
{
|
|
5035
|
+
no: 3,
|
|
5036
|
+
name: "assignment_received_us",
|
|
5037
|
+
kind: "scalar",
|
|
5038
|
+
T: 3
|
|
5039
|
+
/* ScalarType.INT64 */
|
|
5040
|
+
},
|
|
5041
|
+
{
|
|
5042
|
+
no: 4,
|
|
5043
|
+
name: "launched_us",
|
|
5044
|
+
kind: "scalar",
|
|
5045
|
+
T: 3
|
|
5046
|
+
/* ScalarType.INT64 */
|
|
5047
|
+
},
|
|
5048
|
+
{
|
|
5049
|
+
no: 5,
|
|
5050
|
+
name: "launch_warm",
|
|
5051
|
+
kind: "scalar",
|
|
5052
|
+
T: 8
|
|
5053
|
+
/* ScalarType.BOOL */
|
|
5054
|
+
},
|
|
5055
|
+
{
|
|
5056
|
+
no: 6,
|
|
5057
|
+
name: "entrypoint_started_us",
|
|
5058
|
+
kind: "scalar",
|
|
5059
|
+
T: 3
|
|
5060
|
+
/* ScalarType.INT64 */
|
|
5061
|
+
},
|
|
5062
|
+
{
|
|
5063
|
+
no: 7,
|
|
5064
|
+
name: "connect_called_us",
|
|
5065
|
+
kind: "scalar",
|
|
5066
|
+
T: 3
|
|
5067
|
+
/* ScalarType.INT64 */
|
|
5068
|
+
},
|
|
5069
|
+
{
|
|
5070
|
+
no: 8,
|
|
5071
|
+
name: "connected_us",
|
|
5072
|
+
kind: "scalar",
|
|
5073
|
+
T: 3
|
|
5074
|
+
/* ScalarType.INT64 */
|
|
4992
5075
|
}
|
|
4993
5076
|
]
|
|
4994
5077
|
);
|
|
@@ -5178,6 +5261,15 @@ const JobRestartPolicy = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
5178
5261
|
{ no: 1, name: "JRP_NEVER" }
|
|
5179
5262
|
]
|
|
5180
5263
|
);
|
|
5264
|
+
const AgentDispatchTrigger = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5265
|
+
"livekit.AgentDispatchTrigger",
|
|
5266
|
+
[
|
|
5267
|
+
{ no: 0, name: "ADT_UNSPECIFIED" },
|
|
5268
|
+
{ no: 1, name: "ADT_JOIN" },
|
|
5269
|
+
{ no: 2, name: "ADT_ROOM_API" },
|
|
5270
|
+
{ no: 3, name: "ADT_DISPATCH_API" }
|
|
5271
|
+
]
|
|
5272
|
+
);
|
|
5181
5273
|
const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5182
5274
|
"livekit.CreateAgentDispatchRequest",
|
|
5183
5275
|
() => [
|
|
@@ -5357,7 +5449,8 @@ const AgentDispatchState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5357
5449
|
kind: "scalar",
|
|
5358
5450
|
T: 3
|
|
5359
5451
|
/* ScalarType.INT64 */
|
|
5360
|
-
}
|
|
5452
|
+
},
|
|
5453
|
+
{ no: 4, name: "trigger", kind: "enum", T: protobuf.proto3.getEnumType(AgentDispatchTrigger) }
|
|
5361
5454
|
]
|
|
5362
5455
|
);
|
|
5363
5456
|
|
|
@@ -5975,7 +6068,28 @@ const SimulationRun_Create_Request = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
5975
6068
|
/* ScalarType.BOOL */
|
|
5976
6069
|
},
|
|
5977
6070
|
{ no: 13, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
|
|
5978
|
-
{ no: 14, name: "sampling", kind: "message", T: SimulationRun_SamplingOptions, opt: true }
|
|
6071
|
+
{ no: 14, name: "sampling", kind: "message", T: SimulationRun_SamplingOptions, opt: true },
|
|
6072
|
+
{
|
|
6073
|
+
no: 15,
|
|
6074
|
+
name: "sip_call_to",
|
|
6075
|
+
kind: "scalar",
|
|
6076
|
+
T: 9
|
|
6077
|
+
/* ScalarType.STRING */
|
|
6078
|
+
},
|
|
6079
|
+
{
|
|
6080
|
+
no: 16,
|
|
6081
|
+
name: "sip_trunk_id",
|
|
6082
|
+
kind: "scalar",
|
|
6083
|
+
T: 9
|
|
6084
|
+
/* ScalarType.STRING */
|
|
6085
|
+
},
|
|
6086
|
+
{
|
|
6087
|
+
no: 17,
|
|
6088
|
+
name: "sip_number",
|
|
6089
|
+
kind: "scalar",
|
|
6090
|
+
T: 9
|
|
6091
|
+
/* ScalarType.STRING */
|
|
6092
|
+
}
|
|
5979
6093
|
],
|
|
5980
6094
|
{ localName: "SimulationRun_Create_Request" }
|
|
5981
6095
|
);
|
|
@@ -8825,6 +8939,18 @@ const SIPMediaEncryption = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
8825
8939
|
{ no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
|
|
8826
8940
|
]
|
|
8827
8941
|
);
|
|
8942
|
+
const SIPDialtone = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
8943
|
+
"livekit.SIPDialtone",
|
|
8944
|
+
[
|
|
8945
|
+
{ no: 0, name: "SIP_DIALTONE_DISABLED" },
|
|
8946
|
+
{ no: 1, name: "SIP_DIALTONE_ETSI" },
|
|
8947
|
+
{ no: 2, name: "SIP_DIALTONE_AUTO" },
|
|
8948
|
+
{ no: 3, name: "SIP_DIALTONE_US" },
|
|
8949
|
+
{ no: 4, name: "SIP_DIALTONE_UK" },
|
|
8950
|
+
{ no: 5, name: "SIP_DIALTONE_JP" },
|
|
8951
|
+
{ no: 6, name: "SIP_DIALTONE_AU" }
|
|
8952
|
+
]
|
|
8953
|
+
);
|
|
8828
8954
|
const ProviderType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
8829
8955
|
"livekit.ProviderType",
|
|
8830
8956
|
[
|
|
@@ -8986,7 +9112,14 @@ const SIPMediaConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
8986
9112
|
},
|
|
8987
9113
|
{ no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
|
|
8988
9114
|
{ no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
8989
|
-
{ no: 4, name: "media_timeout", kind: "message", T: protobuf.Duration, opt: true }
|
|
9115
|
+
{ no: 4, name: "media_timeout", kind: "message", T: protobuf.Duration, opt: true },
|
|
9116
|
+
{
|
|
9117
|
+
no: 5,
|
|
9118
|
+
name: "drop_audio_during_dtmf",
|
|
9119
|
+
kind: "scalar",
|
|
9120
|
+
T: 8
|
|
9121
|
+
/* ScalarType.BOOL */
|
|
9122
|
+
}
|
|
8990
9123
|
]
|
|
8991
9124
|
);
|
|
8992
9125
|
const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -9798,6 +9931,7 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
9798
9931
|
T: 8
|
|
9799
9932
|
/* ScalarType.BOOL */
|
|
9800
9933
|
},
|
|
9934
|
+
{ no: 28, name: "dialtone", kind: "enum", T: protobuf.proto3.getEnumType(SIPDialtone) },
|
|
9801
9935
|
{
|
|
9802
9936
|
no: 10,
|
|
9803
9937
|
name: "hide_phone_number",
|
|
@@ -9897,6 +10031,7 @@ const TransferSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessag
|
|
|
9897
10031
|
T: 8
|
|
9898
10032
|
/* ScalarType.BOOL */
|
|
9899
10033
|
},
|
|
10034
|
+
{ no: 7, name: "dialtone", kind: "enum", T: protobuf.proto3.getEnumType(SIPDialtone) },
|
|
9900
10035
|
{ no: 5, name: "headers", kind: "map", K: 9, V: {
|
|
9901
10036
|
kind: "scalar",
|
|
9902
10037
|
T: 9
|
|
@@ -12763,7 +12898,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
12763
12898
|
]
|
|
12764
12899
|
);
|
|
12765
12900
|
|
|
12766
|
-
const version = "1.53.
|
|
12901
|
+
const version = "1.53.2";
|
|
12767
12902
|
|
|
12768
12903
|
exports.Timestamp = protobuf.Timestamp;
|
|
12769
12904
|
exports.protoInt64 = protobuf.protoInt64;
|
|
@@ -12776,6 +12911,7 @@ exports.AddTrackRequest = AddTrackRequest;
|
|
|
12776
12911
|
exports.AgentDev = livekit_agent_dev_pb;
|
|
12777
12912
|
exports.AgentDispatch = AgentDispatch;
|
|
12778
12913
|
exports.AgentDispatchState = AgentDispatchState;
|
|
12914
|
+
exports.AgentDispatchTrigger = AgentDispatchTrigger;
|
|
12779
12915
|
exports.AgentHttp = AgentHttp;
|
|
12780
12916
|
exports.AgentHttp_AgentEndpoint = AgentHttp_AgentEndpoint;
|
|
12781
12917
|
exports.AgentHttp_AgentEndpointKind = AgentHttp_AgentEndpointKind;
|
|
@@ -12926,6 +13062,7 @@ exports.InputAudioState = InputAudioState;
|
|
|
12926
13062
|
exports.InputVideoState = InputVideoState;
|
|
12927
13063
|
exports.Job = Job;
|
|
12928
13064
|
exports.JobAssignment = JobAssignment;
|
|
13065
|
+
exports.JobJoinTiming = JobJoinTiming;
|
|
12929
13066
|
exports.JobRestartPolicy = JobRestartPolicy;
|
|
12930
13067
|
exports.JobState = JobState;
|
|
12931
13068
|
exports.JobStateReason = JobStateReason;
|
|
@@ -13024,6 +13161,7 @@ exports.SIPCallDirection = SIPCallDirection;
|
|
|
13024
13161
|
exports.SIPCallInfo = SIPCallInfo;
|
|
13025
13162
|
exports.SIPCallStatus = SIPCallStatus;
|
|
13026
13163
|
exports.SIPCodec = SIPCodec;
|
|
13164
|
+
exports.SIPDialtone = SIPDialtone;
|
|
13027
13165
|
exports.SIPDispatchRule = SIPDispatchRule;
|
|
13028
13166
|
exports.SIPDispatchRuleCallee = SIPDispatchRuleCallee;
|
|
13029
13167
|
exports.SIPDispatchRuleDirect = SIPDispatchRuleDirect;
|