attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
1,598 lines (1,597 loc) • 106 kB
TypeScript
import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { SelectOption, SelectOption$Outbound } from "./selectoption.js";
import { Status, Status$Outbound } from "./status.js";
/**
* The attribute type of the value.
*/
export declare const AttributeTypeTimestamp: {
readonly Timestamp: "timestamp";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeTimestamp = ClosedEnum<typeof AttributeTypeTimestamp>;
export type OutputValueTimestamp = {
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeTimestamp;
/**
* 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 attribute type of the value.
*/
export declare const AttributeTypeText: {
readonly Text: "text";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeText = ClosedEnum<typeof AttributeTypeText>;
export type OutputValueText = {
/**
* A raw text field. Values are limited to 10MB.
*/
value: string;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeText;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeSelect2: {
readonly Select: "select";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeSelect2 = ClosedEnum<typeof AttributeTypeSelect2>;
export type OutputValueSelect2 = {
option: SelectOption;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeSelect2;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeSelect1: {
readonly Select: "select";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeSelect1 = ClosedEnum<typeof AttributeTypeSelect1>;
export type OutputValueSelect1 = {
/**
* The UUID identifying the selected select option.
*/
option: string;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeSelect1;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeRating: {
readonly Rating: "rating";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeRating = ClosedEnum<typeof AttributeTypeRating>;
export type OutputValueRating = {
/**
* A number between 0 and 5 (inclusive) to represent a star rating.
*/
value: number;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeRating;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeStatus2: {
readonly Status: "status";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeStatus2 = ClosedEnum<typeof AttributeTypeStatus2>;
export type OutputValueStatus2 = {
status: Status;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeStatus2;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeStatus1: {
readonly Status: "status";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeStatus1 = ClosedEnum<typeof AttributeTypeStatus1>;
export type OutputValueStatus1 = {
/**
* The UUID identifying the selected status.
*/
status: string;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeStatus1;
};
/**
* The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
*/
export declare const OutputValueCountryCode2: {
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 OutputValueCountryCode2 = ClosedEnum<typeof OutputValueCountryCode2>;
/**
* The attribute type of the value.
*/
export declare const AttributeTypePhoneNumber: {
readonly PhoneNumber: "phone-number";
};
/**
* The attribute type of the value.
*/
export type AttributeTypePhoneNumber = ClosedEnum<typeof AttributeTypePhoneNumber>;
export type OutputValuePhoneNumber = {
/**
* 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: OutputValueCountryCode2;
phoneNumber: string;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypePhoneNumber;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypePersonalName: {
readonly PersonalName: "personal-name";
};
/**
* The attribute type of the value.
*/
export type AttributeTypePersonalName = ClosedEnum<typeof AttributeTypePersonalName>;
export type OutputValuePersonalName = {
/**
* The first name.
*/
firstName: string;
/**
* The last name.
*/
lastName: string;
/**
* The full name.
*/
fullName: string;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypePersonalName;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeNumber: {
readonly Number: "number";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeNumber = ClosedEnum<typeof AttributeTypeNumber>;
export type OutputValueNumber = {
/**
* Numbers are persisted as 64 bit floats.
*/
value: number;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeNumber;
};
/**
* The ISO 3166-1 alpha-2 country code for the country this location is in.
*/
export declare const OutputValueCountryCode1: {
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 OutputValueCountryCode1 = ClosedEnum<typeof OutputValueCountryCode1>;
/**
* The attribute type of the value.
*/
export declare const AttributeTypeLocation: {
readonly Location: "location";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeLocation = ClosedEnum<typeof AttributeTypeLocation>;
export type OutputValueLocation = {
/**
* 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: OutputValueCountryCode1 | 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: AttributeTypeLocation;
};
/**
* The type of interaction e.g. calendar or email.
*/
export declare const OutputValueInteractionType: {
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 OutputValueInteractionType = ClosedEnum<typeof OutputValueInteractionType>;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
export declare const OutputValueType: {
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 OutputValueType = ClosedEnum<typeof OutputValueType>;
/**
* The actor that created this value.
*/
export type OutputValueOwnerActor = {
/**
* An ID to identify the actor.
*/
id?: string | null | undefined;
/**
* The type of actor. [Read more information on actor types here](/docs/actors).
*/
type?: OutputValueType | null | undefined;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeInteraction: {
readonly Interaction: "interaction";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeInteraction = ClosedEnum<typeof AttributeTypeInteraction>;
export type OutputValueInteraction = {
/**
* The type of interaction e.g. calendar or email.
*/
interactionType: OutputValueInteractionType;
/**
* When the interaction occurred.
*/
interactedAt: Date;
/**
* The actor that created this value.
*/
ownerActor: OutputValueOwnerActor;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeInteraction;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeRecordReference: {
readonly RecordReference: "record-reference";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeRecordReference = ClosedEnum<typeof AttributeTypeRecordReference>;
export type OutputValueRecordReference = {
/**
* 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: AttributeTypeRecordReference;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeEmailAddress: {
readonly EmailAddress: "email-address";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeEmailAddress = ClosedEnum<typeof AttributeTypeEmailAddress>;
export type OutputValueEmailAddress = {
originalEmailAddress: string;
emailAddress: string;
emailDomain: string;
emailRootDomain: string;
emailLocalSpecifier: string;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeEmailAddress;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeDomain: {
readonly Domain: "domain";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeDomain = ClosedEnum<typeof AttributeTypeDomain>;
export type OutputValueDomain = {
domain: string;
rootDomain: string;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeDomain;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeDate: {
readonly Date: "date";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeDate = ClosedEnum<typeof AttributeTypeDate>;
export type OutputValueDate = {
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeDate;
/**
* 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 date will be coerced to UTC and then the timezone component will be trimmed. For example, the value "2023-01-02T23:00:00-10:00" will be returned as "2023-01-03". The maximum date is "9999-12-31".
*/
value: string;
};
/**
* The ISO4217 currency code representing the currency that the value is stored in.
*/
export declare const CurrencyCode: {
readonly Aud: "AUD";
readonly Brl: "BRL";
readonly Bel: "BEL";
readonly Cad: "CAD";
readonly Cny: "CNY";
readonly Cop: "COP";
readonly Czk: "CZK";
readonly Dkk: "DKK";
readonly Eur: "EUR";
readonly Hkd: "HKD";
readonly Isk: "ISK";
readonly Inr: "INR";
readonly Ils: "ILS";
readonly Jpy: "JPY";
readonly Krw: "KRW";
readonly Myr: "MYR";
readonly Mxn: "MXN";
readonly Ntd: "NTD";
readonly Nzd: "NZD";
readonly Ngn: "NGN";
readonly Nok: "NOK";
readonly Xpf: "XPF";
readonly Pen: "PEN";
readonly Php: "PHP";
readonly Pln: "PLN";
readonly Gbp: "GBP";
readonly Sar: "SAR";
readonly Sgd: "SGD";
readonly Zar: "ZAR";
readonly Sek: "SEK";
readonly Chf: "CHF";
readonly Aed: "AED";
readonly Usd: "USD";
};
/**
* The ISO4217 currency code representing the currency that the value is stored in.
*/
export type CurrencyCode = ClosedEnum<typeof CurrencyCode>;
/**
* The attribute type of the value.
*/
export declare const AttributeTypeCurrency: {
readonly Currency: "currency";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeCurrency = ClosedEnum<typeof AttributeTypeCurrency>;
export type OutputValueCurrency = {
/**
* A numerical representation of the currency value. A decimal with a max of 4 decimal places.
*/
currencyValue: number;
/**
* The ISO4217 currency code representing the currency that the value is stored in.
*/
currencyCode?: CurrencyCode | null | undefined;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeCurrency;
};
/**
* The attribute type of the value.
*/
export declare const AttributeTypeCheckbox: {
readonly Checkbox: "checkbox";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeCheckbox = ClosedEnum<typeof AttributeTypeCheckbox>;
export type OutputValueCheckbox = {
/**
* A boolean representing whether the checkbox is checked or not. The string values 'true' and 'false' are also accepted.
*/
value: boolean;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeCheckbox;
};
/**
* The type of the referenced actor. [Read more information on actor types here](/docs/actors).
*/
export declare const OutputValueReferencedActorType: {
readonly ApiToken: "api-token";
readonly WorkspaceMember: "workspace-member";
readonly System: "system";
readonly App: "app";
};
/**
* The type of the referenced actor. [Read more information on actor types here](/docs/actors).
*/
export type OutputValueReferencedActorType = ClosedEnum<typeof OutputValueReferencedActorType>;
/**
* The attribute type of the value.
*/
export declare const AttributeTypeActorReference: {
readonly ActorReference: "actor-reference";
};
/**
* The attribute type of the value.
*/
export type AttributeTypeActorReference = ClosedEnum<typeof AttributeTypeActorReference>;
export type OutputValueActorReference = {
/**
* The type of the referenced actor. [Read more information on actor types here](/docs/actors).
*/
referencedActorType: OutputValueReferencedActorType;
/**
* The ID of the referenced actor.
*/
referencedActorId: string | null;
/**
* The attribute type of the value.
*/
attributeType: AttributeTypeActorReference;
};
/**
* A union of possible value types, as returned in response bodies.
*/
export type OutputValue = OutputValueCheckbox | OutputValueDate | OutputValueNumber | OutputValueStatus1 | OutputValueStatus2 | OutputValueRating | OutputValueSelect1 | OutputValueSelect2 | OutputValueText | OutputValueTimestamp | OutputValueActorReference | OutputValueCurrency | OutputValueDomain | OutputValueRecordReference | OutputValueInteraction | OutputValuePersonalName | OutputValuePhoneNumber | OutputValueEmailAddress | OutputValueLocation;
/** @internal */
export declare const AttributeTypeTimestamp$inboundSchema: z.ZodNativeEnum<typeof AttributeTypeTimestamp>;
/** @internal */
export declare const AttributeTypeTimestamp$outboundSchema: z.ZodNativeEnum<typeof AttributeTypeTimestamp>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace AttributeTypeTimestamp$ {
/** @deprecated use `AttributeTypeTimestamp$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Timestamp: "timestamp";
}>;
/** @deprecated use `AttributeTypeTimestamp$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Timestamp: "timestamp";
}>;
}
/** @internal */
export declare const OutputValueTimestamp$inboundSchema: z.ZodType<OutputValueTimestamp, z.ZodTypeDef, unknown>;
/** @internal */
export type OutputValueTimestamp$Outbound = {
attribute_type: string;
value: string;
};
/** @internal */
export declare const OutputValueTimestamp$outboundSchema: z.ZodType<OutputValueTimestamp$Outbound, z.ZodTypeDef, OutputValueTimestamp>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OutputValueTimestamp$ {
/** @deprecated use `OutputValueTimestamp$inboundSchema` instead. */
const inboundSchema: z.ZodType<OutputValueTimestamp, z.ZodTypeDef, unknown>;
/** @deprecated use `OutputValueTimestamp$outboundSchema` instead. */
const outboundSchema: z.ZodType<OutputValueTimestamp$Outbound, z.ZodTypeDef, OutputValueTimestamp>;
/** @deprecated use `OutputValueTimestamp$Outbound` instead. */
type Outbound = OutputValueTimestamp$Outbound;
}
export declare function outputValueTimestampToJSON(outputValueTimestamp: OutputValueTimestamp): string;
export declare function outputValueTimestampFromJSON(jsonString: string): SafeParseResult<OutputValueTimestamp, SDKValidationError>;
/** @internal */
export declare const AttributeTypeText$inboundSchema: z.ZodNativeEnum<typeof AttributeTypeText>;
/** @internal */
export declare const AttributeTypeText$outboundSchema: z.ZodNativeEnum<typeof AttributeTypeText>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace AttributeTypeText$ {
/** @deprecated use `AttributeTypeText$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Text: "text";
}>;
/** @deprecated use `AttributeTypeText$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Text: "text";
}>;
}
/** @internal */
export declare const OutputValueText$inboundSchema: z.ZodType<OutputValueText, z.ZodTypeDef, unknown>;
/** @internal */
export type OutputValueText$Outbound = {
value: string;
attribute_type: string;
};
/** @internal */
export declare const OutputValueText$outboundSchema: z.ZodType<OutputValueText$Outbound, z.ZodTypeDef, OutputValueText>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OutputValueText$ {
/** @deprecated use `OutputValueText$inboundSchema` instead. */
const inboundSchema: z.ZodType<OutputValueText, z.ZodTypeDef, unknown>;
/** @deprecated use `OutputValueText$outboundSchema` instead. */
const outboundSchema: z.ZodType<OutputValueText$Outbound, z.ZodTypeDef, OutputValueText>;
/** @deprecated use `OutputValueText$Outbound` instead. */
type Outbound = OutputValueText$Outbound;
}
export declare function outputValueTextToJSON(outputValueText: OutputValueText): string;
export declare function outputValueTextFromJSON(jsonString: string): SafeParseResult<OutputValueText, SDKValidationError>;
/** @internal */
export declare const AttributeTypeSelect2$inboundSchema: z.ZodNativeEnum<typeof AttributeTypeSelect2>;
/** @internal */
export declare const AttributeTypeSelect2$outboundSchema: z.ZodNativeEnum<typeof AttributeTypeSelect2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace AttributeTypeSelect2$ {
/** @deprecated use `AttributeTypeSelect2$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Select: "select";
}>;
/** @deprecated use `AttributeTypeSelect2$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Select: "select";
}>;
}
/** @internal */
export declare const OutputValueSelect2$inboundSchema: z.ZodType<OutputValueSelect2, z.ZodTypeDef, unknown>;
/** @internal */
export type OutputValueSelect2$Outbound = {
option: SelectOption$Outbound;
attribute_type: string;
};
/** @internal */
export declare const OutputValueSelect2$outboundSchema: z.ZodType<OutputValueSelect2$Outbound, z.ZodTypeDef, OutputValueSelect2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OutputValueSelect2$ {
/** @deprecated use `OutputValueSelect2$inboundSchema` instead. */
const inboundSchema: z.ZodType<OutputValueSelect2, z.ZodTypeDef, unknown>;
/** @deprecated use `OutputValueSelect2$outboundSchema` instead. */
const outboundSchema: z.ZodType<OutputValueSelect2$Outbound, z.ZodTypeDef, OutputValueSelect2>;
/** @deprecated use `OutputValueSelect2$Outbound` instead. */
type Outbound = OutputValueSelect2$Outbound;
}
export declare function outputValueSelect2ToJSON(outputValueSelect2: OutputValueSelect2): string;
export declare function outputValueSelect2FromJSON(jsonString: string): SafeParseResult<OutputValueSelect2, SDKValidationError>;
/** @internal */
export declare const AttributeTypeSelect1$inboundSchema: z.ZodNativeEnum<typeof AttributeTypeSelect1>;
/** @internal */
export declare const AttributeTypeSelect1$outboundSchema: z.ZodNativeEnum<typeof AttributeTypeSelect1>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace AttributeTypeSelect1$ {
/** @deprecated use `AttributeTypeSelect1$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Select: "select";
}>;
/** @deprecated use `AttributeTypeSelect1$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Select: "select";
}>;
}
/** @internal */
export declare const OutputValueSelect1$inboundSchema: z.ZodType<OutputValueSelect1, z.ZodTypeDef, unknown>;
/** @internal */
export type OutputValueSelect1$Outbound = {
option: string;
attribute_type: string;
};
/** @internal */
export declare const OutputValueSelect1$outboundSchema: z.ZodType<OutputValueSelect1$Outbound, z.ZodTypeDef, OutputValueSelect1>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OutputValueSelect1$ {
/** @deprecated use `OutputValueSelect1$inboundSchema` instead. */
const inboundSchema: z.ZodType<OutputValueSelect1, z.ZodTypeDef, unknown>;
/** @deprecated use `OutputValueSelect1$outboundSchema` instead. */
const outboundSchema: z.ZodType<OutputValueSelect1$Outbound, z.ZodTypeDef, OutputValueSelect1>;
/** @deprecated use `OutputValueSelect1$Outbound` instead. */
type Outbound = OutputValueSelect1$Outbound;
}
export declare function outputValueSelect1ToJSON(outputValueSelect1: OutputValueSelect1): string;
export declare function outputValueSelect1FromJSON(jsonString: string): SafeParseResult<OutputValueSelect1, SDKValidationError>;
/** @internal */
export declare const AttributeTypeRating$inboundSchema: z.ZodNativeEnum<typeof AttributeTypeRating>;
/** @internal */
export declare const AttributeTypeRating$outboundSchema: z.ZodNativeEnum<typeof AttributeTypeRating>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace AttributeTypeRating$ {
/** @deprecated use `AttributeTypeRating$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Rating: "rating";
}>;
/** @deprecated use `AttributeTypeRating$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Rating: "rating";
}>;
}
/** @internal */
export declare const OutputValueRating$inboundSchema: z.ZodType<OutputValueRating, z.ZodTypeDef, unknown>;
/** @internal */
export type OutputValueRating$Outbound = {
value: number;
attribute_type: string;
};
/** @internal */
export declare const OutputValueRating$outboundSchema: z.ZodType<OutputValueRating$Outbound, z.ZodTypeDef, OutputValueRating>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OutputValueRating$ {
/** @deprecated use `OutputValueRating$inboundSchema` instead. */
const inboundSchema: z.ZodType<OutputValueRating, z.ZodTypeDef, unknown>;
/** @deprecated use `OutputValueRating$outboundSchema` instead. */
const outboundSchema: z.ZodType<OutputValueRating$Outbound, z.ZodTypeDef, OutputValueRating>;
/** @deprecated use `OutputValueRating$Outbound` instead. */
type Outbound = OutputValueRating$Outbound;
}
export declare function outputValueRatingToJSON(outputValueRating: OutputValueRating): string;
export declare function outputValueRatingFromJSON(jsonString: string): SafeParseResult<OutputValueRating, SDKValidationError>;
/** @internal */
export declare const AttributeTypeStatus2$inboundSchema: z.ZodNativeEnum<typeof AttributeTypeStatus2>;
/** @internal */
export declare const AttributeTypeStatus2$outboundSchema: z.ZodNativeEnum<typeof AttributeTypeStatus2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace AttributeTypeStatus2$ {
/** @deprecated use `AttributeTypeStatus2$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Status: "status";
}>;
/** @deprecated use `AttributeTypeStatus2$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Status: "status";
}>;
}
/** @internal */
export declare const OutputValueStatus2$inboundSchema: z.ZodType<OutputValueStatus2, z.ZodTypeDef, unknown>;
/** @internal */
export type OutputValueStatus2$Outbound = {
status: Status$Outbound;
attribute_type: string;
};
/** @internal */
export declare const OutputValueStatus2$outboundSchema: z.ZodType<OutputValueStatus2$Outbound, z.ZodTypeDef, OutputValueStatus2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OutputValueStatus2$ {
/** @deprecated use `OutputValueStatus2$inboundSchema` instead. */
const inboundSchema: z.ZodType<OutputValueStatus2, z.ZodTypeDef, unknown>;
/** @deprecated use `OutputValueStatus2$outboundSchema` instead. */
const outboundSchema: z.ZodType<OutputValueStatus2$Outbound, z.ZodTypeDef, OutputValueStatus2>;
/** @deprecated use `OutputValueStatus2$Outbound` instead. */
type Outbound = OutputValueStatus2$Outbound;
}
export declare function outputValueStatus2ToJSON(outputValueStatus2: OutputValueStatus2): string;
export declare function outputValueStatus2FromJSON(jsonString: string): SafeParseResult<OutputValueStatus2, SDKValidationError>;
/** @internal */
export declare const AttributeTypeStatus1$inboundSchema: z.ZodNativeEnum<typeof AttributeTypeStatus1>;
/** @internal */
export declare const AttributeTypeStatus1$outboundSchema: z.ZodNativeEnum<typeof AttributeTypeStatus1>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace AttributeTypeStatus1$ {
/** @deprecated use `AttributeTypeStatus1$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Status: "status";
}>;
/** @deprecated use `AttributeTypeStatus1$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Status: "status";
}>;
}
/** @internal */
export declare const OutputValueStatus1$inboundSchema: z.ZodType<OutputValueStatus1, z.ZodTypeDef, unknown>;
/** @internal */
export type OutputValueStatus1$Outbound = {
status: string;
attribute_type: string;
};
/** @internal */
export declare const OutputValueStatus1$outboundSchema: z.ZodType<OutputValueStatus1$Outbound, z.ZodTypeDef, OutputValueStatus1>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OutputValueStatus1$ {
/** @deprecated use `OutputValueStatus1$inboundSchema` instead. */
const inboundSchema: z.ZodType<OutputValueStatus1, z.ZodTypeDef, unknown>;
/** @deprecated use `OutputValueStatus1$outboundSchema` instead. */
const outboundSchema: z.ZodType<OutputValueStatus1$Outbound, z.ZodTypeDef, OutputValueStatus1>;
/** @deprecated use `OutputValueStatus1$Outbound` instead. */
type Outbound = OutputValueStatus1$Outbound;
}
export declare function outputValueStatus1ToJSON(outputValueStatus1: OutputValueStatus1): string;
export declare function outputValueStatus1FromJSON(jsonString: string): SafeParseResult<OutputValueStatus1, SDKValidationError>;
/** @internal */
export declare const OutputValueCountryCode2$inboundSchema: z.ZodNativeEnum<typeof OutputValueCountryCode2>;
/** @internal */
export declare const OutputValueCountryCode2$outboundSchema: z.ZodNativeEnum<typeof OutputValueCountryCode2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OutputValueCountryCode2$ {
/** @deprecated use `OutputValueCountryCode2$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
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";