Structures
The following structures are available globally.
-
Contact materials for an assisted action.
See moreDeclaration
Swift
public struct ActionContact : Equatable, Sendable -
An email template returned for an assisted action. The body may contain placeholders (e.g. “{{fullName}}”) for fields the user supplies client-side.
See moreDeclaration
Swift
public struct AssistedEmailTemplate : Equatable, Sendable -
Materials for an assisted action: an email template, free-text instructions, or a link.
The service supplies the organization contact points and any source-provided instructions, but never the user’s own data.
See moreDeclaration
Swift
public struct AssistedPayload : Equatable, Sendable -
A derived, non-persisted action the user could take against a data holder.
See moreDeclaration
Swift
public struct AvailableAction : Equatable, Sendable -
A persisted, initiated action instance scoped to a data holder relationship.
See moreDeclaration
Swift
public struct Action : Equatable, Sendable -
Retention details for a specific data category.
See moreDeclaration
Swift
public struct RetentionInfo : Equatable, Sendable -
Privacy signals specific to a single data category.
See moreDeclaration
Swift
public struct CategorySignals : Equatable, Sendable -
Signals derived from privacy actions/capabilities (not category-specific).
See moreDeclaration
Swift
public struct CapabilitySignals : Equatable, Sendable -
Aggregated risk indicators derived from categories and capabilities.
See moreDeclaration
Swift
public struct RiskIndicators : Equatable, Sendable -
Brand identity and business categorization for an organization.
See moreDeclaration
Swift
public struct OrganizationIdentity : Equatable, Sendable -
A single scoring aspect and its contribution to the overall score.
See moreDeclaration
Swift
public struct ScoreContribution : Equatable, Sendable -
How much of the scoring-relevant input had a known value.
A low ratio means the score rests on few known signals and should be treated as lower-confidence.
See moreDeclaration
Swift
public struct ScoreCoverage : Equatable, Sendable -
Overall privacy score for an organization.
See moreDeclaration
Swift
public struct PrivacyScore : Equatable, Sendable -
Concise human-readable summary of privacy-related findings.
See moreDeclaration
Swift
public struct PrivacySummary : Equatable, Sendable -
The structured data payload for an analysis result.
See moreDeclaration
Swift
public struct AnalysisResultData : Equatable, Sendable -
Result of analyzing a data holder associated with a virtual presence.
The structured
See moredatapayload is populated whenstatusis.completeor.partial.Declaration
Swift
public struct AnalysisResult : Equatable, Sendable -
Lightweight notification payload delivered when an analysis result is created or updated.
This does not include the full analysis
See moredata. UsegetAnalysisResultto fetch the complete typed data for the referenced analysis result.Declaration
Swift
public struct AnalysisResultUpdate : Equatable, Sendable -
Representation of a data holder discovered in the Sudo Platform Privacy Interaction service.
A data holder is a third party (for example a company or service) that has been detected as holding some of the user’s data, typically discovered by scanning a connected virtual presence.
See moreDeclaration
Swift
public struct DataHolder : Equatable, Sendable -
Email interaction metrics captured during a single scan for a specific data holder.
A scan summary aggregates the emails observed from a data holder within a single scan’s date range, along with read and marketing engagement rates and a per-category breakdown.
See moreDeclaration
Swift
public struct DataHolderScanSummary : Equatable, Sendable -
Input for connecting a virtual presence with an OAuth authorization code obtained from the provider consent flow.
See moreDeclaration
Swift
public struct ConnectVirtualPresenceWithAuthCodeInput : Equatable, Sendable -
Input for connecting a virtual presence with a pre-obtained OAuth refresh token.
See moreDeclaration
Swift
public struct ConnectVirtualPresenceWithRefreshTokenInput : Equatable, Sendable -
Input for the
See moregetOrganizationAnalysisquery.Declaration
Swift
public struct GetOrganizationAnalysisInput : Equatable, Sendable -
Input for the
initiateActionmutation.The action is scoped to a data holder relationship; the owning virtual presence is derived from it.
See morefulfilmentMethodis the method the client was offered for this intent — initiation fails if the server re-resolves a different method.Declaration
Swift
public struct InitiateActionInput : Equatable, Sendable -
Input for listing the persisted action history for a data holder.
See moreDeclaration
Swift
public struct ListActionsForDataHolderInput : Equatable, Sendable -
Input for listing the analysis results for a virtual presence.
See moreDeclaration
Swift
public struct ListAnalysisResultsInput : Equatable, Sendable -
Input for listing the scan summaries captured for a data holder.
See moreDeclaration
Swift
public struct ListDataHolderScanSummariesInput : Equatable, Sendable -
Input for listing data holders discovered for a virtual presence.
See moreDeclaration
Swift
public struct ListDataHoldersInput : Equatable, Sendable -
Input for listing virtual presences.
See moreDeclaration
Swift
public struct ListVirtualPresencesInput : Equatable, Sendable -
Options controlling the scope and limits of a rescan.
See moreDeclaration
Swift
public struct ScanOptions : Equatable, Sendable -
Input for rescanning an existing virtual presence for new data holders.
The rescan proceeds from the virtual presence’s last scan date forward.
See moreDeclaration
Swift
public struct RescanVirtualPresenceInput : Equatable, Sendable -
A paginated list of items returned from a list operation.
See moreDeclaration
Swift
public struct ListOutput<Item> : Sendable where Item : Sendable -
Shared, domain-keyed privacy analysis of an organization.
The same underlying analysis is returned to every caller asking about the same domain; it carries only organization-generic signals.
See moreidequals the analyzed domain.Declaration
Swift
public struct OrganizationAnalysis : Equatable, Sendable -
A single provider client configuration required by consumers to support the provider OAuth flow.
This is the decoded form of the opaque, base-64 encoded configuration data returned by the service; the SDK decodes it into one
See moreProviderConfigurationper supported provider.Declaration
Swift
public struct ProviderConfiguration : Equatable, Sendable -
Counts of a virtual presence’s data holders, broken down by protection state.
See moreDeclaration
Swift
public struct DataHolderCount : Equatable, Sendable -
Representation of a virtual presence in the Sudo Platform Privacy Interaction service.
A virtual presence represents a connection to a third-party provider (for example an email account) through which data holders can be discovered on behalf of a Sudo.
See moreDeclaration
Swift
public struct VirtualPresence : Equatable, Sendable
Structures Reference