import type * as Brevo from "../../../../index.js"; /** * @example * { * attributeCategory: "category", * attributeName: "attributeName" * } */ export interface UpdateAttributeRequest { /** Category of the attribute */ attributeCategory: Brevo.UpdateAttributeRequestAttributeCategory; /** Name of the existing attribute */ attributeName: string; /** List of the values and labels that the attribute can take. **Use only if the attribute's category is "category"** None of the category options can exceed max 200 characters. For example, **[{"value":1, "label":"male"}, {"value":2, "label":"female"}]** */ enumeration?: UpdateAttributeRequest.Enumeration.Item[]; /** Use this option to add multiple-choice attributes options only if the attribute's category is "normal". **This option is specifically designed for updating multiple-choice attributes. None of the multicategory options can exceed max 200 characters.**. For example: **["USA","INDIA"]** */ multiCategoryOptions?: string[]; /** Value of the attribute to update. **Use only if the attribute's category is 'calculated' or 'global'** */ value?: string; } export declare namespace UpdateAttributeRequest { type Enumeration = Enumeration.Item[]; namespace Enumeration { interface Item { /** Label of the value */ label: string; /** Id of the value */ value: number; } } }