@livekit/protocol 1.34.0 → 1.35.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.
- package/dist/index.cjs +93 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +123 -8
- package/dist/index.d.mts +123 -8
- package/dist/index.d.ts +123 -8
- package/dist/index.mjs +92 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_models_pb.d.ts +7 -0
- package/src/gen/livekit_models_pb.js +1 -0
- package/src/gen/livekit_room_pb.d.ts +59 -0
- package/src/gen/livekit_room_pb.js +20 -0
- package/src/gen/livekit_sip_pb.d.ts +54 -6
- package/src/gen/livekit_sip_pb.js +12 -3
- package/src/gen/livekit_webhook_pb.d.ts +2 -1
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -854,6 +854,13 @@ export declare enum ParticipantInfo_Kind {
|
|
|
854
854
|
* @generated from enum value: AGENT = 4;
|
|
855
855
|
*/
|
|
856
856
|
AGENT = 4,
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* forwarded participant from another room
|
|
860
|
+
*
|
|
861
|
+
* @generated from enum value: FORWARDED = 5;
|
|
862
|
+
*/
|
|
863
|
+
FORWARDED = 5,
|
|
857
864
|
}
|
|
858
865
|
|
|
859
866
|
/**
|
|
@@ -779,3 +779,62 @@ export declare class RoomConfiguration extends Message<RoomConfiguration> {
|
|
|
779
779
|
static equals(a: RoomConfiguration | PlainMessage<RoomConfiguration> | undefined, b: RoomConfiguration | PlainMessage<RoomConfiguration> | undefined): boolean;
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
+
/**
|
|
783
|
+
* @generated from message livekit.ForwardParticipantRequest
|
|
784
|
+
*/
|
|
785
|
+
export declare class ForwardParticipantRequest extends Message<ForwardParticipantRequest> {
|
|
786
|
+
/**
|
|
787
|
+
* room to forward participant from
|
|
788
|
+
*
|
|
789
|
+
* @generated from field: string room = 1;
|
|
790
|
+
*/
|
|
791
|
+
room: string;
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* identity of the participant to forward
|
|
795
|
+
*
|
|
796
|
+
* @generated from field: string identity = 2;
|
|
797
|
+
*/
|
|
798
|
+
identity: string;
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* room to forward participant to
|
|
802
|
+
*
|
|
803
|
+
* @generated from field: string destination_room = 3;
|
|
804
|
+
*/
|
|
805
|
+
destinationRoom: string;
|
|
806
|
+
|
|
807
|
+
constructor(data?: PartialMessage<ForwardParticipantRequest>);
|
|
808
|
+
|
|
809
|
+
static readonly runtime: typeof proto3;
|
|
810
|
+
static readonly typeName = "livekit.ForwardParticipantRequest";
|
|
811
|
+
static readonly fields: FieldList;
|
|
812
|
+
|
|
813
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ForwardParticipantRequest;
|
|
814
|
+
|
|
815
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ForwardParticipantRequest;
|
|
816
|
+
|
|
817
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ForwardParticipantRequest;
|
|
818
|
+
|
|
819
|
+
static equals(a: ForwardParticipantRequest | PlainMessage<ForwardParticipantRequest> | undefined, b: ForwardParticipantRequest | PlainMessage<ForwardParticipantRequest> | undefined): boolean;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* @generated from message livekit.ForwardParticipantResponse
|
|
824
|
+
*/
|
|
825
|
+
export declare class ForwardParticipantResponse extends Message<ForwardParticipantResponse> {
|
|
826
|
+
constructor(data?: PartialMessage<ForwardParticipantResponse>);
|
|
827
|
+
|
|
828
|
+
static readonly runtime: typeof proto3;
|
|
829
|
+
static readonly typeName = "livekit.ForwardParticipantResponse";
|
|
830
|
+
static readonly fields: FieldList;
|
|
831
|
+
|
|
832
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ForwardParticipantResponse;
|
|
833
|
+
|
|
834
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ForwardParticipantResponse;
|
|
835
|
+
|
|
836
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ForwardParticipantResponse;
|
|
837
|
+
|
|
838
|
+
static equals(a: ForwardParticipantResponse | PlainMessage<ForwardParticipantResponse> | undefined, b: ForwardParticipantResponse | PlainMessage<ForwardParticipantResponse> | undefined): boolean;
|
|
839
|
+
}
|
|
840
|
+
|
|
@@ -258,3 +258,23 @@ export const RoomConfiguration = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
258
258
|
],
|
|
259
259
|
);
|
|
260
260
|
|
|
261
|
+
/**
|
|
262
|
+
* @generated from message livekit.ForwardParticipantRequest
|
|
263
|
+
*/
|
|
264
|
+
export const ForwardParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
265
|
+
"livekit.ForwardParticipantRequest",
|
|
266
|
+
() => [
|
|
267
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
268
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
269
|
+
{ no: 3, name: "destination_room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
270
|
+
],
|
|
271
|
+
);
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @generated from message livekit.ForwardParticipantResponse
|
|
275
|
+
*/
|
|
276
|
+
export const ForwardParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
277
|
+
"livekit.ForwardParticipantResponse",
|
|
278
|
+
[],
|
|
279
|
+
);
|
|
280
|
+
|
|
@@ -2032,6 +2032,16 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2032
2032
|
*/
|
|
2033
2033
|
trunkId: string;
|
|
2034
2034
|
|
|
2035
|
+
/**
|
|
2036
|
+
* @generated from field: string dispatch_rule_id = 16;
|
|
2037
|
+
*/
|
|
2038
|
+
dispatchRuleId: string;
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* @generated from field: string region = 17;
|
|
2042
|
+
*/
|
|
2043
|
+
region: string;
|
|
2044
|
+
|
|
2035
2045
|
/**
|
|
2036
2046
|
* @generated from field: string room_name = 3;
|
|
2037
2047
|
*/
|
|
@@ -2049,6 +2059,11 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2049
2059
|
*/
|
|
2050
2060
|
participantIdentity: string;
|
|
2051
2061
|
|
|
2062
|
+
/**
|
|
2063
|
+
* @generated from field: map<string, string> participant_attributes = 18;
|
|
2064
|
+
*/
|
|
2065
|
+
participantAttributes: { [key: string]: string };
|
|
2066
|
+
|
|
2052
2067
|
/**
|
|
2053
2068
|
* @generated from field: livekit.SIPUri from_uri = 6;
|
|
2054
2069
|
*/
|
|
@@ -2059,6 +2074,24 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2059
2074
|
*/
|
|
2060
2075
|
toUri?: SIPUri;
|
|
2061
2076
|
|
|
2077
|
+
/**
|
|
2078
|
+
* @generated from field: int64 created_at = 9 [deprecated = true];
|
|
2079
|
+
* @deprecated
|
|
2080
|
+
*/
|
|
2081
|
+
createdAt: bigint;
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* @generated from field: int64 started_at = 10 [deprecated = true];
|
|
2085
|
+
* @deprecated
|
|
2086
|
+
*/
|
|
2087
|
+
startedAt: bigint;
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* @generated from field: int64 ended_at = 11 [deprecated = true];
|
|
2091
|
+
* @deprecated
|
|
2092
|
+
*/
|
|
2093
|
+
endedAt: bigint;
|
|
2094
|
+
|
|
2062
2095
|
/**
|
|
2063
2096
|
* @generated from field: repeated livekit.SIPFeature enabled_features = 14;
|
|
2064
2097
|
*/
|
|
@@ -2075,19 +2108,19 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2075
2108
|
callStatus: SIPCallStatus;
|
|
2076
2109
|
|
|
2077
2110
|
/**
|
|
2078
|
-
* @generated from field: int64
|
|
2111
|
+
* @generated from field: int64 created_at_ns = 22;
|
|
2079
2112
|
*/
|
|
2080
|
-
|
|
2113
|
+
createdAtNs: bigint;
|
|
2081
2114
|
|
|
2082
2115
|
/**
|
|
2083
|
-
* @generated from field: int64
|
|
2116
|
+
* @generated from field: int64 started_at_ns = 23;
|
|
2084
2117
|
*/
|
|
2085
|
-
|
|
2118
|
+
startedAtNs: bigint;
|
|
2086
2119
|
|
|
2087
2120
|
/**
|
|
2088
|
-
* @generated from field: int64
|
|
2121
|
+
* @generated from field: int64 ended_at_ns = 24;
|
|
2089
2122
|
*/
|
|
2090
|
-
|
|
2123
|
+
endedAtNs: bigint;
|
|
2091
2124
|
|
|
2092
2125
|
/**
|
|
2093
2126
|
* @generated from field: livekit.DisconnectReason disconnect_reason = 12;
|
|
@@ -2099,6 +2132,21 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2099
2132
|
*/
|
|
2100
2133
|
error: string;
|
|
2101
2134
|
|
|
2135
|
+
/**
|
|
2136
|
+
* @generated from field: livekit.SIPStatus call_status_code = 19;
|
|
2137
|
+
*/
|
|
2138
|
+
callStatusCode?: SIPStatus;
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* @generated from field: string audio_codec = 20;
|
|
2142
|
+
*/
|
|
2143
|
+
audioCodec: string;
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* @generated from field: string media_encryption = 21;
|
|
2147
|
+
*/
|
|
2148
|
+
mediaEncryption: string;
|
|
2149
|
+
|
|
2102
2150
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
2103
2151
|
|
|
2104
2152
|
static readonly runtime: typeof proto3;
|
|
@@ -611,19 +611,28 @@ export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
611
611
|
() => [
|
|
612
612
|
{ no: 1, name: "call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
613
613
|
{ no: 2, name: "trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
614
|
+
{ no: 16, name: "dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
615
|
+
{ no: 17, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
614
616
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
615
617
|
{ no: 4, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
616
618
|
{ no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
619
|
+
{ no: 18, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
617
620
|
{ no: 6, name: "from_uri", kind: "message", T: SIPUri },
|
|
618
621
|
{ no: 7, name: "to_uri", kind: "message", T: SIPUri },
|
|
619
|
-
{ no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true },
|
|
620
|
-
{ no: 15, name: "call_direction", kind: "enum", T: proto3.getEnumType(SIPCallDirection) },
|
|
621
|
-
{ no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) },
|
|
622
622
|
{ no: 9, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
623
623
|
{ no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
624
624
|
{ no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
625
|
+
{ no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true },
|
|
626
|
+
{ no: 15, name: "call_direction", kind: "enum", T: proto3.getEnumType(SIPCallDirection) },
|
|
627
|
+
{ no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) },
|
|
628
|
+
{ no: 22, name: "created_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
629
|
+
{ no: 23, name: "started_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
630
|
+
{ no: 24, name: "ended_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
625
631
|
{ no: 12, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
626
632
|
{ no: 13, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
633
|
+
{ no: 19, name: "call_status_code", kind: "message", T: SIPStatus },
|
|
634
|
+
{ no: 20, name: "audio_codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
635
|
+
{ no: 21, name: "media_encryption", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
627
636
|
],
|
|
628
637
|
);
|
|
629
638
|
|
|
@@ -84,7 +84,8 @@ export declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
84
84
|
createdAt: bigint;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* @generated from field: int32 num_dropped = 11;
|
|
87
|
+
* @generated from field: int32 num_dropped = 11 [deprecated = true];
|
|
88
|
+
* @deprecated
|
|
88
89
|
*/
|
|
89
90
|
numDropped: number;
|
|
90
91
|
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.35.0';
|