import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SubscriptionPreferenceDto } from "./subscriptionpreferencedto.js"; import { TopicDto } from "./topicdto.js"; /** * The subscriber information */ export type Subscriber = { /** * 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 SubscriptionResponseDto = { /** * The unique identifier of the subscription */ id: string; /** * The identifier of the subscription */ identifier?: string | undefined; /** * The name of the subscription */ name?: string | undefined; /** * The topic information */ topic: TopicDto; /** * The subscriber information */ subscriber: Subscriber | null; /** * The preferences for workflows in this subscription */ preferences?: Array | undefined; /** * 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 Subscriber$inboundSchema: z.ZodType; export declare function subscriberFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SubscriptionResponseDto$inboundSchema: z.ZodType; export declare function subscriptionResponseDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subscriptionresponsedto.d.ts.map