/** * @example * { * name: "Newsletter EU", * signupMode: "manual" * } */ export interface CreateConsentGroupRequest { /** Unique name for the consent group (max 255 characters) */ name: string; /** Optional description (max 500 characters) */ description?: string; /** Controls how contacts are added to the group. `manual` — contacts are added explicitly via the API. `automatic` — contacts are added automatically at signup. */ signupMode: CreateConsentGroupRequest.SignupMode; /** Optional list of contact list IDs. Contacts from these lists will be copied once into this consent group at creation time. */ listIds?: number[]; } export declare namespace CreateConsentGroupRequest { /** Controls how contacts are added to the group. `manual` — contacts are added explicitly via the API. `automatic` — contacts are added automatically at signup. */ const SignupMode: { readonly Manual: "manual"; readonly Automatic: "automatic"; }; type SignupMode = (typeof SignupMode)[keyof typeof SignupMode]; }