Structures

The following structures are available globally.

  • Contact materials for an assisted action.

    See more

    Declaration

    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 more

    Declaration

    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 more

    Declaration

    Swift

    public struct AssistedPayload : Equatable, Sendable
  • A derived, non-persisted action the user could take against a data holder.

    See more

    Declaration

    Swift

    public struct AvailableAction : Equatable, Sendable
  • A persisted, initiated action instance scoped to a data holder relationship.

    See more

    Declaration

    Swift

    public struct Action : Equatable, Sendable
  • Retention details for a specific data category.

    See more

    Declaration

    Swift

    public struct RetentionInfo : Equatable, Sendable
  • Privacy signals specific to a single data category.

    See more

    Declaration

    Swift

    public struct CategorySignals : Equatable, Sendable
  • Signals derived from privacy actions/capabilities (not category-specific).

    See more

    Declaration

    Swift

    public struct CapabilitySignals : Equatable, Sendable
  • Aggregated risk indicators derived from categories and capabilities.

    See more

    Declaration

    Swift

    public struct RiskIndicators : Equatable, Sendable
  • Brand identity and business categorization for an organization.

    See more

    Declaration

    Swift

    public struct OrganizationIdentity : Equatable, Sendable
  • A single scoring aspect and its contribution to the overall score.

    See more

    Declaration

    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 more

    Declaration

    Swift

    public struct ScoreCoverage : Equatable, Sendable
  • Overall privacy score for an organization.

    See more

    Declaration

    Swift

    public struct PrivacyScore : Equatable, Sendable
  • Concise human-readable summary of privacy-related findings.

    See more

    Declaration

    Swift

    public struct PrivacySummary : Equatable, Sendable
  • The structured data payload for an analysis result.

    See more

    Declaration

    Swift

    public struct AnalysisResultData : Equatable, Sendable
  • Result of analyzing a data holder associated with a virtual presence.

    The structured data payload is populated when status is .complete or .partial.

    See more

    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 data. Use getAnalysisResult to fetch the complete typed data for the referenced analysis result.

    See more

    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 more

    Declaration

    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 more

    Declaration

    Swift

    public struct DataHolderScanSummary : Equatable, Sendable
  • Input for connecting a virtual presence with an OAuth authorization code obtained from the provider consent flow.

    See more

    Declaration

    Swift

    public struct ConnectVirtualPresenceWithAuthCodeInput : Equatable, Sendable
  • Input for connecting a virtual presence with a pre-obtained OAuth refresh token.

    See more

    Declaration

    Swift

    public struct ConnectVirtualPresenceWithRefreshTokenInput : Equatable, Sendable
  • Input for the getOrganizationAnalysis query.

    See more

    Declaration

    Swift

    public struct GetOrganizationAnalysisInput : Equatable, Sendable
  • Input for the initiateAction mutation.

    The action is scoped to a data holder relationship; the owning virtual presence is derived from it. fulfilmentMethod is the method the client was offered for this intent — initiation fails if the server re-resolves a different method.

    See more

    Declaration

    Swift

    public struct InitiateActionInput : Equatable, Sendable
  • Input for listing the persisted action history for a data holder.

    See more

    Declaration

    Swift

    public struct ListActionsForDataHolderInput : Equatable, Sendable
  • Input for listing the analysis results for a virtual presence.

    See more

    Declaration

    Swift

    public struct ListAnalysisResultsInput : Equatable, Sendable
  • Input for listing the scan summaries captured for a data holder.

    See more

    Declaration

    Swift

    public struct ListDataHolderScanSummariesInput : Equatable, Sendable
  • Input for listing data holders discovered for a virtual presence.

    See more

    Declaration

    Swift

    public struct ListDataHoldersInput : Equatable, Sendable
  • Input for listing virtual presences.

    See more

    Declaration

    Swift

    public struct ListVirtualPresencesInput : Equatable, Sendable
  • Options controlling the scope and limits of a rescan.

    See more

    Declaration

    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 more

    Declaration

    Swift

    public struct RescanVirtualPresenceInput : Equatable, Sendable
  • A paginated list of items returned from a list operation.

    See more

    Declaration

    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. id equals the analyzed domain.

    See more

    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 ProviderConfiguration per supported provider.

    See more

    Declaration

    Swift

    public struct ProviderConfiguration : Equatable, Sendable
  • Counts of a virtual presence’s data holders, broken down by protection state.

    See more

    Declaration

    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 more

    Declaration

    Swift

    public struct VirtualPresence : Equatable, Sendable