From 1709a94e0354378d42050c22711b88fe871e106f Mon Sep 17 00:00:00 2001 From: nig Date: Fri, 25 Oct 2024 10:05:35 +0200 Subject: [PATCH] Tutanota V77 --- src/common/api/entities/tutanota/ModelInfo.ts | 2 +- src/common/api/entities/tutanota/Services.ts | 9 + .../api/entities/tutanota/TypeModels.js | 234 +++--- tuta-sdk/rust/sdk/src/entities/accounting.rs | 6 + tuta-sdk/rust/sdk/src/entities/base.rs | 3 + tuta-sdk/rust/sdk/src/entities/monitor.rs | 24 + tuta-sdk/rust/sdk/src/entities/storage.rs | 39 + tuta-sdk/rust/sdk/src/entities/sys.rs | 665 +++++++++++++++++- tuta-sdk/rust/sdk/src/entities/tutanota.rs | 351 +++++++++ tuta-sdk/rust/sdk/src/entities/usage.rs | 24 + tuta-sdk/rust/sdk/src/services/accounting.rs | 15 +- tuta-sdk/rust/sdk/src/services/base.rs | 8 +- tuta-sdk/rust/sdk/src/services/gossip.rs | 8 +- tuta-sdk/rust/sdk/src/services/monitor.rs | 24 +- tuta-sdk/rust/sdk/src/services/storage.rs | 41 +- tuta-sdk/rust/sdk/src/services/sys.rs | 520 ++++---------- tuta-sdk/rust/sdk/src/services/tutanota.rs | 227 +++--- tuta-sdk/rust/sdk/src/services/usage.rs | 48 +- .../rust/sdk/src/type_models/tutanota.json | 234 +++--- 19 files changed, 1625 insertions(+), 857 deletions(-) diff --git a/src/common/api/entities/tutanota/ModelInfo.ts b/src/common/api/entities/tutanota/ModelInfo.ts index 32080d1675cc..74c361421935 100644 --- a/src/common/api/entities/tutanota/ModelInfo.ts +++ b/src/common/api/entities/tutanota/ModelInfo.ts @@ -1,5 +1,5 @@ const modelInfo = { - version: 76, + version: 77, compatibleSince: 76, } diff --git a/src/common/api/entities/tutanota/Services.ts b/src/common/api/entities/tutanota/Services.ts index 47567f22817c..34a7592b582a 100644 --- a/src/common/api/entities/tutanota/Services.ts +++ b/src/common/api/entities/tutanota/Services.ts @@ -107,6 +107,15 @@ export const GroupInvitationService = Object.freeze({ delete: {data: GroupInvitationDeleteDataTypeRef, return: null}, } as const) +export const ImportMailService = Object.freeze({ + app: "tutanota", + name: "ImportMailService", + get: null, + post: null, + put: null, + delete: null, +} as const) + export const ListUnsubscribeService = Object.freeze({ app: "tutanota", name: "ListUnsubscribeService", diff --git a/src/common/api/entities/tutanota/TypeModels.js b/src/common/api/entities/tutanota/TypeModels.js index f4f8cf552af9..4709c82cf97e 100644 --- a/src/common/api/entities/tutanota/TypeModels.js +++ b/src/common/api/entities/tutanota/TypeModels.js @@ -56,7 +56,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Birthday": { "name": "Birthday", @@ -106,7 +106,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "Body": { "name": "Body", @@ -147,7 +147,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarDeleteData": { "name": "CalendarDeleteData", @@ -181,7 +181,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEvent": { "name": "CalendarEvent", @@ -380,7 +380,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventAttendee": { "name": "CalendarEventAttendee", @@ -423,7 +423,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventIndexRef": { "name": "CalendarEventIndexRef", @@ -457,7 +457,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventUidIndex": { "name": "CalendarEventUidIndex", @@ -528,7 +528,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventUpdate": { "name": "CalendarEventUpdate", @@ -616,7 +616,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventUpdateList": { "name": "CalendarEventUpdateList", @@ -650,7 +650,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarGroupRoot": { "name": "CalendarGroupRoot", @@ -749,7 +749,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarRepeatRule": { "name": "CalendarRepeatRule", @@ -828,7 +828,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Contact": { "name": "Contact", @@ -1151,7 +1151,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactAddress": { "name": "ContactAddress", @@ -1201,7 +1201,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactCustomDate": { "name": "ContactCustomDate", @@ -1251,7 +1251,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactList": { "name": "ContactList", @@ -1340,7 +1340,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactListEntry": { "name": "ContactListEntry", @@ -1417,7 +1417,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactListGroupRoot": { "name": "ContactListGroupRoot", @@ -1496,7 +1496,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactMailAddress": { "name": "ContactMailAddress", @@ -1546,7 +1546,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactMessengerHandle": { "name": "ContactMessengerHandle", @@ -1596,7 +1596,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactPhoneNumber": { "name": "ContactPhoneNumber", @@ -1646,7 +1646,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactPronouns": { "name": "ContactPronouns", @@ -1687,7 +1687,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactRelationship": { "name": "ContactRelationship", @@ -1737,7 +1737,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactSocialId": { "name": "ContactSocialId", @@ -1787,7 +1787,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactWebsite": { "name": "ContactWebsite", @@ -1837,7 +1837,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ConversationEntry": { "name": "ConversationEntry", @@ -1926,7 +1926,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateExternalUserGroupData": { "name": "CreateExternalUserGroupData", @@ -1985,7 +1985,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateGroupPostReturn": { "name": "CreateGroupPostReturn", @@ -2019,7 +2019,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateMailFolderData": { "name": "CreateMailFolderData", @@ -2089,7 +2089,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateMailFolderReturn": { "name": "CreateMailFolderReturn", @@ -2123,7 +2123,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateMailGroupData": { "name": "CreateMailGroupData", @@ -2184,7 +2184,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CustomerAccountCreateData": { "name": "CustomerAccountCreateData", @@ -2356,7 +2356,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DefaultAlarmInfo": { "name": "DefaultAlarmInfo", @@ -2388,7 +2388,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "DeleteGroupData": { "name": "DeleteGroupData", @@ -2431,7 +2431,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DeleteMailData": { "name": "DeleteMailData", @@ -2475,7 +2475,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DeleteMailFolderData": { "name": "DeleteMailFolderData", @@ -2509,7 +2509,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftAttachment": { "name": "DraftAttachment", @@ -2571,7 +2571,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftCreateData": { "name": "DraftCreateData", @@ -2641,7 +2641,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftCreateReturn": { "name": "DraftCreateReturn", @@ -2675,7 +2675,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftData": { "name": "DraftData", @@ -2822,7 +2822,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftRecipient": { "name": "DraftRecipient", @@ -2863,7 +2863,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftUpdateData": { "name": "DraftUpdateData", @@ -2907,7 +2907,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftUpdateReturn": { "name": "DraftUpdateReturn", @@ -2941,7 +2941,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "EmailTemplate": { "name": "EmailTemplate", @@ -3038,7 +3038,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "EmailTemplateContent": { "name": "EmailTemplateContent", @@ -3079,7 +3079,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "EncryptTutanotaPropertiesData": { "name": "EncryptTutanotaPropertiesData", @@ -3131,7 +3131,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "EncryptedMailAddress": { "name": "EncryptedMailAddress", @@ -3172,7 +3172,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "EntropyData": { "name": "EntropyData", @@ -3213,7 +3213,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ExternalUserData": { "name": "ExternalUserData", @@ -3346,7 +3346,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "File": { "name": "File", @@ -3481,7 +3481,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "FileSystem": { "name": "FileSystem", @@ -3560,7 +3560,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupInvitationDeleteData": { "name": "GroupInvitationDeleteData", @@ -3594,7 +3594,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupInvitationPostData": { "name": "GroupInvitationPostData", @@ -3638,7 +3638,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupInvitationPostReturn": { "name": "GroupInvitationPostReturn", @@ -3692,7 +3692,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupInvitationPutData": { "name": "GroupInvitationPutData", @@ -3762,7 +3762,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupSettings": { "name": "GroupSettings", @@ -3833,7 +3833,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Header": { "name": "Header", @@ -3874,7 +3874,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ImapFolder": { "name": "ImapFolder", @@ -3935,7 +3935,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ImapSyncConfiguration": { "name": "ImapSyncConfiguration", @@ -4005,7 +4005,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ImapSyncState": { "name": "ImapSyncState", @@ -4066,7 +4066,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "InboxRule": { "name": "InboxRule", @@ -4118,7 +4118,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "InternalGroupData": { "name": "InternalGroupData", @@ -4242,7 +4242,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "InternalRecipientKeyData": { "name": "InternalRecipientKeyData", @@ -4310,7 +4310,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "KnowledgeBaseEntry": { "name": "KnowledgeBaseEntry", @@ -4407,7 +4407,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "KnowledgeBaseEntryKeyword": { "name": "KnowledgeBaseEntryKeyword", @@ -4439,7 +4439,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ListUnsubscribeData": { "name": "ListUnsubscribeData", @@ -4491,7 +4491,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Mail": { "name": "Mail", @@ -4766,7 +4766,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailAddress": { "name": "MailAddress", @@ -4818,7 +4818,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailAddressProperties": { "name": "MailAddressProperties", @@ -4859,7 +4859,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "MailBag": { "name": "MailBag", @@ -4893,7 +4893,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailBox": { "name": "MailBox", @@ -5041,7 +5041,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailDetails": { "name": "MailDetails", @@ -5123,7 +5123,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailDetailsBlob": { "name": "MailDetailsBlob", @@ -5202,7 +5202,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailDetailsDraft": { "name": "MailDetailsDraft", @@ -5281,7 +5281,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailDetailsDraftsRef": { "name": "MailDetailsDraftsRef", @@ -5315,7 +5315,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailFolder": { "name": "MailFolder", @@ -5450,7 +5450,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailFolderRef": { "name": "MailFolderRef", @@ -5484,7 +5484,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailSetEntry": { "name": "MailSetEntry", @@ -5545,7 +5545,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailboxGroupRoot": { "name": "MailboxGroupRoot", @@ -5656,7 +5656,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailboxProperties": { "name": "MailboxProperties", @@ -5744,7 +5744,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailboxServerProperties": { "name": "MailboxServerProperties", @@ -5803,7 +5803,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "MoveMailData": { "name": "MoveMailData", @@ -5857,7 +5857,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "NewDraftAttachment": { "name": "NewDraftAttachment", @@ -5918,7 +5918,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "NewsId": { "name": "NewsId", @@ -5959,7 +5959,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "NewsIn": { "name": "NewsIn", @@ -5991,7 +5991,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "NewsOut": { "name": "NewsOut", @@ -6025,7 +6025,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "NotificationMail": { "name": "NotificationMail", @@ -6093,7 +6093,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "OutOfOfficeNotification": { "name": "OutOfOfficeNotification", @@ -6181,7 +6181,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "OutOfOfficeNotificationMessage": { "name": "OutOfOfficeNotificationMessage", @@ -6231,7 +6231,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "OutOfOfficeNotificationRecipientList": { "name": "OutOfOfficeNotificationRecipientList", @@ -6265,7 +6265,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "PhishingMarkerWebsocketData": { "name": "PhishingMarkerWebsocketData", @@ -6308,7 +6308,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "PhotosRef": { "name": "PhotosRef", @@ -6342,7 +6342,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ReceiveInfoServiceData": { "name": "ReceiveInfoServiceData", @@ -6374,7 +6374,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "Recipients": { "name": "Recipients", @@ -6428,7 +6428,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "RemoteImapSyncInfo": { "name": "RemoteImapSyncInfo", @@ -6498,7 +6498,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ReportMailPostData": { "name": "ReportMailPostData", @@ -6550,7 +6550,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ReportedMailFieldMarker": { "name": "ReportedMailFieldMarker", @@ -6591,7 +6591,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "SecureExternalRecipientKeyData": { "name": "SecureExternalRecipientKeyData", @@ -6695,7 +6695,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "SendDraftData": { "name": "SendDraftData", @@ -6832,7 +6832,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "SendDraftReturn": { "name": "SendDraftReturn", @@ -6894,7 +6894,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "SharedGroupData": { "name": "SharedGroupData", @@ -6998,7 +6998,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "SimpleMoveMailPostIn": { "name": "SimpleMoveMailPostIn", @@ -7041,7 +7041,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "SpamResults": { "name": "SpamResults", @@ -7075,7 +7075,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Subfiles": { "name": "Subfiles", @@ -7109,7 +7109,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "SymEncInternalRecipientKeyData": { "name": "SymEncInternalRecipientKeyData", @@ -7170,7 +7170,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "TemplateGroupRoot": { "name": "TemplateGroupRoot", @@ -7259,7 +7259,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "TranslationGetIn": { "name": "TranslationGetIn", @@ -7291,7 +7291,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "TranslationGetOut": { "name": "TranslationGetOut", @@ -7332,7 +7332,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "TutanotaProperties": { "name": "TutanotaProperties", @@ -7521,7 +7521,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UnreadMailStatePostIn": { "name": "UnreadMailStatePostIn", @@ -7564,7 +7564,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UpdateMailFolderData": { "name": "UpdateMailFolderData", @@ -7608,7 +7608,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAccountCreateData": { "name": "UserAccountCreateData", @@ -7661,7 +7661,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAccountUserData": { "name": "UserAccountUserData", @@ -7882,7 +7882,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAreaGroupData": { "name": "UserAreaGroupData", @@ -7988,7 +7988,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAreaGroupDeleteData": { "name": "UserAreaGroupDeleteData", @@ -8022,7 +8022,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAreaGroupPostData": { "name": "UserAreaGroupPostData", @@ -8056,7 +8056,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserSettingsGroupRoot": { "name": "UserSettingsGroupRoot", @@ -8162,6 +8162,6 @@ export const typeModels = { } }, "app": "tutanota", - "version": "76" + "version": "77" } } \ No newline at end of file diff --git a/tuta-sdk/rust/sdk/src/entities/accounting.rs b/tuta-sdk/rust/sdk/src/entities/accounting.rs index 1fef05240b95..3ca9f4b3c79f 100644 --- a/tuta-sdk/rust/sdk/src/entities/accounting.rs +++ b/tuta-sdk/rust/sdk/src/entities/accounting.rs @@ -22,6 +22,9 @@ impl Entity for CustomerAccountPosting { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomerAccountReturn { @@ -44,3 +47,6 @@ impl Entity for CustomerAccountReturn { } } } + + + diff --git a/tuta-sdk/rust/sdk/src/entities/base.rs b/tuta-sdk/rust/sdk/src/entities/base.rs index 3e9cd45efb91..19875affb7d5 100644 --- a/tuta-sdk/rust/sdk/src/entities/base.rs +++ b/tuta-sdk/rust/sdk/src/entities/base.rs @@ -17,3 +17,6 @@ impl Entity for PersistenceResourcePostReturn { } } } + + + diff --git a/tuta-sdk/rust/sdk/src/entities/monitor.rs b/tuta-sdk/rust/sdk/src/entities/monitor.rs index e53470f1e371..7c08b3ae4c66 100644 --- a/tuta-sdk/rust/sdk/src/entities/monitor.rs +++ b/tuta-sdk/rust/sdk/src/entities/monitor.rs @@ -23,6 +23,9 @@ impl Entity for ApprovalMail { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CounterValue { @@ -39,6 +42,9 @@ impl Entity for CounterValue { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ErrorReportData { @@ -62,6 +68,9 @@ impl Entity for ErrorReportData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ErrorReportFile { @@ -78,6 +87,9 @@ impl Entity for ErrorReportFile { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReadCounterData { @@ -95,6 +107,9 @@ impl Entity for ReadCounterData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReadCounterReturn { @@ -111,6 +126,9 @@ impl Entity for ReadCounterReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReportErrorIn { @@ -127,6 +145,9 @@ impl Entity for ReportErrorIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WriteCounterData { @@ -144,3 +165,6 @@ impl Entity for WriteCounterData { } } } + + + diff --git a/tuta-sdk/rust/sdk/src/entities/storage.rs b/tuta-sdk/rust/sdk/src/entities/storage.rs index 0d86d688421c..d6646aba1d62 100644 --- a/tuta-sdk/rust/sdk/src/entities/storage.rs +++ b/tuta-sdk/rust/sdk/src/entities/storage.rs @@ -19,6 +19,9 @@ impl Entity for BlobAccessTokenPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobAccessTokenPostOut { @@ -34,6 +37,9 @@ impl Entity for BlobAccessTokenPostOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobArchiveRef { @@ -52,6 +58,9 @@ impl Entity for BlobArchiveRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobGetIn { @@ -69,6 +78,9 @@ impl Entity for BlobGetIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobId { @@ -84,6 +96,9 @@ impl Entity for BlobId { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobPostOut { @@ -99,6 +114,9 @@ impl Entity for BlobPostOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobReadData { @@ -116,6 +134,9 @@ impl Entity for BlobReadData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobReferenceDeleteIn { @@ -134,6 +155,9 @@ impl Entity for BlobReferenceDeleteIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobReferencePutIn { @@ -152,6 +176,9 @@ impl Entity for BlobReferencePutIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobServerAccessInfo { @@ -169,6 +196,9 @@ impl Entity for BlobServerAccessInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobServerUrl { @@ -184,6 +214,9 @@ impl Entity for BlobServerUrl { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobWriteData { @@ -199,6 +232,9 @@ impl Entity for BlobWriteData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InstanceId { @@ -213,3 +249,6 @@ impl Entity for InstanceId { } } } + + + diff --git a/tuta-sdk/rust/sdk/src/entities/sys.rs b/tuta-sdk/rust/sdk/src/entities/sys.rs index f2ddad0af681..4686cca36cbc 100644 --- a/tuta-sdk/rust/sdk/src/entities/sys.rs +++ b/tuta-sdk/rust/sdk/src/entities/sys.rs @@ -40,6 +40,9 @@ impl Entity for AccountingInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AdminGroupKeyAuthenticationData { @@ -58,6 +61,9 @@ impl Entity for AdminGroupKeyAuthenticationData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AdminGroupKeyRotationPostIn { @@ -75,6 +81,9 @@ impl Entity for AdminGroupKeyRotationPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AdministratedGroupsRef { @@ -90,6 +99,9 @@ impl Entity for AdministratedGroupsRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AffiliatePartnerKpiMonthSummary { @@ -110,6 +122,9 @@ impl Entity for AffiliatePartnerKpiMonthSummary { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AffiliatePartnerKpiServiceGetOut { @@ -128,6 +143,9 @@ impl Entity for AffiliatePartnerKpiServiceGetOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AlarmInfo { @@ -146,6 +164,9 @@ impl Entity for AlarmInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AlarmNotification { @@ -169,6 +190,9 @@ impl Entity for AlarmNotification { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AlarmServicePost { @@ -186,6 +210,9 @@ impl Entity for AlarmServicePost { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ArchiveRef { @@ -201,6 +228,9 @@ impl Entity for ArchiveRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ArchiveType { @@ -219,6 +249,9 @@ impl Entity for ArchiveType { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AuditLogEntry { @@ -248,6 +281,9 @@ impl Entity for AuditLogEntry { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AuditLogRef { @@ -263,6 +299,9 @@ impl Entity for AuditLogRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AuthenticatedDevice { @@ -281,6 +320,9 @@ impl Entity for AuthenticatedDevice { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Authentication { @@ -299,6 +341,9 @@ impl Entity for Authentication { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AutoLoginDataDelete { @@ -314,6 +359,9 @@ impl Entity for AutoLoginDataDelete { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AutoLoginDataGet { @@ -330,6 +378,9 @@ impl Entity for AutoLoginDataGet { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AutoLoginDataReturn { @@ -346,6 +397,9 @@ impl Entity for AutoLoginDataReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct AutoLoginPostReturn { @@ -361,6 +415,9 @@ impl Entity for AutoLoginPostReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Blob { @@ -378,6 +435,9 @@ impl Entity for Blob { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BlobReferenceTokenWrapper { @@ -393,6 +453,9 @@ impl Entity for BlobReferenceTokenWrapper { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Booking { @@ -418,6 +481,9 @@ impl Entity for Booking { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BookingItem { @@ -439,6 +505,9 @@ impl Entity for BookingItem { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BookingsRef { @@ -454,6 +523,9 @@ impl Entity for BookingsRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BootstrapFeature { @@ -469,6 +541,9 @@ impl Entity for BootstrapFeature { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Braintree3ds2Request { @@ -486,6 +561,9 @@ impl Entity for Braintree3ds2Request { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Braintree3ds2Response { @@ -502,6 +580,9 @@ impl Entity for Braintree3ds2Response { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BrandingDomainData { @@ -525,6 +606,9 @@ impl Entity for BrandingDomainData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BrandingDomainDeleteData { @@ -540,6 +624,9 @@ impl Entity for BrandingDomainDeleteData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BrandingDomainGetReturn { @@ -555,6 +642,9 @@ impl Entity for BrandingDomainGetReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Bucket { @@ -570,6 +660,9 @@ impl Entity for Bucket { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BucketKey { @@ -593,6 +686,9 @@ impl Entity for BucketKey { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct BucketPermission { @@ -624,6 +720,9 @@ impl Entity for BucketPermission { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarEventRef { @@ -640,6 +739,9 @@ impl Entity for CalendarEventRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CertificateInfo { @@ -659,6 +761,9 @@ impl Entity for CertificateInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Challenge { @@ -677,6 +782,9 @@ impl Entity for Challenge { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ChangeKdfPostIn { @@ -701,6 +809,9 @@ impl Entity for ChangeKdfPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ChangePasswordPostIn { @@ -728,6 +839,9 @@ impl Entity for ChangePasswordPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Chat { @@ -745,6 +859,9 @@ impl Entity for Chat { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CloseSessionServicePost { @@ -761,6 +878,9 @@ impl Entity for CloseSessionServicePost { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateCustomerServerPropertiesData { @@ -778,6 +898,9 @@ impl Entity for CreateCustomerServerPropertiesData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateCustomerServerPropertiesReturn { @@ -793,6 +916,9 @@ impl Entity for CreateCustomerServerPropertiesReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateSessionData { @@ -815,6 +941,9 @@ impl Entity for CreateSessionData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateSessionReturn { @@ -832,6 +961,9 @@ impl Entity for CreateSessionReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreditCard { @@ -852,6 +984,9 @@ impl Entity for CreditCard { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomDomainCheckGetIn { @@ -868,6 +1003,9 @@ impl Entity for CustomDomainCheckGetIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomDomainCheckGetOut { @@ -886,6 +1024,9 @@ impl Entity for CustomDomainCheckGetOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomDomainData { @@ -902,6 +1043,9 @@ impl Entity for CustomDomainData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomDomainReturn { @@ -918,6 +1062,9 @@ impl Entity for CustomDomainReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Customer { @@ -957,6 +1104,9 @@ impl Entity for Customer { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomerAccountTerminationPostIn { @@ -973,6 +1123,9 @@ impl Entity for CustomerAccountTerminationPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomerAccountTerminationPostOut { @@ -988,6 +1141,9 @@ impl Entity for CustomerAccountTerminationPostOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomerAccountTerminationRequest { @@ -1008,6 +1164,9 @@ impl Entity for CustomerAccountTerminationRequest { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomerInfo { @@ -1053,6 +1212,9 @@ impl Entity for CustomerInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomerProperties { @@ -1076,6 +1238,9 @@ impl Entity for CustomerProperties { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomerServerProperties { @@ -1103,6 +1268,9 @@ impl Entity for CustomerServerProperties { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DateWrapper { @@ -1119,6 +1287,9 @@ impl Entity for DateWrapper { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DebitServicePutData { @@ -1134,6 +1305,9 @@ impl Entity for DebitServicePutData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DeleteCustomerData { @@ -1155,6 +1329,9 @@ impl Entity for DeleteCustomerData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DnsRecord { @@ -1173,6 +1350,9 @@ impl Entity for DnsRecord { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DomainInfo { @@ -1191,6 +1371,9 @@ impl Entity for DomainInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DomainMailAddressAvailabilityData { @@ -1206,6 +1389,9 @@ impl Entity for DomainMailAddressAvailabilityData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DomainMailAddressAvailabilityReturn { @@ -1221,6 +1407,9 @@ impl Entity for DomainMailAddressAvailabilityReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct EmailSenderListElement { @@ -1241,6 +1430,9 @@ impl Entity for EmailSenderListElement { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct EntityEventBatch { @@ -1259,6 +1451,9 @@ impl Entity for EntityEventBatch { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct EntityUpdate { @@ -1279,6 +1474,9 @@ impl Entity for EntityUpdate { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SysException { @@ -1296,6 +1494,9 @@ impl Entity for SysException { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ExternalPropertiesReturn { @@ -1314,6 +1515,9 @@ impl Entity for ExternalPropertiesReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ExternalUserReference { @@ -1333,6 +1537,9 @@ impl Entity for ExternalUserReference { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Feature { @@ -1348,6 +1555,9 @@ impl Entity for Feature { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct File { @@ -1366,6 +1576,9 @@ impl Entity for File { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GeneratedIdWrapper { @@ -1381,6 +1594,9 @@ impl Entity for GeneratedIdWrapper { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCard { @@ -1408,6 +1624,9 @@ impl Entity for GiftCard { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCardCreateData { @@ -1431,6 +1650,9 @@ impl Entity for GiftCardCreateData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCardCreateReturn { @@ -1446,6 +1668,9 @@ impl Entity for GiftCardCreateReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCardDeleteData { @@ -1461,6 +1686,9 @@ impl Entity for GiftCardDeleteData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCardGetReturn { @@ -1478,6 +1706,9 @@ impl Entity for GiftCardGetReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCardOption { @@ -1493,6 +1724,9 @@ impl Entity for GiftCardOption { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCardRedeemData { @@ -1511,6 +1745,9 @@ impl Entity for GiftCardRedeemData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCardRedeemGetReturn { @@ -1530,6 +1767,9 @@ impl Entity for GiftCardRedeemGetReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GiftCardsRef { @@ -1545,6 +1785,9 @@ impl Entity for GiftCardsRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Group { @@ -1582,6 +1825,9 @@ impl Entity for Group { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupInfo { @@ -1614,6 +1860,9 @@ impl Entity for GroupInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupKey { @@ -1639,6 +1888,9 @@ impl Entity for GroupKey { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupKeyRotationData { @@ -1663,6 +1915,9 @@ impl Entity for GroupKeyRotationData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupKeyRotationInfoGetOut { @@ -1679,7 +1934,10 @@ impl Entity for GroupKeyRotationInfoGetOut { } } -#[derive(uniffi::Record, Clone, Serialize, Deserialize)] + + + +#[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupKeyRotationPostIn { pub _format: i64, @@ -1694,6 +1952,9 @@ impl Entity for GroupKeyRotationPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupKeyUpdate { @@ -1720,6 +1981,9 @@ impl Entity for GroupKeyUpdate { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupKeyUpdateData { @@ -1740,6 +2004,9 @@ impl Entity for GroupKeyUpdateData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupKeyUpdatesRef { @@ -1755,6 +2022,9 @@ impl Entity for GroupKeyUpdatesRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupKeysRef { @@ -1770,6 +2040,9 @@ impl Entity for GroupKeysRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupMember { @@ -1791,6 +2064,9 @@ impl Entity for GroupMember { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupMembership { @@ -1815,6 +2091,9 @@ impl Entity for GroupMembership { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupMembershipKeyData { @@ -1834,6 +2113,9 @@ impl Entity for GroupMembershipKeyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupMembershipUpdateData { @@ -1852,6 +2134,9 @@ impl Entity for GroupMembershipUpdateData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupRoot { @@ -1872,6 +2157,9 @@ impl Entity for GroupRoot { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct IdTupleWrapper { @@ -1888,6 +2176,9 @@ impl Entity for IdTupleWrapper { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InstanceSessionKey { @@ -1910,6 +2201,9 @@ impl Entity for InstanceSessionKey { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Invoice { @@ -1949,6 +2243,9 @@ impl Entity for Invoice { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InvoiceDataGetIn { @@ -1964,6 +2261,9 @@ impl Entity for InvoiceDataGetIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InvoiceDataGetOut { @@ -1991,6 +2291,9 @@ impl Entity for InvoiceDataGetOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InvoiceDataItem { @@ -2011,6 +2314,9 @@ impl Entity for InvoiceDataItem { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InvoiceInfo { @@ -2042,6 +2348,9 @@ impl Entity for InvoiceInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InvoiceItem { @@ -2065,6 +2374,9 @@ impl Entity for InvoiceItem { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct KeyPair { @@ -2091,6 +2403,9 @@ impl Entity for KeyPair { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct KeyRotation { @@ -2111,6 +2426,9 @@ impl Entity for KeyRotation { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct KeyRotationsRef { @@ -2126,6 +2444,9 @@ impl Entity for KeyRotationsRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct LocationServiceGetReturn { @@ -2141,6 +2462,9 @@ impl Entity for LocationServiceGetReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Login { @@ -2159,6 +2483,9 @@ impl Entity for Login { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddressAlias { @@ -2175,6 +2502,9 @@ impl Entity for MailAddressAlias { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddressAliasGetIn { @@ -2190,6 +2520,9 @@ impl Entity for MailAddressAliasGetIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddressAliasServiceData { @@ -2206,6 +2539,9 @@ impl Entity for MailAddressAliasServiceData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddressAliasServiceDataDelete { @@ -2223,6 +2559,9 @@ impl Entity for MailAddressAliasServiceDataDelete { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddressAliasServiceReturn { @@ -2241,6 +2580,9 @@ impl Entity for MailAddressAliasServiceReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddressAvailability { @@ -2257,6 +2599,9 @@ impl Entity for MailAddressAvailability { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddressToGroup { @@ -2275,6 +2620,9 @@ impl Entity for MailAddressToGroup { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MembershipAddData { @@ -2295,6 +2643,9 @@ impl Entity for MembershipAddData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MembershipPutIn { @@ -2310,6 +2661,9 @@ impl Entity for MembershipPutIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MembershipRemoveData { @@ -2326,6 +2680,9 @@ impl Entity for MembershipRemoveData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MissedNotification { @@ -2353,6 +2710,9 @@ impl Entity for MissedNotification { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MultipleMailAddressAvailabilityData { @@ -2368,6 +2728,9 @@ impl Entity for MultipleMailAddressAvailabilityData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MultipleMailAddressAvailabilityReturn { @@ -2383,6 +2746,9 @@ impl Entity for MultipleMailAddressAvailabilityReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct NotificationInfo { @@ -2400,6 +2766,9 @@ impl Entity for NotificationInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct NotificationMailTemplate { @@ -2417,6 +2786,9 @@ impl Entity for NotificationMailTemplate { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct NotificationSessionKey { @@ -2434,6 +2806,9 @@ impl Entity for NotificationSessionKey { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct OrderProcessingAgreement { @@ -2461,6 +2836,9 @@ impl Entity for OrderProcessingAgreement { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct OtpChallenge { @@ -2476,6 +2854,9 @@ impl Entity for OtpChallenge { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PaymentDataServiceGetData { @@ -2491,6 +2872,9 @@ impl Entity for PaymentDataServiceGetData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PaymentDataServiceGetReturn { @@ -2506,6 +2890,9 @@ impl Entity for PaymentDataServiceGetReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PaymentDataServicePostData { @@ -2521,6 +2908,9 @@ impl Entity for PaymentDataServicePostData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PaymentDataServicePutData { @@ -2547,6 +2937,9 @@ impl Entity for PaymentDataServicePutData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PaymentDataServicePutReturn { @@ -2563,6 +2956,9 @@ impl Entity for PaymentDataServicePutReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PaymentErrorInfo { @@ -2580,6 +2976,9 @@ impl Entity for PaymentErrorInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Permission { @@ -2612,6 +3011,9 @@ impl Entity for Permission { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PlanConfiguration { @@ -2636,6 +3038,9 @@ impl Entity for PlanConfiguration { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PlanPrices { @@ -2663,6 +3068,9 @@ impl Entity for PlanPrices { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PlanServiceGetOut { @@ -2678,6 +3086,9 @@ impl Entity for PlanServiceGetOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PriceData { @@ -2696,6 +3107,9 @@ impl Entity for PriceData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PriceItemData { @@ -2714,6 +3128,9 @@ impl Entity for PriceItemData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PriceRequestData { @@ -2734,6 +3151,9 @@ impl Entity for PriceRequestData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PriceServiceData { @@ -2750,6 +3170,9 @@ impl Entity for PriceServiceData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PriceServiceReturn { @@ -2769,6 +3192,9 @@ impl Entity for PriceServiceReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PubEncKeyData { @@ -2790,6 +3216,9 @@ impl Entity for PubEncKeyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PublicKeyGetIn { @@ -2807,6 +3236,9 @@ impl Entity for PublicKeyGetIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PublicKeyGetOut { @@ -2828,6 +3260,9 @@ impl Entity for PublicKeyGetOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PublicKeyPutIn { @@ -2847,6 +3282,9 @@ impl Entity for PublicKeyPutIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PushIdentifier { @@ -2879,6 +3317,9 @@ impl Entity for PushIdentifier { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PushIdentifierList { @@ -2894,6 +3335,9 @@ impl Entity for PushIdentifierList { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReceivedGroupInvitation { @@ -2927,6 +3371,9 @@ impl Entity for ReceivedGroupInvitation { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RecoverCode { @@ -2951,6 +3398,9 @@ impl Entity for RecoverCode { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RecoverCodeData { @@ -2972,6 +3422,9 @@ impl Entity for RecoverCodeData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReferralCodeGetIn { @@ -2987,6 +3440,9 @@ impl Entity for ReferralCodeGetIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReferralCodePostIn { @@ -3001,6 +3457,9 @@ impl Entity for ReferralCodePostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReferralCodePostOut { @@ -3016,6 +3475,9 @@ impl Entity for ReferralCodePostOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RegistrationCaptchaServiceData { @@ -3032,6 +3494,9 @@ impl Entity for RegistrationCaptchaServiceData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RegistrationCaptchaServiceGetData { @@ -3051,6 +3516,9 @@ impl Entity for RegistrationCaptchaServiceGetData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RegistrationCaptchaServiceReturn { @@ -3068,6 +3536,9 @@ impl Entity for RegistrationCaptchaServiceReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RegistrationReturn { @@ -3083,6 +3554,9 @@ impl Entity for RegistrationReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RegistrationServiceData { @@ -3100,6 +3574,9 @@ impl Entity for RegistrationServiceData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RejectedSender { @@ -3122,6 +3599,9 @@ impl Entity for RejectedSender { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RejectedSendersRef { @@ -3137,6 +3617,9 @@ impl Entity for RejectedSendersRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RepeatRule { @@ -3158,6 +3641,9 @@ impl Entity for RepeatRule { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ResetFactorsDeleteData { @@ -3175,6 +3661,9 @@ impl Entity for ResetFactorsDeleteData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ResetPasswordPostIn { @@ -3198,6 +3687,9 @@ impl Entity for ResetPasswordPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RootInstance { @@ -3216,6 +3708,9 @@ impl Entity for RootInstance { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SaltData { @@ -3231,6 +3726,9 @@ impl Entity for SaltData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SaltReturn { @@ -3248,6 +3746,9 @@ impl Entity for SaltReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SecondFactor { @@ -3271,6 +3772,9 @@ impl Entity for SecondFactor { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SecondFactorAuthAllowedReturn { @@ -3286,6 +3790,9 @@ impl Entity for SecondFactorAuthAllowedReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SecondFactorAuthData { @@ -3306,6 +3813,9 @@ impl Entity for SecondFactorAuthData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SecondFactorAuthDeleteData { @@ -3321,6 +3831,9 @@ impl Entity for SecondFactorAuthDeleteData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SecondFactorAuthGetData { @@ -3336,6 +3849,9 @@ impl Entity for SecondFactorAuthGetData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SecondFactorAuthGetReturn { @@ -3351,6 +3867,9 @@ impl Entity for SecondFactorAuthGetReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SecondFactorAuthentication { @@ -3372,6 +3891,9 @@ impl Entity for SecondFactorAuthentication { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SendRegistrationCodeData { @@ -3390,6 +3912,9 @@ impl Entity for SendRegistrationCodeData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SendRegistrationCodeReturn { @@ -3405,6 +3930,9 @@ impl Entity for SendRegistrationCodeReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SentGroupInvitation { @@ -3426,6 +3954,9 @@ impl Entity for SentGroupInvitation { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Session { @@ -3457,6 +3988,9 @@ impl Entity for Session { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SignOrderProcessingAgreementData { @@ -3473,6 +4007,9 @@ impl Entity for SignOrderProcessingAgreementData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SseConnectData { @@ -3489,6 +4026,9 @@ impl Entity for SseConnectData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct StringConfigValue { @@ -3505,6 +4045,9 @@ impl Entity for StringConfigValue { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct StringWrapper { @@ -3520,6 +4063,9 @@ impl Entity for StringWrapper { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SurveyData { @@ -3538,6 +4084,9 @@ impl Entity for SurveyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SwitchAccountTypePostIn { @@ -3559,6 +4108,9 @@ impl Entity for SwitchAccountTypePostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SystemKeysReturn { @@ -3588,6 +4140,9 @@ impl Entity for SystemKeysReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct TakeOverDeletedAddressData { @@ -3606,6 +4161,9 @@ impl Entity for TakeOverDeletedAddressData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct TypeInfo { @@ -3622,6 +4180,9 @@ impl Entity for TypeInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct U2fChallenge { @@ -3639,6 +4200,9 @@ impl Entity for U2fChallenge { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct U2fKey { @@ -3657,6 +4221,9 @@ impl Entity for U2fKey { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct U2fRegisteredDevice { @@ -3678,6 +4245,9 @@ impl Entity for U2fRegisteredDevice { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct U2fResponseData { @@ -3695,6 +4265,9 @@ impl Entity for U2fResponseData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UpdatePermissionKeyData { @@ -3714,6 +4287,9 @@ impl Entity for UpdatePermissionKeyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UpdateSessionKeysPostIn { @@ -3729,6 +4305,9 @@ impl Entity for UpdateSessionKeysPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UpgradePriceServiceData { @@ -3746,6 +4325,9 @@ impl Entity for UpgradePriceServiceData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UpgradePriceServiceReturn { @@ -3775,6 +4357,9 @@ impl Entity for UpgradePriceServiceReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct User { @@ -3811,6 +4396,9 @@ impl Entity for User { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAlarmInfo { @@ -3834,6 +4422,9 @@ impl Entity for UserAlarmInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAlarmInfoListType { @@ -3849,6 +4440,9 @@ impl Entity for UserAlarmInfoListType { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAreaGroups { @@ -3864,6 +4458,9 @@ impl Entity for UserAreaGroups { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAuthentication { @@ -3881,6 +4478,9 @@ impl Entity for UserAuthentication { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserDataDelete { @@ -3898,6 +4498,9 @@ impl Entity for UserDataDelete { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserExternalAuthInfo { @@ -3918,6 +4521,9 @@ impl Entity for UserExternalAuthInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserGroupKeyDistribution { @@ -3938,6 +4544,9 @@ impl Entity for UserGroupKeyDistribution { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserGroupKeyRotationData { @@ -3968,6 +4577,9 @@ impl Entity for UserGroupKeyRotationData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserGroupKeyRotationPostIn { @@ -3983,6 +4595,9 @@ impl Entity for UserGroupKeyRotationPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserGroupRoot { @@ -4003,6 +4618,9 @@ impl Entity for UserGroupRoot { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct VariableExternalAuthInfo { @@ -4028,6 +4646,9 @@ impl Entity for VariableExternalAuthInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct VerifyRegistrationCodeData { @@ -4044,6 +4665,9 @@ impl Entity for VerifyRegistrationCodeData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Version { @@ -4063,6 +4687,9 @@ impl Entity for Version { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct VersionData { @@ -4081,6 +4708,9 @@ impl Entity for VersionData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct VersionInfo { @@ -4108,6 +4738,9 @@ impl Entity for VersionInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct VersionReturn { @@ -4123,6 +4756,9 @@ impl Entity for VersionReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WebauthnResponseData { @@ -4145,6 +4781,9 @@ impl Entity for WebauthnResponseData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WebsocketCounterData { @@ -4161,6 +4800,9 @@ impl Entity for WebsocketCounterData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WebsocketCounterValue { @@ -4177,6 +4819,9 @@ impl Entity for WebsocketCounterValue { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WebsocketEntityData { @@ -4194,6 +4839,9 @@ impl Entity for WebsocketEntityData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WebsocketLeaderStatus { @@ -4209,6 +4857,9 @@ impl Entity for WebsocketLeaderStatus { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WhitelabelChild { @@ -4236,6 +4887,9 @@ impl Entity for WhitelabelChild { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WhitelabelChildrenRef { @@ -4251,6 +4905,9 @@ impl Entity for WhitelabelChildrenRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WhitelabelConfig { @@ -4277,6 +4934,9 @@ impl Entity for WhitelabelConfig { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct WhitelabelParent { @@ -4292,3 +4952,6 @@ impl Entity for WhitelabelParent { } } } + + + diff --git a/tuta-sdk/rust/sdk/src/entities/tutanota.rs b/tuta-sdk/rust/sdk/src/entities/tutanota.rs index f53c94567d93..949973cd75f1 100644 --- a/tuta-sdk/rust/sdk/src/entities/tutanota.rs +++ b/tuta-sdk/rust/sdk/src/entities/tutanota.rs @@ -21,6 +21,9 @@ impl Entity for AttachmentKeyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Birthday { @@ -38,6 +41,9 @@ impl Entity for Birthday { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Body { @@ -55,6 +61,9 @@ impl Entity for Body { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarDeleteData { @@ -70,6 +79,9 @@ impl Entity for CalendarDeleteData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarEvent { @@ -107,6 +119,9 @@ impl Entity for CalendarEvent { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarEventAttendee { @@ -124,6 +139,9 @@ impl Entity for CalendarEventAttendee { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarEventIndexRef { @@ -139,6 +157,9 @@ impl Entity for CalendarEventIndexRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarEventUidIndex { @@ -158,6 +179,9 @@ impl Entity for CalendarEventUidIndex { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarEventUpdate { @@ -182,6 +206,9 @@ impl Entity for CalendarEventUpdate { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarEventUpdateList { @@ -197,6 +224,9 @@ impl Entity for CalendarEventUpdateList { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarGroupRoot { @@ -222,6 +252,9 @@ impl Entity for CalendarGroupRoot { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CalendarRepeatRule { @@ -243,6 +276,9 @@ impl Entity for CalendarRepeatRule { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Contact { @@ -292,6 +328,9 @@ impl Entity for Contact { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactAddress { @@ -311,6 +350,9 @@ impl Entity for ContactAddress { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactCustomDate { @@ -330,6 +372,9 @@ impl Entity for ContactCustomDate { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactList { @@ -354,6 +399,9 @@ impl Entity for ContactList { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactListEntry { @@ -377,6 +425,9 @@ impl Entity for ContactListEntry { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactListGroupRoot { @@ -400,6 +451,9 @@ impl Entity for ContactListGroupRoot { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactMailAddress { @@ -419,6 +473,9 @@ impl Entity for ContactMailAddress { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactMessengerHandle { @@ -438,6 +495,9 @@ impl Entity for ContactMessengerHandle { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactPhoneNumber { @@ -457,6 +517,9 @@ impl Entity for ContactPhoneNumber { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactPronouns { @@ -474,6 +537,9 @@ impl Entity for ContactPronouns { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactRelationship { @@ -493,6 +559,9 @@ impl Entity for ContactRelationship { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactSocialId { @@ -512,6 +581,9 @@ impl Entity for ContactSocialId { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ContactWebsite { @@ -531,6 +603,9 @@ impl Entity for ContactWebsite { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ConversationEntry { @@ -552,6 +627,9 @@ impl Entity for ConversationEntry { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateExternalUserGroupData { @@ -572,6 +650,9 @@ impl Entity for CreateExternalUserGroupData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateGroupPostReturn { @@ -589,6 +670,9 @@ impl Entity for CreateGroupPostReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateMailFolderData { @@ -611,6 +695,9 @@ impl Entity for CreateMailFolderData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateMailFolderReturn { @@ -628,6 +715,9 @@ impl Entity for CreateMailFolderReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CreateMailGroupData { @@ -648,6 +738,9 @@ impl Entity for CreateMailGroupData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct CustomerAccountCreateData { @@ -683,6 +776,9 @@ impl Entity for CustomerAccountCreateData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DefaultAlarmInfo { @@ -699,6 +795,9 @@ impl Entity for DefaultAlarmInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DeleteGroupData { @@ -715,6 +814,9 @@ impl Entity for DeleteGroupData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DeleteMailData { @@ -731,6 +833,9 @@ impl Entity for DeleteMailData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DeleteMailFolderData { @@ -748,6 +853,9 @@ impl Entity for DeleteMailFolderData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DraftAttachment { @@ -767,6 +875,9 @@ impl Entity for DraftAttachment { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DraftCreateData { @@ -789,6 +900,9 @@ impl Entity for DraftCreateData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DraftCreateReturn { @@ -804,6 +918,9 @@ impl Entity for DraftCreateReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DraftData { @@ -832,6 +949,9 @@ impl Entity for DraftData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DraftRecipient { @@ -849,6 +969,9 @@ impl Entity for DraftRecipient { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DraftUpdateData { @@ -867,6 +990,9 @@ impl Entity for DraftUpdateData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct DraftUpdateReturn { @@ -884,6 +1010,9 @@ impl Entity for DraftUpdateReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct EmailTemplate { @@ -909,6 +1038,9 @@ impl Entity for EmailTemplate { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct EmailTemplateContent { @@ -926,6 +1058,9 @@ impl Entity for EmailTemplateContent { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct EncryptTutanotaPropertiesData { @@ -944,6 +1079,9 @@ impl Entity for EncryptTutanotaPropertiesData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct EncryptedMailAddress { @@ -961,6 +1099,9 @@ impl Entity for EncryptedMailAddress { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct EntropyData { @@ -978,6 +1119,9 @@ impl Entity for EntropyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ExternalUserData { @@ -1013,6 +1157,9 @@ impl Entity for ExternalUserData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct TutanotaFile { @@ -1042,6 +1189,9 @@ impl Entity for TutanotaFile { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct FileSystem { @@ -1065,6 +1215,9 @@ impl Entity for FileSystem { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupInvitationDeleteData { @@ -1080,6 +1233,9 @@ impl Entity for GroupInvitationDeleteData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupInvitationPostData { @@ -1096,6 +1252,9 @@ impl Entity for GroupInvitationPostData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupInvitationPostReturn { @@ -1113,6 +1272,9 @@ impl Entity for GroupInvitationPostReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupInvitationPutData { @@ -1134,6 +1296,9 @@ impl Entity for GroupInvitationPutData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct GroupSettings { @@ -1154,6 +1319,9 @@ impl Entity for GroupSettings { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Header { @@ -1171,6 +1339,9 @@ impl Entity for Header { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ImapFolder { @@ -1189,6 +1360,9 @@ impl Entity for ImapFolder { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ImapSyncConfiguration { @@ -1208,6 +1382,9 @@ impl Entity for ImapSyncConfiguration { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ImapSyncState { @@ -1226,6 +1403,9 @@ impl Entity for ImapSyncState { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InboxRule { @@ -1245,6 +1425,9 @@ impl Entity for InboxRule { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InternalGroupData { @@ -1278,6 +1461,9 @@ impl Entity for InternalGroupData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct InternalRecipientKeyData { @@ -1298,6 +1484,9 @@ impl Entity for InternalRecipientKeyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct KnowledgeBaseEntry { @@ -1323,6 +1512,9 @@ impl Entity for KnowledgeBaseEntry { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct KnowledgeBaseEntryKeyword { @@ -1339,6 +1531,9 @@ impl Entity for KnowledgeBaseEntryKeyword { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ListUnsubscribeData { @@ -1356,6 +1551,9 @@ impl Entity for ListUnsubscribeData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Mail { @@ -1400,6 +1598,9 @@ impl Entity for Mail { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddress { @@ -1418,6 +1619,9 @@ impl Entity for MailAddress { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailAddressProperties { @@ -1435,6 +1639,9 @@ impl Entity for MailAddressProperties { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailBag { @@ -1450,6 +1657,9 @@ impl Entity for MailBag { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailBox { @@ -1480,6 +1690,9 @@ impl Entity for MailBox { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailDetails { @@ -1500,6 +1713,9 @@ impl Entity for MailDetails { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailDetailsBlob { @@ -1523,6 +1739,9 @@ impl Entity for MailDetailsBlob { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailDetailsDraft { @@ -1546,6 +1765,9 @@ impl Entity for MailDetailsDraft { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailDetailsDraftsRef { @@ -1561,6 +1783,9 @@ impl Entity for MailDetailsDraftsRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailFolder { @@ -1590,6 +1815,9 @@ impl Entity for MailFolder { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailFolderRef { @@ -1605,6 +1833,9 @@ impl Entity for MailFolderRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailSetEntry { @@ -1623,6 +1854,9 @@ impl Entity for MailSetEntry { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailboxGroupRoot { @@ -1646,6 +1880,9 @@ impl Entity for MailboxGroupRoot { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailboxProperties { @@ -1670,6 +1907,9 @@ impl Entity for MailboxProperties { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MailboxServerProperties { @@ -1688,6 +1928,9 @@ impl Entity for MailboxServerProperties { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct MoveMailData { @@ -1705,6 +1948,9 @@ impl Entity for MoveMailData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct NewDraftAttachment { @@ -1726,6 +1972,9 @@ impl Entity for NewDraftAttachment { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct NewsId { @@ -1742,6 +1991,9 @@ impl Entity for NewsId { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct NewsIn { @@ -1757,6 +2009,9 @@ impl Entity for NewsIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct NewsOut { @@ -1772,6 +2027,9 @@ impl Entity for NewsOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct NotificationMail { @@ -1791,6 +2049,9 @@ impl Entity for NotificationMail { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct OutOfOfficeNotification { @@ -1812,6 +2073,9 @@ impl Entity for OutOfOfficeNotification { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct OutOfOfficeNotificationMessage { @@ -1830,6 +2094,9 @@ impl Entity for OutOfOfficeNotificationMessage { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct OutOfOfficeNotificationRecipientList { @@ -1845,6 +2112,9 @@ impl Entity for OutOfOfficeNotificationRecipientList { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PhishingMarkerWebsocketData { @@ -1861,6 +2131,9 @@ impl Entity for PhishingMarkerWebsocketData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct PhotosRef { @@ -1876,6 +2149,9 @@ impl Entity for PhotosRef { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReceiveInfoServiceData { @@ -1891,6 +2167,9 @@ impl Entity for ReceiveInfoServiceData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Recipients { @@ -1908,6 +2187,9 @@ impl Entity for Recipients { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct RemoteImapSyncInfo { @@ -1927,6 +2209,9 @@ impl Entity for RemoteImapSyncInfo { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReportMailPostData { @@ -1945,6 +2230,9 @@ impl Entity for ReportMailPostData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct ReportedMailFieldMarker { @@ -1961,6 +2249,9 @@ impl Entity for ReportedMailFieldMarker { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SecureExternalRecipientKeyData { @@ -1989,6 +2280,9 @@ impl Entity for SecureExternalRecipientKeyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SendDraftData { @@ -2018,6 +2312,9 @@ impl Entity for SendDraftData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SendDraftReturn { @@ -2036,6 +2333,9 @@ impl Entity for SendDraftReturn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SharedGroupData { @@ -2065,6 +2365,9 @@ impl Entity for SharedGroupData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SimpleMoveMailPostIn { @@ -2081,6 +2384,9 @@ impl Entity for SimpleMoveMailPostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SpamResults { @@ -2096,6 +2402,9 @@ impl Entity for SpamResults { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct Subfiles { @@ -2111,6 +2420,9 @@ impl Entity for Subfiles { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct SymEncInternalRecipientKeyData { @@ -2130,6 +2442,9 @@ impl Entity for SymEncInternalRecipientKeyData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct TemplateGroupRoot { @@ -2154,6 +2469,9 @@ impl Entity for TemplateGroupRoot { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct TranslationGetIn { @@ -2169,6 +2487,9 @@ impl Entity for TranslationGetIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct TranslationGetOut { @@ -2185,6 +2506,9 @@ impl Entity for TranslationGetOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct TutanotaProperties { @@ -2221,6 +2545,9 @@ impl Entity for TutanotaProperties { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UnreadMailStatePostIn { @@ -2237,6 +2564,9 @@ impl Entity for UnreadMailStatePostIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UpdateMailFolderData { @@ -2253,6 +2583,9 @@ impl Entity for UpdateMailFolderData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAccountCreateData { @@ -2270,6 +2603,9 @@ impl Entity for UserAccountCreateData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAccountUserData { @@ -2325,6 +2661,9 @@ impl Entity for UserAccountUserData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAreaGroupData { @@ -2353,6 +2692,9 @@ impl Entity for UserAreaGroupData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAreaGroupDeleteData { @@ -2368,6 +2710,9 @@ impl Entity for UserAreaGroupDeleteData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserAreaGroupPostData { @@ -2383,6 +2728,9 @@ impl Entity for UserAreaGroupPostData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UserSettingsGroupRoot { @@ -2408,3 +2756,6 @@ impl Entity for UserSettingsGroupRoot { } } } + + + diff --git a/tuta-sdk/rust/sdk/src/entities/usage.rs b/tuta-sdk/rust/sdk/src/entities/usage.rs index 436cf519a0b5..98703f65e75e 100644 --- a/tuta-sdk/rust/sdk/src/entities/usage.rs +++ b/tuta-sdk/rust/sdk/src/entities/usage.rs @@ -21,6 +21,9 @@ impl Entity for UsageTestAssignment { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UsageTestAssignmentIn { @@ -36,6 +39,9 @@ impl Entity for UsageTestAssignmentIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UsageTestAssignmentOut { @@ -52,6 +58,9 @@ impl Entity for UsageTestAssignmentOut { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UsageTestMetricConfig { @@ -70,6 +79,9 @@ impl Entity for UsageTestMetricConfig { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UsageTestMetricConfigValue { @@ -86,6 +98,9 @@ impl Entity for UsageTestMetricConfigValue { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UsageTestMetricData { @@ -102,6 +117,9 @@ impl Entity for UsageTestMetricData { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UsageTestParticipationIn { @@ -120,6 +138,9 @@ impl Entity for UsageTestParticipationIn { } } + + + #[derive(uniffi::Record, Clone, Serialize, Deserialize)] #[cfg_attr(test, derive(PartialEq, Debug))] pub struct UsageTestStage { @@ -137,3 +158,6 @@ impl Entity for UsageTestStage { } } } + + + diff --git a/tuta-sdk/rust/sdk/src/services/accounting.rs b/tuta-sdk/rust/sdk/src/services/accounting.rs index 09beb7d2b058..ec3f0521da2f 100644 --- a/tuta-sdk/rust/sdk/src/services/accounting.rs +++ b/tuta-sdk/rust/sdk/src/services/accounting.rs @@ -1,18 +1,11 @@ #![allow(unused_imports, dead_code, unused_variables)] -use crate::entities::accounting::CustomerAccountReturn; +use crate::ApiCallError; use crate::entities::Entity; +use crate::services::{PostService, GetService, PutService, DeleteService, Service, Executor, ExtraServiceParams}; use crate::rest_client::HttpMethod; use crate::services::hidden::Nothing; -use crate::services::{ - DeleteService, Executor, ExtraServiceParams, GetService, PostService, PutService, Service, -}; -use crate::ApiCallError; +use crate::entities::accounting::CustomerAccountReturn; pub struct CustomerAccountService; -crate::service_impl!( - declare, - CustomerAccountService, - "accounting/customeraccountservice", - 7 -); +crate::service_impl!(declare, CustomerAccountService, "accounting/customeraccountservice", 7); crate::service_impl!(GET, CustomerAccountService, (), CustomerAccountReturn); diff --git a/tuta-sdk/rust/sdk/src/services/base.rs b/tuta-sdk/rust/sdk/src/services/base.rs index 95816926713d..213f090e5f55 100644 --- a/tuta-sdk/rust/sdk/src/services/base.rs +++ b/tuta-sdk/rust/sdk/src/services/base.rs @@ -1,8 +1,6 @@ #![allow(unused_imports, dead_code, unused_variables)] +use crate::ApiCallError; use crate::entities::Entity; +use crate::services::{PostService, GetService, PutService, DeleteService, Service, Executor, ExtraServiceParams}; use crate::rest_client::HttpMethod; -use crate::services::hidden::Nothing; -use crate::services::{ - DeleteService, Executor, ExtraServiceParams, GetService, PostService, PutService, Service, -}; -use crate::ApiCallError; +use crate::services::hidden::Nothing; \ No newline at end of file diff --git a/tuta-sdk/rust/sdk/src/services/gossip.rs b/tuta-sdk/rust/sdk/src/services/gossip.rs index 95816926713d..213f090e5f55 100644 --- a/tuta-sdk/rust/sdk/src/services/gossip.rs +++ b/tuta-sdk/rust/sdk/src/services/gossip.rs @@ -1,8 +1,6 @@ #![allow(unused_imports, dead_code, unused_variables)] +use crate::ApiCallError; use crate::entities::Entity; +use crate::services::{PostService, GetService, PutService, DeleteService, Service, Executor, ExtraServiceParams}; use crate::rest_client::HttpMethod; -use crate::services::hidden::Nothing; -use crate::services::{ - DeleteService, Executor, ExtraServiceParams, GetService, PostService, PutService, Service, -}; -use crate::ApiCallError; +use crate::services::hidden::Nothing; \ No newline at end of file diff --git a/tuta-sdk/rust/sdk/src/services/monitor.rs b/tuta-sdk/rust/sdk/src/services/monitor.rs index 63ad0216e668..4bf7158417ec 100644 --- a/tuta-sdk/rust/sdk/src/services/monitor.rs +++ b/tuta-sdk/rust/sdk/src/services/monitor.rs @@ -1,27 +1,21 @@ #![allow(unused_imports, dead_code, unused_variables)] -use crate::entities::monitor::ReadCounterData; -use crate::entities::monitor::ReadCounterReturn; -use crate::entities::monitor::ReportErrorIn; -use crate::entities::monitor::WriteCounterData; +use crate::ApiCallError; use crate::entities::Entity; +use crate::services::{PostService, GetService, PutService, DeleteService, Service, Executor, ExtraServiceParams}; use crate::rest_client::HttpMethod; use crate::services::hidden::Nothing; -use crate::services::{ - DeleteService, Executor, ExtraServiceParams, GetService, PostService, PutService, Service, -}; -use crate::ApiCallError; +use crate::entities::monitor::WriteCounterData; +use crate::entities::monitor::ReadCounterData; +use crate::entities::monitor::ReadCounterReturn; +use crate::entities::monitor::ReportErrorIn; pub struct CounterService; -crate::service_impl!(declare, CounterService, "monitor/counterservice", 28); +crate::service_impl!(declare, CounterService, "monitor/counterservice", 29); crate::service_impl!(POST, CounterService, WriteCounterData, ()); crate::service_impl!(GET, CounterService, ReadCounterData, ReadCounterReturn); + pub struct ReportErrorService; -crate::service_impl!( - declare, - ReportErrorService, - "monitor/reporterrorservice", - 28 -); +crate::service_impl!(declare, ReportErrorService, "monitor/reporterrorservice", 29); crate::service_impl!(POST, ReportErrorService, ReportErrorIn, ()); diff --git a/tuta-sdk/rust/sdk/src/services/storage.rs b/tuta-sdk/rust/sdk/src/services/storage.rs index fddd71ca6f34..2fe57a38bb4c 100644 --- a/tuta-sdk/rust/sdk/src/services/storage.rs +++ b/tuta-sdk/rust/sdk/src/services/storage.rs @@ -1,43 +1,28 @@ #![allow(unused_imports, dead_code, unused_variables)] -use crate::entities::storage::BlobAccessTokenPostIn; -use crate::entities::storage::BlobAccessTokenPostOut; -use crate::entities::storage::BlobGetIn; -use crate::entities::storage::BlobPostOut; -use crate::entities::storage::BlobReferenceDeleteIn; -use crate::entities::storage::BlobReferencePutIn; +use crate::ApiCallError; use crate::entities::Entity; +use crate::services::{PostService, GetService, PutService, DeleteService, Service, Executor, ExtraServiceParams}; use crate::rest_client::HttpMethod; use crate::services::hidden::Nothing; -use crate::services::{ - DeleteService, Executor, ExtraServiceParams, GetService, PostService, PutService, Service, -}; -use crate::ApiCallError; +use crate::entities::storage::BlobAccessTokenPostIn; +use crate::entities::storage::BlobAccessTokenPostOut; +use crate::entities::storage::BlobReferencePutIn; +use crate::entities::storage::BlobReferenceDeleteIn; +use crate::entities::storage::BlobPostOut; +use crate::entities::storage::BlobGetIn; pub struct BlobAccessTokenService; -crate::service_impl!( - declare, - BlobAccessTokenService, - "storage/blobaccesstokenservice", - 9 -); -crate::service_impl!( - POST, - BlobAccessTokenService, - BlobAccessTokenPostIn, - BlobAccessTokenPostOut -); +crate::service_impl!(declare, BlobAccessTokenService, "storage/blobaccesstokenservice", 9); +crate::service_impl!(POST, BlobAccessTokenService, BlobAccessTokenPostIn, BlobAccessTokenPostOut); + pub struct BlobReferenceService; -crate::service_impl!( - declare, - BlobReferenceService, - "storage/blobreferenceservice", - 9 -); +crate::service_impl!(declare, BlobReferenceService, "storage/blobreferenceservice", 9); crate::service_impl!(PUT, BlobReferenceService, BlobReferencePutIn, ()); crate::service_impl!(DELETE, BlobReferenceService, BlobReferenceDeleteIn, ()); + pub struct BlobService; crate::service_impl!(declare, BlobService, "storage/blobservice", 9); diff --git a/tuta-sdk/rust/sdk/src/services/sys.rs b/tuta-sdk/rust/sdk/src/services/sys.rs index a3eb3a9390f2..255238ec5bf6 100644 --- a/tuta-sdk/rust/sdk/src/services/sys.rs +++ b/tuta-sdk/rust/sdk/src/services/sys.rs @@ -1,80 +1,85 @@ #![allow(unused_imports, dead_code, unused_variables)] +use crate::ApiCallError; +use crate::entities::Entity; +use crate::services::{PostService, GetService, PutService, DeleteService, Service, Executor, ExtraServiceParams}; +use crate::rest_client::HttpMethod; +use crate::services::hidden::Nothing; use crate::entities::sys::AdminGroupKeyRotationPostIn; use crate::entities::sys::AffiliatePartnerKpiServiceGetOut; use crate::entities::sys::AlarmServicePost; -use crate::entities::sys::AutoLoginDataDelete; -use crate::entities::sys::AutoLoginDataGet; use crate::entities::sys::AutoLoginDataReturn; use crate::entities::sys::AutoLoginPostReturn; +use crate::entities::sys::AutoLoginDataGet; +use crate::entities::sys::AutoLoginDataDelete; use crate::entities::sys::BrandingDomainData; -use crate::entities::sys::BrandingDomainDeleteData; use crate::entities::sys::BrandingDomainGetReturn; +use crate::entities::sys::BrandingDomainDeleteData; use crate::entities::sys::ChangeKdfPostIn; use crate::entities::sys::ChangePasswordPostIn; use crate::entities::sys::CloseSessionServicePost; use crate::entities::sys::CreateCustomerServerPropertiesData; use crate::entities::sys::CreateCustomerServerPropertiesReturn; -use crate::entities::sys::CreateSessionData; -use crate::entities::sys::CreateSessionReturn; use crate::entities::sys::CustomDomainCheckGetIn; use crate::entities::sys::CustomDomainCheckGetOut; use crate::entities::sys::CustomDomainData; use crate::entities::sys::CustomDomainReturn; use crate::entities::sys::CustomerAccountTerminationPostIn; use crate::entities::sys::CustomerAccountTerminationPostOut; -use crate::entities::sys::DebitServicePutData; +use crate::entities::sys::PublicKeyGetOut; use crate::entities::sys::DeleteCustomerData; +use crate::entities::sys::DebitServicePutData; use crate::entities::sys::DomainMailAddressAvailabilityData; use crate::entities::sys::DomainMailAddressAvailabilityReturn; use crate::entities::sys::ExternalPropertiesReturn; +use crate::entities::sys::GiftCardRedeemData; +use crate::entities::sys::GiftCardRedeemGetReturn; use crate::entities::sys::GiftCardCreateData; use crate::entities::sys::GiftCardCreateReturn; -use crate::entities::sys::GiftCardDeleteData; use crate::entities::sys::GiftCardGetReturn; -use crate::entities::sys::GiftCardRedeemData; -use crate::entities::sys::GiftCardRedeemGetReturn; +use crate::entities::sys::GiftCardDeleteData; use crate::entities::sys::GroupKeyRotationInfoGetOut; use crate::entities::sys::GroupKeyRotationPostIn; use crate::entities::sys::InvoiceDataGetIn; use crate::entities::sys::InvoiceDataGetOut; use crate::entities::sys::LocationServiceGetReturn; -use crate::entities::sys::MailAddressAliasGetIn; use crate::entities::sys::MailAddressAliasServiceData; -use crate::entities::sys::MailAddressAliasServiceDataDelete; +use crate::entities::sys::MailAddressAliasGetIn; use crate::entities::sys::MailAddressAliasServiceReturn; +use crate::entities::sys::MailAddressAliasServiceDataDelete; use crate::entities::sys::MembershipAddData; use crate::entities::sys::MembershipPutIn; use crate::entities::sys::MembershipRemoveData; use crate::entities::sys::MultipleMailAddressAvailabilityData; use crate::entities::sys::MultipleMailAddressAvailabilityReturn; +use crate::entities::sys::PaymentDataServicePostData; use crate::entities::sys::PaymentDataServiceGetData; use crate::entities::sys::PaymentDataServiceGetReturn; -use crate::entities::sys::PaymentDataServicePostData; use crate::entities::sys::PaymentDataServicePutData; use crate::entities::sys::PaymentDataServicePutReturn; use crate::entities::sys::PlanServiceGetOut; use crate::entities::sys::PriceServiceData; use crate::entities::sys::PriceServiceReturn; use crate::entities::sys::PublicKeyGetIn; -use crate::entities::sys::PublicKeyGetOut; use crate::entities::sys::PublicKeyPutIn; -use crate::entities::sys::ReferralCodeGetIn; use crate::entities::sys::ReferralCodePostIn; use crate::entities::sys::ReferralCodePostOut; +use crate::entities::sys::ReferralCodeGetIn; use crate::entities::sys::RegistrationCaptchaServiceData; use crate::entities::sys::RegistrationCaptchaServiceGetData; use crate::entities::sys::RegistrationCaptchaServiceReturn; -use crate::entities::sys::RegistrationReturn; use crate::entities::sys::RegistrationServiceData; +use crate::entities::sys::RegistrationReturn; use crate::entities::sys::ResetFactorsDeleteData; use crate::entities::sys::ResetPasswordPostIn; use crate::entities::sys::SaltData; use crate::entities::sys::SaltReturn; use crate::entities::sys::SecondFactorAuthAllowedReturn; use crate::entities::sys::SecondFactorAuthData; -use crate::entities::sys::SecondFactorAuthDeleteData; use crate::entities::sys::SecondFactorAuthGetData; use crate::entities::sys::SecondFactorAuthGetReturn; +use crate::entities::sys::SecondFactorAuthDeleteData; +use crate::entities::sys::CreateSessionData; +use crate::entities::sys::CreateSessionReturn; use crate::entities::sys::SignOrderProcessingAgreementData; use crate::entities::sys::SwitchAccountTypePostIn; use crate::entities::sys::SystemKeysReturn; @@ -83,550 +88,321 @@ use crate::entities::sys::UpdatePermissionKeyData; use crate::entities::sys::UpdateSessionKeysPostIn; use crate::entities::sys::UpgradePriceServiceData; use crate::entities::sys::UpgradePriceServiceReturn; -use crate::entities::sys::UserDataDelete; use crate::entities::sys::UserGroupKeyRotationPostIn; +use crate::entities::sys::UserDataDelete; use crate::entities::sys::VersionData; use crate::entities::sys::VersionReturn; -use crate::entities::Entity; -use crate::rest_client::HttpMethod; -use crate::services::hidden::Nothing; -use crate::services::{ - DeleteService, Executor, ExtraServiceParams, GetService, PostService, PutService, Service, -}; -use crate::ApiCallError; pub struct AdminGroupKeyRotationService; -crate::service_impl!( - declare, - AdminGroupKeyRotationService, - "sys/admingroupkeyrotationservice", - 111 -); -crate::service_impl!( - POST, - AdminGroupKeyRotationService, - AdminGroupKeyRotationPostIn, - () -); +crate::service_impl!(declare, AdminGroupKeyRotationService, "sys/admingroupkeyrotationservice", 112); +crate::service_impl!(POST, AdminGroupKeyRotationService, AdminGroupKeyRotationPostIn, ()); + pub struct AffiliatePartnerKpiService; -crate::service_impl!( - declare, - AffiliatePartnerKpiService, - "sys/affiliatepartnerkpiservice", - 111 -); -crate::service_impl!( - GET, - AffiliatePartnerKpiService, - (), - AffiliatePartnerKpiServiceGetOut -); +crate::service_impl!(declare, AffiliatePartnerKpiService, "sys/affiliatepartnerkpiservice", 112); +crate::service_impl!(GET, AffiliatePartnerKpiService, (), AffiliatePartnerKpiServiceGetOut); + pub struct AlarmService; -crate::service_impl!(declare, AlarmService, "sys/alarmservice", 111); +crate::service_impl!(declare, AlarmService, "sys/alarmservice", 112); crate::service_impl!(POST, AlarmService, AlarmServicePost, ()); + pub struct AutoLoginService; -crate::service_impl!(declare, AutoLoginService, "sys/autologinservice", 111); -crate::service_impl!( - POST, - AutoLoginService, - AutoLoginDataReturn, - AutoLoginPostReturn -); +crate::service_impl!(declare, AutoLoginService, "sys/autologinservice", 112); +crate::service_impl!(POST, AutoLoginService, AutoLoginDataReturn, AutoLoginPostReturn); crate::service_impl!(GET, AutoLoginService, AutoLoginDataGet, AutoLoginDataReturn); crate::service_impl!(DELETE, AutoLoginService, AutoLoginDataDelete, ()); + pub struct BrandingDomainService; -crate::service_impl!( - declare, - BrandingDomainService, - "sys/brandingdomainservice", - 111 -); +crate::service_impl!(declare, BrandingDomainService, "sys/brandingdomainservice", 112); crate::service_impl!(POST, BrandingDomainService, BrandingDomainData, ()); crate::service_impl!(GET, BrandingDomainService, (), BrandingDomainGetReturn); crate::service_impl!(PUT, BrandingDomainService, BrandingDomainData, ()); crate::service_impl!(DELETE, BrandingDomainService, BrandingDomainDeleteData, ()); + pub struct ChangeKdfService; -crate::service_impl!(declare, ChangeKdfService, "sys/changekdfservice", 111); +crate::service_impl!(declare, ChangeKdfService, "sys/changekdfservice", 112); crate::service_impl!(POST, ChangeKdfService, ChangeKdfPostIn, ()); + pub struct ChangePasswordService; -crate::service_impl!( - declare, - ChangePasswordService, - "sys/changepasswordservice", - 111 -); +crate::service_impl!(declare, ChangePasswordService, "sys/changepasswordservice", 112); crate::service_impl!(POST, ChangePasswordService, ChangePasswordPostIn, ()); + pub struct CloseSessionService; -crate::service_impl!(declare, CloseSessionService, "sys/closesessionservice", 111); +crate::service_impl!(declare, CloseSessionService, "sys/closesessionservice", 112); crate::service_impl!(POST, CloseSessionService, CloseSessionServicePost, ()); + pub struct CreateCustomerServerProperties; -crate::service_impl!( - declare, - CreateCustomerServerProperties, - "sys/createcustomerserverproperties", - 111 -); -crate::service_impl!( - POST, - CreateCustomerServerProperties, - CreateCustomerServerPropertiesData, - CreateCustomerServerPropertiesReturn -); +crate::service_impl!(declare, CreateCustomerServerProperties, "sys/createcustomerserverproperties", 112); +crate::service_impl!(POST, CreateCustomerServerProperties, CreateCustomerServerPropertiesData, CreateCustomerServerPropertiesReturn); + pub struct CustomDomainCheckService; -crate::service_impl!( - declare, - CustomDomainCheckService, - "sys/customdomaincheckservice", - 111 -); -crate::service_impl!( - GET, - CustomDomainCheckService, - CustomDomainCheckGetIn, - CustomDomainCheckGetOut -); +crate::service_impl!(declare, CustomDomainCheckService, "sys/customdomaincheckservice", 112); +crate::service_impl!(GET, CustomDomainCheckService, CustomDomainCheckGetIn, CustomDomainCheckGetOut); + pub struct CustomDomainService; -crate::service_impl!(declare, CustomDomainService, "sys/customdomainservice", 111); -crate::service_impl!( - POST, - CustomDomainService, - CustomDomainData, - CustomDomainReturn -); +crate::service_impl!(declare, CustomDomainService, "sys/customdomainservice", 112); +crate::service_impl!(POST, CustomDomainService, CustomDomainData, CustomDomainReturn); crate::service_impl!(PUT, CustomDomainService, CustomDomainData, ()); crate::service_impl!(DELETE, CustomDomainService, CustomDomainData, ()); + pub struct CustomerAccountTerminationService; -crate::service_impl!( - declare, - CustomerAccountTerminationService, - "sys/customeraccountterminationservice", - 111 -); -crate::service_impl!( - POST, - CustomerAccountTerminationService, - CustomerAccountTerminationPostIn, - CustomerAccountTerminationPostOut -); +crate::service_impl!(declare, CustomerAccountTerminationService, "sys/customeraccountterminationservice", 112); +crate::service_impl!(POST, CustomerAccountTerminationService, CustomerAccountTerminationPostIn, CustomerAccountTerminationPostOut); + pub struct CustomerPublicKeyService; -crate::service_impl!( - declare, - CustomerPublicKeyService, - "sys/customerpublickeyservice", - 111 -); +crate::service_impl!(declare, CustomerPublicKeyService, "sys/customerpublickeyservice", 112); crate::service_impl!(GET, CustomerPublicKeyService, (), PublicKeyGetOut); + pub struct CustomerService; -crate::service_impl!(declare, CustomerService, "sys/customerservice", 111); +crate::service_impl!(declare, CustomerService, "sys/customerservice", 112); crate::service_impl!(DELETE, CustomerService, DeleteCustomerData, ()); + pub struct DebitService; -crate::service_impl!(declare, DebitService, "sys/debitservice", 111); +crate::service_impl!(declare, DebitService, "sys/debitservice", 112); crate::service_impl!(PUT, DebitService, DebitServicePutData, ()); + pub struct DomainMailAddressAvailabilityService; -crate::service_impl!( - declare, - DomainMailAddressAvailabilityService, - "sys/domainmailaddressavailabilityservice", - 111 -); -crate::service_impl!( - GET, - DomainMailAddressAvailabilityService, - DomainMailAddressAvailabilityData, - DomainMailAddressAvailabilityReturn -); +crate::service_impl!(declare, DomainMailAddressAvailabilityService, "sys/domainmailaddressavailabilityservice", 112); +crate::service_impl!(GET, DomainMailAddressAvailabilityService, DomainMailAddressAvailabilityData, DomainMailAddressAvailabilityReturn); + pub struct ExternalPropertiesService; -crate::service_impl!( - declare, - ExternalPropertiesService, - "sys/externalpropertiesservice", - 111 -); +crate::service_impl!(declare, ExternalPropertiesService, "sys/externalpropertiesservice", 112); crate::service_impl!(GET, ExternalPropertiesService, (), ExternalPropertiesReturn); + pub struct GiftCardRedeemService; -crate::service_impl!( - declare, - GiftCardRedeemService, - "sys/giftcardredeemservice", - 111 -); +crate::service_impl!(declare, GiftCardRedeemService, "sys/giftcardredeemservice", 112); crate::service_impl!(POST, GiftCardRedeemService, GiftCardRedeemData, ()); -crate::service_impl!( - GET, - GiftCardRedeemService, - GiftCardRedeemData, - GiftCardRedeemGetReturn -); +crate::service_impl!(GET, GiftCardRedeemService, GiftCardRedeemData, GiftCardRedeemGetReturn); + pub struct GiftCardService; -crate::service_impl!(declare, GiftCardService, "sys/giftcardservice", 111); -crate::service_impl!( - POST, - GiftCardService, - GiftCardCreateData, - GiftCardCreateReturn -); +crate::service_impl!(declare, GiftCardService, "sys/giftcardservice", 112); +crate::service_impl!(POST, GiftCardService, GiftCardCreateData, GiftCardCreateReturn); crate::service_impl!(GET, GiftCardService, (), GiftCardGetReturn); crate::service_impl!(DELETE, GiftCardService, GiftCardDeleteData, ()); + pub struct GroupKeyRotationInfoService; -crate::service_impl!( - declare, - GroupKeyRotationInfoService, - "sys/groupkeyrotationinfoservice", - 111 -); -crate::service_impl!( - GET, - GroupKeyRotationInfoService, - (), - GroupKeyRotationInfoGetOut -); +crate::service_impl!(declare, GroupKeyRotationInfoService, "sys/groupkeyrotationinfoservice", 112); +crate::service_impl!(GET, GroupKeyRotationInfoService, (), GroupKeyRotationInfoGetOut); + pub struct GroupKeyRotationService; -crate::service_impl!( - declare, - GroupKeyRotationService, - "sys/groupkeyrotationservice", - 111 -); +crate::service_impl!(declare, GroupKeyRotationService, "sys/groupkeyrotationservice", 112); crate::service_impl!(POST, GroupKeyRotationService, GroupKeyRotationPostIn, ()); + pub struct InvoiceDataService; -crate::service_impl!(declare, InvoiceDataService, "sys/invoicedataservice", 111); +crate::service_impl!(declare, InvoiceDataService, "sys/invoicedataservice", 112); crate::service_impl!(GET, InvoiceDataService, InvoiceDataGetIn, InvoiceDataGetOut); + pub struct LocationService; -crate::service_impl!(declare, LocationService, "sys/locationservice", 111); +crate::service_impl!(declare, LocationService, "sys/locationservice", 112); crate::service_impl!(GET, LocationService, (), LocationServiceGetReturn); + pub struct MailAddressAliasService; -crate::service_impl!( - declare, - MailAddressAliasService, - "sys/mailaddressaliasservice", - 111 -); -crate::service_impl!( - POST, - MailAddressAliasService, - MailAddressAliasServiceData, - () -); -crate::service_impl!( - GET, - MailAddressAliasService, - MailAddressAliasGetIn, - MailAddressAliasServiceReturn -); -crate::service_impl!( - DELETE, - MailAddressAliasService, - MailAddressAliasServiceDataDelete, - () -); +crate::service_impl!(declare, MailAddressAliasService, "sys/mailaddressaliasservice", 112); +crate::service_impl!(POST, MailAddressAliasService, MailAddressAliasServiceData, ()); +crate::service_impl!(GET, MailAddressAliasService, MailAddressAliasGetIn, MailAddressAliasServiceReturn); +crate::service_impl!(DELETE, MailAddressAliasService, MailAddressAliasServiceDataDelete, ()); + pub struct MembershipService; -crate::service_impl!(declare, MembershipService, "sys/membershipservice", 111); +crate::service_impl!(declare, MembershipService, "sys/membershipservice", 112); crate::service_impl!(POST, MembershipService, MembershipAddData, ()); crate::service_impl!(PUT, MembershipService, MembershipPutIn, ()); crate::service_impl!(DELETE, MembershipService, MembershipRemoveData, ()); + pub struct MultipleMailAddressAvailabilityService; -crate::service_impl!( - declare, - MultipleMailAddressAvailabilityService, - "sys/multiplemailaddressavailabilityservice", - 111 -); -crate::service_impl!( - GET, - MultipleMailAddressAvailabilityService, - MultipleMailAddressAvailabilityData, - MultipleMailAddressAvailabilityReturn -); +crate::service_impl!(declare, MultipleMailAddressAvailabilityService, "sys/multiplemailaddressavailabilityservice", 112); +crate::service_impl!(GET, MultipleMailAddressAvailabilityService, MultipleMailAddressAvailabilityData, MultipleMailAddressAvailabilityReturn); + pub struct PaymentDataService; -crate::service_impl!(declare, PaymentDataService, "sys/paymentdataservice", 111); +crate::service_impl!(declare, PaymentDataService, "sys/paymentdataservice", 112); crate::service_impl!(POST, PaymentDataService, PaymentDataServicePostData, ()); -crate::service_impl!( - GET, - PaymentDataService, - PaymentDataServiceGetData, - PaymentDataServiceGetReturn -); -crate::service_impl!( - PUT, - PaymentDataService, - PaymentDataServicePutData, - PaymentDataServicePutReturn -); +crate::service_impl!(GET, PaymentDataService, PaymentDataServiceGetData, PaymentDataServiceGetReturn); +crate::service_impl!(PUT, PaymentDataService, PaymentDataServicePutData, PaymentDataServicePutReturn); + pub struct PlanService; -crate::service_impl!(declare, PlanService, "sys/planservice", 111); +crate::service_impl!(declare, PlanService, "sys/planservice", 112); crate::service_impl!(GET, PlanService, (), PlanServiceGetOut); + pub struct PriceService; -crate::service_impl!(declare, PriceService, "sys/priceservice", 111); +crate::service_impl!(declare, PriceService, "sys/priceservice", 112); crate::service_impl!(GET, PriceService, PriceServiceData, PriceServiceReturn); + pub struct PublicKeyService; -crate::service_impl!(declare, PublicKeyService, "sys/publickeyservice", 111); +crate::service_impl!(declare, PublicKeyService, "sys/publickeyservice", 112); crate::service_impl!(GET, PublicKeyService, PublicKeyGetIn, PublicKeyGetOut); crate::service_impl!(PUT, PublicKeyService, PublicKeyPutIn, ()); + pub struct ReferralCodeService; -crate::service_impl!(declare, ReferralCodeService, "sys/referralcodeservice", 111); -crate::service_impl!( - POST, - ReferralCodeService, - ReferralCodePostIn, - ReferralCodePostOut -); +crate::service_impl!(declare, ReferralCodeService, "sys/referralcodeservice", 112); +crate::service_impl!(POST, ReferralCodeService, ReferralCodePostIn, ReferralCodePostOut); crate::service_impl!(GET, ReferralCodeService, ReferralCodeGetIn, ()); + pub struct RegistrationCaptchaService; -crate::service_impl!( - declare, - RegistrationCaptchaService, - "sys/registrationcaptchaservice", - 111 -); -crate::service_impl!( - POST, - RegistrationCaptchaService, - RegistrationCaptchaServiceData, - () -); -crate::service_impl!( - GET, - RegistrationCaptchaService, - RegistrationCaptchaServiceGetData, - RegistrationCaptchaServiceReturn -); +crate::service_impl!(declare, RegistrationCaptchaService, "sys/registrationcaptchaservice", 112); +crate::service_impl!(POST, RegistrationCaptchaService, RegistrationCaptchaServiceData, ()); +crate::service_impl!(GET, RegistrationCaptchaService, RegistrationCaptchaServiceGetData, RegistrationCaptchaServiceReturn); + pub struct RegistrationService; -crate::service_impl!(declare, RegistrationService, "sys/registrationservice", 111); -crate::service_impl!( - POST, - RegistrationService, - RegistrationServiceData, - RegistrationReturn -); +crate::service_impl!(declare, RegistrationService, "sys/registrationservice", 112); +crate::service_impl!(POST, RegistrationService, RegistrationServiceData, RegistrationReturn); crate::service_impl!(GET, RegistrationService, (), RegistrationServiceData); + pub struct ResetFactorsService; -crate::service_impl!(declare, ResetFactorsService, "sys/resetfactorsservice", 111); +crate::service_impl!(declare, ResetFactorsService, "sys/resetfactorsservice", 112); crate::service_impl!(DELETE, ResetFactorsService, ResetFactorsDeleteData, ()); + pub struct ResetPasswordService; -crate::service_impl!( - declare, - ResetPasswordService, - "sys/resetpasswordservice", - 111 -); +crate::service_impl!(declare, ResetPasswordService, "sys/resetpasswordservice", 112); crate::service_impl!(POST, ResetPasswordService, ResetPasswordPostIn, ()); + pub struct SaltService; -crate::service_impl!(declare, SaltService, "sys/saltservice", 111); +crate::service_impl!(declare, SaltService, "sys/saltservice", 112); crate::service_impl!(GET, SaltService, SaltData, SaltReturn); + pub struct SecondFactorAuthAllowedService; -crate::service_impl!( - declare, - SecondFactorAuthAllowedService, - "sys/secondfactorauthallowedservice", - 111 -); -crate::service_impl!( - GET, - SecondFactorAuthAllowedService, - (), - SecondFactorAuthAllowedReturn -); +crate::service_impl!(declare, SecondFactorAuthAllowedService, "sys/secondfactorauthallowedservice", 112); +crate::service_impl!(GET, SecondFactorAuthAllowedService, (), SecondFactorAuthAllowedReturn); + pub struct SecondFactorAuthService; -crate::service_impl!( - declare, - SecondFactorAuthService, - "sys/secondfactorauthservice", - 111 -); +crate::service_impl!(declare, SecondFactorAuthService, "sys/secondfactorauthservice", 112); crate::service_impl!(POST, SecondFactorAuthService, SecondFactorAuthData, ()); -crate::service_impl!( - GET, - SecondFactorAuthService, - SecondFactorAuthGetData, - SecondFactorAuthGetReturn -); -crate::service_impl!( - DELETE, - SecondFactorAuthService, - SecondFactorAuthDeleteData, - () -); +crate::service_impl!(GET, SecondFactorAuthService, SecondFactorAuthGetData, SecondFactorAuthGetReturn); +crate::service_impl!(DELETE, SecondFactorAuthService, SecondFactorAuthDeleteData, ()); + pub struct SessionService; -crate::service_impl!(declare, SessionService, "sys/sessionservice", 111); +crate::service_impl!(declare, SessionService, "sys/sessionservice", 112); crate::service_impl!(POST, SessionService, CreateSessionData, CreateSessionReturn); + pub struct SignOrderProcessingAgreementService; -crate::service_impl!( - declare, - SignOrderProcessingAgreementService, - "sys/signorderprocessingagreementservice", - 111 -); -crate::service_impl!( - POST, - SignOrderProcessingAgreementService, - SignOrderProcessingAgreementData, - () -); +crate::service_impl!(declare, SignOrderProcessingAgreementService, "sys/signorderprocessingagreementservice", 112); +crate::service_impl!(POST, SignOrderProcessingAgreementService, SignOrderProcessingAgreementData, ()); + pub struct SwitchAccountTypeService; -crate::service_impl!( - declare, - SwitchAccountTypeService, - "sys/switchaccounttypeservice", - 111 -); +crate::service_impl!(declare, SwitchAccountTypeService, "sys/switchaccounttypeservice", 112); crate::service_impl!(POST, SwitchAccountTypeService, SwitchAccountTypePostIn, ()); + pub struct SystemKeysService; -crate::service_impl!(declare, SystemKeysService, "sys/systemkeysservice", 111); +crate::service_impl!(declare, SystemKeysService, "sys/systemkeysservice", 112); crate::service_impl!(GET, SystemKeysService, (), SystemKeysReturn); + pub struct TakeOverDeletedAddressService; -crate::service_impl!( - declare, - TakeOverDeletedAddressService, - "sys/takeoverdeletedaddressservice", - 111 -); -crate::service_impl!( - POST, - TakeOverDeletedAddressService, - TakeOverDeletedAddressData, - () -); +crate::service_impl!(declare, TakeOverDeletedAddressService, "sys/takeoverdeletedaddressservice", 112); +crate::service_impl!(POST, TakeOverDeletedAddressService, TakeOverDeletedAddressData, ()); + pub struct UpdatePermissionKeyService; -crate::service_impl!( - declare, - UpdatePermissionKeyService, - "sys/updatepermissionkeyservice", - 111 -); -crate::service_impl!( - POST, - UpdatePermissionKeyService, - UpdatePermissionKeyData, - () -); +crate::service_impl!(declare, UpdatePermissionKeyService, "sys/updatepermissionkeyservice", 112); +crate::service_impl!(POST, UpdatePermissionKeyService, UpdatePermissionKeyData, ()); + pub struct UpdateSessionKeysService; -crate::service_impl!( - declare, - UpdateSessionKeysService, - "sys/updatesessionkeysservice", - 111 -); +crate::service_impl!(declare, UpdateSessionKeysService, "sys/updatesessionkeysservice", 112); crate::service_impl!(POST, UpdateSessionKeysService, UpdateSessionKeysPostIn, ()); + pub struct UpgradePriceService; -crate::service_impl!(declare, UpgradePriceService, "sys/upgradepriceservice", 111); -crate::service_impl!( - GET, - UpgradePriceService, - UpgradePriceServiceData, - UpgradePriceServiceReturn -); +crate::service_impl!(declare, UpgradePriceService, "sys/upgradepriceservice", 112); +crate::service_impl!(GET, UpgradePriceService, UpgradePriceServiceData, UpgradePriceServiceReturn); + pub struct UserGroupKeyRotationService; -crate::service_impl!( - declare, - UserGroupKeyRotationService, - "sys/usergroupkeyrotationservice", - 111 -); -crate::service_impl!( - POST, - UserGroupKeyRotationService, - UserGroupKeyRotationPostIn, - () -); +crate::service_impl!(declare, UserGroupKeyRotationService, "sys/usergroupkeyrotationservice", 112); +crate::service_impl!(POST, UserGroupKeyRotationService, UserGroupKeyRotationPostIn, ()); + pub struct UserService; -crate::service_impl!(declare, UserService, "sys/userservice", 111); +crate::service_impl!(declare, UserService, "sys/userservice", 112); crate::service_impl!(DELETE, UserService, UserDataDelete, ()); + pub struct VersionService; -crate::service_impl!(declare, VersionService, "sys/versionservice", 111); +crate::service_impl!(declare, VersionService, "sys/versionservice", 112); crate::service_impl!(GET, VersionService, VersionData, VersionReturn); diff --git a/tuta-sdk/rust/sdk/src/services/tutanota.rs b/tuta-sdk/rust/sdk/src/services/tutanota.rs index 6bda38e1add3..a1435818ba0b 100644 --- a/tuta-sdk/rust/sdk/src/services/tutanota.rs +++ b/tuta-sdk/rust/sdk/src/services/tutanota.rs @@ -1,12 +1,14 @@ #![allow(unused_imports, dead_code, unused_variables)] +use crate::ApiCallError; +use crate::entities::Entity; +use crate::services::{PostService, GetService, PutService, DeleteService, Service, Executor, ExtraServiceParams}; +use crate::rest_client::HttpMethod; +use crate::services::hidden::Nothing; +use crate::entities::tutanota::UserAreaGroupPostData; use crate::entities::tutanota::CreateGroupPostReturn; -use crate::entities::tutanota::CreateMailFolderData; -use crate::entities::tutanota::CreateMailFolderReturn; -use crate::entities::tutanota::CreateMailGroupData; +use crate::entities::tutanota::CalendarDeleteData; +use crate::entities::tutanota::UserAreaGroupDeleteData; use crate::entities::tutanota::CustomerAccountCreateData; -use crate::entities::tutanota::DeleteGroupData; -use crate::entities::tutanota::DeleteMailData; -use crate::entities::tutanota::DeleteMailFolderData; use crate::entities::tutanota::DraftCreateData; use crate::entities::tutanota::DraftCreateReturn; use crate::entities::tutanota::DraftUpdateData; @@ -14,11 +16,18 @@ use crate::entities::tutanota::DraftUpdateReturn; use crate::entities::tutanota::EncryptTutanotaPropertiesData; use crate::entities::tutanota::EntropyData; use crate::entities::tutanota::ExternalUserData; -use crate::entities::tutanota::GroupInvitationDeleteData; use crate::entities::tutanota::GroupInvitationPostData; use crate::entities::tutanota::GroupInvitationPostReturn; use crate::entities::tutanota::GroupInvitationPutData; +use crate::entities::tutanota::GroupInvitationDeleteData; use crate::entities::tutanota::ListUnsubscribeData; +use crate::entities::tutanota::CreateMailFolderData; +use crate::entities::tutanota::CreateMailFolderReturn; +use crate::entities::tutanota::UpdateMailFolderData; +use crate::entities::tutanota::DeleteMailFolderData; +use crate::entities::tutanota::CreateMailGroupData; +use crate::entities::tutanota::DeleteGroupData; +use crate::entities::tutanota::DeleteMailData; use crate::entities::tutanota::MoveMailData; use crate::entities::tutanota::NewsIn; use crate::entities::tutanota::NewsOut; @@ -26,231 +35,153 @@ use crate::entities::tutanota::ReceiveInfoServiceData; use crate::entities::tutanota::ReportMailPostData; use crate::entities::tutanota::SendDraftData; use crate::entities::tutanota::SendDraftReturn; +use crate::entities::tutanota::SimpleMoveMailPostIn; use crate::entities::tutanota::TranslationGetIn; use crate::entities::tutanota::TranslationGetOut; -use crate::entities::tutanota::UpdateMailFolderData; +use crate::entities::tutanota::UnreadMailStatePostIn; use crate::entities::tutanota::UserAccountCreateData; -use crate::entities::tutanota::UserAreaGroupDeleteData; -use crate::entities::tutanota::UserAreaGroupPostData; -use crate::entities::tutanota::{CalendarDeleteData, SimpleMoveMailPostIn, UnreadMailStatePostIn}; -use crate::entities::Entity; -use crate::rest_client::HttpMethod; -use crate::services::hidden::Nothing; -use crate::services::{ - DeleteService, Executor, ExtraServiceParams, GetService, PostService, PutService, Service, -}; -use crate::ApiCallError; pub struct CalendarService; -crate::service_impl!(declare, CalendarService, "tutanota/calendarservice", 75); -crate::service_impl!( - POST, - CalendarService, - UserAreaGroupPostData, - CreateGroupPostReturn -); +crate::service_impl!(declare, CalendarService, "tutanota/calendarservice", 77); +crate::service_impl!(POST, CalendarService, UserAreaGroupPostData, CreateGroupPostReturn); crate::service_impl!(DELETE, CalendarService, CalendarDeleteData, ()); + pub struct ContactListGroupService; -crate::service_impl!( - declare, - ContactListGroupService, - "tutanota/contactlistgroupservice", - 75 -); -crate::service_impl!( - POST, - ContactListGroupService, - UserAreaGroupPostData, - CreateGroupPostReturn -); +crate::service_impl!(declare, ContactListGroupService, "tutanota/contactlistgroupservice", 77); +crate::service_impl!(POST, ContactListGroupService, UserAreaGroupPostData, CreateGroupPostReturn); crate::service_impl!(DELETE, ContactListGroupService, UserAreaGroupDeleteData, ()); + pub struct CustomerAccountService; -crate::service_impl!( - declare, - CustomerAccountService, - "tutanota/customeraccountservice", - 75 -); +crate::service_impl!(declare, CustomerAccountService, "tutanota/customeraccountservice", 77); crate::service_impl!(POST, CustomerAccountService, CustomerAccountCreateData, ()); + pub struct DraftService; -crate::service_impl!(declare, DraftService, "tutanota/draftservice", 75); +crate::service_impl!(declare, DraftService, "tutanota/draftservice", 77); crate::service_impl!(POST, DraftService, DraftCreateData, DraftCreateReturn); crate::service_impl!(PUT, DraftService, DraftUpdateData, DraftUpdateReturn); + pub struct EncryptTutanotaPropertiesService; -crate::service_impl!( - declare, - EncryptTutanotaPropertiesService, - "tutanota/encrypttutanotapropertiesservice", - 75 -); -crate::service_impl!( - POST, - EncryptTutanotaPropertiesService, - EncryptTutanotaPropertiesData, - () -); +crate::service_impl!(declare, EncryptTutanotaPropertiesService, "tutanota/encrypttutanotapropertiesservice", 77); +crate::service_impl!(POST, EncryptTutanotaPropertiesService, EncryptTutanotaPropertiesData, ()); + pub struct EntropyService; -crate::service_impl!(declare, EntropyService, "tutanota/entropyservice", 75); +crate::service_impl!(declare, EntropyService, "tutanota/entropyservice", 77); crate::service_impl!(PUT, EntropyService, EntropyData, ()); + pub struct ExternalUserService; -crate::service_impl!( - declare, - ExternalUserService, - "tutanota/externaluserservice", - 75 -); +crate::service_impl!(declare, ExternalUserService, "tutanota/externaluserservice", 77); crate::service_impl!(POST, ExternalUserService, ExternalUserData, ()); + pub struct GroupInvitationService; -crate::service_impl!( - declare, - GroupInvitationService, - "tutanota/groupinvitationservice", - 75 -); -crate::service_impl!( - POST, - GroupInvitationService, - GroupInvitationPostData, - GroupInvitationPostReturn -); +crate::service_impl!(declare, GroupInvitationService, "tutanota/groupinvitationservice", 77); +crate::service_impl!(POST, GroupInvitationService, GroupInvitationPostData, GroupInvitationPostReturn); crate::service_impl!(PUT, GroupInvitationService, GroupInvitationPutData, ()); -crate::service_impl!( - DELETE, - GroupInvitationService, - GroupInvitationDeleteData, - () -); +crate::service_impl!(DELETE, GroupInvitationService, GroupInvitationDeleteData, ()); + + +pub struct ImportMailService; + +crate::service_impl!(declare, ImportMailService, "tutanota/importmailservice", 77); + pub struct ListUnsubscribeService; -crate::service_impl!( - declare, - ListUnsubscribeService, - "tutanota/listunsubscribeservice", - 75 -); +crate::service_impl!(declare, ListUnsubscribeService, "tutanota/listunsubscribeservice", 77); crate::service_impl!(POST, ListUnsubscribeService, ListUnsubscribeData, ()); + pub struct MailFolderService; -crate::service_impl!(declare, MailFolderService, "tutanota/mailfolderservice", 75); -crate::service_impl!( - POST, - MailFolderService, - CreateMailFolderData, - CreateMailFolderReturn -); +crate::service_impl!(declare, MailFolderService, "tutanota/mailfolderservice", 77); +crate::service_impl!(POST, MailFolderService, CreateMailFolderData, CreateMailFolderReturn); crate::service_impl!(PUT, MailFolderService, UpdateMailFolderData, ()); crate::service_impl!(DELETE, MailFolderService, DeleteMailFolderData, ()); + pub struct MailGroupService; -crate::service_impl!(declare, MailGroupService, "tutanota/mailgroupservice", 75); +crate::service_impl!(declare, MailGroupService, "tutanota/mailgroupservice", 77); crate::service_impl!(POST, MailGroupService, CreateMailGroupData, ()); crate::service_impl!(DELETE, MailGroupService, DeleteGroupData, ()); + pub struct MailService; -crate::service_impl!(declare, MailService, "tutanota/mailservice", 75); +crate::service_impl!(declare, MailService, "tutanota/mailservice", 77); crate::service_impl!(DELETE, MailService, DeleteMailData, ()); + pub struct MoveMailService; -crate::service_impl!(declare, MoveMailService, "tutanota/movemailservice", 75); +crate::service_impl!(declare, MoveMailService, "tutanota/movemailservice", 77); crate::service_impl!(POST, MoveMailService, MoveMailData, ()); + pub struct NewsService; -crate::service_impl!(declare, NewsService, "tutanota/newsservice", 75); +crate::service_impl!(declare, NewsService, "tutanota/newsservice", 77); crate::service_impl!(POST, NewsService, NewsIn, ()); crate::service_impl!(GET, NewsService, (), NewsOut); + pub struct ReceiveInfoService; -crate::service_impl!( - declare, - ReceiveInfoService, - "tutanota/receiveinfoservice", - 75 -); +crate::service_impl!(declare, ReceiveInfoService, "tutanota/receiveinfoservice", 77); crate::service_impl!(POST, ReceiveInfoService, ReceiveInfoServiceData, ()); + pub struct ReportMailService; -crate::service_impl!(declare, ReportMailService, "tutanota/reportmailservice", 75); +crate::service_impl!(declare, ReportMailService, "tutanota/reportmailservice", 77); crate::service_impl!(POST, ReportMailService, ReportMailPostData, ()); + pub struct SendDraftService; -crate::service_impl!(declare, SendDraftService, "tutanota/senddraftservice", 75); +crate::service_impl!(declare, SendDraftService, "tutanota/senddraftservice", 77); crate::service_impl!(POST, SendDraftService, SendDraftData, SendDraftReturn); + +pub struct SimpleMoveMailService; + +crate::service_impl!(declare, SimpleMoveMailService, "tutanota/simplemovemailservice", 77); +crate::service_impl!(POST, SimpleMoveMailService, SimpleMoveMailPostIn, ()); + + pub struct TemplateGroupService; -crate::service_impl!( - declare, - TemplateGroupService, - "tutanota/templategroupservice", - 75 -); -crate::service_impl!( - POST, - TemplateGroupService, - UserAreaGroupPostData, - CreateGroupPostReturn -); +crate::service_impl!(declare, TemplateGroupService, "tutanota/templategroupservice", 77); +crate::service_impl!(POST, TemplateGroupService, UserAreaGroupPostData, CreateGroupPostReturn); crate::service_impl!(DELETE, TemplateGroupService, UserAreaGroupDeleteData, ()); + pub struct TranslationService; -crate::service_impl!( - declare, - TranslationService, - "tutanota/translationservice", - 75 -); +crate::service_impl!(declare, TranslationService, "tutanota/translationservice", 77); crate::service_impl!(GET, TranslationService, TranslationGetIn, TranslationGetOut); -pub struct UserAccountService; -crate::service_impl!( - declare, - UserAccountService, - "tutanota/useraccountservice", - 75 -); -crate::service_impl!(POST, UserAccountService, UserAccountCreateData, ()); +pub struct UnreadMailStateService; -pub struct SimpleMoveMailService; +crate::service_impl!(declare, UnreadMailStateService, "tutanota/unreadmailstateservice", 77); +crate::service_impl!(POST, UnreadMailStateService, UnreadMailStatePostIn, ()); -crate::service_impl!( - declare, - SimpleMoveMailService, - "tutanota/simplemovemailservice", - 76 -); -crate::service_impl!(POST, SimpleMoveMailService, SimpleMoveMailPostIn, ()); -pub struct UnreadMailStateService; +pub struct UserAccountService; -crate::service_impl!( - declare, - UnreadMailStateService, - "tutanota/unreadmailstateservice", - 76 -); -crate::service_impl!(POST, UnreadMailStateService, UnreadMailStatePostIn, ()); +crate::service_impl!(declare, UserAccountService, "tutanota/useraccountservice", 77); +crate::service_impl!(POST, UserAccountService, UserAccountCreateData, ()); diff --git a/tuta-sdk/rust/sdk/src/services/usage.rs b/tuta-sdk/rust/sdk/src/services/usage.rs index 52cf25dc127e..3ecd3f43f928 100644 --- a/tuta-sdk/rust/sdk/src/services/usage.rs +++ b/tuta-sdk/rust/sdk/src/services/usage.rs @@ -1,46 +1,20 @@ #![allow(unused_imports, dead_code, unused_variables)] -use crate::entities::usage::UsageTestAssignmentIn; -use crate::entities::usage::UsageTestAssignmentOut; -use crate::entities::usage::UsageTestParticipationIn; +use crate::ApiCallError; use crate::entities::Entity; +use crate::services::{PostService, GetService, PutService, DeleteService, Service, Executor, ExtraServiceParams}; use crate::rest_client::HttpMethod; use crate::services::hidden::Nothing; -use crate::services::{ - DeleteService, Executor, ExtraServiceParams, GetService, PostService, PutService, Service, -}; -use crate::ApiCallError; +use crate::entities::usage::UsageTestAssignmentIn; +use crate::entities::usage::UsageTestAssignmentOut; +use crate::entities::usage::UsageTestParticipationIn; pub struct UsageTestAssignmentService; -crate::service_impl!( - declare, - UsageTestAssignmentService, - "usage/usagetestassignmentservice", - 2 -); -crate::service_impl!( - POST, - UsageTestAssignmentService, - UsageTestAssignmentIn, - UsageTestAssignmentOut -); -crate::service_impl!( - PUT, - UsageTestAssignmentService, - UsageTestAssignmentIn, - UsageTestAssignmentOut -); +crate::service_impl!(declare, UsageTestAssignmentService, "usage/usagetestassignmentservice", 2); +crate::service_impl!(POST, UsageTestAssignmentService, UsageTestAssignmentIn, UsageTestAssignmentOut); +crate::service_impl!(PUT, UsageTestAssignmentService, UsageTestAssignmentIn, UsageTestAssignmentOut); + pub struct UsageTestParticipationService; -crate::service_impl!( - declare, - UsageTestParticipationService, - "usage/usagetestparticipationservice", - 2 -); -crate::service_impl!( - POST, - UsageTestParticipationService, - UsageTestParticipationIn, - () -); +crate::service_impl!(declare, UsageTestParticipationService, "usage/usagetestparticipationservice", 2); +crate::service_impl!(POST, UsageTestParticipationService, UsageTestParticipationIn, ()); diff --git a/tuta-sdk/rust/sdk/src/type_models/tutanota.json b/tuta-sdk/rust/sdk/src/type_models/tutanota.json index 44300193a05a..58097d754c7a 100644 --- a/tuta-sdk/rust/sdk/src/type_models/tutanota.json +++ b/tuta-sdk/rust/sdk/src/type_models/tutanota.json @@ -49,7 +49,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Birthday": { "name": "Birthday", @@ -99,7 +99,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "Body": { "name": "Body", @@ -140,7 +140,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarDeleteData": { "name": "CalendarDeleteData", @@ -174,7 +174,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEvent": { "name": "CalendarEvent", @@ -373,7 +373,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventAttendee": { "name": "CalendarEventAttendee", @@ -416,7 +416,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventIndexRef": { "name": "CalendarEventIndexRef", @@ -450,7 +450,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventUidIndex": { "name": "CalendarEventUidIndex", @@ -521,7 +521,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventUpdate": { "name": "CalendarEventUpdate", @@ -609,7 +609,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarEventUpdateList": { "name": "CalendarEventUpdateList", @@ -643,7 +643,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarGroupRoot": { "name": "CalendarGroupRoot", @@ -742,7 +742,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CalendarRepeatRule": { "name": "CalendarRepeatRule", @@ -821,7 +821,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Contact": { "name": "Contact", @@ -1144,7 +1144,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactAddress": { "name": "ContactAddress", @@ -1194,7 +1194,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactCustomDate": { "name": "ContactCustomDate", @@ -1244,7 +1244,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactList": { "name": "ContactList", @@ -1333,7 +1333,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactListEntry": { "name": "ContactListEntry", @@ -1410,7 +1410,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactListGroupRoot": { "name": "ContactListGroupRoot", @@ -1489,7 +1489,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactMailAddress": { "name": "ContactMailAddress", @@ -1539,7 +1539,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactMessengerHandle": { "name": "ContactMessengerHandle", @@ -1589,7 +1589,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactPhoneNumber": { "name": "ContactPhoneNumber", @@ -1639,7 +1639,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactPronouns": { "name": "ContactPronouns", @@ -1680,7 +1680,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactRelationship": { "name": "ContactRelationship", @@ -1730,7 +1730,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactSocialId": { "name": "ContactSocialId", @@ -1780,7 +1780,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ContactWebsite": { "name": "ContactWebsite", @@ -1830,7 +1830,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ConversationEntry": { "name": "ConversationEntry", @@ -1919,7 +1919,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateExternalUserGroupData": { "name": "CreateExternalUserGroupData", @@ -1978,7 +1978,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateGroupPostReturn": { "name": "CreateGroupPostReturn", @@ -2012,7 +2012,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateMailFolderData": { "name": "CreateMailFolderData", @@ -2082,7 +2082,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateMailFolderReturn": { "name": "CreateMailFolderReturn", @@ -2116,7 +2116,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CreateMailGroupData": { "name": "CreateMailGroupData", @@ -2177,7 +2177,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "CustomerAccountCreateData": { "name": "CustomerAccountCreateData", @@ -2349,7 +2349,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DefaultAlarmInfo": { "name": "DefaultAlarmInfo", @@ -2381,7 +2381,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "DeleteGroupData": { "name": "DeleteGroupData", @@ -2424,7 +2424,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DeleteMailData": { "name": "DeleteMailData", @@ -2468,7 +2468,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DeleteMailFolderData": { "name": "DeleteMailFolderData", @@ -2502,7 +2502,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftAttachment": { "name": "DraftAttachment", @@ -2564,7 +2564,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftCreateData": { "name": "DraftCreateData", @@ -2634,7 +2634,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftCreateReturn": { "name": "DraftCreateReturn", @@ -2668,7 +2668,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftData": { "name": "DraftData", @@ -2815,7 +2815,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftRecipient": { "name": "DraftRecipient", @@ -2856,7 +2856,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftUpdateData": { "name": "DraftUpdateData", @@ -2900,7 +2900,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "DraftUpdateReturn": { "name": "DraftUpdateReturn", @@ -2934,7 +2934,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "EmailTemplate": { "name": "EmailTemplate", @@ -3031,7 +3031,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "EmailTemplateContent": { "name": "EmailTemplateContent", @@ -3072,7 +3072,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "EncryptTutanotaPropertiesData": { "name": "EncryptTutanotaPropertiesData", @@ -3124,7 +3124,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "EncryptedMailAddress": { "name": "EncryptedMailAddress", @@ -3165,7 +3165,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "EntropyData": { "name": "EntropyData", @@ -3206,7 +3206,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ExternalUserData": { "name": "ExternalUserData", @@ -3339,7 +3339,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "File": { "name": "File", @@ -3474,7 +3474,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "FileSystem": { "name": "FileSystem", @@ -3553,7 +3553,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupInvitationDeleteData": { "name": "GroupInvitationDeleteData", @@ -3587,7 +3587,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupInvitationPostData": { "name": "GroupInvitationPostData", @@ -3631,7 +3631,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupInvitationPostReturn": { "name": "GroupInvitationPostReturn", @@ -3685,7 +3685,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupInvitationPutData": { "name": "GroupInvitationPutData", @@ -3755,7 +3755,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "GroupSettings": { "name": "GroupSettings", @@ -3826,7 +3826,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Header": { "name": "Header", @@ -3867,7 +3867,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ImapFolder": { "name": "ImapFolder", @@ -3928,7 +3928,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ImapSyncConfiguration": { "name": "ImapSyncConfiguration", @@ -3998,7 +3998,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ImapSyncState": { "name": "ImapSyncState", @@ -4059,7 +4059,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "InboxRule": { "name": "InboxRule", @@ -4111,7 +4111,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "InternalGroupData": { "name": "InternalGroupData", @@ -4235,7 +4235,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "InternalRecipientKeyData": { "name": "InternalRecipientKeyData", @@ -4303,7 +4303,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "KnowledgeBaseEntry": { "name": "KnowledgeBaseEntry", @@ -4400,7 +4400,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "KnowledgeBaseEntryKeyword": { "name": "KnowledgeBaseEntryKeyword", @@ -4432,7 +4432,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "ListUnsubscribeData": { "name": "ListUnsubscribeData", @@ -4484,7 +4484,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Mail": { "name": "Mail", @@ -4759,7 +4759,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailAddress": { "name": "MailAddress", @@ -4811,7 +4811,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailAddressProperties": { "name": "MailAddressProperties", @@ -4852,7 +4852,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "MailBag": { "name": "MailBag", @@ -4886,7 +4886,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailBox": { "name": "MailBox", @@ -5034,7 +5034,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailDetails": { "name": "MailDetails", @@ -5116,7 +5116,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailDetailsBlob": { "name": "MailDetailsBlob", @@ -5195,7 +5195,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailDetailsDraft": { "name": "MailDetailsDraft", @@ -5274,7 +5274,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailDetailsDraftsRef": { "name": "MailDetailsDraftsRef", @@ -5308,7 +5308,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailFolder": { "name": "MailFolder", @@ -5443,7 +5443,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailFolderRef": { "name": "MailFolderRef", @@ -5477,7 +5477,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailSetEntry": { "name": "MailSetEntry", @@ -5538,7 +5538,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailboxGroupRoot": { "name": "MailboxGroupRoot", @@ -5649,7 +5649,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailboxProperties": { "name": "MailboxProperties", @@ -5737,7 +5737,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "MailboxServerProperties": { "name": "MailboxServerProperties", @@ -5796,7 +5796,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "MoveMailData": { "name": "MoveMailData", @@ -5850,7 +5850,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "NewDraftAttachment": { "name": "NewDraftAttachment", @@ -5911,7 +5911,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "NewsId": { "name": "NewsId", @@ -5952,7 +5952,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "NewsIn": { "name": "NewsIn", @@ -5984,7 +5984,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "NewsOut": { "name": "NewsOut", @@ -6018,7 +6018,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "NotificationMail": { "name": "NotificationMail", @@ -6086,7 +6086,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "OutOfOfficeNotification": { "name": "OutOfOfficeNotification", @@ -6174,7 +6174,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "OutOfOfficeNotificationMessage": { "name": "OutOfOfficeNotificationMessage", @@ -6224,7 +6224,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "OutOfOfficeNotificationRecipientList": { "name": "OutOfOfficeNotificationRecipientList", @@ -6258,7 +6258,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "PhishingMarkerWebsocketData": { "name": "PhishingMarkerWebsocketData", @@ -6301,7 +6301,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "PhotosRef": { "name": "PhotosRef", @@ -6335,7 +6335,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ReceiveInfoServiceData": { "name": "ReceiveInfoServiceData", @@ -6367,7 +6367,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "Recipients": { "name": "Recipients", @@ -6421,7 +6421,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "RemoteImapSyncInfo": { "name": "RemoteImapSyncInfo", @@ -6491,7 +6491,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ReportMailPostData": { "name": "ReportMailPostData", @@ -6543,7 +6543,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "ReportedMailFieldMarker": { "name": "ReportedMailFieldMarker", @@ -6584,7 +6584,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "SecureExternalRecipientKeyData": { "name": "SecureExternalRecipientKeyData", @@ -6688,7 +6688,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "SendDraftData": { "name": "SendDraftData", @@ -6825,7 +6825,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "SendDraftReturn": { "name": "SendDraftReturn", @@ -6887,7 +6887,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "SharedGroupData": { "name": "SharedGroupData", @@ -6991,7 +6991,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "SimpleMoveMailPostIn": { "name": "SimpleMoveMailPostIn", @@ -7034,7 +7034,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "SpamResults": { "name": "SpamResults", @@ -7068,7 +7068,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "Subfiles": { "name": "Subfiles", @@ -7102,7 +7102,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "SymEncInternalRecipientKeyData": { "name": "SymEncInternalRecipientKeyData", @@ -7163,7 +7163,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "TemplateGroupRoot": { "name": "TemplateGroupRoot", @@ -7252,7 +7252,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "TranslationGetIn": { "name": "TranslationGetIn", @@ -7284,7 +7284,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "TranslationGetOut": { "name": "TranslationGetOut", @@ -7325,7 +7325,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "TutanotaProperties": { "name": "TutanotaProperties", @@ -7514,7 +7514,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UnreadMailStatePostIn": { "name": "UnreadMailStatePostIn", @@ -7557,7 +7557,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UpdateMailFolderData": { "name": "UpdateMailFolderData", @@ -7601,7 +7601,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAccountCreateData": { "name": "UserAccountCreateData", @@ -7654,7 +7654,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAccountUserData": { "name": "UserAccountUserData", @@ -7875,7 +7875,7 @@ }, "associations": {}, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAreaGroupData": { "name": "UserAreaGroupData", @@ -7981,7 +7981,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAreaGroupDeleteData": { "name": "UserAreaGroupDeleteData", @@ -8015,7 +8015,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserAreaGroupPostData": { "name": "UserAreaGroupPostData", @@ -8049,7 +8049,7 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" }, "UserSettingsGroupRoot": { "name": "UserSettingsGroupRoot", @@ -8155,6 +8155,6 @@ } }, "app": "tutanota", - "version": "76" + "version": "77" } }