// Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js" // @generated from file livekit_sip.proto (package livekit, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { Any, BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js"; import type { RoomConfiguration } from "./livekit_room_pb.js"; /** * @generated from enum livekit.SIPStatusCode */ export declare enum SIPStatusCode { /** * @generated from enum value: SIP_STATUS_UNKNOWN = 0; */ SIP_STATUS_UNKNOWN = 0, /** * @generated from enum value: SIP_STATUS_TRYING = 100; */ SIP_STATUS_TRYING = 100, /** * @generated from enum value: SIP_STATUS_RINGING = 180; */ SIP_STATUS_RINGING = 180, /** * @generated from enum value: SIP_STATUS_CALL_IS_FORWARDED = 181; */ SIP_STATUS_CALL_IS_FORWARDED = 181, /** * @generated from enum value: SIP_STATUS_QUEUED = 182; */ SIP_STATUS_QUEUED = 182, /** * @generated from enum value: SIP_STATUS_SESSION_PROGRESS = 183; */ SIP_STATUS_SESSION_PROGRESS = 183, /** * @generated from enum value: SIP_STATUS_EARLY_DIALOG_TERMINATED = 199; */ SIP_STATUS_EARLY_DIALOG_TERMINATED = 199, /** * @generated from enum value: SIP_STATUS_OK = 200; */ SIP_STATUS_OK = 200, /** * @generated from enum value: SIP_STATUS_ACCEPTED = 202; */ SIP_STATUS_ACCEPTED = 202, /** * @generated from enum value: SIP_STATUS_NO_NOTIFICATION = 204; */ SIP_STATUS_NO_NOTIFICATION = 204, /** * @generated from enum value: SIP_STATUS_MULTIPLE_CHOICES = 300; */ SIP_STATUS_MULTIPLE_CHOICES = 300, /** * @generated from enum value: SIP_STATUS_MOVED_PERMANENTLY = 301; */ SIP_STATUS_MOVED_PERMANENTLY = 301, /** * @generated from enum value: SIP_STATUS_MOVED_TEMPORARILY = 302; */ SIP_STATUS_MOVED_TEMPORARILY = 302, /** * @generated from enum value: SIP_STATUS_USE_PROXY = 305; */ SIP_STATUS_USE_PROXY = 305, /** * @generated from enum value: SIP_STATUS_ALTERNATIVE_SERVICE = 380; */ SIP_STATUS_ALTERNATIVE_SERVICE = 380, /** * @generated from enum value: SIP_STATUS_BAD_REQUEST = 400; */ SIP_STATUS_BAD_REQUEST = 400, /** * @generated from enum value: SIP_STATUS_UNAUTHORIZED = 401; */ SIP_STATUS_UNAUTHORIZED = 401, /** * @generated from enum value: SIP_STATUS_PAYMENT_REQUIRED = 402; */ SIP_STATUS_PAYMENT_REQUIRED = 402, /** * @generated from enum value: SIP_STATUS_FORBIDDEN = 403; */ SIP_STATUS_FORBIDDEN = 403, /** * @generated from enum value: SIP_STATUS_NOTFOUND = 404; */ SIP_STATUS_NOTFOUND = 404, /** * @generated from enum value: SIP_STATUS_METHOD_NOT_ALLOWED = 405; */ SIP_STATUS_METHOD_NOT_ALLOWED = 405, /** * @generated from enum value: SIP_STATUS_NOT_ACCEPTABLE = 406; */ SIP_STATUS_NOT_ACCEPTABLE = 406, /** * @generated from enum value: SIP_STATUS_PROXY_AUTH_REQUIRED = 407; */ SIP_STATUS_PROXY_AUTH_REQUIRED = 407, /** * @generated from enum value: SIP_STATUS_REQUEST_TIMEOUT = 408; */ SIP_STATUS_REQUEST_TIMEOUT = 408, /** * @generated from enum value: SIP_STATUS_CONFLICT = 409; */ SIP_STATUS_CONFLICT = 409, /** * @generated from enum value: SIP_STATUS_GONE = 410; */ SIP_STATUS_GONE = 410, /** * @generated from enum value: SIP_STATUS_LENGTH_REQUIRED = 411; */ SIP_STATUS_LENGTH_REQUIRED = 411, /** * @generated from enum value: SIP_STATUS_CONDITIONAL_REQUEST_FAILED = 412; */ SIP_STATUS_CONDITIONAL_REQUEST_FAILED = 412, /** * @generated from enum value: SIP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413; */ SIP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413, /** * @generated from enum value: SIP_STATUS_REQUEST_URI_TOO_LONG = 414; */ SIP_STATUS_REQUEST_URI_TOO_LONG = 414, /** * @generated from enum value: SIP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415; */ SIP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415, /** * @generated from enum value: SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416; */ SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416, /** * @generated from enum value: SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY = 417; */ SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY = 417, /** * @generated from enum value: SIP_STATUS_BAD_EXTENSION = 420; */ SIP_STATUS_BAD_EXTENSION = 420, /** * @generated from enum value: SIP_STATUS_EXTENSION_REQUIRED = 421; */ SIP_STATUS_EXTENSION_REQUIRED = 421, /** * @generated from enum value: SIP_STATUS_SESSION_INTERVAL_TOO_SMALL = 422; */ SIP_STATUS_SESSION_INTERVAL_TOO_SMALL = 422, /** * @generated from enum value: SIP_STATUS_INTERVAL_TOO_BRIEF = 423; */ SIP_STATUS_INTERVAL_TOO_BRIEF = 423, /** * @generated from enum value: SIP_STATUS_BAD_LOCATION_INFORMATION = 424; */ SIP_STATUS_BAD_LOCATION_INFORMATION = 424, /** * @generated from enum value: SIP_STATUS_BAD_ALERT_MESSAGE = 425; */ SIP_STATUS_BAD_ALERT_MESSAGE = 425, /** * @generated from enum value: SIP_STATUS_USE_IDENTITY_HEADER = 428; */ SIP_STATUS_USE_IDENTITY_HEADER = 428, /** * @generated from enum value: SIP_STATUS_PROVIDE_REFERRER_IDENTITY = 429; */ SIP_STATUS_PROVIDE_REFERRER_IDENTITY = 429, /** * @generated from enum value: SIP_STATUS_FLOW_FAILED = 430; */ SIP_STATUS_FLOW_FAILED = 430, /** * @generated from enum value: SIP_STATUS_ANONYMITY_DISALLOWED = 433; */ SIP_STATUS_ANONYMITY_DISALLOWED = 433, /** * @generated from enum value: SIP_STATUS_BAD_IDENTITY_INFO = 436; */ SIP_STATUS_BAD_IDENTITY_INFO = 436, /** * @generated from enum value: SIP_STATUS_UNSUPPORTED_CERTIFICATE = 437; */ SIP_STATUS_UNSUPPORTED_CERTIFICATE = 437, /** * @generated from enum value: SIP_STATUS_INVALID_IDENTITY_HEADER = 438; */ SIP_STATUS_INVALID_IDENTITY_HEADER = 438, /** * @generated from enum value: SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT = 439; */ SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT = 439, /** * @generated from enum value: SIP_STATUS_MAX_BREADTH_EXCEEDED = 440; */ SIP_STATUS_MAX_BREADTH_EXCEEDED = 440, /** * @generated from enum value: SIP_STATUS_BAD_INFO_PACKAGE = 469; */ SIP_STATUS_BAD_INFO_PACKAGE = 469, /** * @generated from enum value: SIP_STATUS_CONSENT_NEEDED = 470; */ SIP_STATUS_CONSENT_NEEDED = 470, /** * @generated from enum value: SIP_STATUS_TEMPORARILY_UNAVAILABLE = 480; */ SIP_STATUS_TEMPORARILY_UNAVAILABLE = 480, /** * @generated from enum value: SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS = 481; */ SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS = 481, /** * @generated from enum value: SIP_STATUS_LOOP_DETECTED = 482; */ SIP_STATUS_LOOP_DETECTED = 482, /** * @generated from enum value: SIP_STATUS_TOO_MANY_HOPS = 483; */ SIP_STATUS_TOO_MANY_HOPS = 483, /** * @generated from enum value: SIP_STATUS_ADDRESS_INCOMPLETE = 484; */ SIP_STATUS_ADDRESS_INCOMPLETE = 484, /** * @generated from enum value: SIP_STATUS_AMBIGUOUS = 485; */ SIP_STATUS_AMBIGUOUS = 485, /** * @generated from enum value: SIP_STATUS_BUSY_HERE = 486; */ SIP_STATUS_BUSY_HERE = 486, /** * @generated from enum value: SIP_STATUS_REQUEST_TERMINATED = 487; */ SIP_STATUS_REQUEST_TERMINATED = 487, /** * @generated from enum value: SIP_STATUS_NOT_ACCEPTABLE_HERE = 488; */ SIP_STATUS_NOT_ACCEPTABLE_HERE = 488, /** * @generated from enum value: SIP_STATUS_BAD_EVENT = 489; */ SIP_STATUS_BAD_EVENT = 489, /** * @generated from enum value: SIP_STATUS_REQUEST_PENDING = 491; */ SIP_STATUS_REQUEST_PENDING = 491, /** * @generated from enum value: SIP_STATUS_UNDECIPHERABLE = 493; */ SIP_STATUS_UNDECIPHERABLE = 493, /** * @generated from enum value: SIP_STATUS_SECURITY_AGREEMENT_REQUIRED = 494; */ SIP_STATUS_SECURITY_AGREEMENT_REQUIRED = 494, /** * @generated from enum value: SIP_STATUS_INTERNAL_SERVER_ERROR = 500; */ SIP_STATUS_INTERNAL_SERVER_ERROR = 500, /** * @generated from enum value: SIP_STATUS_NOT_IMPLEMENTED = 501; */ SIP_STATUS_NOT_IMPLEMENTED = 501, /** * @generated from enum value: SIP_STATUS_BAD_GATEWAY = 502; */ SIP_STATUS_BAD_GATEWAY = 502, /** * @generated from enum value: SIP_STATUS_SERVICE_UNAVAILABLE = 503; */ SIP_STATUS_SERVICE_UNAVAILABLE = 503, /** * @generated from enum value: SIP_STATUS_GATEWAY_TIMEOUT = 504; */ SIP_STATUS_GATEWAY_TIMEOUT = 504, /** * @generated from enum value: SIP_STATUS_VERSION_NOT_SUPPORTED = 505; */ SIP_STATUS_VERSION_NOT_SUPPORTED = 505, /** * @generated from enum value: SIP_STATUS_MESSAGE_TOO_LARGE = 513; */ SIP_STATUS_MESSAGE_TOO_LARGE = 513, /** * @generated from enum value: SIP_STATUS_GLOBAL_BUSY_EVERYWHERE = 600; */ SIP_STATUS_GLOBAL_BUSY_EVERYWHERE = 600, /** * @generated from enum value: SIP_STATUS_GLOBAL_DECLINE = 603; */ SIP_STATUS_GLOBAL_DECLINE = 603, /** * @generated from enum value: SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 604; */ SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 604, /** * @generated from enum value: SIP_STATUS_GLOBAL_NOT_ACCEPTABLE = 606; */ SIP_STATUS_GLOBAL_NOT_ACCEPTABLE = 606, /** * @generated from enum value: SIP_STATUS_GLOBAL_UNWANTED = 607; */ SIP_STATUS_GLOBAL_UNWANTED = 607, /** * @generated from enum value: SIP_STATUS_GLOBAL_REJECTED = 608; */ SIP_STATUS_GLOBAL_REJECTED = 608, } /** * @generated from enum livekit.SIPTransport */ export declare enum SIPTransport { /** * @generated from enum value: SIP_TRANSPORT_AUTO = 0; */ SIP_TRANSPORT_AUTO = 0, /** * @generated from enum value: SIP_TRANSPORT_UDP = 1; */ SIP_TRANSPORT_UDP = 1, /** * @generated from enum value: SIP_TRANSPORT_TCP = 2; */ SIP_TRANSPORT_TCP = 2, /** * @generated from enum value: SIP_TRANSPORT_TLS = 3; */ SIP_TRANSPORT_TLS = 3, } /** * @generated from enum livekit.SIPHeaderOptions */ export declare enum SIPHeaderOptions { /** * do not map any headers, except ones mapped explicitly * * @generated from enum value: SIP_NO_HEADERS = 0; */ SIP_NO_HEADERS = 0, /** * map all X-* headers to sip.h.x-* attributes * * @generated from enum value: SIP_X_HEADERS = 1; */ SIP_X_HEADERS = 1, /** * map all headers to sip.h.* attributes * * @generated from enum value: SIP_ALL_HEADERS = 2; */ SIP_ALL_HEADERS = 2, } /** * @generated from enum livekit.SIPMediaEncryption */ export declare enum SIPMediaEncryption { /** * do not enable encryption * * @generated from enum value: SIP_MEDIA_ENCRYPT_DISABLE = 0; */ SIP_MEDIA_ENCRYPT_DISABLE = 0, /** * use encryption if available * * @generated from enum value: SIP_MEDIA_ENCRYPT_ALLOW = 1; */ SIP_MEDIA_ENCRYPT_ALLOW = 1, /** * require encryption * * @generated from enum value: SIP_MEDIA_ENCRYPT_REQUIRE = 2; */ SIP_MEDIA_ENCRYPT_REQUIRE = 2, } /** * @generated from enum livekit.ProviderType */ export declare enum ProviderType { /** * @generated from enum value: PROVIDER_TYPE_UNKNOWN = 0; */ UNKNOWN = 0, /** * Internally implemented * * @generated from enum value: PROVIDER_TYPE_INTERNAL = 1; */ INTERNAL = 1, /** * Vendor provided * * @generated from enum value: PROVIDER_TYPE_EXTERNAL = 2; */ EXTERNAL = 2, } /** * @generated from enum livekit.SIPCallStatus */ export declare enum SIPCallStatus { /** * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet * * @generated from enum value: SCS_CALL_INCOMING = 0; */ SCS_CALL_INCOMING = 0, /** * SIP participant for outgoing call has been created. The SIP outgoing call is being established * * @generated from enum value: SCS_PARTICIPANT_JOINED = 1; */ SCS_PARTICIPANT_JOINED = 1, /** * Call is ongoing. SIP participant is active in the LiveKit room * * @generated from enum value: SCS_ACTIVE = 2; */ SCS_ACTIVE = 2, /** * Call has ended * * @generated from enum value: SCS_DISCONNECTED = 3; */ SCS_DISCONNECTED = 3, /** * Call has ended or never succeeded because of an error * * @generated from enum value: SCS_ERROR = 4; */ SCS_ERROR = 4, } /** * @generated from enum livekit.SIPTransferStatus */ export declare enum SIPTransferStatus { /** * @generated from enum value: STS_TRANSFER_ONGOING = 0; */ STS_TRANSFER_ONGOING = 0, /** * @generated from enum value: STS_TRANSFER_FAILED = 1; */ STS_TRANSFER_FAILED = 1, /** * @generated from enum value: STS_TRANSFER_SUCCESSFUL = 2; */ STS_TRANSFER_SUCCESSFUL = 2, } /** * @generated from enum livekit.SIPFeature */ export declare enum SIPFeature { /** * @generated from enum value: NONE = 0; */ NONE = 0, /** * @generated from enum value: KRISP_ENABLED = 1; */ KRISP_ENABLED = 1, } /** * @generated from enum livekit.SIPCallDirection */ export declare enum SIPCallDirection { /** * @generated from enum value: SCD_UNKNOWN = 0; */ SCD_UNKNOWN = 0, /** * @generated from enum value: SCD_INBOUND = 1; */ SCD_INBOUND = 1, /** * @generated from enum value: SCD_OUTBOUND = 2; */ SCD_OUTBOUND = 2, } /** * SIPStatus is returned as an error detail in CreateSIPParticipant. * * @generated from message livekit.SIPStatus */ export declare class SIPStatus extends Message { /** * @generated from field: livekit.SIPStatusCode code = 1; */ code: SIPStatusCode; /** * @generated from field: string status = 2; */ status: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPStatus"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPStatus; static fromJson(jsonValue: JsonValue, options?: Partial): SIPStatus; static fromJsonString(jsonString: string, options?: Partial): SIPStatus; static equals(a: SIPStatus | PlainMessage | undefined, b: SIPStatus | PlainMessage | undefined): boolean; } /** * @generated from message livekit.CreateSIPTrunkRequest * @deprecated */ export declare class CreateSIPTrunkRequest extends Message { /** * CIDR or IPs that traffic is accepted from * An empty list means all inbound traffic is accepted. * * @generated from field: repeated string inbound_addresses = 1; */ inboundAddresses: string[]; /** * IP that SIP INVITE is sent too * * @generated from field: string outbound_address = 2; */ outboundAddress: string; /** * Number used to make outbound calls * * @generated from field: string outbound_number = 3; */ outboundNumber: string; /** * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; * @deprecated */ inboundNumbersRegex: string[]; /** * Accepted `To` values. This Trunk will only accept a call made to * these numbers. This allows you to have distinct Trunks for different phone * numbers at the same provider. * * @generated from field: repeated string inbound_numbers = 9; */ inboundNumbers: string[]; /** * Username and password used to authenticate inbound and outbound SIP invites * May be empty to have no Authentication * * @generated from field: string inbound_username = 5; */ inboundUsername: string; /** * @generated from field: string inbound_password = 6; */ inboundPassword: string; /** * @generated from field: string outbound_username = 7; */ outboundUsername: string; /** * @generated from field: string outbound_password = 8; */ outboundPassword: string; /** * Optional human-readable name for the Trunk. * * @generated from field: string name = 10; */ name: string; /** * Optional user-defined metadata for the Trunk. * * @generated from field: string metadata = 11; */ metadata: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest; static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ProviderInfo */ export declare class ProviderInfo extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: livekit.ProviderType type = 3; */ type: ProviderType; /** * @generated from field: bool prevent_transfer = 4; */ preventTransfer: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ProviderInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProviderInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ProviderInfo; static fromJsonString(jsonString: string, options?: Partial): ProviderInfo; static equals(a: ProviderInfo | PlainMessage | undefined, b: ProviderInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPTrunkInfo * @deprecated */ export declare class SIPTrunkInfo extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; */ kind: SIPTrunkInfo_TrunkKind; /** * CIDR or IPs that traffic is accepted from * An empty list means all inbound traffic is accepted. * * @generated from field: repeated string inbound_addresses = 2; */ inboundAddresses: string[]; /** * IP that SIP INVITE is sent too * * @generated from field: string outbound_address = 3; */ outboundAddress: string; /** * Number used to make outbound calls * * @generated from field: string outbound_number = 4; */ outboundNumber: string; /** * Transport used for inbound and outbound calls. * * @generated from field: livekit.SIPTransport transport = 13; */ transport: SIPTransport; /** * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; * @deprecated */ inboundNumbersRegex: string[]; /** * Accepted `To` values. This Trunk will only accept a call made to * these numbers. This allows you to have distinct Trunks for different phone * numbers at the same provider. * * @generated from field: repeated string inbound_numbers = 10; */ inboundNumbers: string[]; /** * Username and password used to authenticate inbound and outbound SIP invites * May be empty to have no Authentication * * @generated from field: string inbound_username = 6; */ inboundUsername: string; /** * @generated from field: string inbound_password = 7; */ inboundPassword: string; /** * @generated from field: string outbound_username = 8; */ outboundUsername: string; /** * @generated from field: string outbound_password = 9; */ outboundPassword: string; /** * Human-readable name for the Trunk. * * @generated from field: string name = 11; */ name: string; /** * User-defined metadata for the Trunk. * * @generated from field: string metadata = 12; */ metadata: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPTrunkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo; static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo; static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean; } /** * @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 { /** * Trunk ID is ignored * * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; */ trunk?: SIPInboundTrunkInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPInboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest; static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateSIPInboundTrunkRequest */ export declare class UpdateSIPInboundTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * @generated from oneof livekit.UpdateSIPInboundTrunkRequest.action */ action: { /** * @generated from field: livekit.SIPInboundTrunkInfo replace = 2; */ value: SIPInboundTrunkInfo; case: "replace"; } | { /** * @generated from field: livekit.SIPInboundTrunkUpdate update = 3; */ value: SIPInboundTrunkUpdate; case: "update"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSIPInboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSIPInboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSIPInboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateSIPInboundTrunkRequest; static equals(a: UpdateSIPInboundTrunkRequest | PlainMessage | undefined, b: UpdateSIPInboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPInboundTrunkInfo */ export declare class SIPInboundTrunkInfo extends Message { /** * @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; /** * Include these SIP X-* headers in 200 OK responses. * * @generated from field: map headers = 9; */ headers: { [key: string]: string }; /** * Map SIP X-* headers from INVITE to SIP participant attributes. * * @generated from field: map headers_to_attributes = 10; */ headersToAttributes: { [key: string]: string }; /** * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. * * @generated from field: map attributes_to_headers = 14; */ attributesToHeaders: { [key: string]: string }; /** * Map SIP headers from INVITE to sip.h.* participant attributes automatically. * * When the names of required headers is known, using headers_to_attributes is strongly recommended. * * When mapping INVITE headers to response headers with attributes_to_headers map, * lowercase header names should be used, for example: sip.h.x-custom-header. * * @generated from field: livekit.SIPHeaderOptions include_headers = 15; */ includeHeaders: SIPHeaderOptions; /** * Max time for the caller to wait for track subscription. * * @generated from field: google.protobuf.Duration ringing_timeout = 11; */ ringingTimeout?: Duration; /** * Max call duration. * * @generated from field: google.protobuf.Duration max_call_duration = 12; */ maxCallDuration?: Duration; /** * @generated from field: bool krisp_enabled = 13; */ krispEnabled: boolean; /** * @generated from field: livekit.SIPMediaEncryption media_encryption = 16; */ mediaEncryption: SIPMediaEncryption; /** * @generated from field: google.protobuf.Timestamp created_at = 17; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 18; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPInboundTrunkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo; static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo; static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPInboundTrunkUpdate */ export declare class SIPInboundTrunkUpdate extends Message { /** * @generated from field: livekit.ListUpdate numbers = 1; */ numbers?: ListUpdate; /** * @generated from field: livekit.ListUpdate allowed_addresses = 2; */ allowedAddresses?: ListUpdate; /** * @generated from field: livekit.ListUpdate allowed_numbers = 3; */ allowedNumbers?: ListUpdate; /** * @generated from field: optional string auth_username = 4; */ authUsername?: string; /** * @generated from field: optional string auth_password = 5; */ authPassword?: string; /** * @generated from field: optional string name = 6; */ name?: string; /** * @generated from field: optional string metadata = 7; */ metadata?: string; /** * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8; */ mediaEncryption?: SIPMediaEncryption; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPInboundTrunkUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkUpdate; static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkUpdate; static equals(a: SIPInboundTrunkUpdate | PlainMessage | undefined, b: SIPInboundTrunkUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.CreateSIPOutboundTrunkRequest */ export declare class CreateSIPOutboundTrunkRequest extends Message { /** * Trunk ID is ignored * * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; */ trunk?: SIPOutboundTrunkInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest; static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateSIPOutboundTrunkRequest */ export declare class UpdateSIPOutboundTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * @generated from oneof livekit.UpdateSIPOutboundTrunkRequest.action */ action: { /** * @generated from field: livekit.SIPOutboundTrunkInfo replace = 2; */ value: SIPOutboundTrunkInfo; case: "replace"; } | { /** * @generated from field: livekit.SIPOutboundTrunkUpdate update = 3; */ value: SIPOutboundTrunkUpdate; case: "update"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSIPOutboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSIPOutboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSIPOutboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateSIPOutboundTrunkRequest; static equals(a: UpdateSIPOutboundTrunkRequest | PlainMessage | undefined, b: UpdateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPOutboundTrunkInfo */ export declare class SIPOutboundTrunkInfo extends Message { /** * @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; /** * 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. * * @generated from field: string destination_country = 14; */ destinationCountry: 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; /** * Include these SIP X-* headers in INVITE request. * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. * * @generated from field: map headers = 9; */ headers: { [key: string]: string }; /** * Map SIP X-* headers from 200 OK to SIP participant attributes. * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. * * @generated from field: map headers_to_attributes = 10; */ headersToAttributes: { [key: string]: string }; /** * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. * * @generated from field: map attributes_to_headers = 11; */ attributesToHeaders: { [key: string]: string }; /** * Map SIP headers from 200 OK to sip.h.* participant attributes automatically. * * When the names of required headers is known, using headers_to_attributes is strongly recommended. * * When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, * lowercase header names should be used, for example: sip.h.x-custom-header. * * @generated from field: livekit.SIPHeaderOptions include_headers = 12; */ includeHeaders: SIPHeaderOptions; /** * @generated from field: livekit.SIPMediaEncryption media_encryption = 13; */ mediaEncryption: SIPMediaEncryption; /** * Optional custom hostname for the 'From' SIP header in outbound INVITEs. * When set, outbound calls from this trunk will use this host instead of the default project SIP domain. * Enables originating calls from custom domains. * * @generated from field: string from_host = 15; */ fromHost: string; /** * @generated from field: google.protobuf.Timestamp created_at = 16; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 17; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPOutboundTrunkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo; static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo; static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPOutboundTrunkUpdate */ export declare class SIPOutboundTrunkUpdate extends Message { /** * @generated from field: optional string address = 1; */ address?: string; /** * @generated from field: optional livekit.SIPTransport transport = 2; */ transport?: SIPTransport; /** * @generated from field: optional string destination_country = 9; */ destinationCountry?: string; /** * @generated from field: livekit.ListUpdate numbers = 3; */ numbers?: ListUpdate; /** * @generated from field: optional string auth_username = 4; */ authUsername?: string; /** * @generated from field: optional string auth_password = 5; */ authPassword?: string; /** * @generated from field: optional string name = 6; */ name?: string; /** * @generated from field: optional string metadata = 7; */ metadata?: string; /** * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8; */ mediaEncryption?: SIPMediaEncryption; /** * @generated from field: optional string from_host = 10; */ fromHost?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPOutboundTrunkUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkUpdate; static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkUpdate; static equals(a: SIPOutboundTrunkUpdate | PlainMessage | undefined, b: SIPOutboundTrunkUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GetSIPInboundTrunkRequest */ export declare class GetSIPInboundTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GetSIPInboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest; static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GetSIPInboundTrunkResponse */ export declare class GetSIPInboundTrunkResponse extends Message { /** * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; */ trunk?: SIPInboundTrunkInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GetSIPInboundTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse; static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GetSIPOutboundTrunkRequest */ export declare class GetSIPOutboundTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GetSIPOutboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest; static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GetSIPOutboundTrunkResponse */ export declare class GetSIPOutboundTrunkResponse extends Message { /** * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; */ trunk?: SIPOutboundTrunkInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GetSIPOutboundTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse; static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPTrunkRequest * @deprecated */ export declare class ListSIPTrunkRequest extends Message { /** * @generated from field: livekit.Pagination page = 1; */ page?: Pagination; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest; static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPTrunkResponse * @deprecated */ export declare class ListSIPTrunkResponse extends Message { /** * @generated from field: repeated livekit.SIPTrunkInfo items = 1; */ items: SIPTrunkInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse; static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean; } /** * ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed. * * @generated from message livekit.ListSIPInboundTrunkRequest */ export declare class ListSIPInboundTrunkRequest extends Message { /** * @generated from field: livekit.Pagination page = 3; */ page?: Pagination; /** * Trunk IDs to list. If this option is set, the response will contains trunks in the same order. * If any of the trunks is missing, a nil item in that position will be sent in the response. * * @generated from field: repeated string trunk_ids = 1; */ trunkIds: string[]; /** * Only list trunks that contain one of the numbers, including wildcard trunks. * * @generated from field: repeated string numbers = 2; */ numbers: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPInboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest; static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPInboundTrunkResponse */ export declare class ListSIPInboundTrunkResponse extends Message { /** * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; */ items: SIPInboundTrunkInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPInboundTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse; static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean; } /** * ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed. * * @generated from message livekit.ListSIPOutboundTrunkRequest */ export declare class ListSIPOutboundTrunkRequest extends Message { /** * @generated from field: livekit.Pagination page = 3; */ page?: Pagination; /** * Trunk IDs to list. If this option is set, the response will contains trunks in the same order. * If any of the trunks is missing, a nil item in that position will be sent in the response. * * @generated from field: repeated string trunk_ids = 1; */ trunkIds: string[]; /** * Only list trunks that contain one of the numbers, including wildcard trunks. * * @generated from field: repeated string numbers = 2; */ numbers: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPOutboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest; static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPOutboundTrunkResponse */ export declare class ListSIPOutboundTrunkResponse extends Message { /** * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; */ items: SIPOutboundTrunkInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPOutboundTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse; static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DeleteSIPTrunkRequest */ export declare class DeleteSIPTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DeleteSIPTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest; static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleDirect */ export declare class SIPDispatchRuleDirect extends Message { /** * What room should call be directed into * * @generated from field: string room_name = 1; */ roomName: string; /** * Optional pin required to enter room * * @generated from field: string pin = 2; */ pin: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleDirect"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect; static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleIndividual */ export declare class SIPDispatchRuleIndividual extends Message { /** * Prefix used on new room name * * @generated from field: string room_prefix = 1; */ roomPrefix: string; /** * Optional pin required to enter room * * @generated from field: string pin = 2; */ pin: string; /** * Optionally append random suffix * * @generated from field: bool no_randomness = 3; */ noRandomness: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleIndividual"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual; static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleCallee */ export declare class SIPDispatchRuleCallee extends Message { /** * Prefix used on new room name * * @generated from field: string room_prefix = 1; */ roomPrefix: string; /** * Optional pin required to enter room * * @generated from field: string pin = 2; */ pin: string; /** * Optionally append random suffix * * @generated from field: bool randomize = 3; */ randomize: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleCallee"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee; static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRule */ export declare class SIPDispatchRule extends Message { /** * @generated from oneof livekit.SIPDispatchRule.rule */ rule: { /** * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room * This places users into an existing room. Optionally you can require a pin before a user can * enter the room * * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1; */ value: SIPDispatchRuleDirect; case: "dispatchRuleDirect"; } | { /** * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller. * * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2; */ value: SIPDispatchRuleIndividual; case: "dispatchRuleIndividual"; } | { /** * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. * * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3; */ value: SIPDispatchRuleCallee; case: "dispatchRuleCallee"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRule"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule; static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean; } /** * @generated from message livekit.CreateSIPDispatchRuleRequest */ export declare class CreateSIPDispatchRuleRequest extends Message { /** * Rule ID is ignored * * @generated from field: livekit.SIPDispatchRuleInfo dispatch_rule = 10; */ dispatchRule?: SIPDispatchRuleInfo; /** * @generated from field: livekit.SIPDispatchRule rule = 1 [deprecated = true]; * @deprecated */ rule?: SIPDispatchRule; /** * What trunks are accepted for this dispatch rule * If empty all trunks will match this dispatch rule * * @generated from field: repeated string trunk_ids = 2 [deprecated = true]; * @deprecated */ trunkIds: string[]; /** * 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. * * @generated from field: bool hide_phone_number = 3 [deprecated = true]; * @deprecated */ hidePhoneNumber: boolean; /** * Dispatch Rule will only accept a call made to these numbers (if set). * * @generated from field: repeated string inbound_numbers = 6 [deprecated = true]; * @deprecated */ inboundNumbers: string[]; /** * Optional human-readable name for the Dispatch Rule. * * @generated from field: string name = 4 [deprecated = true]; * @deprecated */ name: string; /** * User-defined metadata for the Dispatch Rule. * Participants created by this rule will inherit this metadata. * * @generated from field: string metadata = 5 [deprecated = true]; * @deprecated */ metadata: string; /** * User-defined attributes for the Dispatch Rule. * Participants created by this rule will inherit these attributes. * * @generated from field: map attributes = 7 [deprecated = true]; * @deprecated */ attributes: { [key: string]: string }; /** * Cloud-only, config preset to use * * @generated from field: string room_preset = 8 [deprecated = true]; * @deprecated */ roomPreset: string; /** * RoomConfiguration to use if the participant initiates the room * * @generated from field: livekit.RoomConfiguration room_config = 9 [deprecated = true]; * @deprecated */ roomConfig?: RoomConfiguration; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPDispatchRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest; static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateSIPDispatchRuleRequest */ export declare class UpdateSIPDispatchRuleRequest extends Message { /** * @generated from field: string sip_dispatch_rule_id = 1; */ sipDispatchRuleId: string; /** * @generated from oneof livekit.UpdateSIPDispatchRuleRequest.action */ action: { /** * @generated from field: livekit.SIPDispatchRuleInfo replace = 2; */ value: SIPDispatchRuleInfo; case: "replace"; } | { /** * @generated from field: livekit.SIPDispatchRuleUpdate update = 3; */ value: SIPDispatchRuleUpdate; case: "update"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSIPDispatchRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSIPDispatchRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSIPDispatchRuleRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateSIPDispatchRuleRequest; static equals(a: UpdateSIPDispatchRuleRequest | PlainMessage | undefined, b: UpdateSIPDispatchRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleInfo */ export declare class SIPDispatchRuleInfo extends Message { /** * @generated from field: string sip_dispatch_rule_id = 1; */ sipDispatchRuleId: string; /** * @generated from field: livekit.SIPDispatchRule rule = 2; */ rule?: SIPDispatchRule; /** * @generated from field: repeated string trunk_ids = 3; */ trunkIds: string[]; /** * @generated from field: bool hide_phone_number = 4; */ hidePhoneNumber: boolean; /** * Dispatch Rule will only accept a call made from these numbers (if set). * * @generated from field: repeated string inbound_numbers = 7; */ inboundNumbers: string[]; /** * Dispatch Rule will only accept a call made to these numbers (if set). * * @generated from field: repeated string numbers = 13; */ numbers: string[]; /** * Human-readable name for the Dispatch Rule. * * @generated from field: string name = 5; */ name: string; /** * User-defined metadata for the Dispatch Rule. * Participants created by this rule will inherit this metadata. * * @generated from field: string metadata = 6; */ metadata: string; /** * User-defined attributes for the Dispatch Rule. * Participants created by this rule will inherit these attributes. * * @generated from field: map attributes = 8; */ attributes: { [key: string]: string }; /** * Cloud-only, config preset to use * * @generated from field: string room_preset = 9; */ roomPreset: string; /** * RoomConfiguration to use if the participant initiates the room * * @generated from field: livekit.RoomConfiguration room_config = 10; */ roomConfig?: RoomConfiguration; /** * @generated from field: bool krisp_enabled = 11; */ krispEnabled: boolean; /** * @generated from field: livekit.SIPMediaEncryption media_encryption = 12; */ mediaEncryption: SIPMediaEncryption; /** * @generated from field: google.protobuf.Timestamp created_at = 14; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 15; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo; static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleUpdate */ export declare class SIPDispatchRuleUpdate extends Message { /** * @generated from field: livekit.ListUpdate trunk_ids = 1; */ trunkIds?: ListUpdate; /** * @generated from field: livekit.SIPDispatchRule rule = 2; */ rule?: SIPDispatchRule; /** * @generated from field: optional string name = 3; */ name?: string; /** * @generated from field: optional string metadata = 4; */ metadata?: string; /** * @generated from field: map attributes = 5; */ attributes: { [key: string]: string }; /** * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6; */ mediaEncryption?: SIPMediaEncryption; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleUpdate; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleUpdate; static equals(a: SIPDispatchRuleUpdate | PlainMessage | undefined, b: SIPDispatchRuleUpdate | PlainMessage | undefined): boolean; } /** * ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed. * * @generated from message livekit.ListSIPDispatchRuleRequest */ export declare class ListSIPDispatchRuleRequest extends Message { /** * @generated from field: livekit.Pagination page = 3; */ page?: Pagination; /** * Rule IDs to list. If this option is set, the response will contains rules in the same order. * If any of the rules is missing, a nil item in that position will be sent in the response. * * @generated from field: repeated string dispatch_rule_ids = 1; */ dispatchRuleIds: string[]; /** * Only list rules that contain one of the Trunk IDs, including wildcard rules. * * @generated from field: repeated string trunk_ids = 2; */ trunkIds: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPDispatchRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest; static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest; static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPDispatchRuleResponse */ export declare class ListSIPDispatchRuleResponse extends Message { /** * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; */ items: SIPDispatchRuleInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPDispatchRuleResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse; static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse; static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DeleteSIPDispatchRuleRequest */ export declare class DeleteSIPDispatchRuleRequest extends Message { /** * @generated from field: string sip_dispatch_rule_id = 1; */ sipDispatchRuleId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DeleteSIPDispatchRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest; static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPOutboundConfig */ export declare class SIPOutboundConfig extends Message { /** * SIP server address * * @generated from field: string hostname = 1; */ hostname: string; /** * 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. * * @generated from field: string destination_country = 7; */ destinationCountry: string; /** * SIP Transport used for outbound call. * * @generated from field: livekit.SIPTransport transport = 2; */ transport: SIPTransport; /** * Username and password used to authenticate with SIP server. * May be empty to have no authentication. * * @generated from field: string auth_username = 3; */ authUsername: string; /** * @generated from field: string auth_password = 4; */ authPassword: string; /** * Map SIP X-* headers from 200 OK to SIP participant attributes. * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. * * @generated from field: map headers_to_attributes = 5; */ headersToAttributes: { [key: string]: string }; /** * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. * * @generated from field: map attributes_to_headers = 6; */ attributesToHeaders: { [key: string]: string }; /** * Optional custom hostname for the 'From' SIP header. When set, outbound calls use this host instead of the default project SIP domain. * * @generated from field: string from_host = 8; */ fromHost: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPOutboundConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundConfig; static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundConfig; static fromJsonString(jsonString: string, options?: Partial): SIPOutboundConfig; static equals(a: SIPOutboundConfig | PlainMessage | undefined, b: SIPOutboundConfig | PlainMessage | undefined): boolean; } /** * A SIP Participant is a singular SIP session connected to a LiveKit room via * a SIP Trunk into a SIP DispatchRule * * @generated from message livekit.CreateSIPParticipantRequest */ export declare class CreateSIPParticipantRequest extends Message { /** * What SIP Trunk should be used to dial the user * * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * @generated from field: livekit.SIPOutboundConfig trunk = 20; */ trunk?: SIPOutboundConfig; /** * What number should be dialed via SIP * * @generated from field: string sip_call_to = 2; */ sipCallTo: string; /** * Optional SIP From number to use. If empty, trunk number is used. * * @generated from field: string sip_number = 15; */ sipNumber: string; /** * What LiveKit room should this participant be connected too * * @generated from field: string room_name = 3; */ roomName: string; /** * Optional identity of the participant in LiveKit room * * @generated from field: string participant_identity = 4; */ participantIdentity: string; /** * Optional name of the participant in LiveKit room * * @generated from field: string participant_name = 7; */ participantName: string; /** * Optional user-defined metadata. Will be attached to a created Participant in the room. * * @generated from field: string participant_metadata = 8; */ participantMetadata: string; /** * Optional user-defined attributes. Will be attached to a created Participant in the room. * * @generated from field: map participant_attributes = 9; */ participantAttributes: { [key: string]: string }; /** * Optionally send following DTMF digits (extension codes) when making a call. * Character 'w' can be used to add a 0.5 sec delay. * * @generated from field: string dtmf = 5; */ dtmf: string; /** * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. * * @generated from field: bool play_ringtone = 6 [deprecated = true]; * @deprecated */ playRingtone: boolean; /** * @generated from field: bool play_dialtone = 13; */ playDialtone: boolean; /** * 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; /** * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. * * @generated from field: map headers = 16; */ headers: { [key: string]: string }; /** * Map SIP headers from 200 OK to sip.h.* participant attributes automatically. * * When the names of required headers is known, using headers_to_attributes is strongly recommended. * * When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, * lowercase header names should be used, for example: sip.h.x-custom-header. * * @generated from field: livekit.SIPHeaderOptions include_headers = 17; */ includeHeaders: SIPHeaderOptions; /** * Max time for the callee to answer the call. * * @generated from field: google.protobuf.Duration ringing_timeout = 11; */ ringingTimeout?: Duration; /** * Max call duration. * * @generated from field: google.protobuf.Duration max_call_duration = 12; */ maxCallDuration?: Duration; /** * Enable voice isolation for the callee. * * @generated from field: bool krisp_enabled = 14; */ krispEnabled: boolean; /** * @generated from field: livekit.SIPMediaEncryption media_encryption = 18; */ mediaEncryption: SIPMediaEncryption; /** * Wait for the answer for the call before returning. * * @generated from field: bool wait_until_answered = 19; */ waitUntilAnswered: boolean; /** * Optional display name for the 'From' SIP header. * * Cases: * 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number. * 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream. * 3) Non-empty: Use the specified value as the display name. * * @generated from field: optional string display_name = 21; */ displayName?: string; /** * NEXT ID: 23 * * @generated from field: optional livekit.Destination destination = 22; */ destination?: Destination; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPParticipantRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest; static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPParticipantInfo */ export declare class SIPParticipantInfo extends Message { /** * @generated from field: string participant_id = 1; */ participantId: string; /** * @generated from field: string participant_identity = 2; */ participantIdentity: string; /** * @generated from field: string room_name = 3; */ roomName: string; /** * @generated from field: string sip_call_id = 4; */ sipCallId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPParticipantInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo; static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo; static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TransferSIPParticipantRequest */ export declare class TransferSIPParticipantRequest extends Message { /** * @generated from field: string participant_identity = 1; */ participantIdentity: string; /** * @generated from field: string room_name = 2; */ roomName: string; /** * @generated from field: string transfer_to = 3; */ transferTo: string; /** * Optionally play dialtone to the SIP participant as an audible indicator of being transferred * * @generated from field: bool play_dialtone = 4; */ playDialtone: boolean; /** * Add the following headers to the REFER SIP request. * * @generated from field: map headers = 5; */ headers: { [key: string]: string }; /** * Max time for the transfer destination to answer the call. * * @generated from field: google.protobuf.Duration ringing_timeout = 6; */ ringingTimeout?: Duration; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TransferSIPParticipantRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest; static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest; static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPCallInfo */ export declare class SIPCallInfo extends Message { /** * @generated from field: string call_id = 1; */ callId: string; /** * @generated from field: string trunk_id = 2; */ trunkId: string; /** * @generated from field: string dispatch_rule_id = 16; */ dispatchRuleId: string; /** * @generated from field: string region = 17; */ region: string; /** * @generated from field: string room_name = 3; */ roomName: string; /** * ID of the current/previous room published to * * @generated from field: string room_id = 4; */ roomId: string; /** * @generated from field: string participant_identity = 5; */ participantIdentity: string; /** * @generated from field: map participant_attributes = 18; */ participantAttributes: { [key: string]: string }; /** * @generated from field: livekit.SIPUri from_uri = 6; */ fromUri?: SIPUri; /** * @generated from field: livekit.SIPUri to_uri = 7; */ toUri?: SIPUri; /** * @generated from field: int64 created_at = 9 [deprecated = true]; * @deprecated */ createdAt: bigint; /** * @generated from field: int64 started_at = 10 [deprecated = true]; * @deprecated */ startedAt: bigint; /** * @generated from field: int64 ended_at = 11 [deprecated = true]; * @deprecated */ endedAt: bigint; /** * @generated from field: repeated livekit.SIPFeature enabled_features = 14; */ enabledFeatures: SIPFeature[]; /** * @generated from field: livekit.SIPCallDirection call_direction = 15; */ callDirection: SIPCallDirection; /** * @generated from field: livekit.SIPCallStatus call_status = 8; */ callStatus: SIPCallStatus; /** * @generated from field: int64 created_at_ns = 22; */ createdAtNs: bigint; /** * @generated from field: int64 started_at_ns = 23; */ startedAtNs: bigint; /** * @generated from field: int64 ended_at_ns = 24; */ endedAtNs: bigint; /** * @generated from field: livekit.DisconnectReason disconnect_reason = 12; */ disconnectReason: DisconnectReason; /** * @generated from field: string error = 13; */ error: string; /** * @generated from field: livekit.SIPStatus call_status_code = 19; */ callStatusCode?: SIPStatus; /** * @generated from field: string audio_codec = 20; */ audioCodec: string; /** * @generated from field: string media_encryption = 21; */ mediaEncryption: string; /** * @generated from field: string pcap_file_link = 25; */ pcapFileLink: string; /** * @generated from field: repeated google.protobuf.Any call_context = 26; */ callContext: Any[]; /** * @generated from field: livekit.ProviderInfo provider_info = 27; */ providerInfo?: ProviderInfo; /** * @generated from field: string sip_call_id = 28; */ sipCallId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPCallInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo; static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo; static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPTransferInfo */ export declare class SIPTransferInfo extends Message { /** * @generated from field: string transfer_id = 1; */ transferId: string; /** * @generated from field: string call_id = 2; */ callId: string; /** * @generated from field: string transfer_to = 3; */ transferTo: string; /** * @generated from field: int64 transfer_initiated_at_ns = 4; */ transferInitiatedAtNs: bigint; /** * @generated from field: int64 transfer_completed_at_ns = 5; */ transferCompletedAtNs: bigint; /** * @generated from field: livekit.SIPTransferStatus transfer_status = 6; */ transferStatus: SIPTransferStatus; /** * @generated from field: string error = 7; */ error: string; /** * @generated from field: livekit.SIPStatus transfer_status_code = 8; */ transferStatusCode?: SIPStatus; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPTransferInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPTransferInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPTransferInfo; static fromJsonString(jsonString: string, options?: Partial): SIPTransferInfo; static equals(a: SIPTransferInfo | PlainMessage | undefined, b: SIPTransferInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPUri */ export declare class SIPUri extends Message { /** * @generated from field: string user = 1; */ user: string; /** * @generated from field: string host = 2; */ host: string; /** * @generated from field: string ip = 3; */ ip: string; /** * @generated from field: uint32 port = 4; */ port: number; /** * @generated from field: livekit.SIPTransport transport = 5; */ transport: SIPTransport; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPUri"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri; static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri; static fromJsonString(jsonString: string, options?: Partial): SIPUri; static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Destination */ export declare class Destination extends Message { /** * @generated from field: string city = 1; */ city: string; /** * @generated from field: string country = 2; */ country: string; /** * @generated from field: string region = 3; */ region: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Destination"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Destination; static fromJson(jsonValue: JsonValue, options?: Partial): Destination; static fromJsonString(jsonString: string, options?: Partial): Destination; static equals(a: Destination | PlainMessage | undefined, b: Destination | PlainMessage | undefined): boolean; }