Package-level declarations

Types used by the methods of the Sudo Platform Privacy Interaction SDK.

Types

Link copied to clipboard
data class Action(val id: String, val owner: String, val virtualPresenceId: String, val dataHolderId: String? = null, val intent: ActionIntent, val additionalInfo: String? = null, val fulfilmentMethod: ActionFulfilmentMethod, val status: ActionStatus, val assistedPayload: AssistedPayload? = null, val initiatedAt: Date? = null, val completedAt: Date? = null, val version: Int, val createdAt: Date, val updatedAt: Date) : Parcelable

The Sudo Platform SDK representation of a persisted, initiated action instance scoped to a data holder relationship.

Link copied to clipboard
data class ActionContact(val email: String? = null, val phone: String? = null, val address: String? = null) : Parcelable

Contact materials for an assisted action.

Link copied to clipboard

How an action is fulfilled from the user's perspective.

Link copied to clipboard

The user-facing intent of an action.

Link copied to clipboard

Which source contributed an available action.

Link copied to clipboard

Lifecycle status of a persisted action instance.

Link copied to clipboard
data class AnalysisResult(val id: String, val owner: String, val virtualPresenceId: String, val dataHolderIdentifier: String, val status: AnalysisResultStatus, val statusReason: AnalysisResultStatusReason? = null, val lastAnalyzedAt: Date, val data: AnalysisResultData? = null, val version: Int, val createdAt: Date, val updatedAt: Date) : Parcelable

The Sudo Platform SDK representation of an analysis result.

Link copied to clipboard
data class AnalysisResultData(val privacyScore: PrivacyScore? = null, val privacySummary: PrivacySummary, val categories: List<CategorySignals>, val capabilities: CapabilitySignals, val riskIndicators: RiskIndicators, val organizationIdentity: OrganizationIdentity? = null, val attribution: List<String>) : Parcelable

The structured data payload for an AnalysisResult.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class AnalysisResultUpdate(val id: String, val owner: String, val virtualPresenceId: String, val dataHolderIdentifier: String, val status: AnalysisResultStatus, val statusReason: AnalysisResultStatusReason? = null, val lastAnalyzedAt: Date, val version: Int, val createdAt: Date, val updatedAt: Date) : Parcelable

The Sudo Platform SDK representation of a lightweight notification of an analysis result update.

Link copied to clipboard
data class AssistedEmailTemplate(val subject: String? = null, val body: String) : Parcelable

An email template returned for an assisted action. The body may contain placeholders (e.g. "{{fullName}}") for fields the user supplies client-side.

Link copied to clipboard
data class AssistedPayload(val toAddress: String? = null, val unsubscribeUrl: String? = null, val unsubscribeMailto: String? = null, val contact: ActionContact? = null, val jurisdiction: String? = null, val instructions: String? = null, val emailTemplate: AssistedEmailTemplate? = null) : Parcelable

Materials for an assisted action. The service supplies the organisation contact points and any source-provided instructions, but never the user's own data.

Link copied to clipboard
data class AvailableAction(val intent: ActionIntent, val additionalInfo: String? = null, val fulfilmentMethod: ActionFulfilmentMethod, val origin: ActionOrigin, val title: String? = null, val description: String? = null, val status: ActionStatus? = null) : Parcelable

The Sudo Platform SDK representation of a derived, non-persisted action the user could take against a data holder.

Link copied to clipboard
data class CapabilitySignals(val supportsAccountCreation: SignalValue, val supportsAccountDeletion: SignalValue, val supportsDataDeletionRequests: SignalValue, val supportsDataExport: SignalValue, val supportsSubscriptions: SignalValue, val supportsOptOutOfSale: SignalValue, val sellsPersonalInformation: SignalValue, val usesCookiesOrTracking: SignalValue, val supportsTwoFactorAuth: SignalValue, val supportsPasskeys: SignalValue) : Parcelable

Signals derived from privacy actions and capabilities.

Link copied to clipboard
data class CategorySignals(val category: DataCategory, val collected: SignalValue, val dataLabels: List<String>, val sharedWithThirdParties: ShareStyle, val monetized: SignalValue, val retained: SignalValue, val retention: RetentionInfo? = null, val userCanOptOut: SignalValue, val requiredForService: SignalValue, val requiredForLaw: SignalValue) : Parcelable

Privacy signals specific to a single data category.

Link copied to clipboard

Categories of personal data as identified in a privacy policy.

Link copied to clipboard
data class DataHolder(val id: String, val owner: String, val virtualPresenceId: String, val domainName: String, val name: String, val protectionState: DataHolderProtectionState, val complianceConcern: Boolean, val mostRecentInteractionAt: Date, val version: Int, val createdAt: Date, val updatedAt: Date, val mostRecentInboundContactAt: Date, val firstInboundContactAt: Date, val latestScanSummary: DataHolderScanSummary? = null) : Parcelable

The Sudo Platform SDK representation of a data holder.

Link copied to clipboard
data class DataHolderCount(val count: Int, val monitored: Int, val initiatedActions: Int, val completedActions: Int, val archived: Int) : Parcelable

Counts of a VirtualPresence's data holders, broken down by protection state.

Link copied to clipboard
Link copied to clipboard
data class DataHolderScanSummary(val dataHolderId: String, val owner: String, val scannedAt: Date, val scanRangeFrom: Date, val scanRangeTo: Date, val emailCount: Int, val readCount: Int, val readRate: Double, val marketingEmailCount: Int, val marketingEmailOpened: Int, val marketingOpenRate: Double, val categoryBreakdown: Map<String, Int>, val uncategorizedCount: Int) : Parcelable

The Sudo Platform SDK representation of email interaction metrics captured during a single scan for a specific data holder.

Link copied to clipboard
data class ListOutput<T>(val items: List<T>, val nextToken: String?)

Representation of a generic type to wrap around a GraphQL list type. This is useful for exposing a list of items and nextToken to allow for pagination by calling for the next set of paginated results.

Link copied to clipboard
data class OrganizationAnalysis(val id: String, val domain: String, val status: AnalysisResultStatus, val statusReason: AnalysisResultStatusReason? = null, val lastAnalyzedAt: Date, val data: AnalysisResultData? = null, val owner: String, val version: Int, val createdAt: Date, val updatedAt: Date) : Parcelable

The Sudo Platform SDK representation of a shared, domain-keyed privacy analysis of an organization.

Link copied to clipboard

Controls how getOrganizationAnalysis treats the requested domain before sources query their backing services.

Link copied to clipboard

Controls how getOrganizationAnalysis obtains source results when the stored analysis is stale or absent.

Link copied to clipboard

The business category of an organization as classified by the analysis.

Link copied to clipboard
data class OrganizationIdentity(val brandName: String, val companyName: String, val primaryCategory: OrganizationCategory, val categories: List<OrganizationCategory>) : Parcelable

Identifies the organization behind a data holder.

Link copied to clipboard
data class PrivacyScore(val score: Double, val breakdown: List<ScoreContribution>, val coverage: ScoreCoverage) : Parcelable

Overall privacy score for an organization.

Link copied to clipboard
data class PrivacySummary(val bulletPoints: List<String>, val sourceUrl: String, val sourceLastUpdated: String? = null) : Parcelable

Concise human-readable summary of privacy-related findings.

Link copied to clipboard
data class ProviderConfiguration(val name: String, val providerType: ProviderType, val clientId: String) : Parcelable

The Sudo Platform SDK representation of a provider client configuration.

Link copied to clipboard

Enumeration that defines the provider type of the VirtualPresence.

Link copied to clipboard

The relationship provider used for discovery on a VirtualPresence.

Link copied to clipboard
data class RetentionInfo(val style: RetentionStyle, val timeInDays: Int? = null, val additionalInfo: String? = null) : Parcelable

Retention details for a specific data category.

Link copied to clipboard

Enumeration depicting how the data retention period is measured.

Link copied to clipboard
data class RiskIndicators(val dataCollectionBreadth: Int, val collectsSensitiveDataForNonEssentialPurposes: SignalValue, val sellsPersonalInformation: SignalValue, val maxRetentionDays: Int? = null, val hasIndefiniteRetention: SignalValue, val encryptionPractices: SignalValue, val breachRisk: SignalValue) : Parcelable

Aggregated risk indicators derived from categories and capabilities.

Link copied to clipboard
data class ScoreContribution(val aspect: String, val contribution: Double) : Parcelable

A single scoring aspect and its contribution to the overall score.

Link copied to clipboard
data class ScoreCoverage(val evaluated: Int, val total: Int) : Parcelable

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.

Link copied to clipboard

Describes how data in a category is shared with third parties.

Link copied to clipboard

Tri-state signal value representing confidence in a determination.

Link copied to clipboard
data class VirtualPresence(val id: String, val owner: String, val providerType: ProviderType, val identifier: String, val state: VirtualPresenceState, val relationshipProvider: RelationshipProvider?, val lastScannedAt: Date, val lastScanFailureReason: String? = null, val dataHolderCount: DataHolderCount, val version: Int, val createdAt: Date, val updatedAt: Date) : Parcelable

The Sudo Platform SDK representation of a virtual presence.

Link copied to clipboard

Enumeration that defines the possible states of a VirtualPresence.