import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ChannelSettingsDto } from "./channelsettingsdto.js"; export type SubscriberResponseDto = { /** * The internal ID generated by Novu for your subscriber. This ID does not match the `subscriberId` used in your queries. Refer to `subscriberId` for that identifier. */ id?: string | undefined; /** * The first name of the subscriber. */ firstName?: string | null | undefined; /** * The last name of the subscriber. */ lastName?: string | null | undefined; /** * The email address of the subscriber. */ email?: string | null | undefined; /** * The phone number of the subscriber. */ phone?: string | null | undefined; /** * The URL of the subscriber's avatar image. */ avatar?: string | null | undefined; /** * The locale setting of the subscriber, indicating their preferred language or region. */ locale?: string | null | undefined; /** * An array of channel settings associated with the subscriber. */ channels?: Array | undefined; /** * An array of topics that the subscriber is subscribed to. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ topics?: Array | undefined; /** * Indicates whether the subscriber is currently online. */ isOnline?: boolean | null | undefined; /** * The timestamp indicating when the subscriber was last online, in ISO 8601 format. */ lastOnlineAt?: string | null | undefined; /** * The version of the subscriber document. */ v?: number | undefined; /** * Additional custom data for the subscriber */ data?: { [k: string]: any; } | null | undefined; /** * Timezone of the subscriber */ timezone?: string | null | undefined; /** * The identifier used to create this subscriber, which typically corresponds to the user ID in your system. */ subscriberId: string; /** * The unique identifier of the organization to which the subscriber belongs. */ organizationId: string; /** * The unique identifier of the environment associated with this subscriber. */ environmentId: string; /** * Indicates whether the subscriber has been deleted. */ deleted: boolean; /** * The timestamp indicating when the subscriber was created, in ISO 8601 format. */ createdAt: string; /** * The timestamp indicating when the subscriber was last updated, in ISO 8601 format. */ updatedAt: string; }; /** @internal */ export declare const SubscriberResponseDto$inboundSchema: z.ZodType; export declare function subscriberResponseDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subscriberresponsedto.d.ts.map