package coredevices.firestore import kotlinx.datetime.serializers.FormattedInstantSerializer import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlin.time.Instant @Serializable data class EncryptionInfo( @SerialName("key_fingerprint") val keyFingerprint: String, @SerialName("created_at") val createdAt: String, @SerialName("key_backup_location") val keyBackupLocation: String, @SerialName("key_creation_device") val keyCreationDevice: String? = null, ) @Serializable data class User( @SerialName("notion_token") val notionToken: String? = null, @SerialName("notion_error_reason") val notionOauthErrorReason: String? = null, @SerialName("todo_block_id") val todoBlockId: String? = null, @SerialName("rebble_user_token") val rebbleUserToken: String? = null, @SerialName("pebble_user_token") val pebbleUserToken: String? = null, @SerialName("last_connected_watch") val lastConnectedWatch: String? = null, @SerialName("ring_lifetime_collection_counts") val ringLifetimeCollectionCounts: Map? = null, val encryption: EncryptionInfo? = null, )