import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type PushToken = { /** * DeviceID is the UUID of the device where the push message will be sent. */ deviceId: string; /** * Platform is the platform of the device were the push message will be received. Possible values: ios, android, * * @remarks * and web. */ platform: string; /** * PushToken is the push token to use when sending a push message to the user. */ pushToken: string; /** * RegistrationTimestamp is the timestamp when the push token was associated with the device. The field is in Unix * * @remarks * time which is the number of seconds elapsed since January 1, 1970 UTC. */ registrationTimestamp: number; }; /** @internal */ export declare const PushToken$inboundSchema: z.ZodType; /** @internal */ export type PushToken$Outbound = { deviceId: string; platform: string; pushToken: string; registrationTimestamp: number; }; /** @internal */ export declare const PushToken$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PushToken$ { /** @deprecated use `PushToken$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PushToken$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PushToken$Outbound` instead. */ type Outbound = PushToken$Outbound; } export declare function pushTokenToJSON(pushToken: PushToken): string; export declare function pushTokenFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=pushtoken.d.ts.map