tools_ozone_services library

Classes

CommunicationService
tools.ozone.communication.*
HostingService
tools.ozone.hosting.*
ModerationService
tools.ozone.moderation.*
SafelinkService
tools.ozone.safelink.*
ServerService
tools.ozone.server.*
SetService
tools.ozone.set.*
SettingService
tools.ozone.setting.*
SignatureService
tools.ozone.signature.*
TeamService
tools.ozone.team.*
VerificationService
tools.ozone.verification.*

Functions

toolsOzoneCommunicationCreateTemplate({required String name, required String contentMarkdown, required String subject, String? lang, String? createdBy, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<TemplateView>>
Administrative action to create a new, re-usable communication (email for now) template.
toolsOzoneCommunicationDeleteTemplate({required String id, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Delete a communication template.
toolsOzoneCommunicationListTemplates({required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<CommunicationListTemplatesOutput>>
Get list of all communication templates.
toolsOzoneCommunicationUpdateTemplate({required String id, String? name, String? lang, String? contentMarkdown, String? subject, String? updatedBy, bool? disabled, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<TemplateView>>
Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.
toolsOzoneHostingGetAccountHistory({required String did, List<HostingGetAccountHistoryEvents>? events, String? cursor, int? limit, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<HostingGetAccountHistoryOutput>>
Get account history, e.g. log of updated email addresses or other identity information.
toolsOzoneModerationEmitEvent({required UModerationEmitEventEvent event, required UModerationEmitEventSubject subject, List<String>? subjectBlobCids, required String createdBy, ModTool? modTool, String? externalId, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModEventView>>
Take a moderation action on an actor.
toolsOzoneModerationGetAccountTimeline({required String did, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModerationGetAccountTimelineOutput>>
Get timeline of all available events of an account. This includes moderation events, account history and did history.
toolsOzoneModerationGetEvent({required int id, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModEventViewDetail>>
Get details about a moderation event.
toolsOzoneModerationGetRecord({required AtUri uri, String? cid, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<RecordViewDetail>>
Get details about a record.
toolsOzoneModerationGetRecords({required List<AtUri> uris, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModerationGetRecordsOutput>>
Get details about some records.
toolsOzoneModerationGetRepo({required String did, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<RepoViewDetail>>
Get details about a repository.
toolsOzoneModerationGetReporterStats({required List<String> dids, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModerationGetReporterStatsOutput>>
Get reporter stats for a list of users.
toolsOzoneModerationGetRepos({required List<String> dids, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModerationGetReposOutput>>
Get details about some repositories.
toolsOzoneModerationGetSubjects({required List<String> subjects, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModerationGetSubjectsOutput>>
Get details about subjects.
toolsOzoneModerationQueryEvents({List<String>? types, String? createdBy, String? sortDirection, DateTime? createdAfter, DateTime? createdBefore, String? subject, List<String>? collections, ModerationQueryEventsSubjectType? subjectType, bool? includeAllUserRecords, int? limit, bool? hasComment, String? comment, List<String>? addedLabels, List<String>? removedLabels, List<String>? addedTags, List<String>? removedTags, List<String>? reportTypes, List<String>? policies, List<String>? modTool, String? batchId, ModerationQueryEventsAgeAssuranceState? ageAssuranceState, String? cursor, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModerationQueryEventsOutput>>
List moderation events related to a subject.
toolsOzoneModerationQueryStatuses({int? queueCount, int? queueIndex, String? queueSeed, bool? includeAllUserRecords, String? subject, String? comment, DateTime? reportedAfter, DateTime? reportedBefore, DateTime? reviewedAfter, DateTime? hostingDeletedAfter, DateTime? hostingDeletedBefore, DateTime? hostingUpdatedAfter, DateTime? hostingUpdatedBefore, List<String>? hostingStatuses, DateTime? reviewedBefore, bool? includeMuted, bool? onlyMuted, String? reviewState, List<String>? ignoreSubjects, String? lastReviewedBy, String? sortField, String? sortDirection, bool? takendown, bool? appealed, int? limit, List<String>? tags, List<String>? excludeTags, String? cursor, List<String>? collections, ModerationQueryStatusesSubjectType? subjectType, int? minAccountSuspendCount, int? minReportedRecordsCount, int? minTakendownRecordsCount, int? minPriorityScore, ModerationQueryStatusesAgeAssuranceState? ageAssuranceState, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModerationQueryStatusesOutput>>
View moderation statuses of subjects (record or repo).
toolsOzoneModerationSearchRepos({String? term, String? q, int? limit, String? cursor, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ModerationSearchReposOutput>>
Find repositories based on a search term.
toolsOzoneSafelinkAddRule({required String url, required PatternType pattern, required ActionType action, required ReasonType reason, String? comment, String? createdBy, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<Event>>
Add a new URL safety rule
toolsOzoneSafelinkQueryEvents({String? cursor, int? limit, List<String>? urls, String? patternType, SafelinkQueryEventsSortDirection? sortDirection, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SafelinkQueryEventsOutput>>
Query URL safety audit events
toolsOzoneSafelinkQueryRules({String? cursor, int? limit, List<String>? urls, String? patternType, List<String>? actions, String? reason, String? createdBy, SafelinkQueryRulesSortDirection? sortDirection, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SafelinkQueryRulesOutput>>
Query URL safety rules
toolsOzoneSafelinkRemoveRule({required String url, required PatternType pattern, String? comment, String? createdBy, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<Event>>
Remove an existing URL safety rule
toolsOzoneSafelinkUpdateRule({required String url, required PatternType pattern, required ActionType action, required ReasonType reason, String? comment, String? createdBy, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<Event>>
Update an existing URL safety rule
toolsOzoneServerGetConfig({required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ServerGetConfigOutput>>
Get details about ozone's server configuration.
toolsOzoneSetAddValues({required String name, required List<String> values, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Add values to a specific set. Attempting to add values to a set that does not exist will result in an error.
toolsOzoneSetDeleteSet({required String name, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Delete an entire set. Attempting to delete a set that does not exist will result in an error.
toolsOzoneSetDeleteValues({required String name, required List<String> values, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Delete values from a specific set. Attempting to delete values that are not in the set will not result in an error
toolsOzoneSetGetValues({required String name, int? limit, String? cursor, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SetGetValuesOutput>>
Get a specific set and its values
toolsOzoneSetQuerySets({int? limit, String? cursor, String? namePrefix, String? sortBy, String? sortDirection, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SetQuerySetsOutput>>
Query available sets
toolsOzoneSettingListOptions({int? limit, String? cursor, SettingListOptionsScope? scope, String? prefix, List<String>? keys, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SettingListOptionsOutput>>
List settings with optional filtering
toolsOzoneSettingRemoveOptions({required List<String> keys, required SettingRemoveOptionsScope scope, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Delete settings by key
toolsOzoneSettingUpsertOption({required String key, required SettingUpsertOptionScope scope, required Map<String, dynamic> value, String? description, SettingUpsertOptionManagerRole? managerRole, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SettingUpsertOptionOutput>>
Create or update setting option
toolsOzoneSetUpsertSet({required String name, String? description, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SetView>>
Create or update set metadata
toolsOzoneSignatureFindCorrelation({required List<String> dids, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SignatureFindCorrelationOutput>>
Find all correlated threat signatures between 2 or more accounts.
toolsOzoneSignatureFindRelatedAccounts({required String did, String? cursor, int? limit, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SignatureFindRelatedAccountsOutput>>
Get accounts that share some matching threat signatures with the root account.
toolsOzoneSignatureSearchAccounts({required List<String> values, String? cursor, int? limit, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SignatureSearchAccountsOutput>>
Search for accounts that match one or more threat signature values.
toolsOzoneTeamAddMember({required String did, required TeamAddMemberRole role, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<Member>>
Add a member to the ozone team. Requires admin role.
toolsOzoneTeamDeleteMember({required String did, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Delete a member from ozone team. Requires admin role.
toolsOzoneTeamListMembers({String? q, bool? disabled, List<String>? roles, int? limit, String? cursor, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<TeamListMembersOutput>>
List all members with access to the ozone service.
toolsOzoneTeamUpdateMember({required String did, bool? disabled, TeamUpdateMemberRole? role, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<Member>>
Update a member in the ozone service. Requires admin role.
toolsOzoneVerificationGrantVerifications({required List<VerificationInput> verifications, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VerificationGrantVerificationsOutput>>
Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.
toolsOzoneVerificationListVerifications({String? cursor, int? limit, DateTime? createdAfter, DateTime? createdBefore, List<String>? issuers, List<String>? subjects, String? sortDirection, bool? isRevoked, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VerificationListVerificationsOutput>>
List verifications
toolsOzoneVerificationRevokeVerifications({required List<AtUri> uris, String? revokeReason, required ServiceContext $ctx, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VerificationRevokeVerificationsOutput>>
Revoke previously granted verifications in batches of up to 100.