@livekit/protocol
Advanced tools
Comparing version 1.17.0 to 1.18.0
{ | ||
"name": "@livekit/protocol", | ||
"version": "1.17.0", | ||
"version": "1.18.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -1034,2 +1034,7 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* @generated from field: string session_token = 11; | ||
*/ | ||
sessionToken: string; | ||
/** | ||
* @generated from field: string region = 3; | ||
@@ -1036,0 +1041,0 @@ */ |
@@ -300,2 +300,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 11, name: "session_token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
@@ -302,0 +303,0 @@ { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
@@ -536,4 +536,6 @@ // Copyright 2023 LiveKit, Inc. | ||
* indicates it's a recorder instance | ||
* deprecated: use ParticipantInfo.kind instead | ||
* | ||
* @generated from field: bool recorder = 8; | ||
* @generated from field: bool recorder = 8 [deprecated = true]; | ||
* @deprecated | ||
*/ | ||
@@ -543,3 +545,3 @@ recorder: boolean; | ||
/** | ||
* indicates that participant can update own metadata | ||
* indicates that participant can update own metadata and attributes | ||
* | ||
@@ -552,4 +554,6 @@ * @generated from field: bool can_update_metadata = 10; | ||
* indicates that participant is an agent | ||
* deprecated: use ParticipantInfo.kind instead | ||
* | ||
* @generated from field: bool agent = 11; | ||
* @generated from field: bool agent = 11 [deprecated = true]; | ||
* @deprecated | ||
*/ | ||
@@ -642,2 +646,7 @@ agent: boolean; | ||
/** | ||
* @generated from field: map<string, string> attributes = 15; | ||
*/ | ||
attributes: { [key: string]: string }; | ||
constructor(data?: PartialMessage<ParticipantInfo>); | ||
@@ -644,0 +653,0 @@ |
@@ -263,2 +263,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) }, | ||
{ no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, | ||
], | ||
@@ -265,0 +266,0 @@ ); |
@@ -448,2 +448,10 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* attributes to update. it only updates attributes that have been set | ||
* to delete attributes, set the value to an empty string | ||
* | ||
* @generated from field: map<string, string> attributes = 6; | ||
*/ | ||
attributes: { [key: string]: string }; | ||
constructor(data?: PartialMessage<UpdateParticipantRequest>); | ||
@@ -450,0 +458,0 @@ |
@@ -166,2 +166,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 6, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, | ||
], | ||
@@ -168,0 +169,0 @@ ); |
@@ -186,3 +186,4 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* update a participant's own metadata and/or name | ||
* update a participant's own metadata, name, or attributes | ||
* requires canUpdateOwnParticipantMetadata permission | ||
* | ||
@@ -1131,2 +1132,10 @@ * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15; | ||
/** | ||
* attributes to update. it only updates attributes that have been set | ||
* to delete attributes, set the value to an empty string | ||
* | ||
* @generated from field: map<string, string> attributes = 3; | ||
*/ | ||
attributes: { [key: string]: string }; | ||
constructor(data?: PartialMessage<UpdateParticipantMetadata>); | ||
@@ -1133,0 +1142,0 @@ |
@@ -344,2 +344,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, | ||
], | ||
@@ -346,0 +347,0 @@ ); |
@@ -50,2 +50,3 @@ // Copyright 2023 LiveKit, Inc. | ||
* @generated from message livekit.CreateSIPTrunkRequest | ||
* @deprecated | ||
*/ | ||
@@ -144,2 +145,3 @@ export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest> { | ||
* @generated from message livekit.SIPTrunkInfo | ||
* @deprecated | ||
*/ | ||
@@ -153,2 +155,7 @@ export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> { | ||
/** | ||
* @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; | ||
*/ | ||
kind: SIPTrunkInfo_TrunkKind; | ||
/** | ||
* CIDR or IPs that traffic is accepted from | ||
@@ -250,3 +257,224 @@ * An empty list means all inbound traffic is accepted. | ||
/** | ||
* @generated from enum livekit.SIPTrunkInfo.TrunkKind | ||
*/ | ||
export declare enum SIPTrunkInfo_TrunkKind { | ||
/** | ||
* @generated from enum value: TRUNK_LEGACY = 0; | ||
*/ | ||
TRUNK_LEGACY = 0, | ||
/** | ||
* @generated from enum value: TRUNK_INBOUND = 1; | ||
*/ | ||
TRUNK_INBOUND = 1, | ||
/** | ||
* @generated from enum value: TRUNK_OUTBOUND = 2; | ||
*/ | ||
TRUNK_OUTBOUND = 2, | ||
} | ||
/** | ||
* @generated from message livekit.CreateSIPInboundTrunkRequest | ||
*/ | ||
export declare class CreateSIPInboundTrunkRequest extends Message<CreateSIPInboundTrunkRequest> { | ||
/** | ||
* Trunk ID is ignored | ||
* | ||
* @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; | ||
*/ | ||
trunk?: SIPInboundTrunkInfo; | ||
constructor(data?: PartialMessage<CreateSIPInboundTrunkRequest>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.CreateSIPInboundTrunkRequest"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPInboundTrunkRequest; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPInboundTrunkRequest; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPInboundTrunkRequest; | ||
static equals(a: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.SIPInboundTrunkInfo | ||
*/ | ||
export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> { | ||
/** | ||
* @generated from field: string sip_trunk_id = 1; | ||
*/ | ||
sipTrunkId: string; | ||
/** | ||
* Human-readable name for the Trunk. | ||
* | ||
* @generated from field: string name = 2; | ||
*/ | ||
name: string; | ||
/** | ||
* User-defined metadata for the Trunk. | ||
* | ||
* @generated from field: string metadata = 3; | ||
*/ | ||
metadata: string; | ||
/** | ||
* Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. | ||
* Creating multiple Trunks with different phone numbers allows having different rules for a single provider. | ||
* | ||
* @generated from field: repeated string numbers = 4; | ||
*/ | ||
numbers: string[]; | ||
/** | ||
* CIDR or IPs that traffic is accepted from. | ||
* An empty list means all inbound traffic is accepted. | ||
* | ||
* @generated from field: repeated string allowed_addresses = 5; | ||
*/ | ||
allowedAddresses: string[]; | ||
/** | ||
* Numbers that are allowed to make calls to this Trunk. | ||
* An empty list means calls from any phone number is accepted. | ||
* | ||
* @generated from field: repeated string allowed_numbers = 6; | ||
*/ | ||
allowedNumbers: string[]; | ||
/** | ||
* Username and password used to authenticate inbound SIP invites. | ||
* May be empty to have no authentication. | ||
* | ||
* @generated from field: string auth_username = 7; | ||
*/ | ||
authUsername: string; | ||
/** | ||
* @generated from field: string auth_password = 8; | ||
*/ | ||
authPassword: string; | ||
constructor(data?: PartialMessage<SIPInboundTrunkInfo>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.SIPInboundTrunkInfo"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPInboundTrunkInfo; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPInboundTrunkInfo; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPInboundTrunkInfo; | ||
static equals(a: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined, b: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.CreateSIPOutboundTrunkRequest | ||
*/ | ||
export declare class CreateSIPOutboundTrunkRequest extends Message<CreateSIPOutboundTrunkRequest> { | ||
/** | ||
* Trunk ID is ignored | ||
* | ||
* @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; | ||
*/ | ||
trunk?: SIPOutboundTrunkInfo; | ||
constructor(data?: PartialMessage<CreateSIPOutboundTrunkRequest>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPOutboundTrunkRequest; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPOutboundTrunkRequest; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPOutboundTrunkRequest; | ||
static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.SIPOutboundTrunkInfo | ||
*/ | ||
export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo> { | ||
/** | ||
* @generated from field: string sip_trunk_id = 1; | ||
*/ | ||
sipTrunkId: string; | ||
/** | ||
* Human-readable name for the Trunk. | ||
* | ||
* @generated from field: string name = 2; | ||
*/ | ||
name: string; | ||
/** | ||
* User-defined metadata for the Trunk. | ||
* | ||
* @generated from field: string metadata = 3; | ||
*/ | ||
metadata: string; | ||
/** | ||
* Hostname or IP that SIP INVITE is sent too. | ||
* Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. | ||
* | ||
* @generated from field: string address = 4; | ||
*/ | ||
address: string; | ||
/** | ||
* SIP Transport used for outbound call. | ||
* | ||
* @generated from field: livekit.SIPTransport transport = 5; | ||
*/ | ||
transport: SIPTransport; | ||
/** | ||
* Numbers used to make the calls. Random one from this list will be selected. | ||
* | ||
* @generated from field: repeated string numbers = 6; | ||
*/ | ||
numbers: string[]; | ||
/** | ||
* Username and password used to authenticate with SIP server. | ||
* May be empty to have no authentication. | ||
* | ||
* @generated from field: string auth_username = 7; | ||
*/ | ||
authUsername: string; | ||
/** | ||
* @generated from field: string auth_password = 8; | ||
*/ | ||
authPassword: string; | ||
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.SIPOutboundTrunkInfo"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundTrunkInfo; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundTrunkInfo; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundTrunkInfo; | ||
static equals(a: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined, b: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.ListSIPTrunkRequest | ||
* @deprecated | ||
*/ | ||
@@ -271,2 +499,3 @@ export declare class ListSIPTrunkRequest extends Message<ListSIPTrunkRequest> { | ||
* @generated from message livekit.ListSIPTrunkResponse | ||
* @deprecated | ||
*/ | ||
@@ -295,2 +524,88 @@ export declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse> { | ||
/** | ||
* @generated from message livekit.ListSIPInboundTrunkRequest | ||
*/ | ||
export declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> { | ||
constructor(data?: PartialMessage<ListSIPInboundTrunkRequest>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.ListSIPInboundTrunkRequest"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPInboundTrunkRequest; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkRequest; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkRequest; | ||
static equals(a: ListSIPInboundTrunkRequest | PlainMessage<ListSIPInboundTrunkRequest> | undefined, b: ListSIPInboundTrunkRequest | PlainMessage<ListSIPInboundTrunkRequest> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.ListSIPInboundTrunkResponse | ||
*/ | ||
export declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundTrunkResponse> { | ||
/** | ||
* @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; | ||
*/ | ||
items: SIPInboundTrunkInfo[]; | ||
constructor(data?: PartialMessage<ListSIPInboundTrunkResponse>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.ListSIPInboundTrunkResponse"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPInboundTrunkResponse; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkResponse; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkResponse; | ||
static equals(a: ListSIPInboundTrunkResponse | PlainMessage<ListSIPInboundTrunkResponse> | undefined, b: ListSIPInboundTrunkResponse | PlainMessage<ListSIPInboundTrunkResponse> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.ListSIPOutboundTrunkRequest | ||
*/ | ||
export declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> { | ||
constructor(data?: PartialMessage<ListSIPOutboundTrunkRequest>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.ListSIPOutboundTrunkRequest"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPOutboundTrunkRequest; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkRequest; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkRequest; | ||
static equals(a: ListSIPOutboundTrunkRequest | PlainMessage<ListSIPOutboundTrunkRequest> | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage<ListSIPOutboundTrunkRequest> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.ListSIPOutboundTrunkResponse | ||
*/ | ||
export declare class ListSIPOutboundTrunkResponse extends Message<ListSIPOutboundTrunkResponse> { | ||
/** | ||
* @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; | ||
*/ | ||
items: SIPOutboundTrunkInfo[]; | ||
constructor(data?: PartialMessage<ListSIPOutboundTrunkResponse>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.ListSIPOutboundTrunkResponse"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPOutboundTrunkResponse; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkResponse; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkResponse; | ||
static equals(a: ListSIPOutboundTrunkResponse | PlainMessage<ListSIPOutboundTrunkResponse> | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage<ListSIPOutboundTrunkResponse> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.DeleteSIPTrunkRequest | ||
@@ -445,4 +760,4 @@ */ | ||
/** | ||
* By default the From value (Phone number) is used as the participant identity | ||
* If true a random value will be used instead | ||
* By default the From value (Phone number) is used for participant name/identity and added to attributes. | ||
* If true, a random value for identity will be used and numbers will be omitted from attributes. | ||
* | ||
@@ -468,3 +783,4 @@ * @generated from field: bool hide_phone_number = 3; | ||
/** | ||
* Optional user-defined metadata for the Dispatch Rule. | ||
* User-defined metadata for the Dispatch Rule. | ||
* Participants created by this rule will inherit this metadata. | ||
* | ||
@@ -475,2 +791,10 @@ * @generated from field: string metadata = 5; | ||
/** | ||
* User-defined attributes for the Dispatch Rule. | ||
* Participants created by this rule will inherit these attributes. | ||
* | ||
* @generated from field: map<string, string> attributes = 7; | ||
*/ | ||
attributes: { [key: string]: string }; | ||
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>); | ||
@@ -537,2 +861,10 @@ | ||
/** | ||
* User-defined attributes for the Dispatch Rule. | ||
* Participants created by this rule will inherit these attributes. | ||
* | ||
* @generated from field: map<string, string> attributes = 8; | ||
*/ | ||
attributes: { [key: string]: string }; | ||
constructor(data?: PartialMessage<SIPDispatchRuleInfo>); | ||
@@ -670,2 +1002,9 @@ | ||
/** | ||
* Optional user-defined attributes. Will be attached to a created Participant in the room. | ||
* | ||
* @generated from field: map<string, string> participant_attributes = 9; | ||
*/ | ||
participantAttributes: { [key: string]: string }; | ||
/** | ||
* Optionally send following DTMF digits (extension codes) when making a call. | ||
@@ -685,2 +1024,10 @@ * Character 'w' can be used to add a 0.5 sec delay. | ||
/** | ||
* By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. | ||
* If true, a random value for identity will be used and numbers will be omitted from attributes. | ||
* | ||
* @generated from field: bool hide_phone_number = 10; | ||
*/ | ||
hidePhoneNumber: boolean; | ||
constructor(data?: PartialMessage<CreateSIPParticipantRequest>); | ||
@@ -687,0 +1034,0 @@ |
@@ -37,2 +37,3 @@ // Copyright 2023 LiveKit, Inc. | ||
* @generated from message livekit.CreateSIPTrunkRequest | ||
* @deprecated | ||
*/ | ||
@@ -58,2 +59,3 @@ export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( | ||
* @generated from message livekit.SIPTrunkInfo | ||
* @deprecated | ||
*/ | ||
@@ -64,2 +66,3 @@ export const SIPTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( | ||
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) }, | ||
{ no: 2, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
@@ -81,3 +84,70 @@ { no: 3, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
/** | ||
* @generated from enum livekit.SIPTrunkInfo.TrunkKind | ||
*/ | ||
export const SIPTrunkInfo_TrunkKind = /*@__PURE__*/ proto3.makeEnum( | ||
"livekit.SIPTrunkInfo.TrunkKind", | ||
[ | ||
{no: 0, name: "TRUNK_LEGACY"}, | ||
{no: 1, name: "TRUNK_INBOUND"}, | ||
{no: 2, name: "TRUNK_OUTBOUND"}, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.CreateSIPInboundTrunkRequest | ||
*/ | ||
export const CreateSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.CreateSIPInboundTrunkRequest", | ||
() => [ | ||
{ no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.SIPInboundTrunkInfo | ||
*/ | ||
export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.SIPInboundTrunkInfo", | ||
() => [ | ||
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 4, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
{ no: 5, name: "allowed_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
{ no: 6, name: "allowed_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.CreateSIPOutboundTrunkRequest | ||
*/ | ||
export const CreateSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.CreateSIPOutboundTrunkRequest", | ||
() => [ | ||
{ no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.SIPOutboundTrunkInfo | ||
*/ | ||
export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.SIPOutboundTrunkInfo", | ||
() => [ | ||
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 4, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, | ||
{ no: 6, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.ListSIPTrunkRequest | ||
* @deprecated | ||
*/ | ||
@@ -91,2 +161,3 @@ export const ListSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( | ||
* @generated from message livekit.ListSIPTrunkResponse | ||
* @deprecated | ||
*/ | ||
@@ -101,2 +172,38 @@ export const ListSIPTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( | ||
/** | ||
* @generated from message livekit.ListSIPInboundTrunkRequest | ||
*/ | ||
export const ListSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.ListSIPInboundTrunkRequest", | ||
[], | ||
); | ||
/** | ||
* @generated from message livekit.ListSIPInboundTrunkResponse | ||
*/ | ||
export const ListSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.ListSIPInboundTrunkResponse", | ||
() => [ | ||
{ no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.ListSIPOutboundTrunkRequest | ||
*/ | ||
export const ListSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.ListSIPOutboundTrunkRequest", | ||
[], | ||
); | ||
/** | ||
* @generated from message livekit.ListSIPOutboundTrunkResponse | ||
*/ | ||
export const ListSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.ListSIPOutboundTrunkResponse", | ||
() => [ | ||
{ no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.DeleteSIPTrunkRequest | ||
@@ -156,2 +263,3 @@ */ | ||
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 7, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, | ||
], | ||
@@ -173,2 +281,3 @@ ); | ||
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, | ||
], | ||
@@ -220,4 +329,6 @@ ); | ||
{ no: 8, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 9, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, | ||
{ no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
], | ||
@@ -224,0 +335,0 @@ ); |
// Generated by genversion. | ||
export const version = '1.17.0'; | ||
export const version = '1.18.0'; |
393962
10233