import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BenefitDiscordProperties, BenefitDiscordProperties$Outbound } from "./benefitdiscordproperties.js"; import { MetadataOutputType, MetadataOutputType$Outbound } from "./metadataoutputtype.js"; /** * A benefit of type `discord`. * * @remarks * * Use it to automatically invite your backers to a Discord server. */ export type BenefitDiscord = { /** * The ID of the benefit. */ id: string; /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; type: "discord"; /** * The description of the benefit. */ description: string; /** * Whether the benefit is selectable when creating a product. */ selectable: boolean; /** * Whether the benefit is deletable. */ deletable: boolean; /** * Whether the benefit is deleted. */ isDeleted: boolean; /** * The ID of the organization owning the benefit. */ organizationId: string; metadata: { [k: string]: MetadataOutputType; }; /** * Properties for a benefit of type `discord`. */ properties: BenefitDiscordProperties; }; /** @internal */ export declare const BenefitDiscord$inboundSchema: z.ZodMiniType; /** @internal */ export type BenefitDiscord$Outbound = { id: string; created_at: string; modified_at: string | null; type: "discord"; description: string; selectable: boolean; deletable: boolean; is_deleted: boolean; organization_id: string; metadata: { [k: string]: MetadataOutputType$Outbound; }; properties: BenefitDiscordProperties$Outbound; }; /** @internal */ export declare const BenefitDiscord$outboundSchema: z.ZodMiniType; export declare function benefitDiscordToJSON(benefitDiscord: BenefitDiscord): string; export declare function benefitDiscordFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=benefitdiscord.d.ts.map