@@ -5476,6 +5476,11 @@ public protocol NotificationSettingsProtocol : AnyObject {
54765476 */
54775477 func getDefaultRoomNotificationMode(isEncrypted: Bool, isOneToOne: Bool) async -> RoomNotificationMode
54785478
5479+ /**
5480+ * Returns the raw push rules in JSON format.
5481+ */
5482+ func getRawPushRules() async throws -> String?
5483+
54795484 /**
54805485 * Get the notification settings for a room.
54815486 *
@@ -5719,6 +5724,26 @@ open func getDefaultRoomNotificationMode(isEncrypted: Bool, isOneToOne: Bool)asy
57195724 )
57205725}
57215726
5727+ /**
5728+ * Returns the raw push rules in JSON format.
5729+ */
5730+ open func getRawPushRules()async throws -> String? {
5731+ return
5732+ try await uniffiRustCallAsync(
5733+ rustFutureFunc: {
5734+ uniffi_matrix_sdk_ffi_fn_method_notificationsettings_get_raw_push_rules(
5735+ self.uniffiClonePointer()
5736+
5737+ )
5738+ },
5739+ pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_rust_buffer,
5740+ completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_rust_buffer,
5741+ freeFunc: ffi_matrix_sdk_ffi_rust_future_free_rust_buffer,
5742+ liftFunc: FfiConverterOptionString.lift,
5743+ errorHandler: FfiConverterTypeClientError.lift
5744+ )
5745+ }
5746+
57225747 /**
57235748 * Get the notification settings for a room.
57245749 *
@@ -39539,6 +39564,9 @@ private var initializationResult: InitializationResult = {
3953939564 if (uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_get_default_room_notification_mode() != 36211) {
3954039565 return InitializationResult.apiChecksumMismatch
3954139566 }
39567+ if (uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_get_raw_push_rules() != 17884) {
39568+ return InitializationResult.apiChecksumMismatch
39569+ }
3954239570 if (uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_get_room_notification_settings() != 55295) {
3954339571 return InitializationResult.apiChecksumMismatch
3954439572 }
0 commit comments