Backups: update to latest integration tests

This commit is contained in:
trevor-signal 2024-12-11 12:01:45 -05:00 committed by GitHub
parent c7dc4279a1
commit 6f7faf4be8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 239 additions and 88 deletions

View file

@ -176,6 +176,17 @@ message AccountRecord {
optional Color color = 3; // color of the QR code itself
}
message IAPSubscriberData {
optional bytes subscriberId = 1;
oneof iapSubscriptionId {
// Identifies an Android Play Store IAP subscription.
string purchaseToken = 2;
// Identifies an iOS App Store IAP subscription.
uint64 originalTransactionId = 3;
}
}
optional bytes profileKey = 1;
optional string givenName = 2;
optional string familyName = 3;
@ -210,9 +221,14 @@ message AccountRecord {
optional string username = 33;
optional bool hasCompletedUsernameOnboarding = 34;
optional UsernameLink usernameLink = 35;
optional bytes backupsSubscriberId = 36;
optional string backupsSubscriberCurrencyCode = 37;
optional bool backupsSubscriptionManuallyCancelled = 38;
reserved /*backupsSubscriberId*/ 36;
reserved /*backupsSubscriberCurrencyCode*/ 37;
reserved /*backupsSubscriptionManuallyCancelled*/ 38;
// Set to true after backups are enabled and one is uploaded.
optional bool hasBackup = 39;
// See zkgroup for integer particular values
optional uint64 backupTier = 40;
optional IAPSubscriberData backupSubscriberData = 41;
}
message StoryDistributionListRecord {