import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TopicDto } from "./topicdto.js"; /** * The subscriber information */ export type SubscriptionDtoSubscriber = { /** * The identifier of the subscriber */ id: string; /** * The external identifier of the subscriber */ subscriberId: string; /** * The avatar URL of the subscriber */ avatar?: string | null | undefined; /** * The first name of the subscriber */ firstName?: string | null | undefined; /** * The last name of the subscriber */ lastName?: string | null | undefined; /** * The email of the subscriber */ email?: string | null | undefined; }; export type SubscriptionDto = { /** * The unique identifier of the subscription */ id: string; /** * The identifier of the subscription */ identifier?: string | undefined; /** * The topic information */ topic: TopicDto; /** * The subscriber information */ subscriber: SubscriptionDtoSubscriber | null; /** * Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123) */ contextKeys?: Array | undefined; /** * The creation date of the subscription */ createdAt: string; /** * The last update date of the subscription */ updatedAt: string; }; /** @internal */ export declare const SubscriptionDtoSubscriber$inboundSchema: z.ZodType; export declare function subscriptionDtoSubscriberFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SubscriptionDto$inboundSchema: z.ZodType; export declare function subscriptionDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subscriptiondto.d.ts.map