@@ -413,6 +413,8 @@ internal interface _UniFFILib : Library {
413
413
): RustBuffer .ByValue
414
414
fun uniffi_xmtpv3_fn_method_ffigroup_id (`ptr`: Pointer ,_uniffi_out_err : RustCallStatus ,
415
415
): RustBuffer .ByValue
416
+ fun uniffi_xmtpv3_fn_method_ffigroup_is_active (`ptr`: Pointer ,_uniffi_out_err : RustCallStatus ,
417
+ ): Byte
416
418
fun uniffi_xmtpv3_fn_method_ffigroup_list_members (`ptr`: Pointer ,_uniffi_out_err : RustCallStatus ,
417
419
): RustBuffer .ByValue
418
420
fun uniffi_xmtpv3_fn_method_ffigroup_remove_members (`ptr`: Pointer ,`accountAddresses`: RustBuffer .ByValue ,
@@ -427,6 +429,8 @@ internal interface _UniFFILib : Library {
427
429
): Unit
428
430
fun uniffi_xmtpv3_fn_method_ffistreamcloser_end (`ptr`: Pointer ,_uniffi_out_err : RustCallStatus ,
429
431
): Unit
432
+ fun uniffi_xmtpv3_fn_method_ffistreamcloser_is_closed (`ptr`: Pointer ,_uniffi_out_err : RustCallStatus ,
433
+ ): Byte
430
434
fun uniffi_xmtpv3_fn_free_ffiv2apiclient (`ptr`: Pointer ,_uniffi_out_err : RustCallStatus ,
431
435
): Unit
432
436
fun uniffi_xmtpv3_fn_method_ffiv2apiclient_batch_query (`ptr`: Pointer ,`req`: RustBuffer .ByValue ,
@@ -475,6 +479,8 @@ internal interface _UniFFILib : Library {
475
479
): RustBuffer .ByValue
476
480
fun uniffi_xmtpv3_fn_func_generate_private_preferences_topic_identifier (`privateKey`: RustBuffer .ByValue ,_uniffi_out_err : RustCallStatus ,
477
481
): RustBuffer .ByValue
482
+ fun uniffi_xmtpv3_fn_func_get_version_info (_uniffi_out_err : RustCallStatus ,
483
+ ): RustBuffer .ByValue
478
484
fun uniffi_xmtpv3_fn_func_keccak256 (`input`: RustBuffer .ByValue ,_uniffi_out_err : RustCallStatus ,
479
485
): RustBuffer .ByValue
480
486
fun uniffi_xmtpv3_fn_func_public_key_from_private_key_k256 (`privateKeyBytes`: RustBuffer .ByValue ,_uniffi_out_err : RustCallStatus ,
@@ -615,6 +621,8 @@ internal interface _UniFFILib : Library {
615
621
): Short
616
622
fun uniffi_xmtpv3_checksum_func_generate_private_preferences_topic_identifier (
617
623
): Short
624
+ fun uniffi_xmtpv3_checksum_func_get_version_info (
625
+ ): Short
618
626
fun uniffi_xmtpv3_checksum_func_keccak256 (
619
627
): Short
620
628
fun uniffi_xmtpv3_checksum_func_public_key_from_private_key_k256 (
@@ -649,6 +657,8 @@ internal interface _UniFFILib : Library {
649
657
): Short
650
658
fun uniffi_xmtpv3_checksum_method_ffigroup_id (
651
659
): Short
660
+ fun uniffi_xmtpv3_checksum_method_ffigroup_is_active (
661
+ ): Short
652
662
fun uniffi_xmtpv3_checksum_method_ffigroup_list_members (
653
663
): Short
654
664
fun uniffi_xmtpv3_checksum_method_ffigroup_remove_members (
@@ -661,6 +671,8 @@ internal interface _UniFFILib : Library {
661
671
): Short
662
672
fun uniffi_xmtpv3_checksum_method_ffistreamcloser_end (
663
673
): Short
674
+ fun uniffi_xmtpv3_checksum_method_ffistreamcloser_is_closed (
675
+ ): Short
664
676
fun uniffi_xmtpv3_checksum_method_ffiv2apiclient_batch_query (
665
677
): Short
666
678
fun uniffi_xmtpv3_checksum_method_ffiv2apiclient_publish (
@@ -726,6 +738,9 @@ private fun uniffiCheckApiChecksums(lib: _UniFFILib) {
726
738
if (lib.uniffi_xmtpv3_checksum_func_generate_private_preferences_topic_identifier() != 5952 .toShort()) {
727
739
throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
728
740
}
741
+ if (lib.uniffi_xmtpv3_checksum_func_get_version_info() != 3533 .toShort()) {
742
+ throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
743
+ }
729
744
if (lib.uniffi_xmtpv3_checksum_func_keccak256() != 17749 .toShort()) {
730
745
throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
731
746
}
@@ -777,6 +792,9 @@ private fun uniffiCheckApiChecksums(lib: _UniFFILib) {
777
792
if (lib.uniffi_xmtpv3_checksum_method_ffigroup_id() != 35243 .toShort()) {
778
793
throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
779
794
}
795
+ if (lib.uniffi_xmtpv3_checksum_method_ffigroup_is_active() != 27808 .toShort()) {
796
+ throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
797
+ }
780
798
if (lib.uniffi_xmtpv3_checksum_method_ffigroup_list_members() != 15786 .toShort()) {
781
799
throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
782
800
}
@@ -795,6 +813,9 @@ private fun uniffiCheckApiChecksums(lib: _UniFFILib) {
795
813
if (lib.uniffi_xmtpv3_checksum_method_ffistreamcloser_end() != 47211 .toShort()) {
796
814
throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
797
815
}
816
+ if (lib.uniffi_xmtpv3_checksum_method_ffistreamcloser_is_closed() != 37884 .toShort()) {
817
+ throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
818
+ }
798
819
if (lib.uniffi_xmtpv3_checksum_method_ffiv2apiclient_batch_query() != 10812 .toShort()) {
799
820
throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
800
821
}
@@ -1379,6 +1400,7 @@ public interface FfiGroupInterface {
1379
1400
fun `createdAtNs` (): Long @Throws (GenericException ::class)
1380
1401
fun `findMessages` (`opts`: FfiListMessagesOptions ): List <FfiMessage >
1381
1402
fun `id` (): ByteArray @Throws (GenericException ::class)
1403
+ fun `isActive` (): Boolean @Throws (GenericException ::class)
1382
1404
fun `listMembers` (): List <FfiGroupMember >@Throws (GenericException ::class)
1383
1405
suspend fun `removeMembers` (`accountAddresses`: List <String >)@Throws(GenericException : :class)
1384
1406
suspend fun `send` (`contentBytes`: ByteArray )@Throws(GenericException : :class)
@@ -1461,6 +1483,18 @@ class FfiGroup(
1461
1483
}
1462
1484
1463
1485
1486
+ @Throws(GenericException ::class )override fun `isActive` (): Boolean =
1487
+ callWithPointer {
1488
+ rustCallWithError(GenericException ) { _status ->
1489
+ _UniFFILib .INSTANCE .uniffi_xmtpv3_fn_method_ffigroup_is_active(it,
1490
+
1491
+ _status )
1492
+ }
1493
+ }.let {
1494
+ FfiConverterBoolean .lift(it)
1495
+ }
1496
+
1497
+
1464
1498
@Throws(GenericException ::class )override fun `listMembers` (): List <FfiGroupMember > =
1465
1499
callWithPointer {
1466
1500
rustCallWithError(GenericException ) { _status ->
@@ -1590,6 +1624,7 @@ public object FfiConverterTypeFfiGroup: FfiConverter<FfiGroup, Pointer> {
1590
1624
public interface FfiStreamCloserInterface {
1591
1625
1592
1626
fun `end` ()
1627
+ fun `isClosed` (): Boolean
1593
1628
companion object
1594
1629
}
1595
1630
@@ -1621,6 +1656,17 @@ class FfiStreamCloser(
1621
1656
}
1622
1657
1623
1658
1659
+ override fun `isClosed` (): Boolean =
1660
+ callWithPointer {
1661
+ rustCall() { _status ->
1662
+ _UniFFILib .INSTANCE .uniffi_xmtpv3_fn_method_ffistreamcloser_is_closed(it,
1663
+
1664
+ _status )
1665
+ }
1666
+ }.let {
1667
+ FfiConverterBoolean .lift(it)
1668
+ }
1669
+
1624
1670
1625
1671
1626
1672
@@ -3511,6 +3557,14 @@ fun `generatePrivatePreferencesTopicIdentifier`(`privateKey`: ByteArray): String
3511
3557
}
3512
3558
3513
3559
3560
+ fun `getVersionInfo` (): String {
3561
+ return FfiConverterString .lift(
3562
+ rustCall() { _status ->
3563
+ _UniFFILib .INSTANCE .uniffi_xmtpv3_fn_func_get_version_info(_status )
3564
+ })
3565
+ }
3566
+
3567
+
3514
3568
fun `keccak256` (`input`: ByteArray ): ByteArray {
3515
3569
return FfiConverterByteArray .lift(
3516
3570
rustCall() { _status ->
0 commit comments