import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CountInfo } from "./countinfo.js"; import { Person } from "./person.js"; /** * The action for the activity */ export declare const UserActivityAction: { readonly Add: "ADD"; readonly AddReminder: "ADD_REMINDER"; readonly Click: "CLICK"; readonly Comment: "COMMENT"; readonly Delete: "DELETE"; readonly Dismiss: "DISMISS"; readonly Edit: "EDIT"; readonly Mention: "MENTION"; readonly Move: "MOVE"; readonly Other: "OTHER"; readonly Restore: "RESTORE"; readonly Unknown: "UNKNOWN"; readonly Verify: "VERIFY"; readonly View: "VIEW"; }; /** * The action for the activity */ export type UserActivityAction = OpenEnum; export type UserActivity = { actor?: Person | undefined; /** * Unix timestamp of the activity (in seconds since epoch UTC). */ timestamp?: number | undefined; /** * The action for the activity */ action?: UserActivityAction | undefined; aggregateVisitCount?: CountInfo | undefined; }; /** @internal */ export declare const UserActivityAction$inboundSchema: z.ZodType; /** @internal */ export declare const UserActivity$inboundSchema: z.ZodType; export declare function userActivityFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=useractivity.d.ts.map