@livekit/protocol 1.50.3 → 1.51.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 +199 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +718 -238
- package/dist/index.d.mts +718 -238
- package/dist/index.d.ts +718 -238
- package/dist/index.mjs +193 -101
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/gen/livekit_agent_simulation_pb.d.ts +369 -184
- package/src/gen/livekit_agent_simulation_pb.js +103 -49
- package/src/gen/livekit_agentdb_pb.d.ts +1126 -0
- package/src/gen/livekit_agentdb_pb.js +447 -0
- package/src/gen/livekit_analytics_pb.d.ts +13 -1
- package/src/gen/livekit_analytics_pb.js +3 -1
- package/src/gen/livekit_egress_pb.d.ts +7 -44
- package/src/gen/livekit_egress_pb.js +1 -14
- package/src/gen/livekit_metrics_pb.d.ts +14 -0
- package/src/gen/livekit_metrics_pb.js +2 -0
- package/src/gen/livekit_models_pb.d.ts +54 -2
- package/src/gen/livekit_models_pb.js +18 -0
- package/src/gen/livekit_room_pb.d.ts +1 -1
- package/src/gen/livekit_rtc_pb.d.ts +5 -0
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +118 -1
- package/src/gen/livekit_sip_pb.js +31 -0
- package/src/gen/livekit_webhook_pb.d.ts +17 -2
- package/src/gen/livekit_webhook_pb.js +4 -1
- package/src/gen/version.js +1 -1
|
@@ -377,6 +377,53 @@ export declare enum DisconnectReason {
|
|
|
377
377
|
AGENT_ERROR = 16,
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
+
/**
|
|
381
|
+
* why a room ended, reported on room-ended telemetry
|
|
382
|
+
*
|
|
383
|
+
* @generated from enum livekit.RoomEndReason
|
|
384
|
+
*/
|
|
385
|
+
export declare enum RoomEndReason {
|
|
386
|
+
/**
|
|
387
|
+
* @generated from enum value: ROOM_END_UNKNOWN = 0;
|
|
388
|
+
*/
|
|
389
|
+
ROOM_END_UNKNOWN = 0,
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* RoomService.DeleteRoom was called
|
|
393
|
+
*
|
|
394
|
+
* @generated from enum value: ROOM_END_API_DELETE = 1;
|
|
395
|
+
*/
|
|
396
|
+
ROOM_END_API_DELETE = 1,
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* the room sat empty past its empty or departure timeout
|
|
400
|
+
*
|
|
401
|
+
* @generated from enum value: ROOM_END_IDLE_TIMEOUT = 2;
|
|
402
|
+
*/
|
|
403
|
+
ROOM_END_IDLE_TIMEOUT = 2,
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* the server instance is shutting down
|
|
407
|
+
*
|
|
408
|
+
* @generated from enum value: ROOM_END_SERVER_SHUTDOWN = 3;
|
|
409
|
+
*/
|
|
410
|
+
ROOM_END_SERVER_SHUTDOWN = 3,
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* the room was restarted or replaced elsewhere
|
|
414
|
+
*
|
|
415
|
+
* @generated from enum value: ROOM_END_SUPERSEDED = 4;
|
|
416
|
+
*/
|
|
417
|
+
ROOM_END_SUPERSEDED = 4,
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* the room failed to finish opening
|
|
421
|
+
*
|
|
422
|
+
* @generated from enum value: ROOM_END_OPEN_FAILED = 5;
|
|
423
|
+
*/
|
|
424
|
+
ROOM_END_OPEN_FAILED = 5,
|
|
425
|
+
}
|
|
426
|
+
|
|
380
427
|
/**
|
|
381
428
|
* @generated from enum livekit.ReconnectReason
|
|
382
429
|
*/
|
|
@@ -1078,11 +1125,16 @@ export declare enum ParticipantInfo_KindDetail {
|
|
|
1078
1125
|
CONNECTOR_TWILIO = 3,
|
|
1079
1126
|
|
|
1080
1127
|
/**
|
|
1081
|
-
* NEXT_ID: 5
|
|
1082
|
-
*
|
|
1083
1128
|
* @generated from enum value: BRIDGE_RTSP = 4;
|
|
1084
1129
|
*/
|
|
1085
1130
|
BRIDGE_RTSP = 4,
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* NEXT_ID: 6
|
|
1134
|
+
*
|
|
1135
|
+
* @generated from enum value: SIMULATION = 5;
|
|
1136
|
+
*/
|
|
1137
|
+
SIMULATION = 5,
|
|
1086
1138
|
}
|
|
1087
1139
|
|
|
1088
1140
|
/**
|
|
@@ -173,6 +173,23 @@ export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
|
|
|
173
173
|
],
|
|
174
174
|
);
|
|
175
175
|
|
|
176
|
+
/**
|
|
177
|
+
* why a room ended, reported on room-ended telemetry
|
|
178
|
+
*
|
|
179
|
+
* @generated from enum livekit.RoomEndReason
|
|
180
|
+
*/
|
|
181
|
+
export const RoomEndReason = /*@__PURE__*/ proto3.makeEnum(
|
|
182
|
+
"livekit.RoomEndReason",
|
|
183
|
+
[
|
|
184
|
+
{no: 0, name: "ROOM_END_UNKNOWN"},
|
|
185
|
+
{no: 1, name: "ROOM_END_API_DELETE"},
|
|
186
|
+
{no: 2, name: "ROOM_END_IDLE_TIMEOUT"},
|
|
187
|
+
{no: 3, name: "ROOM_END_SERVER_SHUTDOWN"},
|
|
188
|
+
{no: 4, name: "ROOM_END_SUPERSEDED"},
|
|
189
|
+
{no: 5, name: "ROOM_END_OPEN_FAILED"},
|
|
190
|
+
],
|
|
191
|
+
);
|
|
192
|
+
|
|
176
193
|
/**
|
|
177
194
|
* @generated from enum livekit.ReconnectReason
|
|
178
195
|
*/
|
|
@@ -396,6 +413,7 @@ export const ParticipantInfo_KindDetail = /*@__PURE__*/ proto3.makeEnum(
|
|
|
396
413
|
{no: 2, name: "CONNECTOR_WHATSAPP"},
|
|
397
414
|
{no: 3, name: "CONNECTOR_TWILIO"},
|
|
398
415
|
{no: 4, name: "BRIDGE_RTSP"},
|
|
416
|
+
{no: 5, name: "SIMULATION"},
|
|
399
417
|
],
|
|
400
418
|
);
|
|
401
419
|
|
|
@@ -737,7 +737,7 @@ export declare class RoomConfiguration extends Message<RoomConfiguration> {
|
|
|
737
737
|
departureTimeout: number;
|
|
738
738
|
|
|
739
739
|
/**
|
|
740
|
-
* limit number of participants that can be in a room, excluding Egress and
|
|
740
|
+
* limit number of participants that can be in a room, excluding Egress and Agent participants
|
|
741
741
|
*
|
|
742
742
|
* @generated from field: uint32 max_participants = 4;
|
|
743
743
|
*/
|
|
@@ -2246,6 +2246,11 @@ export declare class SyncState extends Message<SyncState> {
|
|
|
2246
2246
|
*/
|
|
2247
2247
|
publishDataTracks: PublishDataTrackResponse[];
|
|
2248
2248
|
|
|
2249
|
+
/**
|
|
2250
|
+
* @generated from field: livekit.UpdateDataSubscription data_subscription = 9;
|
|
2251
|
+
*/
|
|
2252
|
+
dataSubscription?: UpdateDataSubscription;
|
|
2253
|
+
|
|
2249
2254
|
constructor(data?: PartialMessage<SyncState>);
|
|
2250
2255
|
|
|
2251
2256
|
static readonly runtime: typeof proto3;
|
|
@@ -692,6 +692,7 @@ export const SyncState = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
692
692
|
{ no: 6, name: "track_sids_disabled", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
693
693
|
{ no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true },
|
|
694
694
|
{ no: 8, name: "publish_data_tracks", kind: "message", T: PublishDataTrackResponse, repeated: true },
|
|
695
|
+
{ no: 9, name: "data_subscription", kind: "message", T: UpdateDataSubscription },
|
|
695
696
|
],
|
|
696
697
|
);
|
|
697
698
|
|
|
@@ -568,6 +568,60 @@ export declare enum SIPTransferStatus {
|
|
|
568
568
|
STS_TRANSFER_SUCCESSFUL = 2,
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
+
/**
|
|
572
|
+
* @generated from enum livekit.SIPTransferReason
|
|
573
|
+
*/
|
|
574
|
+
export declare enum SIPTransferReason {
|
|
575
|
+
/**
|
|
576
|
+
* No reason reported
|
|
577
|
+
*
|
|
578
|
+
* @generated from enum value: STR_UNSPECIFIED = 0;
|
|
579
|
+
*/
|
|
580
|
+
STR_UNSPECIFIED = 0,
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* The transferee answered and the transfer completed
|
|
584
|
+
*
|
|
585
|
+
* @generated from enum value: STR_COMPLETED = 1;
|
|
586
|
+
*/
|
|
587
|
+
STR_COMPLETED = 1,
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* The call ended before the transfer completed: remote BYE, room deleted or local hangup
|
|
591
|
+
*
|
|
592
|
+
* @generated from enum value: STR_CALL_ENDED = 2;
|
|
593
|
+
*/
|
|
594
|
+
STR_CALL_ENDED = 2,
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* The transferee, or its provider, rejected the transfer
|
|
598
|
+
*
|
|
599
|
+
* @generated from enum value: STR_REJECTED = 3;
|
|
600
|
+
*/
|
|
601
|
+
STR_REJECTED = 3,
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* The transferee did not answer in time
|
|
605
|
+
*
|
|
606
|
+
* @generated from enum value: STR_RINGING_TIMEOUT = 4;
|
|
607
|
+
*/
|
|
608
|
+
STR_RINGING_TIMEOUT = 4,
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* The provider stopped reporting the transfer status without a final response
|
|
612
|
+
*
|
|
613
|
+
* @generated from enum value: STR_SUBSCRIPTION_TERMINATED = 5;
|
|
614
|
+
*/
|
|
615
|
+
STR_SUBSCRIPTION_TERMINATED = 5,
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Canceled through the API
|
|
619
|
+
*
|
|
620
|
+
* @generated from enum value: STR_CANCELED = 6;
|
|
621
|
+
*/
|
|
622
|
+
STR_CANCELED = 6,
|
|
623
|
+
}
|
|
624
|
+
|
|
571
625
|
/**
|
|
572
626
|
* @generated from enum livekit.SIPFeature
|
|
573
627
|
*/
|
|
@@ -2518,6 +2572,9 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2518
2572
|
sipRequestUri?: SIPRequestDest;
|
|
2519
2573
|
|
|
2520
2574
|
/**
|
|
2575
|
+
* Currently not usable with CreateSIPParticipant: sip_call_to is required, and
|
|
2576
|
+
* the two cannot be combined. Use to_user_override to change the To header user.
|
|
2577
|
+
*
|
|
2521
2578
|
* To: "Name" <uri>
|
|
2522
2579
|
*
|
|
2523
2580
|
* @generated from field: livekit.SIPNamedDest sip_to_header = 25;
|
|
@@ -2538,6 +2595,20 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2538
2595
|
*/
|
|
2539
2596
|
sipCallTo: string;
|
|
2540
2597
|
|
|
2598
|
+
/**
|
|
2599
|
+
* Replaces the user part of the To header, leaving its host, port and transport
|
|
2600
|
+
* as they would otherwise be. The request URI is not affected, so the call is
|
|
2601
|
+
* still placed to sip_call_to. Empty means no override.
|
|
2602
|
+
*
|
|
2603
|
+
* Use this when the callee expects a To header that differs from the number
|
|
2604
|
+
* being dialed. Setting "To" in the headers map is not a valid alternative:
|
|
2605
|
+
* it adds a second To header rather than replacing the existing one, which
|
|
2606
|
+
* makes the INVITE malformed.
|
|
2607
|
+
*
|
|
2608
|
+
* @generated from field: string to_user_override = 27;
|
|
2609
|
+
*/
|
|
2610
|
+
toUserOverride: string;
|
|
2611
|
+
|
|
2541
2612
|
/**
|
|
2542
2613
|
* Optional SIP From number to use. If empty, trunk number is used.
|
|
2543
2614
|
*
|
|
@@ -2680,7 +2751,7 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2680
2751
|
displayName?: string;
|
|
2681
2752
|
|
|
2682
2753
|
/**
|
|
2683
|
-
* NEXT ID:
|
|
2754
|
+
* NEXT ID: 28
|
|
2684
2755
|
*
|
|
2685
2756
|
* @generated from field: optional livekit.Destination destination = 22;
|
|
2686
2757
|
*/
|
|
@@ -2795,6 +2866,47 @@ export declare class TransferSIPParticipantRequest extends Message<TransferSIPPa
|
|
|
2795
2866
|
static equals(a: TransferSIPParticipantRequest | PlainMessage<TransferSIPParticipantRequest> | undefined, b: TransferSIPParticipantRequest | PlainMessage<TransferSIPParticipantRequest> | undefined): boolean;
|
|
2796
2867
|
}
|
|
2797
2868
|
|
|
2869
|
+
/**
|
|
2870
|
+
* @generated from message livekit.TransferSIPParticipantResponse
|
|
2871
|
+
*/
|
|
2872
|
+
export declare class TransferSIPParticipantResponse extends Message<TransferSIPParticipantResponse> {
|
|
2873
|
+
/**
|
|
2874
|
+
* @generated from field: string transfer_id = 1;
|
|
2875
|
+
*/
|
|
2876
|
+
transferId: string;
|
|
2877
|
+
|
|
2878
|
+
/**
|
|
2879
|
+
* @generated from field: livekit.SIPTransferStatus status = 2;
|
|
2880
|
+
*/
|
|
2881
|
+
status: SIPTransferStatus;
|
|
2882
|
+
|
|
2883
|
+
/**
|
|
2884
|
+
* @generated from field: livekit.SIPTransferReason reason = 3;
|
|
2885
|
+
*/
|
|
2886
|
+
reason: SIPTransferReason;
|
|
2887
|
+
|
|
2888
|
+
/**
|
|
2889
|
+
* Set when the outcome was reported by a SIP response.
|
|
2890
|
+
*
|
|
2891
|
+
* @generated from field: livekit.SIPStatus sip_status = 4;
|
|
2892
|
+
*/
|
|
2893
|
+
sipStatus?: SIPStatus;
|
|
2894
|
+
|
|
2895
|
+
constructor(data?: PartialMessage<TransferSIPParticipantResponse>);
|
|
2896
|
+
|
|
2897
|
+
static readonly runtime: typeof proto3;
|
|
2898
|
+
static readonly typeName = "livekit.TransferSIPParticipantResponse";
|
|
2899
|
+
static readonly fields: FieldList;
|
|
2900
|
+
|
|
2901
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransferSIPParticipantResponse;
|
|
2902
|
+
|
|
2903
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransferSIPParticipantResponse;
|
|
2904
|
+
|
|
2905
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransferSIPParticipantResponse;
|
|
2906
|
+
|
|
2907
|
+
static equals(a: TransferSIPParticipantResponse | PlainMessage<TransferSIPParticipantResponse> | undefined, b: TransferSIPParticipantResponse | PlainMessage<TransferSIPParticipantResponse> | undefined): boolean;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2798
2910
|
/**
|
|
2799
2911
|
* @generated from message livekit.SIPCallInfo
|
|
2800
2912
|
*/
|
|
@@ -3003,6 +3115,11 @@ export declare class SIPTransferInfo extends Message<SIPTransferInfo> {
|
|
|
3003
3115
|
*/
|
|
3004
3116
|
transferStatusCode?: SIPStatus;
|
|
3005
3117
|
|
|
3118
|
+
/**
|
|
3119
|
+
* @generated from field: livekit.SIPTransferReason reason = 9;
|
|
3120
|
+
*/
|
|
3121
|
+
reason: SIPTransferReason;
|
|
3122
|
+
|
|
3006
3123
|
constructor(data?: PartialMessage<SIPTransferInfo>);
|
|
3007
3124
|
|
|
3008
3125
|
static readonly runtime: typeof proto3;
|
|
@@ -181,6 +181,22 @@ export const SIPTransferStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
|
181
181
|
],
|
|
182
182
|
);
|
|
183
183
|
|
|
184
|
+
/**
|
|
185
|
+
* @generated from enum livekit.SIPTransferReason
|
|
186
|
+
*/
|
|
187
|
+
export const SIPTransferReason = /*@__PURE__*/ proto3.makeEnum(
|
|
188
|
+
"livekit.SIPTransferReason",
|
|
189
|
+
[
|
|
190
|
+
{no: 0, name: "STR_UNSPECIFIED"},
|
|
191
|
+
{no: 1, name: "STR_COMPLETED"},
|
|
192
|
+
{no: 2, name: "STR_CALL_ENDED"},
|
|
193
|
+
{no: 3, name: "STR_REJECTED"},
|
|
194
|
+
{no: 4, name: "STR_RINGING_TIMEOUT"},
|
|
195
|
+
{no: 5, name: "STR_SUBSCRIPTION_TERMINATED"},
|
|
196
|
+
{no: 6, name: "STR_CANCELED"},
|
|
197
|
+
],
|
|
198
|
+
);
|
|
199
|
+
|
|
184
200
|
/**
|
|
185
201
|
* @generated from enum livekit.SIPFeature
|
|
186
202
|
*/
|
|
@@ -755,6 +771,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
755
771
|
{ no: 25, name: "sip_to_header", kind: "message", T: SIPNamedDest },
|
|
756
772
|
{ no: 26, name: "sip_from_header", kind: "message", T: SIPNamedDest },
|
|
757
773
|
{ no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
774
|
+
{ no: 27, name: "to_user_override", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
758
775
|
{ no: 15, name: "sip_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
759
776
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
760
777
|
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -806,6 +823,19 @@ export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageTyp
|
|
|
806
823
|
],
|
|
807
824
|
);
|
|
808
825
|
|
|
826
|
+
/**
|
|
827
|
+
* @generated from message livekit.TransferSIPParticipantResponse
|
|
828
|
+
*/
|
|
829
|
+
export const TransferSIPParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
830
|
+
"livekit.TransferSIPParticipantResponse",
|
|
831
|
+
() => [
|
|
832
|
+
{ no: 1, name: "transfer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
833
|
+
{ no: 2, name: "status", kind: "enum", T: proto3.getEnumType(SIPTransferStatus) },
|
|
834
|
+
{ no: 3, name: "reason", kind: "enum", T: proto3.getEnumType(SIPTransferReason) },
|
|
835
|
+
{ no: 4, name: "sip_status", kind: "message", T: SIPStatus },
|
|
836
|
+
],
|
|
837
|
+
);
|
|
838
|
+
|
|
809
839
|
/**
|
|
810
840
|
* @generated from message livekit.SIPCallInfo
|
|
811
841
|
*/
|
|
@@ -857,6 +887,7 @@ export const SIPTransferInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
857
887
|
{ no: 6, name: "transfer_status", kind: "enum", T: proto3.getEnumType(SIPTransferStatus) },
|
|
858
888
|
{ no: 7, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
859
889
|
{ no: 8, name: "transfer_status_code", kind: "message", T: SIPStatus },
|
|
890
|
+
{ no: 9, name: "reason", kind: "enum", T: proto3.getEnumType(SIPTransferReason) },
|
|
860
891
|
],
|
|
861
892
|
);
|
|
862
893
|
|
|
@@ -19,9 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js";
|
|
22
|
+
import type { ParticipantInfo, Room, RoomEndReason, TrackInfo } from "./livekit_models_pb.js";
|
|
23
23
|
import type { EgressInfo } from "./livekit_egress_pb.js";
|
|
24
24
|
import type { IngressInfo } from "./livekit_ingress_pb.js";
|
|
25
|
+
import type { Job } from "./livekit_agent_pb.js";
|
|
25
26
|
|
|
26
27
|
/**
|
|
27
28
|
* @generated from message livekit.WebhookEvent
|
|
@@ -30,7 +31,7 @@ export declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
30
31
|
/**
|
|
31
32
|
* one of room_started, room_finished, participant_joined, participant_left, participant_connection_aborted,
|
|
32
33
|
* track_published, track_unpublished, egress_started, egress_updated, egress_ended,
|
|
33
|
-
* ingress_started, ingress_ended
|
|
34
|
+
* ingress_started, ingress_ended, agent_job_started, agent_job_ended
|
|
34
35
|
*
|
|
35
36
|
* @generated from field: string event = 1;
|
|
36
37
|
*/
|
|
@@ -69,6 +70,13 @@ export declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
69
70
|
*/
|
|
70
71
|
track?: TrackInfo;
|
|
71
72
|
|
|
73
|
+
/**
|
|
74
|
+
* set when event is agent_job_*
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: livekit.Job job = 12;
|
|
77
|
+
*/
|
|
78
|
+
job?: Job;
|
|
79
|
+
|
|
72
80
|
/**
|
|
73
81
|
* unique event uuid
|
|
74
82
|
*
|
|
@@ -89,6 +97,13 @@ export declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
89
97
|
*/
|
|
90
98
|
numDropped: number;
|
|
91
99
|
|
|
100
|
+
/**
|
|
101
|
+
* set when event is room_finished
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: livekit.RoomEndReason room_end_reason = 13;
|
|
104
|
+
*/
|
|
105
|
+
roomEndReason: RoomEndReason;
|
|
106
|
+
|
|
92
107
|
constructor(data?: PartialMessage<WebhookEvent>);
|
|
93
108
|
|
|
94
109
|
static readonly runtime: typeof proto3;
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js";
|
|
21
|
+
import { ParticipantInfo, Room, RoomEndReason, TrackInfo } from "./livekit_models_pb.js";
|
|
22
22
|
import { EgressInfo } from "./livekit_egress_pb.js";
|
|
23
23
|
import { IngressInfo } from "./livekit_ingress_pb.js";
|
|
24
|
+
import { Job } from "./livekit_agent_pb.js";
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* @generated from message livekit.WebhookEvent
|
|
@@ -34,9 +35,11 @@ export const WebhookEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
34
35
|
{ no: 9, name: "egress_info", kind: "message", T: EgressInfo },
|
|
35
36
|
{ no: 10, name: "ingress_info", kind: "message", T: IngressInfo },
|
|
36
37
|
{ no: 8, name: "track", kind: "message", T: TrackInfo },
|
|
38
|
+
{ no: 12, name: "job", kind: "message", T: Job },
|
|
37
39
|
{ no: 6, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
38
40
|
{ no: 7, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
39
41
|
{ no: 11, name: "num_dropped", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
42
|
+
{ no: 13, name: "room_end_reason", kind: "enum", T: proto3.getEnumType(RoomEndReason) },
|
|
40
43
|
],
|
|
41
44
|
);
|
|
42
45
|
|
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.51.0';
|