@livekit/protocol 1.51.0 → 1.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2867,6 +2867,10 @@ export declare class TransferSIPParticipantRequest extends Message<TransferSIPPa
2867
2867
  }
2868
2868
 
2869
2869
  /**
2870
+ * Added in https://github.com/livekit/protocol/pull/1730. Not needed after all:
2871
+ * will be rolled back to an empty message once STR_CALL_ENDED is reported as an
2872
+ * error like every other failed transfer.
2873
+ *
2870
2874
  * @generated from message livekit.TransferSIPParticipantResponse
2871
2875
  */
2872
2876
  export declare class TransferSIPParticipantResponse extends Message<TransferSIPParticipantResponse> {
@@ -2907,6 +2911,44 @@ export declare class TransferSIPParticipantResponse extends Message<TransferSIPP
2907
2911
  static equals(a: TransferSIPParticipantResponse | PlainMessage<TransferSIPParticipantResponse> | undefined, b: TransferSIPParticipantResponse | PlainMessage<TransferSIPParticipantResponse> | undefined): boolean;
2908
2912
  }
2909
2913
 
2914
+ /**
2915
+ * Details of a failed SIP transfer, attached to the error.
2916
+ *
2917
+ * @generated from message livekit.SIPTransferError
2918
+ */
2919
+ export declare class SIPTransferError extends Message<SIPTransferError> {
2920
+ /**
2921
+ * @generated from field: string transfer_id = 1;
2922
+ */
2923
+ transferId: string;
2924
+
2925
+ /**
2926
+ * @generated from field: livekit.SIPTransferReason reason = 2;
2927
+ */
2928
+ reason: SIPTransferReason;
2929
+
2930
+ /**
2931
+ * Set when the outcome was reported by a SIP response.
2932
+ *
2933
+ * @generated from field: livekit.SIPStatus sip_status = 3;
2934
+ */
2935
+ sipStatus?: SIPStatus;
2936
+
2937
+ constructor(data?: PartialMessage<SIPTransferError>);
2938
+
2939
+ static readonly runtime: typeof proto3;
2940
+ static readonly typeName = "livekit.SIPTransferError";
2941
+ static readonly fields: FieldList;
2942
+
2943
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPTransferError;
2944
+
2945
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPTransferError;
2946
+
2947
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPTransferError;
2948
+
2949
+ static equals(a: SIPTransferError | PlainMessage<SIPTransferError> | undefined, b: SIPTransferError | PlainMessage<SIPTransferError> | undefined): boolean;
2950
+ }
2951
+
2910
2952
  /**
2911
2953
  * @generated from message livekit.SIPCallInfo
2912
2954
  */
@@ -824,6 +824,10 @@ export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageTyp
824
824
  );
825
825
 
826
826
  /**
827
+ * Added in https://github.com/livekit/protocol/pull/1730. Not needed after all:
828
+ * will be rolled back to an empty message once STR_CALL_ENDED is reported as an
829
+ * error like every other failed transfer.
830
+ *
827
831
  * @generated from message livekit.TransferSIPParticipantResponse
828
832
  */
829
833
  export const TransferSIPParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
@@ -836,6 +840,20 @@ export const TransferSIPParticipantResponse = /*@__PURE__*/ proto3.makeMessageTy
836
840
  ],
837
841
  );
838
842
 
843
+ /**
844
+ * Details of a failed SIP transfer, attached to the error.
845
+ *
846
+ * @generated from message livekit.SIPTransferError
847
+ */
848
+ export const SIPTransferError = /*@__PURE__*/ proto3.makeMessageType(
849
+ "livekit.SIPTransferError",
850
+ () => [
851
+ { no: 1, name: "transfer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
852
+ { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(SIPTransferReason) },
853
+ { no: 3, name: "sip_status", kind: "message", T: SIPStatus },
854
+ ],
855
+ );
856
+
839
857
  /**
840
858
  * @generated from message livekit.SIPCallInfo
841
859
  */
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.51.0';
2
+ export const version = '1.52.1';