import * as z from "zod/v4-mini"; import { BenefitDiscordCreateProperties, BenefitDiscordCreateProperties$Outbound } from "./benefitdiscordcreateproperties.js"; export type BenefitDiscordCreateMetadata = string | number | number | boolean; export type BenefitDiscordCreate = { /** * Key-value object allowing you to store additional information. * * @remarks * * The key must be a string with a maximum length of **40 characters**. * The value must be either: * * * A string with a maximum length of **500 characters** * * An integer * * A floating-point number * * A boolean * * You can store up to **50 key-value pairs**. */ metadata?: { [k: string]: string | number | number | boolean; } | undefined; type: "discord"; /** * The description of the benefit. Will be displayed on products having this benefit. */ description: string; /** * The ID of the organization owning the benefit. **Required unless you use an organization token.** */ organizationId?: string | null | undefined; /** * Properties to create a benefit of type `discord`. */ properties: BenefitDiscordCreateProperties; }; /** @internal */ export type BenefitDiscordCreateMetadata$Outbound = string | number | number | boolean; /** @internal */ export declare const BenefitDiscordCreateMetadata$outboundSchema: z.ZodMiniType; export declare function benefitDiscordCreateMetadataToJSON(benefitDiscordCreateMetadata: BenefitDiscordCreateMetadata): string; /** @internal */ export type BenefitDiscordCreate$Outbound = { metadata?: { [k: string]: string | number | number | boolean; } | undefined; type: "discord"; description: string; organization_id?: string | null | undefined; properties: BenefitDiscordCreateProperties$Outbound; }; /** @internal */ export declare const BenefitDiscordCreate$outboundSchema: z.ZodMiniType; export declare function benefitDiscordCreateToJSON(benefitDiscordCreate: BenefitDiscordCreate): string; //# sourceMappingURL=benefitdiscordcreate.d.ts.map