attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
1,430 lines • 236 kB
TypeScript
import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SelectOption, SelectOption$Outbound } from "../components/selectoption.js";
import { Status, Status$Outbound } from "../components/status.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesRequest = {
object: string;
recordId: string;
attribute: string;
showHistoric?: boolean | undefined;
limit?: number | undefined;
offset?: number | undefined;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType17: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType17 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType17>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor17 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType17 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeTimestamp: {
readonly Timestamp: "timestamp";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeTimestamp = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeTimestamp>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataTimestamp = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor17;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeTimestamp;
/**
* A timestamp value represents a single, universal moment in time using an ISO 8601 formatted string. This means that a timestamp consists of a date, a time (with nanosecond precision), and a time zone. Attio will coerce timestamps which do not provide full nanosecond precision and UTC is assumed if no time zone is provided. For example, "2023", "2023-01", "2023-01-02", "2023-01-02T13:00", "2023-01-02T13:00:00", and "2023-01-02T13:00:00.000000000" will all be coerced to "2023-01-02T13:00:00.000000000Z". Timestamps are always returned in UTC. For example, writing a timestamp value using the string "2023-01-02T13:00:00.000000000+02:00" will result in the value "2023-01-02T11:00:00.000000000Z" being returned. The maximum date is "9999-12-31T23:59:59.999999999Z".
*/
value: Date;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType16: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType16 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType16>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor16 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType16 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeText: {
readonly Text: "text";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeText = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeText>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataText = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor16;
/**
* A raw text field. Values are limited to 10MB.
*/
value: string;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeText;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType15: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType15 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType15>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor15 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType15 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeSelect: {
readonly Select: "select";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeSelect = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeSelect>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataSelect = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor15;
option: SelectOption;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeSelect;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType14: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType14 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType14>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor14 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType14 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeRating: {
readonly Rating: "rating";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeRating = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeRating>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataRating = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor14;
/**
* A number between 0 and 5 (inclusive) to represent a star rating.
*/
value: number;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeRating;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType13: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType13 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType13>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor13 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType13 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeStatus: {
readonly Status: "status";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeStatus = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeStatus>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataStatus = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor13;
status: Status;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeStatus;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType12: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType12 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType12>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor12 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType12 | null | undefined;
};
/**
* The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCountryCode2: {
readonly Af: "AF";
readonly Ax: "AX";
readonly Al: "AL";
readonly Dz: "DZ";
readonly As: "AS";
readonly Ad: "AD";
readonly Ao: "AO";
readonly Ai: "AI";
readonly Aq: "AQ";
readonly Ag: "AG";
readonly Ar: "AR";
readonly Am: "AM";
readonly Aw: "AW";
readonly Au: "AU";
readonly At: "AT";
readonly Az: "AZ";
readonly Bs: "BS";
readonly Bh: "BH";
readonly Bd: "BD";
readonly Bb: "BB";
readonly By: "BY";
readonly Be: "BE";
readonly Bz: "BZ";
readonly Bj: "BJ";
readonly Bm: "BM";
readonly Bt: "BT";
readonly Bo: "BO";
readonly Ba: "BA";
readonly Bw: "BW";
readonly Bv: "BV";
readonly Br: "BR";
readonly Io: "IO";
readonly Bn: "BN";
readonly Bg: "BG";
readonly Bf: "BF";
readonly Bi: "BI";
readonly Kh: "KH";
readonly Cm: "CM";
readonly Ca: "CA";
readonly Cv: "CV";
readonly Ky: "KY";
readonly Cf: "CF";
readonly Td: "TD";
readonly Cl: "CL";
readonly Cn: "CN";
readonly Cx: "CX";
readonly Cc: "CC";
readonly Co: "CO";
readonly Km: "KM";
readonly Cg: "CG";
readonly Cd: "CD";
readonly Ck: "CK";
readonly Cr: "CR";
readonly Ci: "CI";
readonly Hr: "HR";
readonly Cu: "CU";
readonly Cw: "CW";
readonly Cy: "CY";
readonly Cz: "CZ";
readonly Dk: "DK";
readonly Dj: "DJ";
readonly Dm: "DM";
readonly Do: "DO";
readonly Ec: "EC";
readonly Eg: "EG";
readonly Sv: "SV";
readonly Gq: "GQ";
readonly Er: "ER";
readonly Ee: "EE";
readonly Et: "ET";
readonly Fk: "FK";
readonly Fo: "FO";
readonly Fj: "FJ";
readonly Fi: "FI";
readonly Fr: "FR";
readonly Gf: "GF";
readonly Pf: "PF";
readonly Tf: "TF";
readonly Ga: "GA";
readonly Gm: "GM";
readonly Ge: "GE";
readonly De: "DE";
readonly Gh: "GH";
readonly Gi: "GI";
readonly Gr: "GR";
readonly Gl: "GL";
readonly Gd: "GD";
readonly Gp: "GP";
readonly Gu: "GU";
readonly Gt: "GT";
readonly Gg: "GG";
readonly Gn: "GN";
readonly Gw: "GW";
readonly Gy: "GY";
readonly Ht: "HT";
readonly Hm: "HM";
readonly Va: "VA";
readonly Hn: "HN";
readonly Hk: "HK";
readonly Hu: "HU";
readonly Is: "IS";
readonly In: "IN";
readonly Id: "ID";
readonly Ir: "IR";
readonly Iq: "IQ";
readonly Ie: "IE";
readonly Im: "IM";
readonly Il: "IL";
readonly It: "IT";
readonly Jm: "JM";
readonly Jp: "JP";
readonly Je: "JE";
readonly Jo: "JO";
readonly Kz: "KZ";
readonly Ke: "KE";
readonly Ki: "KI";
readonly Kr: "KR";
readonly Kw: "KW";
readonly Kg: "KG";
readonly La: "LA";
readonly Lv: "LV";
readonly Lb: "LB";
readonly Ls: "LS";
readonly Lr: "LR";
readonly Ly: "LY";
readonly Li: "LI";
readonly Lt: "LT";
readonly Lu: "LU";
readonly Mo: "MO";
readonly Mk: "MK";
readonly Mg: "MG";
readonly Mw: "MW";
readonly My: "MY";
readonly Mv: "MV";
readonly Ml: "ML";
readonly Mt: "MT";
readonly Mh: "MH";
readonly Mq: "MQ";
readonly Mr: "MR";
readonly Mu: "MU";
readonly Yt: "YT";
readonly Mx: "MX";
readonly Fm: "FM";
readonly Md: "MD";
readonly Mc: "MC";
readonly Mn: "MN";
readonly Me: "ME";
readonly Ms: "MS";
readonly Ma: "MA";
readonly Mz: "MZ";
readonly Mm: "MM";
readonly Na: "NA";
readonly Nr: "NR";
readonly Np: "NP";
readonly Nl: "NL";
readonly An: "AN";
readonly Nc: "NC";
readonly Nz: "NZ";
readonly Ni: "NI";
readonly Ne: "NE";
readonly Ng: "NG";
readonly Nu: "NU";
readonly Nf: "NF";
readonly Mp: "MP";
readonly No: "NO";
readonly Om: "OM";
readonly Pk: "PK";
readonly Pw: "PW";
readonly Ps: "PS";
readonly Pa: "PA";
readonly Pg: "PG";
readonly Py: "PY";
readonly Pe: "PE";
readonly Ph: "PH";
readonly Pn: "PN";
readonly Pl: "PL";
readonly Pt: "PT";
readonly Pr: "PR";
readonly Qa: "QA";
readonly Re: "RE";
readonly Ro: "RO";
readonly Ru: "RU";
readonly Rw: "RW";
readonly Bl: "BL";
readonly Sh: "SH";
readonly Kn: "KN";
readonly Lc: "LC";
readonly Mf: "MF";
readonly Pm: "PM";
readonly Vc: "VC";
readonly Ws: "WS";
readonly Sm: "SM";
readonly St: "ST";
readonly Sa: "SA";
readonly Sn: "SN";
readonly Ss: "SS";
readonly Rs: "RS";
readonly Sc: "SC";
readonly Sl: "SL";
readonly Sg: "SG";
readonly Sk: "SK";
readonly Si: "SI";
readonly Sb: "SB";
readonly So: "SO";
readonly Za: "ZA";
readonly Gs: "GS";
readonly Es: "ES";
readonly Lk: "LK";
readonly Sd: "SD";
readonly Sr: "SR";
readonly Sj: "SJ";
readonly Sz: "SZ";
readonly Se: "SE";
readonly Ch: "CH";
readonly Sy: "SY";
readonly Tw: "TW";
readonly Tj: "TJ";
readonly Tz: "TZ";
readonly Th: "TH";
readonly Tl: "TL";
readonly Tg: "TG";
readonly Tk: "TK";
readonly To: "TO";
readonly Tt: "TT";
readonly Tn: "TN";
readonly Tr: "TR";
readonly Tm: "TM";
readonly Tc: "TC";
readonly Tv: "TV";
readonly Ug: "UG";
readonly Ua: "UA";
readonly Ae: "AE";
readonly Gb: "GB";
readonly Us: "US";
readonly Um: "UM";
readonly Uy: "UY";
readonly Uz: "UZ";
readonly Vu: "VU";
readonly Ve: "VE";
readonly Vn: "VN";
readonly Vg: "VG";
readonly Vi: "VI";
readonly Wf: "WF";
readonly Eh: "EH";
readonly Ye: "YE";
readonly Zm: "ZM";
readonly Zw: "ZW";
};
/**
* The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCountryCode2 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCountryCode2>;
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypePhoneNumber: {
readonly PhoneNumber: "phone-number";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypePhoneNumber = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypePhoneNumber>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataPhoneNumber = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor12;
/**
* The raw, original phone number, as inputted.
*/
originalPhoneNumber: string;
/**
* The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
*/
countryCode: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCountryCode2;
phoneNumber: string;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypePhoneNumber;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType11: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType11 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType11>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor11 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType11 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypePersonalName: {
readonly PersonalName: "personal-name";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypePersonalName = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypePersonalName>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataPersonalName = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor11;
/**
* The first name.
*/
firstName: string;
/**
* The last name.
*/
lastName: string;
/**
* The full name.
*/
fullName: string;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypePersonalName;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType10: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType10 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType10>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor10 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType10 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeNumber: {
readonly Number: "number";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeNumber = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeNumber>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataNumber = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor10;
/**
* Numbers are persisted as 64 bit floats.
*/
value: number;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeNumber;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType9: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType9 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType9>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor9 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType9 | null | undefined;
};
/**
* The ISO 3166-1 alpha-2 country code for the country this location is in.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCountryCode1: {
readonly Af: "AF";
readonly Ax: "AX";
readonly Al: "AL";
readonly Dz: "DZ";
readonly As: "AS";
readonly Ad: "AD";
readonly Ao: "AO";
readonly Ai: "AI";
readonly Aq: "AQ";
readonly Ag: "AG";
readonly Ar: "AR";
readonly Am: "AM";
readonly Aw: "AW";
readonly Au: "AU";
readonly At: "AT";
readonly Az: "AZ";
readonly Bs: "BS";
readonly Bh: "BH";
readonly Bd: "BD";
readonly Bb: "BB";
readonly By: "BY";
readonly Be: "BE";
readonly Bz: "BZ";
readonly Bj: "BJ";
readonly Bm: "BM";
readonly Bt: "BT";
readonly Bo: "BO";
readonly Ba: "BA";
readonly Bw: "BW";
readonly Bv: "BV";
readonly Br: "BR";
readonly Io: "IO";
readonly Bn: "BN";
readonly Bg: "BG";
readonly Bf: "BF";
readonly Bi: "BI";
readonly Kh: "KH";
readonly Cm: "CM";
readonly Ca: "CA";
readonly Cv: "CV";
readonly Ky: "KY";
readonly Cf: "CF";
readonly Td: "TD";
readonly Cl: "CL";
readonly Cn: "CN";
readonly Cx: "CX";
readonly Cc: "CC";
readonly Co: "CO";
readonly Km: "KM";
readonly Cg: "CG";
readonly Cd: "CD";
readonly Ck: "CK";
readonly Cr: "CR";
readonly Ci: "CI";
readonly Hr: "HR";
readonly Cu: "CU";
readonly Cw: "CW";
readonly Cy: "CY";
readonly Cz: "CZ";
readonly Dk: "DK";
readonly Dj: "DJ";
readonly Dm: "DM";
readonly Do: "DO";
readonly Ec: "EC";
readonly Eg: "EG";
readonly Sv: "SV";
readonly Gq: "GQ";
readonly Er: "ER";
readonly Ee: "EE";
readonly Et: "ET";
readonly Fk: "FK";
readonly Fo: "FO";
readonly Fj: "FJ";
readonly Fi: "FI";
readonly Fr: "FR";
readonly Gf: "GF";
readonly Pf: "PF";
readonly Tf: "TF";
readonly Ga: "GA";
readonly Gm: "GM";
readonly Ge: "GE";
readonly De: "DE";
readonly Gh: "GH";
readonly Gi: "GI";
readonly Gr: "GR";
readonly Gl: "GL";
readonly Gd: "GD";
readonly Gp: "GP";
readonly Gu: "GU";
readonly Gt: "GT";
readonly Gg: "GG";
readonly Gn: "GN";
readonly Gw: "GW";
readonly Gy: "GY";
readonly Ht: "HT";
readonly Hm: "HM";
readonly Va: "VA";
readonly Hn: "HN";
readonly Hk: "HK";
readonly Hu: "HU";
readonly Is: "IS";
readonly In: "IN";
readonly Id: "ID";
readonly Ir: "IR";
readonly Iq: "IQ";
readonly Ie: "IE";
readonly Im: "IM";
readonly Il: "IL";
readonly It: "IT";
readonly Jm: "JM";
readonly Jp: "JP";
readonly Je: "JE";
readonly Jo: "JO";
readonly Kz: "KZ";
readonly Ke: "KE";
readonly Ki: "KI";
readonly Kr: "KR";
readonly Kw: "KW";
readonly Kg: "KG";
readonly La: "LA";
readonly Lv: "LV";
readonly Lb: "LB";
readonly Ls: "LS";
readonly Lr: "LR";
readonly Ly: "LY";
readonly Li: "LI";
readonly Lt: "LT";
readonly Lu: "LU";
readonly Mo: "MO";
readonly Mk: "MK";
readonly Mg: "MG";
readonly Mw: "MW";
readonly My: "MY";
readonly Mv: "MV";
readonly Ml: "ML";
readonly Mt: "MT";
readonly Mh: "MH";
readonly Mq: "MQ";
readonly Mr: "MR";
readonly Mu: "MU";
readonly Yt: "YT";
readonly Mx: "MX";
readonly Fm: "FM";
readonly Md: "MD";
readonly Mc: "MC";
readonly Mn: "MN";
readonly Me: "ME";
readonly Ms: "MS";
readonly Ma: "MA";
readonly Mz: "MZ";
readonly Mm: "MM";
readonly Na: "NA";
readonly Nr: "NR";
readonly Np: "NP";
readonly Nl: "NL";
readonly An: "AN";
readonly Nc: "NC";
readonly Nz: "NZ";
readonly Ni: "NI";
readonly Ne: "NE";
readonly Ng: "NG";
readonly Nu: "NU";
readonly Nf: "NF";
readonly Mp: "MP";
readonly No: "NO";
readonly Om: "OM";
readonly Pk: "PK";
readonly Pw: "PW";
readonly Ps: "PS";
readonly Pa: "PA";
readonly Pg: "PG";
readonly Py: "PY";
readonly Pe: "PE";
readonly Ph: "PH";
readonly Pn: "PN";
readonly Pl: "PL";
readonly Pt: "PT";
readonly Pr: "PR";
readonly Qa: "QA";
readonly Re: "RE";
readonly Ro: "RO";
readonly Ru: "RU";
readonly Rw: "RW";
readonly Bl: "BL";
readonly Sh: "SH";
readonly Kn: "KN";
readonly Lc: "LC";
readonly Mf: "MF";
readonly Pm: "PM";
readonly Vc: "VC";
readonly Ws: "WS";
readonly Sm: "SM";
readonly St: "ST";
readonly Sa: "SA";
readonly Sn: "SN";
readonly Ss: "SS";
readonly Rs: "RS";
readonly Sc: "SC";
readonly Sl: "SL";
readonly Sg: "SG";
readonly Sk: "SK";
readonly Si: "SI";
readonly Sb: "SB";
readonly So: "SO";
readonly Za: "ZA";
readonly Gs: "GS";
readonly Es: "ES";
readonly Lk: "LK";
readonly Sd: "SD";
readonly Sr: "SR";
readonly Sj: "SJ";
readonly Sz: "SZ";
readonly Se: "SE";
readonly Ch: "CH";
readonly Sy: "SY";
readonly Tw: "TW";
readonly Tj: "TJ";
readonly Tz: "TZ";
readonly Th: "TH";
readonly Tl: "TL";
readonly Tg: "TG";
readonly Tk: "TK";
readonly To: "TO";
readonly Tt: "TT";
readonly Tn: "TN";
readonly Tr: "TR";
readonly Tm: "TM";
readonly Tc: "TC";
readonly Tv: "TV";
readonly Ug: "UG";
readonly Ua: "UA";
readonly Ae: "AE";
readonly Gb: "GB";
readonly Us: "US";
readonly Um: "UM";
readonly Uy: "UY";
readonly Uz: "UZ";
readonly Vu: "VU";
readonly Ve: "VE";
readonly Vn: "VN";
readonly Vg: "VG";
readonly Vi: "VI";
readonly Wf: "WF";
readonly Eh: "EH";
readonly Ye: "YE";
readonly Zm: "ZM";
readonly Zw: "ZW";
};
/**
* The ISO 3166-1 alpha-2 country code for the country this location is in.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCountryCode1 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCountryCode1>;
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeLocation: {
readonly Location: "location";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeLocation = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeLocation>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataLocation = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor9;
/**
* The first line of the address. Note that this value is not currently represented in the UI but will be persisted and readable through API calls.
*/
line1: string | null;
/**
* The second line of the address. Note that this value is not currently represented in the UI but will be persisted and readable through API calls.
*/
line2: string | null;
/**
* The third line of the address. Note that this value is not currently represented in the UI but will be persisted and readable through API calls.
*/
line3: string | null;
/**
* The fourth line of the address. Note that this value is not currently represented in the UI but will be persisted and readable through API calls.
*/
line4: string | null;
/**
* The town, neighborhood or area the location is in.
*/
locality: string | null;
/**
* The state, county, province or region that the location is in.
*/
region: string | null;
/**
* The postcode or zip code for the location. Note that this value is not currently represented in the UI but will be persisted and readable through API calls.}
*/
postcode: string | null;
/**
* The ISO 3166-1 alpha-2 country code for the country this location is in.
*/
countryCode: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCountryCode1 | null;
/**
* The latitude of the location. Validated by the regular expression `/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?)$/`. Note that this value is not currently represented in the UI but will be persisted and readable through API calls.}
*/
latitude: string | null;
/**
* The longitude of the location. Validated by the regular expression `/^[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/`
*/
longitude: string | null;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeLocation;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType8: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType8 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType8>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor8 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType8 | null | undefined;
};
/**
* The type of interaction e.g. calendar or email.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesInteractionType: {
readonly CalendarEvent: "calendar-event";
readonly Call: "call";
readonly ChatThread: "chat-thread";
readonly Email: "email";
readonly InPersonMeeting: "in-person-meeting";
readonly Meeting: "meeting";
};
/**
* The type of interaction e.g. calendar or email.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesInteractionType = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesInteractionType>;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesOwnerActorType: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesOwnerActorType = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesOwnerActorType>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesOwnerActor = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesOwnerActorType | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeInteraction: {
readonly Interaction: "interaction";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeInteraction = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeInteraction>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataInteraction = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor8;
/**
* The type of interaction e.g. calendar or email.
*/
interactionType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesInteractionType;
/**
* When the interaction occurred.
*/
interactedAt: Date;
/**
* The actor that created this value.
*/
ownerActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesOwnerActor;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeInteraction;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType7: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType7 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType7>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor7 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType7 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeRecordReference: {
readonly RecordReference: "record-reference";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeRecordReference = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeRecordReference>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataRecordReference = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor7;
/**
* A slug identifying the object that the referenced record belongs to.
*/
targetObject: string;
/**
* A UUID to identify the referenced record.
*/
targetRecordId: string;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeRecordReference;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType6: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType6 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType6>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor6 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType6 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeEmailAddress: {
readonly EmailAddress: "email-address";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeEmailAddress = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeEmailAddress>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataEmailAddress = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor6;
originalEmailAddress: string;
emailAddress: string;
emailDomain: string;
emailRootDomain: string;
emailLocalSpecifier: string;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeEmailAddress;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType5: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType5 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType5>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor5 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType5 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeDomain: {
readonly Domain: "domain";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeDomain = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeDomain>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataDomain = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor5;
domain: string;
rootDomain: string;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeDomain;
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType4: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType4 = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType4>;
/**
* The actor that created this value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor4 = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActorType4 | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeDate: {
readonly Date: "date";
};
/**
* The attribute type of the value.
*/
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeDate = ClosedEnum<typeof GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeDate>;
export type GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesDataDate = {
/**
* The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
*/
activeFrom: Date;
/**
* The point in time at which this value was deactivated. If `null`, the value is active.
*/
activeUntil: Date | null;
/**
* The actor that created this value.
*/
createdByActor: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesCreatedByActor4;
/**
* The attribute type of the value.
*/
attributeType: GetV2ObjectsObjectRecordsRecordIdAttributesAttributeValuesAttributeTypeDate;
/**
* A date represents a single calendar year, month and day, independent of timezone. If hours, months, seconds or timezones are provided, they will be trimmed. For example, "2023" and "2023-01" will be coerced into "2023-01-01", and "2023-01-02", "2023-01-02T13:00", "2023-01-02T14:00:00", "2023-01-02T15:00:00.000000000", and "2023-01-02T15:00:00.000000000+02:00" will all be coerced to "2023-01-02". If a timezone is provided that would result in a different calendar date in UTC, the d