Skip to content

Type Alias: UpdateCardCustomFieldItem ​

ts
type UpdateCardCustomFieldItem = object;

Defined in: parameters/updateCardCustomFieldItem.ts:32

Type Declaration ​

body? ​

ts
optional body?: 
  | {
  value?: {
     checked?: boolean;
     date?: string | Date;
     number?: string;
     text?: string;
  };
}
  | {
  idValue?: string;
};

Union Members ​

Type Literal ​
ts
{
  value?: {
     checked?: boolean;
     date?: string | Date;
     number?: string;
     text?: string;
  };
}
value? ​
ts
optional value?: object;

An object containing the key and value to set for the card's Custom Field value. The key used to set the value should match the type of Custom Field defined.

value.checked? ​
ts
optional checked?: boolean;
value.date? ​
ts
optional date?: string | Date;
value.number? ​
ts
optional number?: string;
value.text? ​
ts
optional text?: string;

Type Literal ​
ts
{
  idValue?: string;
}
idValue? ​
ts
optional idValue?: string;

The ID of the option for the list type Custom Field

idCard ​

ts
idCard: string;

ID of the card that the Custom Field value should be set/updated for

idCustomField ​

ts
idCustomField: string;

ID of the Custom Field on the card.