@livekit/protocol 1.37.1 → 1.39.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 +136 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +230 -2
- package/dist/index.d.mts +230 -2
- package/dist/index.d.ts +230 -2
- package/dist/index.mjs +132 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/livekit_agent_pb.d.ts +7 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_analytics_pb.d.ts +16 -1
- package/src/gen/livekit_analytics_pb.js +4 -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_rtc_pb.d.ts +58 -1
- package/src/gen/livekit_rtc_pb.js +15 -0
- package/src/gen/livekit_sip_pb.d.ts +98 -0
- package/src/gen/livekit_sip_pb.js +32 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/protocol",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"require": "dist/index.cjs",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@bufbuild/protoc-gen-es": "^1.10.0",
|
|
30
30
|
"genversion": "^3.2.0",
|
|
31
|
-
"typescript": "5.
|
|
31
|
+
"typescript": "5.8.3",
|
|
32
32
|
"unbuild": "^2.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
@@ -577,6 +577,11 @@ export declare class AvailabilityResponse extends Message<AvailabilityResponse>
|
|
|
577
577
|
*/
|
|
578
578
|
supportsResume: boolean;
|
|
579
579
|
|
|
580
|
+
/**
|
|
581
|
+
* @generated from field: bool terminate = 8;
|
|
582
|
+
*/
|
|
583
|
+
terminate: boolean;
|
|
584
|
+
|
|
580
585
|
/**
|
|
581
586
|
* @generated from field: string participant_name = 4;
|
|
582
587
|
*/
|
|
@@ -593,6 +598,8 @@ export declare class AvailabilityResponse extends Message<AvailabilityResponse>
|
|
|
593
598
|
participantMetadata: string;
|
|
594
599
|
|
|
595
600
|
/**
|
|
601
|
+
* NEXT_ID: 9
|
|
602
|
+
*
|
|
596
603
|
* @generated from field: map<string, string> participant_attributes = 7;
|
|
597
604
|
*/
|
|
598
605
|
participantAttributes: { [key: string]: string };
|
|
@@ -212,6 +212,7 @@ export const AvailabilityResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
212
212
|
{ no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
213
213
|
{ no: 2, name: "available", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
214
214
|
{ no: 3, name: "supports_resume", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
215
|
+
{ no: 8, name: "terminate", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
215
216
|
{ no: 4, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
216
217
|
{ no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
217
218
|
{ no: 6, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -22,7 +22,7 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
22
22
|
import type { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } 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 { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js";
|
|
25
|
+
import type { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo, SIPTransferInfo } from "./livekit_sip_pb.js";
|
|
26
26
|
import type { CreateRoomRequest, DeleteRoomRequest, ListParticipantsRequest, ListRoomsRequest, MuteRoomTrackRequest, RoomParticipantIdentity, SendDataRequest, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSubscriptionsRequest } from "./livekit_room_pb.js";
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -234,6 +234,16 @@ export declare enum AnalyticsEventType {
|
|
|
234
234
|
*/
|
|
235
235
|
SIP_CALL_ENDED = 39,
|
|
236
236
|
|
|
237
|
+
/**
|
|
238
|
+
* @generated from enum value: SIP_TRANSFER_REQUESTED = 43;
|
|
239
|
+
*/
|
|
240
|
+
SIP_TRANSFER_REQUESTED = 43,
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from enum value: SIP_TRANSFER_COMPLETE = 44;
|
|
244
|
+
*/
|
|
245
|
+
SIP_TRANSFER_COMPLETE = 44,
|
|
246
|
+
|
|
237
247
|
/**
|
|
238
248
|
* @generated from enum value: REPORT = 40;
|
|
239
249
|
*/
|
|
@@ -737,6 +747,11 @@ export declare class AnalyticsEvent extends Message<AnalyticsEvent> {
|
|
|
737
747
|
*/
|
|
738
748
|
sipDispatchRule?: SIPDispatchRuleInfo;
|
|
739
749
|
|
|
750
|
+
/**
|
|
751
|
+
* @generated from field: livekit.SIPTransferInfo sip_transfer = 36;
|
|
752
|
+
*/
|
|
753
|
+
sipTransfer?: SIPTransferInfo;
|
|
754
|
+
|
|
740
755
|
/**
|
|
741
756
|
* @generated from field: livekit.ReportInfo report = 33;
|
|
742
757
|
*/
|
|
@@ -21,7 +21,7 @@ import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
|
21
21
|
import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } 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 { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js";
|
|
24
|
+
import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo, SIPTransferInfo } from "./livekit_sip_pb.js";
|
|
25
25
|
import { CreateRoomRequest, DeleteRoomRequest, ListParticipantsRequest, ListRoomsRequest, MuteRoomTrackRequest, RoomParticipantIdentity, SendDataRequest, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSubscriptionsRequest } from "./livekit_room_pb.js";
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -79,6 +79,8 @@ export const AnalyticsEventType = /*@__PURE__*/ proto3.makeEnum(
|
|
|
79
79
|
{no: 37, name: "SIP_CALL_INCOMING"},
|
|
80
80
|
{no: 38, name: "SIP_CALL_STARTED"},
|
|
81
81
|
{no: 39, name: "SIP_CALL_ENDED"},
|
|
82
|
+
{no: 43, name: "SIP_TRANSFER_REQUESTED"},
|
|
83
|
+
{no: 44, name: "SIP_TRANSFER_COMPLETE"},
|
|
82
84
|
{no: 40, name: "REPORT"},
|
|
83
85
|
{no: 41, name: "API_CALL"},
|
|
84
86
|
{no: 42, name: "WEBHOOK"},
|
|
@@ -212,6 +214,7 @@ export const AnalyticsEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
212
214
|
{ no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo },
|
|
213
215
|
{ no: 31, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
214
216
|
{ no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
|
|
217
|
+
{ no: 36, name: "sip_transfer", kind: "message", T: SIPTransferInfo },
|
|
215
218
|
{ no: 33, name: "report", kind: "message", T: ReportInfo },
|
|
216
219
|
{ no: 34, name: "api_call", kind: "message", T: APICallInfo },
|
|
217
220
|
{ no: 35, name: "webhook", kind: "message", T: WebhookInfo },
|
|
@@ -341,6 +341,13 @@ export declare enum DisconnectReason {
|
|
|
341
341
|
* @generated from enum value: CONNECTION_TIMEOUT = 14;
|
|
342
342
|
*/
|
|
343
343
|
CONNECTION_TIMEOUT = 14,
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* media stream failure or media timeout
|
|
347
|
+
*
|
|
348
|
+
* @generated from enum value: MEDIA_FAILURE = 15;
|
|
349
|
+
*/
|
|
350
|
+
MEDIA_FAILURE = 15,
|
|
344
351
|
}
|
|
345
352
|
|
|
346
353
|
/**
|
|
@@ -838,3 +838,62 @@ export declare class ForwardParticipantResponse extends Message<ForwardParticipa
|
|
|
838
838
|
static equals(a: ForwardParticipantResponse | PlainMessage<ForwardParticipantResponse> | undefined, b: ForwardParticipantResponse | PlainMessage<ForwardParticipantResponse> | undefined): boolean;
|
|
839
839
|
}
|
|
840
840
|
|
|
841
|
+
/**
|
|
842
|
+
* @generated from message livekit.MoveParticipantRequest
|
|
843
|
+
*/
|
|
844
|
+
export declare class MoveParticipantRequest extends Message<MoveParticipantRequest> {
|
|
845
|
+
/**
|
|
846
|
+
* room to move participant from
|
|
847
|
+
*
|
|
848
|
+
* @generated from field: string room = 1;
|
|
849
|
+
*/
|
|
850
|
+
room: string;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* identity of the participant to move to
|
|
854
|
+
*
|
|
855
|
+
* @generated from field: string identity = 2;
|
|
856
|
+
*/
|
|
857
|
+
identity: string;
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* room to move participant to
|
|
861
|
+
*
|
|
862
|
+
* @generated from field: string destination_room = 3;
|
|
863
|
+
*/
|
|
864
|
+
destinationRoom: string;
|
|
865
|
+
|
|
866
|
+
constructor(data?: PartialMessage<MoveParticipantRequest>);
|
|
867
|
+
|
|
868
|
+
static readonly runtime: typeof proto3;
|
|
869
|
+
static readonly typeName = "livekit.MoveParticipantRequest";
|
|
870
|
+
static readonly fields: FieldList;
|
|
871
|
+
|
|
872
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveParticipantRequest;
|
|
873
|
+
|
|
874
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveParticipantRequest;
|
|
875
|
+
|
|
876
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveParticipantRequest;
|
|
877
|
+
|
|
878
|
+
static equals(a: MoveParticipantRequest | PlainMessage<MoveParticipantRequest> | undefined, b: MoveParticipantRequest | PlainMessage<MoveParticipantRequest> | undefined): boolean;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* @generated from message livekit.MoveParticipantResponse
|
|
883
|
+
*/
|
|
884
|
+
export declare class MoveParticipantResponse extends Message<MoveParticipantResponse> {
|
|
885
|
+
constructor(data?: PartialMessage<MoveParticipantResponse>);
|
|
886
|
+
|
|
887
|
+
static readonly runtime: typeof proto3;
|
|
888
|
+
static readonly typeName = "livekit.MoveParticipantResponse";
|
|
889
|
+
static readonly fields: FieldList;
|
|
890
|
+
|
|
891
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveParticipantResponse;
|
|
892
|
+
|
|
893
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveParticipantResponse;
|
|
894
|
+
|
|
895
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveParticipantResponse;
|
|
896
|
+
|
|
897
|
+
static equals(a: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined, b: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined): boolean;
|
|
898
|
+
}
|
|
899
|
+
|
|
@@ -278,3 +278,23 @@ export const ForwardParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
278
278
|
[],
|
|
279
279
|
);
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* @generated from message livekit.MoveParticipantRequest
|
|
283
|
+
*/
|
|
284
|
+
export const MoveParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
285
|
+
"livekit.MoveParticipantRequest",
|
|
286
|
+
() => [
|
|
287
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
288
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
289
|
+
{ no: 3, name: "destination_room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
290
|
+
],
|
|
291
|
+
);
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @generated from message livekit.MoveParticipantResponse
|
|
295
|
+
*/
|
|
296
|
+
export const MoveParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
297
|
+
"livekit.MoveParticipantResponse",
|
|
298
|
+
[],
|
|
299
|
+
);
|
|
300
|
+
|
|
@@ -415,6 +415,14 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
415
415
|
*/
|
|
416
416
|
value: TrackSubscribed;
|
|
417
417
|
case: "trackSubscribed";
|
|
418
|
+
} | {
|
|
419
|
+
/**
|
|
420
|
+
* notify to the participant when they have been moved to a new room
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: livekit.RoomMovedResponse room_moved = 24;
|
|
423
|
+
*/
|
|
424
|
+
value: RoomMovedResponse;
|
|
425
|
+
case: "roomMoved";
|
|
418
426
|
} | { case: undefined; value?: undefined };
|
|
419
427
|
|
|
420
428
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -770,6 +778,11 @@ export declare class ReconnectResponse extends Message<ReconnectResponse> {
|
|
|
770
778
|
*/
|
|
771
779
|
clientConfiguration?: ClientConfiguration;
|
|
772
780
|
|
|
781
|
+
/**
|
|
782
|
+
* @generated from field: livekit.ServerInfo server_info = 3;
|
|
783
|
+
*/
|
|
784
|
+
serverInfo?: ServerInfo;
|
|
785
|
+
|
|
773
786
|
constructor(data?: PartialMessage<ReconnectResponse>);
|
|
774
787
|
|
|
775
788
|
static readonly runtime: typeof proto3;
|
|
@@ -1471,7 +1484,8 @@ export declare class SubscribedQualityUpdate extends Message<SubscribedQualityUp
|
|
|
1471
1484
|
trackSid: string;
|
|
1472
1485
|
|
|
1473
1486
|
/**
|
|
1474
|
-
* @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2;
|
|
1487
|
+
* @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2 [deprecated = true];
|
|
1488
|
+
* @deprecated
|
|
1475
1489
|
*/
|
|
1476
1490
|
subscribedQualities: SubscribedQuality[];
|
|
1477
1491
|
|
|
@@ -1599,6 +1613,49 @@ export declare class SubscriptionPermissionUpdate extends Message<SubscriptionPe
|
|
|
1599
1613
|
static equals(a: SubscriptionPermissionUpdate | PlainMessage<SubscriptionPermissionUpdate> | undefined, b: SubscriptionPermissionUpdate | PlainMessage<SubscriptionPermissionUpdate> | undefined): boolean;
|
|
1600
1614
|
}
|
|
1601
1615
|
|
|
1616
|
+
/**
|
|
1617
|
+
* @generated from message livekit.RoomMovedResponse
|
|
1618
|
+
*/
|
|
1619
|
+
export declare class RoomMovedResponse extends Message<RoomMovedResponse> {
|
|
1620
|
+
/**
|
|
1621
|
+
* information about the new room
|
|
1622
|
+
*
|
|
1623
|
+
* @generated from field: livekit.Room room = 1;
|
|
1624
|
+
*/
|
|
1625
|
+
room?: Room;
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* new reconnect token that can be used to reconnect to the new room
|
|
1629
|
+
*
|
|
1630
|
+
* @generated from field: string token = 2;
|
|
1631
|
+
*/
|
|
1632
|
+
token: string;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* @generated from field: livekit.ParticipantInfo participant = 3;
|
|
1636
|
+
*/
|
|
1637
|
+
participant?: ParticipantInfo;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* @generated from field: repeated livekit.ParticipantInfo other_participants = 4;
|
|
1641
|
+
*/
|
|
1642
|
+
otherParticipants: ParticipantInfo[];
|
|
1643
|
+
|
|
1644
|
+
constructor(data?: PartialMessage<RoomMovedResponse>);
|
|
1645
|
+
|
|
1646
|
+
static readonly runtime: typeof proto3;
|
|
1647
|
+
static readonly typeName = "livekit.RoomMovedResponse";
|
|
1648
|
+
static readonly fields: FieldList;
|
|
1649
|
+
|
|
1650
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomMovedResponse;
|
|
1651
|
+
|
|
1652
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomMovedResponse;
|
|
1653
|
+
|
|
1654
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomMovedResponse;
|
|
1655
|
+
|
|
1656
|
+
static equals(a: RoomMovedResponse | PlainMessage<RoomMovedResponse> | undefined, b: RoomMovedResponse | PlainMessage<RoomMovedResponse> | undefined): boolean;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1602
1659
|
/**
|
|
1603
1660
|
* @generated from message livekit.SyncState
|
|
1604
1661
|
*/
|
|
@@ -108,6 +108,7 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
108
108
|
{ no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
109
109
|
{ no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
|
|
110
110
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
111
|
+
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
111
112
|
],
|
|
112
113
|
);
|
|
113
114
|
|
|
@@ -203,6 +204,7 @@ export const ReconnectResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
203
204
|
() => [
|
|
204
205
|
{ no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true },
|
|
205
206
|
{ no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration },
|
|
207
|
+
{ no: 3, name: "server_info", kind: "message", T: ServerInfo },
|
|
206
208
|
],
|
|
207
209
|
);
|
|
208
210
|
|
|
@@ -499,6 +501,19 @@ export const SubscriptionPermissionUpdate = /*@__PURE__*/ proto3.makeMessageType
|
|
|
499
501
|
],
|
|
500
502
|
);
|
|
501
503
|
|
|
504
|
+
/**
|
|
505
|
+
* @generated from message livekit.RoomMovedResponse
|
|
506
|
+
*/
|
|
507
|
+
export const RoomMovedResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
508
|
+
"livekit.RoomMovedResponse",
|
|
509
|
+
() => [
|
|
510
|
+
{ no: 1, name: "room", kind: "message", T: Room },
|
|
511
|
+
{ no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
512
|
+
{ no: 3, name: "participant", kind: "message", T: ParticipantInfo },
|
|
513
|
+
{ no: 4, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true },
|
|
514
|
+
],
|
|
515
|
+
);
|
|
516
|
+
|
|
502
517
|
/**
|
|
503
518
|
* @generated from message livekit.SyncState
|
|
504
519
|
*/
|
|
@@ -389,6 +389,26 @@ export declare enum SIPCallStatus {
|
|
|
389
389
|
SCS_ERROR = 4,
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
+
/**
|
|
393
|
+
* @generated from enum livekit.SIPTransferStatus
|
|
394
|
+
*/
|
|
395
|
+
export declare enum SIPTransferStatus {
|
|
396
|
+
/**
|
|
397
|
+
* @generated from enum value: STS_TRANSFER_ONGOING = 0;
|
|
398
|
+
*/
|
|
399
|
+
STS_TRANSFER_ONGOING = 0,
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @generated from enum value: STS_TRANSFER_FAILED = 1;
|
|
403
|
+
*/
|
|
404
|
+
STS_TRANSFER_FAILED = 1,
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @generated from enum value: STS_TRANSFER_SUCCESSFUL = 2;
|
|
408
|
+
*/
|
|
409
|
+
STS_TRANSFER_SUCCESSFUL = 2,
|
|
410
|
+
}
|
|
411
|
+
|
|
392
412
|
/**
|
|
393
413
|
* @generated from enum livekit.SIPFeature
|
|
394
414
|
*/
|
|
@@ -1037,6 +1057,13 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
|
|
|
1037
1057
|
*/
|
|
1038
1058
|
address: string;
|
|
1039
1059
|
|
|
1060
|
+
/**
|
|
1061
|
+
* country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
|
|
1062
|
+
*
|
|
1063
|
+
* @generated from field: string destination_country = 14;
|
|
1064
|
+
*/
|
|
1065
|
+
destinationCountry: string;
|
|
1066
|
+
|
|
1040
1067
|
/**
|
|
1041
1068
|
* SIP Transport used for outbound call.
|
|
1042
1069
|
*
|
|
@@ -1134,6 +1161,11 @@ export declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpda
|
|
|
1134
1161
|
*/
|
|
1135
1162
|
transport?: SIPTransport;
|
|
1136
1163
|
|
|
1164
|
+
/**
|
|
1165
|
+
* @generated from field: optional string destination_country = 9;
|
|
1166
|
+
*/
|
|
1167
|
+
destinationCountry?: string;
|
|
1168
|
+
|
|
1137
1169
|
/**
|
|
1138
1170
|
* @generated from field: livekit.ListUpdate numbers = 3;
|
|
1139
1171
|
*/
|
|
@@ -2020,6 +2052,13 @@ export declare class SIPOutboundConfig extends Message<SIPOutboundConfig> {
|
|
|
2020
2052
|
*/
|
|
2021
2053
|
hostname: string;
|
|
2022
2054
|
|
|
2055
|
+
/**
|
|
2056
|
+
* country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
|
|
2057
|
+
*
|
|
2058
|
+
* @generated from field: string destination_country = 7;
|
|
2059
|
+
*/
|
|
2060
|
+
destinationCountry: string;
|
|
2061
|
+
|
|
2023
2062
|
/**
|
|
2024
2063
|
* SIP Transport used for outbound call.
|
|
2025
2064
|
*
|
|
@@ -2475,6 +2514,65 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2475
2514
|
static equals(a: SIPCallInfo | PlainMessage<SIPCallInfo> | undefined, b: SIPCallInfo | PlainMessage<SIPCallInfo> | undefined): boolean;
|
|
2476
2515
|
}
|
|
2477
2516
|
|
|
2517
|
+
/**
|
|
2518
|
+
* @generated from message livekit.SIPTransferInfo
|
|
2519
|
+
*/
|
|
2520
|
+
export declare class SIPTransferInfo extends Message<SIPTransferInfo> {
|
|
2521
|
+
/**
|
|
2522
|
+
* @generated from field: string transfer_id = 1;
|
|
2523
|
+
*/
|
|
2524
|
+
transferId: string;
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* @generated from field: string call_id = 2;
|
|
2528
|
+
*/
|
|
2529
|
+
callId: string;
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* @generated from field: string transfer_to = 3;
|
|
2533
|
+
*/
|
|
2534
|
+
transferTo: string;
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* @generated from field: int64 transfer_initiated_at_ns = 4;
|
|
2538
|
+
*/
|
|
2539
|
+
transferInitiatedAtNs: bigint;
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* @generated from field: int64 transfer_completed_at_ns = 5;
|
|
2543
|
+
*/
|
|
2544
|
+
transferCompletedAtNs: bigint;
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* @generated from field: livekit.SIPTransferStatus transfer_status = 6;
|
|
2548
|
+
*/
|
|
2549
|
+
transferStatus: SIPTransferStatus;
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* @generated from field: string error = 7;
|
|
2553
|
+
*/
|
|
2554
|
+
error: string;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* @generated from field: livekit.SIPStatus transfer_status_code = 8;
|
|
2558
|
+
*/
|
|
2559
|
+
transferStatusCode?: SIPStatus;
|
|
2560
|
+
|
|
2561
|
+
constructor(data?: PartialMessage<SIPTransferInfo>);
|
|
2562
|
+
|
|
2563
|
+
static readonly runtime: typeof proto3;
|
|
2564
|
+
static readonly typeName = "livekit.SIPTransferInfo";
|
|
2565
|
+
static readonly fields: FieldList;
|
|
2566
|
+
|
|
2567
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPTransferInfo;
|
|
2568
|
+
|
|
2569
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPTransferInfo;
|
|
2570
|
+
|
|
2571
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPTransferInfo;
|
|
2572
|
+
|
|
2573
|
+
static equals(a: SIPTransferInfo | PlainMessage<SIPTransferInfo> | undefined, b: SIPTransferInfo | PlainMessage<SIPTransferInfo> | undefined): boolean;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2478
2576
|
/**
|
|
2479
2577
|
* @generated from message livekit.SIPUri
|
|
2480
2578
|
*/
|
|
@@ -130,6 +130,18 @@ export const SIPCallStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
|
130
130
|
],
|
|
131
131
|
);
|
|
132
132
|
|
|
133
|
+
/**
|
|
134
|
+
* @generated from enum livekit.SIPTransferStatus
|
|
135
|
+
*/
|
|
136
|
+
export const SIPTransferStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
137
|
+
"livekit.SIPTransferStatus",
|
|
138
|
+
[
|
|
139
|
+
{no: 0, name: "STS_TRANSFER_ONGOING"},
|
|
140
|
+
{no: 1, name: "STS_TRANSFER_FAILED"},
|
|
141
|
+
{no: 2, name: "STS_TRANSFER_SUCCESSFUL"},
|
|
142
|
+
],
|
|
143
|
+
);
|
|
144
|
+
|
|
133
145
|
/**
|
|
134
146
|
* @generated from enum livekit.SIPFeature
|
|
135
147
|
*/
|
|
@@ -319,6 +331,7 @@ export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
319
331
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
320
332
|
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
321
333
|
{ no: 4, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
334
|
+
{ no: 14, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
322
335
|
{ no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
323
336
|
{ no: 6, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
324
337
|
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -339,6 +352,7 @@ export const SIPOutboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
339
352
|
() => [
|
|
340
353
|
{ no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
341
354
|
{ no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport), opt: true },
|
|
355
|
+
{ no: 9, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
342
356
|
{ no: 3, name: "numbers", kind: "message", T: ListUpdate },
|
|
343
357
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
344
358
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
@@ -622,6 +636,7 @@ export const SIPOutboundConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
622
636
|
"livekit.SIPOutboundConfig",
|
|
623
637
|
() => [
|
|
624
638
|
{ no: 1, name: "hostname", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
639
|
+
{ no: 7, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
625
640
|
{ no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
626
641
|
{ no: 3, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
627
642
|
{ no: 4, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -723,6 +738,23 @@ export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
723
738
|
],
|
|
724
739
|
);
|
|
725
740
|
|
|
741
|
+
/**
|
|
742
|
+
* @generated from message livekit.SIPTransferInfo
|
|
743
|
+
*/
|
|
744
|
+
export const SIPTransferInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
745
|
+
"livekit.SIPTransferInfo",
|
|
746
|
+
() => [
|
|
747
|
+
{ no: 1, name: "transfer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
748
|
+
{ no: 2, name: "call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
749
|
+
{ no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
750
|
+
{ no: 4, name: "transfer_initiated_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
751
|
+
{ no: 5, name: "transfer_completed_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
752
|
+
{ no: 6, name: "transfer_status", kind: "enum", T: proto3.getEnumType(SIPTransferStatus) },
|
|
753
|
+
{ no: 7, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
754
|
+
{ no: 8, name: "transfer_status_code", kind: "message", T: SIPStatus },
|
|
755
|
+
],
|
|
756
|
+
);
|
|
757
|
+
|
|
726
758
|
/**
|
|
727
759
|
* @generated from message livekit.SIPUri
|
|
728
760
|
*/
|
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.39.0';
|