attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
1,265 lines • 50.3 kB
TypeScript
import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { Task, Task$Outbound } from "../components/task.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* The format of the task content to be created. Rich text formatting, links and @references are not supported.
*/
export declare const PostV2TasksFormat: {
readonly Plaintext: "plaintext";
};
/**
* The format of the task content to be created. Rich text formatting, links and @references are not supported.
*/
export type PostV2TasksFormat = ClosedEnum<typeof PostV2TasksFormat>;
export type PostV2TasksSlugOrIdOfMatchingAttribute5 = {
/**
* A raw text field. Values are limited to 10MB.
*/
value?: string | undefined;
};
/**
* The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
*/
export declare const PostV2TasksCountryCode: {
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 PostV2TasksCountryCode = ClosedEnum<typeof PostV2TasksCountryCode>;
export type PostV2TasksSlugOrIdOfMatchingAttribute4 = {
/**
* The raw, original phone number, as inputted.
*/
originalPhoneNumber?: string | undefined;
/**
* The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
*/
countryCode?: PostV2TasksCountryCode | null | undefined;
};
export type PostV2TasksSlugOrIdOfMatchingAttribute3 = {
/**
* Numbers are persisted as 64 bit floats.
*/
value?: number | undefined;
};
export type PostV2TasksSlugOrIdOfMatchingAttribute2 = {
/**
* An email address string
*/
emailAddress?: string | undefined;
};
export type PostV2TasksSlugOrIdOfMatchingAttribute1 = {
/**
* The full domain of the website.
*/
domain?: string | undefined;
};
export type PostV2TasksSlugOrIdOfMatchingAttributeUnion = PostV2TasksSlugOrIdOfMatchingAttribute1 | PostV2TasksSlugOrIdOfMatchingAttribute2 | PostV2TasksSlugOrIdOfMatchingAttribute3 | PostV2TasksSlugOrIdOfMatchingAttribute5 | PostV2TasksSlugOrIdOfMatchingAttribute4;
export type PostV2TasksLinkedRecord2 = {
/**
* A UUID or slug to identify the object that the referenced record belongs to.
*/
targetObject: string;
/**
* In addition to referencing records directly by record ID, you may also reference by a matching attribute of your choice. For example, if you want to add a reference to the person record with email "alice@website.com", you should pass a value with `target_object` set to `"people"` and `email_addresses` set to `[{email_address:"alice@website.com"}]`. The key should be the slug or ID of the matching attribute you would like to use and the value should be an array containing a single value of the appropriate attribute type (as specified below). Matching on multiple values is not currently supported. Matching attributes must be unique. This process is similar to how you use the `matching_attribute` query param in Attio's [assert endpoints](/reference/put_v2-objects-object-records).
*/
slugOrIdOfMatchingAttribute: Array<PostV2TasksSlugOrIdOfMatchingAttribute1 | PostV2TasksSlugOrIdOfMatchingAttribute2 | PostV2TasksSlugOrIdOfMatchingAttribute3 | PostV2TasksSlugOrIdOfMatchingAttribute5 | PostV2TasksSlugOrIdOfMatchingAttribute4>;
};
export type PostV2TasksLinkedRecord1 = {
/**
* The ID or slug of the parent object the tasks refers to. This can reference both standard and custom objects.`
*/
targetObject: string;
/**
* The ID of the parent record the task refers to.
*/
targetRecordId: string;
};
export type PostV2TasksLinkedRecordUnion = PostV2TasksLinkedRecord1 | PostV2TasksLinkedRecord2;
export type PostV2TasksAssignee = {
/**
* Workspace member actors can be referenced by email address as well as actor ID.
*/
workspaceMemberEmailAddress: string;
};
/**
* The actor type of the task assignee. Only `workspace-member` actors can be assigned to tasks. [Read more information on actor types here](/docs/actors).
*/
export declare const PostV2TasksReferencedActorType: {
readonly WorkspaceMember: "workspace-member";
};
/**
* The actor type of the task assignee. Only `workspace-member` actors can be assigned to tasks. [Read more information on actor types here](/docs/actors).
*/
export type PostV2TasksReferencedActorType = ClosedEnum<typeof PostV2TasksReferencedActorType>;
export type PostV2TasksAssigneeWorkspaceMember = {
/**
* The actor type of the task assignee. Only `workspace-member` actors can be assigned to tasks. [Read more information on actor types here](/docs/actors).
*/
referencedActorType: PostV2TasksReferencedActorType;
/**
* The ID of the actor assigned to this task.
*/
referencedActorId: string;
};
export type PostV2TasksAssigneeUnion = PostV2TasksAssignee | PostV2TasksAssigneeWorkspaceMember;
export type PostV2TasksData = {
/**
* The text content of the task, in the format specified by the `format` property.
*/
content: string;
/**
* The format of the task content to be created. Rich text formatting, links and @references are not supported.
*/
format: PostV2TasksFormat;
/**
* The deadline of the task, in ISO 8601 format.
*/
deadlineAt: string | null;
/**
* Whether the task has been completed.
*/
isCompleted: boolean;
/**
* Records linked to the task. Creating record links within task content text is not possible via the API at present.
*/
linkedRecords: Array<PostV2TasksLinkedRecord1 | PostV2TasksLinkedRecord2>;
/**
* Workspace members assigned to this task.
*/
assignees: Array<PostV2TasksAssignee | PostV2TasksAssigneeWorkspaceMember>;
};
export type PostV2TasksRequest = {
data: PostV2TasksData;
};
/**
* Success
*/
export type PostV2TasksResponse = {
data: Task;
};
/** @internal */
export declare const PostV2TasksFormat$inboundSchema: z.ZodNativeEnum<typeof PostV2TasksFormat>;
/** @internal */
export declare const PostV2TasksFormat$outboundSchema: z.ZodNativeEnum<typeof PostV2TasksFormat>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksFormat$ {
/** @deprecated use `PostV2TasksFormat$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Plaintext: "plaintext";
}>;
/** @deprecated use `PostV2TasksFormat$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Plaintext: "plaintext";
}>;
}
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute5$inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute5, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksSlugOrIdOfMatchingAttribute5$Outbound = {
value?: string | undefined;
};
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute5$outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute5$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute5>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksSlugOrIdOfMatchingAttribute5$ {
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute5$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute5, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute5$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute5$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute5>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute5$Outbound` instead. */
type Outbound = PostV2TasksSlugOrIdOfMatchingAttribute5$Outbound;
}
export declare function postV2TasksSlugOrIdOfMatchingAttribute5ToJSON(postV2TasksSlugOrIdOfMatchingAttribute5: PostV2TasksSlugOrIdOfMatchingAttribute5): string;
export declare function postV2TasksSlugOrIdOfMatchingAttribute5FromJSON(jsonString: string): SafeParseResult<PostV2TasksSlugOrIdOfMatchingAttribute5, SDKValidationError>;
/** @internal */
export declare const PostV2TasksCountryCode$inboundSchema: z.ZodNativeEnum<typeof PostV2TasksCountryCode>;
/** @internal */
export declare const PostV2TasksCountryCode$outboundSchema: z.ZodNativeEnum<typeof PostV2TasksCountryCode>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksCountryCode$ {
/** @deprecated use `PostV2TasksCountryCode$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";
readonly Vn: "VN";
readonly Vg: "VG";
readonly Vi: "VI";
readonly Wf: "WF";
readonly Eh: "EH";
readonly Ye: "YE";
readonly Zm: "ZM";
readonly Zw: "ZW";
}>;
/** @deprecated use `PostV2TasksCountryCode$outboundSchema` instead. */
const outboundSchema: 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";
readonly Vn: "VN";
readonly Vg: "VG";
readonly Vi: "VI";
readonly Wf: "WF";
readonly Eh: "EH";
readonly Ye: "YE";
readonly Zm: "ZM";
readonly Zw: "ZW";
}>;
}
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute4$inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute4, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksSlugOrIdOfMatchingAttribute4$Outbound = {
original_phone_number?: string | undefined;
country_code?: string | null | undefined;
};
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute4$outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute4$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute4>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksSlugOrIdOfMatchingAttribute4$ {
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute4$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute4, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute4$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute4$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute4>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute4$Outbound` instead. */
type Outbound = PostV2TasksSlugOrIdOfMatchingAttribute4$Outbound;
}
export declare function postV2TasksSlugOrIdOfMatchingAttribute4ToJSON(postV2TasksSlugOrIdOfMatchingAttribute4: PostV2TasksSlugOrIdOfMatchingAttribute4): string;
export declare function postV2TasksSlugOrIdOfMatchingAttribute4FromJSON(jsonString: string): SafeParseResult<PostV2TasksSlugOrIdOfMatchingAttribute4, SDKValidationError>;
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute3$inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute3, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksSlugOrIdOfMatchingAttribute3$Outbound = {
value?: number | undefined;
};
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute3$outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute3$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute3>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksSlugOrIdOfMatchingAttribute3$ {
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute3$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute3, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute3$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute3$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute3>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute3$Outbound` instead. */
type Outbound = PostV2TasksSlugOrIdOfMatchingAttribute3$Outbound;
}
export declare function postV2TasksSlugOrIdOfMatchingAttribute3ToJSON(postV2TasksSlugOrIdOfMatchingAttribute3: PostV2TasksSlugOrIdOfMatchingAttribute3): string;
export declare function postV2TasksSlugOrIdOfMatchingAttribute3FromJSON(jsonString: string): SafeParseResult<PostV2TasksSlugOrIdOfMatchingAttribute3, SDKValidationError>;
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute2$inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute2, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksSlugOrIdOfMatchingAttribute2$Outbound = {
email_address?: string | undefined;
};
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute2$outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute2$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksSlugOrIdOfMatchingAttribute2$ {
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute2$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute2, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute2$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute2$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute2>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute2$Outbound` instead. */
type Outbound = PostV2TasksSlugOrIdOfMatchingAttribute2$Outbound;
}
export declare function postV2TasksSlugOrIdOfMatchingAttribute2ToJSON(postV2TasksSlugOrIdOfMatchingAttribute2: PostV2TasksSlugOrIdOfMatchingAttribute2): string;
export declare function postV2TasksSlugOrIdOfMatchingAttribute2FromJSON(jsonString: string): SafeParseResult<PostV2TasksSlugOrIdOfMatchingAttribute2, SDKValidationError>;
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute1$inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute1, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksSlugOrIdOfMatchingAttribute1$Outbound = {
domain?: string | undefined;
};
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttribute1$outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute1$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute1>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksSlugOrIdOfMatchingAttribute1$ {
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute1$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute1, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute1$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttribute1$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttribute1>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttribute1$Outbound` instead. */
type Outbound = PostV2TasksSlugOrIdOfMatchingAttribute1$Outbound;
}
export declare function postV2TasksSlugOrIdOfMatchingAttribute1ToJSON(postV2TasksSlugOrIdOfMatchingAttribute1: PostV2TasksSlugOrIdOfMatchingAttribute1): string;
export declare function postV2TasksSlugOrIdOfMatchingAttribute1FromJSON(jsonString: string): SafeParseResult<PostV2TasksSlugOrIdOfMatchingAttribute1, SDKValidationError>;
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttributeUnion$inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttributeUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksSlugOrIdOfMatchingAttributeUnion$Outbound = PostV2TasksSlugOrIdOfMatchingAttribute1$Outbound | PostV2TasksSlugOrIdOfMatchingAttribute2$Outbound | PostV2TasksSlugOrIdOfMatchingAttribute3$Outbound | PostV2TasksSlugOrIdOfMatchingAttribute5$Outbound | PostV2TasksSlugOrIdOfMatchingAttribute4$Outbound;
/** @internal */
export declare const PostV2TasksSlugOrIdOfMatchingAttributeUnion$outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttributeUnion$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttributeUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksSlugOrIdOfMatchingAttributeUnion$ {
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttributeUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttributeUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttributeUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksSlugOrIdOfMatchingAttributeUnion$Outbound, z.ZodTypeDef, PostV2TasksSlugOrIdOfMatchingAttributeUnion>;
/** @deprecated use `PostV2TasksSlugOrIdOfMatchingAttributeUnion$Outbound` instead. */
type Outbound = PostV2TasksSlugOrIdOfMatchingAttributeUnion$Outbound;
}
export declare function postV2TasksSlugOrIdOfMatchingAttributeUnionToJSON(postV2TasksSlugOrIdOfMatchingAttributeUnion: PostV2TasksSlugOrIdOfMatchingAttributeUnion): string;
export declare function postV2TasksSlugOrIdOfMatchingAttributeUnionFromJSON(jsonString: string): SafeParseResult<PostV2TasksSlugOrIdOfMatchingAttributeUnion, SDKValidationError>;
/** @internal */
export declare const PostV2TasksLinkedRecord2$inboundSchema: z.ZodType<PostV2TasksLinkedRecord2, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksLinkedRecord2$Outbound = {
target_object: string;
"[slug_or_id_of_matching_attribute]": Array<PostV2TasksSlugOrIdOfMatchingAttribute1$Outbound | PostV2TasksSlugOrIdOfMatchingAttribute2$Outbound | PostV2TasksSlugOrIdOfMatchingAttribute3$Outbound | PostV2TasksSlugOrIdOfMatchingAttribute5$Outbound | PostV2TasksSlugOrIdOfMatchingAttribute4$Outbound>;
};
/** @internal */
export declare const PostV2TasksLinkedRecord2$outboundSchema: z.ZodType<PostV2TasksLinkedRecord2$Outbound, z.ZodTypeDef, PostV2TasksLinkedRecord2>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksLinkedRecord2$ {
/** @deprecated use `PostV2TasksLinkedRecord2$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksLinkedRecord2, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksLinkedRecord2$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksLinkedRecord2$Outbound, z.ZodTypeDef, PostV2TasksLinkedRecord2>;
/** @deprecated use `PostV2TasksLinkedRecord2$Outbound` instead. */
type Outbound = PostV2TasksLinkedRecord2$Outbound;
}
export declare function postV2TasksLinkedRecord2ToJSON(postV2TasksLinkedRecord2: PostV2TasksLinkedRecord2): string;
export declare function postV2TasksLinkedRecord2FromJSON(jsonString: string): SafeParseResult<PostV2TasksLinkedRecord2, SDKValidationError>;
/** @internal */
export declare const PostV2TasksLinkedRecord1$inboundSchema: z.ZodType<PostV2TasksLinkedRecord1, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksLinkedRecord1$Outbound = {
target_object: string;
target_record_id: string;
};
/** @internal */
export declare const PostV2TasksLinkedRecord1$outboundSchema: z.ZodType<PostV2TasksLinkedRecord1$Outbound, z.ZodTypeDef, PostV2TasksLinkedRecord1>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksLinkedRecord1$ {
/** @deprecated use `PostV2TasksLinkedRecord1$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksLinkedRecord1, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksLinkedRecord1$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksLinkedRecord1$Outbound, z.ZodTypeDef, PostV2TasksLinkedRecord1>;
/** @deprecated use `PostV2TasksLinkedRecord1$Outbound` instead. */
type Outbound = PostV2TasksLinkedRecord1$Outbound;
}
export declare function postV2TasksLinkedRecord1ToJSON(postV2TasksLinkedRecord1: PostV2TasksLinkedRecord1): string;
export declare function postV2TasksLinkedRecord1FromJSON(jsonString: string): SafeParseResult<PostV2TasksLinkedRecord1, SDKValidationError>;
/** @internal */
export declare const PostV2TasksLinkedRecordUnion$inboundSchema: z.ZodType<PostV2TasksLinkedRecordUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksLinkedRecordUnion$Outbound = PostV2TasksLinkedRecord1$Outbound | PostV2TasksLinkedRecord2$Outbound;
/** @internal */
export declare const PostV2TasksLinkedRecordUnion$outboundSchema: z.ZodType<PostV2TasksLinkedRecordUnion$Outbound, z.ZodTypeDef, PostV2TasksLinkedRecordUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksLinkedRecordUnion$ {
/** @deprecated use `PostV2TasksLinkedRecordUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksLinkedRecordUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksLinkedRecordUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksLinkedRecordUnion$Outbound, z.ZodTypeDef, PostV2TasksLinkedRecordUnion>;
/** @deprecated use `PostV2TasksLinkedRecordUnion$Outbound` instead. */
type Outbound = PostV2TasksLinkedRecordUnion$Outbound;
}
export declare function postV2TasksLinkedRecordUnionToJSON(postV2TasksLinkedRecordUnion: PostV2TasksLinkedRecordUnion): string;
export declare function postV2TasksLinkedRecordUnionFromJSON(jsonString: string): SafeParseResult<PostV2TasksLinkedRecordUnion, SDKValidationError>;
/** @internal */
export declare const PostV2TasksAssignee$inboundSchema: z.ZodType<PostV2TasksAssignee, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksAssignee$Outbound = {
workspace_member_email_address: string;
};
/** @internal */
export declare const PostV2TasksAssignee$outboundSchema: z.ZodType<PostV2TasksAssignee$Outbound, z.ZodTypeDef, PostV2TasksAssignee>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksAssignee$ {
/** @deprecated use `PostV2TasksAssignee$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksAssignee, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksAssignee$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksAssignee$Outbound, z.ZodTypeDef, PostV2TasksAssignee>;
/** @deprecated use `PostV2TasksAssignee$Outbound` instead. */
type Outbound = PostV2TasksAssignee$Outbound;
}
export declare function postV2TasksAssigneeToJSON(postV2TasksAssignee: PostV2TasksAssignee): string;
export declare function postV2TasksAssigneeFromJSON(jsonString: string): SafeParseResult<PostV2TasksAssignee, SDKValidationError>;
/** @internal */
export declare const PostV2TasksReferencedActorType$inboundSchema: z.ZodNativeEnum<typeof PostV2TasksReferencedActorType>;
/** @internal */
export declare const PostV2TasksReferencedActorType$outboundSchema: z.ZodNativeEnum<typeof PostV2TasksReferencedActorType>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksReferencedActorType$ {
/** @deprecated use `PostV2TasksReferencedActorType$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly WorkspaceMember: "workspace-member";
}>;
/** @deprecated use `PostV2TasksReferencedActorType$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly WorkspaceMember: "workspace-member";
}>;
}
/** @internal */
export declare const PostV2TasksAssigneeWorkspaceMember$inboundSchema: z.ZodType<PostV2TasksAssigneeWorkspaceMember, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksAssigneeWorkspaceMember$Outbound = {
referenced_actor_type: string;
referenced_actor_id: string;
};
/** @internal */
export declare const PostV2TasksAssigneeWorkspaceMember$outboundSchema: z.ZodType<PostV2TasksAssigneeWorkspaceMember$Outbound, z.ZodTypeDef, PostV2TasksAssigneeWorkspaceMember>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksAssigneeWorkspaceMember$ {
/** @deprecated use `PostV2TasksAssigneeWorkspaceMember$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksAssigneeWorkspaceMember, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksAssigneeWorkspaceMember$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksAssigneeWorkspaceMember$Outbound, z.ZodTypeDef, PostV2TasksAssigneeWorkspaceMember>;
/** @deprecated use `PostV2TasksAssigneeWorkspaceMember$Outbound` instead. */
type Outbound = PostV2TasksAssigneeWorkspaceMember$Outbound;
}
export declare function postV2TasksAssigneeWorkspaceMemberToJSON(postV2TasksAssigneeWorkspaceMember: PostV2TasksAssigneeWorkspaceMember): string;
export declare function postV2TasksAssigneeWorkspaceMemberFromJSON(jsonString: string): SafeParseResult<PostV2TasksAssigneeWorkspaceMember, SDKValidationError>;
/** @internal */
export declare const PostV2TasksAssigneeUnion$inboundSchema: z.ZodType<PostV2TasksAssigneeUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksAssigneeUnion$Outbound = PostV2TasksAssignee$Outbound | PostV2TasksAssigneeWorkspaceMember$Outbound;
/** @internal */
export declare const PostV2TasksAssigneeUnion$outboundSchema: z.ZodType<PostV2TasksAssigneeUnion$Outbound, z.ZodTypeDef, PostV2TasksAssigneeUnion>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksAssigneeUnion$ {
/** @deprecated use `PostV2TasksAssigneeUnion$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksAssigneeUnion, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksAssigneeUnion$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksAssigneeUnion$Outbound, z.ZodTypeDef, PostV2TasksAssigneeUnion>;
/** @deprecated use `PostV2TasksAssigneeUnion$Outbound` instead. */
type Outbound = PostV2TasksAssigneeUnion$Outbound;
}
export declare function postV2TasksAssigneeUnionToJSON(postV2TasksAssigneeUnion: PostV2TasksAssigneeUnion): string;
export declare function postV2TasksAssigneeUnionFromJSON(jsonString: string): SafeParseResult<PostV2TasksAssigneeUnion, SDKValidationError>;
/** @internal */
export declare const PostV2TasksData$inboundSchema: z.ZodType<PostV2TasksData, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksData$Outbound = {
content: string;
format: string;
deadline_at: string | null;
is_completed: boolean;
linked_records: Array<PostV2TasksLinkedRecord1$Outbound | PostV2TasksLinkedRecord2$Outbound>;
assignees: Array<PostV2TasksAssignee$Outbound | PostV2TasksAssigneeWorkspaceMember$Outbound>;
};
/** @internal */
export declare const PostV2TasksData$outboundSchema: z.ZodType<PostV2TasksData$Outbound, z.ZodTypeDef, PostV2TasksData>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksData$ {
/** @deprecated use `PostV2TasksData$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksData, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksData$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksData$Outbound, z.ZodTypeDef, PostV2TasksData>;
/** @deprecated use `PostV2TasksData$Outbound` instead. */
type Outbound = PostV2TasksData$Outbound;
}
export declare function postV2TasksDataToJSON(postV2TasksData: PostV2TasksData): string;
export declare function postV2TasksDataFromJSON(jsonString: string): SafeParseResult<PostV2TasksData, SDKValidationError>;
/** @internal */
export declare const PostV2TasksRequest$inboundSchema: z.ZodType<PostV2TasksRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksRequest$Outbound = {
data: PostV2TasksData$Outbound;
};
/** @internal */
export declare const PostV2TasksRequest$outboundSchema: z.ZodType<PostV2TasksRequest$Outbound, z.ZodTypeDef, PostV2TasksRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksRequest$ {
/** @deprecated use `PostV2TasksRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksRequest$Outbound, z.ZodTypeDef, PostV2TasksRequest>;
/** @deprecated use `PostV2TasksRequest$Outbound` instead. */
type Outbound = PostV2TasksRequest$Outbound;
}
export declare function postV2TasksRequestToJSON(postV2TasksRequest: PostV2TasksRequest): string;
export declare function postV2TasksRequestFromJSON(jsonString: string): SafeParseResult<PostV2TasksRequest, SDKValidationError>;
/** @internal */
export declare const PostV2TasksResponse$inboundSchema: z.ZodType<PostV2TasksResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type PostV2TasksResponse$Outbound = {
data: Task$Outbound;
};
/** @internal */
export declare const PostV2TasksResponse$outboundSchema: z.ZodType<PostV2TasksResponse$Outbound, z.ZodTypeDef, PostV2TasksResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PostV2TasksResponse$ {
/** @deprecated use `PostV2TasksResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType<PostV2TasksResponse, z.ZodTypeDef, unknown>;
/** @deprecated use `PostV2TasksResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType<PostV2TasksResponse$Outbound, z.ZodTypeDef, PostV2TasksResponse>;
/** @deprecated use `PostV2TasksResponse$Outbound` instead. */
type Outbound = PostV2TasksRespons