UNPKG

attio-js

Version:

Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.

1,488 lines 67.1 kB
"use strict"; /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || (function () { var ownKeys = function(o) { ownKeys = Object.getOwnPropertyNames || function (o) { var ar = []; for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; return ar; }; return ownKeys(o); }; return function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); __setModuleDefault(result, mod); return result; }; })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.InputValue9$outboundSchema = exports.InputValue9$inboundSchema = exports.InputValueOwnerActor$ = exports.InputValueOwnerActor$outboundSchema = exports.InputValueOwnerActor$inboundSchema = exports.InputValueType$ = exports.InputValueType$outboundSchema = exports.InputValueType$inboundSchema = exports.InputValueInteractionType$ = exports.InputValueInteractionType$outboundSchema = exports.InputValueInteractionType$inboundSchema = exports.InputValue10$ = exports.InputValue10$outboundSchema = exports.InputValue10$inboundSchema = exports.InputValueCountryCode1$ = exports.InputValueCountryCode1$outboundSchema = exports.InputValueCountryCode1$inboundSchema = exports.InputValue11$ = exports.InputValue11$outboundSchema = exports.InputValue11$inboundSchema = exports.InputValue12$ = exports.InputValue12$outboundSchema = exports.InputValue12$inboundSchema = exports.InputValue13$ = exports.InputValue13$outboundSchema = exports.InputValue13$inboundSchema = exports.InputValueCountryCode2$ = exports.InputValueCountryCode2$outboundSchema = exports.InputValueCountryCode2$inboundSchema = exports.InputValue14$ = exports.InputValue14$outboundSchema = exports.InputValue14$inboundSchema = exports.InputValue15$ = exports.InputValue15$outboundSchema = exports.InputValue15$inboundSchema = exports.InputValue16$ = exports.InputValue16$outboundSchema = exports.InputValue16$inboundSchema = exports.InputValue17$ = exports.InputValue17$outboundSchema = exports.InputValue17$inboundSchema = exports.InputValue18$ = exports.InputValue18$outboundSchema = exports.InputValue18$inboundSchema = exports.InputValueReferencedActorType = exports.SlugOrIdOfMatchingAttributeCountryCode = exports.InputValueType = exports.InputValueInteractionType = exports.InputValueCountryCode1 = exports.InputValueCountryCode2 = void 0; exports.InputValueWorkspaceMember$inboundSchema = exports.InputValueReferencedActorType$ = exports.InputValueReferencedActorType$outboundSchema = exports.InputValueReferencedActorType$inboundSchema = exports.InputValue1$ = exports.InputValue1$outboundSchema = exports.InputValue1$inboundSchema = exports.InputValue2$ = exports.InputValue2$outboundSchema = exports.InputValue2$inboundSchema = exports.InputValue3$ = exports.InputValue3$outboundSchema = exports.InputValue3$inboundSchema = exports.InputValue4$ = exports.InputValue4$outboundSchema = exports.InputValue4$inboundSchema = exports.InputValue5$ = exports.InputValue5$outboundSchema = exports.InputValue5$inboundSchema = exports.InputValue6$ = exports.InputValue6$outboundSchema = exports.InputValue6$inboundSchema = exports.InputValue7$ = exports.InputValue7$outboundSchema = exports.InputValue7$inboundSchema = exports.InputValue8$ = exports.InputValue8$outboundSchema = exports.InputValue8$inboundSchema = exports.SlugOrIdOfMatchingAttributeUnion$ = exports.SlugOrIdOfMatchingAttributeUnion$outboundSchema = exports.SlugOrIdOfMatchingAttributeUnion$inboundSchema = exports.SlugOrIdOfMatchingAttribute1$ = exports.SlugOrIdOfMatchingAttribute1$outboundSchema = exports.SlugOrIdOfMatchingAttribute1$inboundSchema = exports.SlugOrIdOfMatchingAttribute2$ = exports.SlugOrIdOfMatchingAttribute2$outboundSchema = exports.SlugOrIdOfMatchingAttribute2$inboundSchema = exports.SlugOrIdOfMatchingAttribute3$ = exports.SlugOrIdOfMatchingAttribute3$outboundSchema = exports.SlugOrIdOfMatchingAttribute3$inboundSchema = exports.SlugOrIdOfMatchingAttribute4$ = exports.SlugOrIdOfMatchingAttribute4$outboundSchema = exports.SlugOrIdOfMatchingAttribute4$inboundSchema = exports.SlugOrIdOfMatchingAttributeCountryCode$ = exports.SlugOrIdOfMatchingAttributeCountryCode$outboundSchema = exports.SlugOrIdOfMatchingAttributeCountryCode$inboundSchema = exports.SlugOrIdOfMatchingAttribute5$ = exports.SlugOrIdOfMatchingAttribute5$outboundSchema = exports.SlugOrIdOfMatchingAttribute5$inboundSchema = exports.InputValue9$ = void 0; exports.InputValueUnion$ = exports.InputValueUnion$outboundSchema = exports.InputValueUnion$inboundSchema = exports.InputValueWorkspaceMember$ = exports.InputValueWorkspaceMember$outboundSchema = void 0; exports.inputValue18ToJSON = inputValue18ToJSON; exports.inputValue18FromJSON = inputValue18FromJSON; exports.inputValue17ToJSON = inputValue17ToJSON; exports.inputValue17FromJSON = inputValue17FromJSON; exports.inputValue16ToJSON = inputValue16ToJSON; exports.inputValue16FromJSON = inputValue16FromJSON; exports.inputValue15ToJSON = inputValue15ToJSON; exports.inputValue15FromJSON = inputValue15FromJSON; exports.inputValue14ToJSON = inputValue14ToJSON; exports.inputValue14FromJSON = inputValue14FromJSON; exports.inputValue13ToJSON = inputValue13ToJSON; exports.inputValue13FromJSON = inputValue13FromJSON; exports.inputValue12ToJSON = inputValue12ToJSON; exports.inputValue12FromJSON = inputValue12FromJSON; exports.inputValue11ToJSON = inputValue11ToJSON; exports.inputValue11FromJSON = inputValue11FromJSON; exports.inputValue10ToJSON = inputValue10ToJSON; exports.inputValue10FromJSON = inputValue10FromJSON; exports.inputValueOwnerActorToJSON = inputValueOwnerActorToJSON; exports.inputValueOwnerActorFromJSON = inputValueOwnerActorFromJSON; exports.inputValue9ToJSON = inputValue9ToJSON; exports.inputValue9FromJSON = inputValue9FromJSON; exports.slugOrIdOfMatchingAttribute5ToJSON = slugOrIdOfMatchingAttribute5ToJSON; exports.slugOrIdOfMatchingAttribute5FromJSON = slugOrIdOfMatchingAttribute5FromJSON; exports.slugOrIdOfMatchingAttribute4ToJSON = slugOrIdOfMatchingAttribute4ToJSON; exports.slugOrIdOfMatchingAttribute4FromJSON = slugOrIdOfMatchingAttribute4FromJSON; exports.slugOrIdOfMatchingAttribute3ToJSON = slugOrIdOfMatchingAttribute3ToJSON; exports.slugOrIdOfMatchingAttribute3FromJSON = slugOrIdOfMatchingAttribute3FromJSON; exports.slugOrIdOfMatchingAttribute2ToJSON = slugOrIdOfMatchingAttribute2ToJSON; exports.slugOrIdOfMatchingAttribute2FromJSON = slugOrIdOfMatchingAttribute2FromJSON; exports.slugOrIdOfMatchingAttribute1ToJSON = slugOrIdOfMatchingAttribute1ToJSON; exports.slugOrIdOfMatchingAttribute1FromJSON = slugOrIdOfMatchingAttribute1FromJSON; exports.slugOrIdOfMatchingAttributeUnionToJSON = slugOrIdOfMatchingAttributeUnionToJSON; exports.slugOrIdOfMatchingAttributeUnionFromJSON = slugOrIdOfMatchingAttributeUnionFromJSON; exports.inputValue8ToJSON = inputValue8ToJSON; exports.inputValue8FromJSON = inputValue8FromJSON; exports.inputValue7ToJSON = inputValue7ToJSON; exports.inputValue7FromJSON = inputValue7FromJSON; exports.inputValue6ToJSON = inputValue6ToJSON; exports.inputValue6FromJSON = inputValue6FromJSON; exports.inputValue5ToJSON = inputValue5ToJSON; exports.inputValue5FromJSON = inputValue5FromJSON; exports.inputValue4ToJSON = inputValue4ToJSON; exports.inputValue4FromJSON = inputValue4FromJSON; exports.inputValue3ToJSON = inputValue3ToJSON; exports.inputValue3FromJSON = inputValue3FromJSON; exports.inputValue2ToJSON = inputValue2ToJSON; exports.inputValue2FromJSON = inputValue2FromJSON; exports.inputValue1ToJSON = inputValue1ToJSON; exports.inputValue1FromJSON = inputValue1FromJSON; exports.inputValueWorkspaceMemberToJSON = inputValueWorkspaceMemberToJSON; exports.inputValueWorkspaceMemberFromJSON = inputValueWorkspaceMemberFromJSON; exports.inputValueUnionToJSON = inputValueUnionToJSON; exports.inputValueUnionFromJSON = inputValueUnionFromJSON; const z = __importStar(require("zod")); const primitives_js_1 = require("../../lib/primitives.js"); const schemas_js_1 = require("../../lib/schemas.js"); /** * The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to. Optional if `original_phone_number` includes a country code prefix. */ exports.InputValueCountryCode2 = { Af: "AF", Ax: "AX", Al: "AL", Dz: "DZ", As: "AS", Ad: "AD", Ao: "AO", Ai: "AI", Aq: "AQ", Ag: "AG", Ar: "AR", Am: "AM", Aw: "AW", Au: "AU", At: "AT", Az: "AZ", Bs: "BS", Bh: "BH", Bd: "BD", Bb: "BB", By: "BY", Be: "BE", Bz: "BZ", Bj: "BJ", Bm: "BM", Bt: "BT", Bo: "BO", Ba: "BA", Bw: "BW", Bv: "BV", Br: "BR", Io: "IO", Bn: "BN", Bg: "BG", Bf: "BF", Bi: "BI", Kh: "KH", Cm: "CM", Ca: "CA", Cv: "CV", Ky: "KY", Cf: "CF", Td: "TD", Cl: "CL", Cn: "CN", Cx: "CX", Cc: "CC", Co: "CO", Km: "KM", Cg: "CG", Cd: "CD", Ck: "CK", Cr: "CR", Ci: "CI", Hr: "HR", Cu: "CU", Cw: "CW", Cy: "CY", Cz: "CZ", Dk: "DK", Dj: "DJ", Dm: "DM", Do: "DO", Ec: "EC", Eg: "EG", Sv: "SV", Gq: "GQ", Er: "ER", Ee: "EE", Et: "ET", Fk: "FK", Fo: "FO", Fj: "FJ", Fi: "FI", Fr: "FR", Gf: "GF", Pf: "PF", Tf: "TF", Ga: "GA", Gm: "GM", Ge: "GE", De: "DE", Gh: "GH", Gi: "GI", Gr: "GR", Gl: "GL", Gd: "GD", Gp: "GP", Gu: "GU", Gt: "GT", Gg: "GG", Gn: "GN", Gw: "GW", Gy: "GY", Ht: "HT", Hm: "HM", Va: "VA", Hn: "HN", Hk: "HK", Hu: "HU", Is: "IS", In: "IN", Id: "ID", Ir: "IR", Iq: "IQ", Ie: "IE", Im: "IM", Il: "IL", It: "IT", Jm: "JM", Jp: "JP", Je: "JE", Jo: "JO", Kz: "KZ", Ke: "KE", Ki: "KI", Kr: "KR", Kw: "KW", Kg: "KG", La: "LA", Lv: "LV", Lb: "LB", Ls: "LS", Lr: "LR", Ly: "LY", Li: "LI", Lt: "LT", Lu: "LU", Mo: "MO", Mk: "MK", Mg: "MG", Mw: "MW", My: "MY", Mv: "MV", Ml: "ML", Mt: "MT", Mh: "MH", Mq: "MQ", Mr: "MR", Mu: "MU", Yt: "YT", Mx: "MX", Fm: "FM", Md: "MD", Mc: "MC", Mn: "MN", Me: "ME", Ms: "MS", Ma: "MA", Mz: "MZ", Mm: "MM", Na: "NA", Nr: "NR", Np: "NP", Nl: "NL", An: "AN", Nc: "NC", Nz: "NZ", Ni: "NI", Ne: "NE", Ng: "NG", Nu: "NU", Nf: "NF", Mp: "MP", No: "NO", Om: "OM", Pk: "PK", Pw: "PW", Ps: "PS", Pa: "PA", Pg: "PG", Py: "PY", Pe: "PE", Ph: "PH", Pn: "PN", Pl: "PL", Pt: "PT", Pr: "PR", Qa: "QA", Re: "RE", Ro: "RO", Ru: "RU", Rw: "RW", Bl: "BL", Sh: "SH", Kn: "KN", Lc: "LC", Mf: "MF", Pm: "PM", Vc: "VC", Ws: "WS", Sm: "SM", St: "ST", Sa: "SA", Sn: "SN", Ss: "SS", Rs: "RS", Sc: "SC", Sl: "SL", Sg: "SG", Sk: "SK", Si: "SI", Sb: "SB", So: "SO", Za: "ZA", Gs: "GS", Es: "ES", Lk: "LK", Sd: "SD", Sr: "SR", Sj: "SJ", Sz: "SZ", Se: "SE", Ch: "CH", Sy: "SY", Tw: "TW", Tj: "TJ", Tz: "TZ", Th: "TH", Tl: "TL", Tg: "TG", Tk: "TK", To: "TO", Tt: "TT", Tn: "TN", Tr: "TR", Tm: "TM", Tc: "TC", Tv: "TV", Ug: "UG", Ua: "UA", Ae: "AE", Gb: "GB", Us: "US", Um: "UM", Uy: "UY", Uz: "UZ", Vu: "VU", Ve: "VE", Vn: "VN", Vg: "VG", Vi: "VI", Wf: "WF", Eh: "EH", Ye: "YE", Zm: "ZM", Zw: "ZW", }; /** * The ISO 3166-1 alpha-2 country code for the country this location is in. */ exports.InputValueCountryCode1 = { Af: "AF", Ax: "AX", Al: "AL", Dz: "DZ", As: "AS", Ad: "AD", Ao: "AO", Ai: "AI", Aq: "AQ", Ag: "AG", Ar: "AR", Am: "AM", Aw: "AW", Au: "AU", At: "AT", Az: "AZ", Bs: "BS", Bh: "BH", Bd: "BD", Bb: "BB", By: "BY", Be: "BE", Bz: "BZ", Bj: "BJ", Bm: "BM", Bt: "BT", Bo: "BO", Ba: "BA", Bw: "BW", Bv: "BV", Br: "BR", Io: "IO", Bn: "BN", Bg: "BG", Bf: "BF", Bi: "BI", Kh: "KH", Cm: "CM", Ca: "CA", Cv: "CV", Ky: "KY", Cf: "CF", Td: "TD", Cl: "CL", Cn: "CN", Cx: "CX", Cc: "CC", Co: "CO", Km: "KM", Cg: "CG", Cd: "CD", Ck: "CK", Cr: "CR", Ci: "CI", Hr: "HR", Cu: "CU", Cw: "CW", Cy: "CY", Cz: "CZ", Dk: "DK", Dj: "DJ", Dm: "DM", Do: "DO", Ec: "EC", Eg: "EG", Sv: "SV", Gq: "GQ", Er: "ER", Ee: "EE", Et: "ET", Fk: "FK", Fo: "FO", Fj: "FJ", Fi: "FI", Fr: "FR", Gf: "GF", Pf: "PF", Tf: "TF", Ga: "GA", Gm: "GM", Ge: "GE", De: "DE", Gh: "GH", Gi: "GI", Gr: "GR", Gl: "GL", Gd: "GD", Gp: "GP", Gu: "GU", Gt: "GT", Gg: "GG", Gn: "GN", Gw: "GW", Gy: "GY", Ht: "HT", Hm: "HM", Va: "VA", Hn: "HN", Hk: "HK", Hu: "HU", Is: "IS", In: "IN", Id: "ID", Ir: "IR", Iq: "IQ", Ie: "IE", Im: "IM", Il: "IL", It: "IT", Jm: "JM", Jp: "JP", Je: "JE", Jo: "JO", Kz: "KZ", Ke: "KE", Ki: "KI", Kr: "KR", Kw: "KW", Kg: "KG", La: "LA", Lv: "LV", Lb: "LB", Ls: "LS", Lr: "LR", Ly: "LY", Li: "LI", Lt: "LT", Lu: "LU", Mo: "MO", Mk: "MK", Mg: "MG", Mw: "MW", My: "MY", Mv: "MV", Ml: "ML", Mt: "MT", Mh: "MH", Mq: "MQ", Mr: "MR", Mu: "MU", Yt: "YT", Mx: "MX", Fm: "FM", Md: "MD", Mc: "MC", Mn: "MN", Me: "ME", Ms: "MS", Ma: "MA", Mz: "MZ", Mm: "MM", Na: "NA", Nr: "NR", Np: "NP", Nl: "NL", An: "AN", Nc: "NC", Nz: "NZ", Ni: "NI", Ne: "NE", Ng: "NG", Nu: "NU", Nf: "NF", Mp: "MP", No: "NO", Om: "OM", Pk: "PK", Pw: "PW", Ps: "PS", Pa: "PA", Pg: "PG", Py: "PY", Pe: "PE", Ph: "PH", Pn: "PN", Pl: "PL", Pt: "PT", Pr: "PR", Qa: "QA", Re: "RE", Ro: "RO", Ru: "RU", Rw: "RW", Bl: "BL", Sh: "SH", Kn: "KN", Lc: "LC", Mf: "MF", Pm: "PM", Vc: "VC", Ws: "WS", Sm: "SM", St: "ST", Sa: "SA", Sn: "SN", Ss: "SS", Rs: "RS", Sc: "SC", Sl: "SL", Sg: "SG", Sk: "SK", Si: "SI", Sb: "SB", So: "SO", Za: "ZA", Gs: "GS", Es: "ES", Lk: "LK", Sd: "SD", Sr: "SR", Sj: "SJ", Sz: "SZ", Se: "SE", Ch: "CH", Sy: "SY", Tw: "TW", Tj: "TJ", Tz: "TZ", Th: "TH", Tl: "TL", Tg: "TG", Tk: "TK", To: "TO", Tt: "TT", Tn: "TN", Tr: "TR", Tm: "TM", Tc: "TC", Tv: "TV", Ug: "UG", Ua: "UA", Ae: "AE", Gb: "GB", Us: "US", Um: "UM", Uy: "UY", Uz: "UZ", Vu: "VU", Ve: "VE", Vn: "VN", Vg: "VG", Vi: "VI", Wf: "WF", Eh: "EH", Ye: "YE", Zm: "ZM", Zw: "ZW", }; /** * The type of interaction e.g. calendar or email. */ exports.InputValueInteractionType = { CalendarEvent: "calendar-event", Call: "call", ChatThread: "chat-thread", Email: "email", InPersonMeeting: "in-person-meeting", Meeting: "meeting", }; /** * The type of actor. [Read more information on actor types here](/docs/actors). */ exports.InputValueType = { ApiToken: "api-token", WorkspaceMember: "workspace-member", System: "system", App: "app", }; /** * The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to. */ exports.SlugOrIdOfMatchingAttributeCountryCode = { Af: "AF", Ax: "AX", Al: "AL", Dz: "DZ", As: "AS", Ad: "AD", Ao: "AO", Ai: "AI", Aq: "AQ", Ag: "AG", Ar: "AR", Am: "AM", Aw: "AW", Au: "AU", At: "AT", Az: "AZ", Bs: "BS", Bh: "BH", Bd: "BD", Bb: "BB", By: "BY", Be: "BE", Bz: "BZ", Bj: "BJ", Bm: "BM", Bt: "BT", Bo: "BO", Ba: "BA", Bw: "BW", Bv: "BV", Br: "BR", Io: "IO", Bn: "BN", Bg: "BG", Bf: "BF", Bi: "BI", Kh: "KH", Cm: "CM", Ca: "CA", Cv: "CV", Ky: "KY", Cf: "CF", Td: "TD", Cl: "CL", Cn: "CN", Cx: "CX", Cc: "CC", Co: "CO", Km: "KM", Cg: "CG", Cd: "CD", Ck: "CK", Cr: "CR", Ci: "CI", Hr: "HR", Cu: "CU", Cw: "CW", Cy: "CY", Cz: "CZ", Dk: "DK", Dj: "DJ", Dm: "DM", Do: "DO", Ec: "EC", Eg: "EG", Sv: "SV", Gq: "GQ", Er: "ER", Ee: "EE", Et: "ET", Fk: "FK", Fo: "FO", Fj: "FJ", Fi: "FI", Fr: "FR", Gf: "GF", Pf: "PF", Tf: "TF", Ga: "GA", Gm: "GM", Ge: "GE", De: "DE", Gh: "GH", Gi: "GI", Gr: "GR", Gl: "GL", Gd: "GD", Gp: "GP", Gu: "GU", Gt: "GT", Gg: "GG", Gn: "GN", Gw: "GW", Gy: "GY", Ht: "HT", Hm: "HM", Va: "VA", Hn: "HN", Hk: "HK", Hu: "HU", Is: "IS", In: "IN", Id: "ID", Ir: "IR", Iq: "IQ", Ie: "IE", Im: "IM", Il: "IL", It: "IT", Jm: "JM", Jp: "JP", Je: "JE", Jo: "JO", Kz: "KZ", Ke: "KE", Ki: "KI", Kr: "KR", Kw: "KW", Kg: "KG", La: "LA", Lv: "LV", Lb: "LB", Ls: "LS", Lr: "LR", Ly: "LY", Li: "LI", Lt: "LT", Lu: "LU", Mo: "MO", Mk: "MK", Mg: "MG", Mw: "MW", My: "MY", Mv: "MV", Ml: "ML", Mt: "MT", Mh: "MH", Mq: "MQ", Mr: "MR", Mu: "MU", Yt: "YT", Mx: "MX", Fm: "FM", Md: "MD", Mc: "MC", Mn: "MN", Me: "ME", Ms: "MS", Ma: "MA", Mz: "MZ", Mm: "MM", Na: "NA", Nr: "NR", Np: "NP", Nl: "NL", An: "AN", Nc: "NC", Nz: "NZ", Ni: "NI", Ne: "NE", Ng: "NG", Nu: "NU", Nf: "NF", Mp: "MP", No: "NO", Om: "OM", Pk: "PK", Pw: "PW", Ps: "PS", Pa: "PA", Pg: "PG", Py: "PY", Pe: "PE", Ph: "PH", Pn: "PN", Pl: "PL", Pt: "PT", Pr: "PR", Qa: "QA", Re: "RE", Ro: "RO", Ru: "RU", Rw: "RW", Bl: "BL", Sh: "SH", Kn: "KN", Lc: "LC", Mf: "MF", Pm: "PM", Vc: "VC", Ws: "WS", Sm: "SM", St: "ST", Sa: "SA", Sn: "SN", Ss: "SS", Rs: "RS", Sc: "SC", Sl: "SL", Sg: "SG", Sk: "SK", Si: "SI", Sb: "SB", So: "SO", Za: "ZA", Gs: "GS", Es: "ES", Lk: "LK", Sd: "SD", Sr: "SR", Sj: "SJ", Sz: "SZ", Se: "SE", Ch: "CH", Sy: "SY", Tw: "TW", Tj: "TJ", Tz: "TZ", Th: "TH", Tl: "TL", Tg: "TG", Tk: "TK", To: "TO", Tt: "TT", Tn: "TN", Tr: "TR", Tm: "TM", Tc: "TC", Tv: "TV", Ug: "UG", Ua: "UA", Ae: "AE", Gb: "GB", Us: "US", Um: "UM", Uy: "UY", Uz: "UZ", Vu: "VU", Ve: "VE", Vn: "VN", Vg: "VG", Vi: "VI", Wf: "WF", Eh: "EH", Ye: "YE", Zm: "ZM", Zw: "ZW", }; /** * The type of the referenced actor. Currently, only workspace members can be written into actor reference attributes. [Read more information on actor types here](/docs/actors). */ exports.InputValueReferencedActorType = { WorkspaceMember: "workspace-member", }; /** @internal */ exports.InputValue18$inboundSchema = z.object({ value: z.string().datetime({ offset: true }).transform(v => new Date(v)), }); /** @internal */ exports.InputValue18$outboundSchema = z.object({ value: z.date().transform(v => v.toISOString()), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue18$; (function (InputValue18$) { /** @deprecated use `InputValue18$inboundSchema` instead. */ InputValue18$.inboundSchema = exports.InputValue18$inboundSchema; /** @deprecated use `InputValue18$outboundSchema` instead. */ InputValue18$.outboundSchema = exports.InputValue18$outboundSchema; })(InputValue18$ || (exports.InputValue18$ = InputValue18$ = {})); function inputValue18ToJSON(inputValue18) { return JSON.stringify(exports.InputValue18$outboundSchema.parse(inputValue18)); } function inputValue18FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue18$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue18' from JSON`); } /** @internal */ exports.InputValue17$inboundSchema = z.object({ value: z.string(), }); /** @internal */ exports.InputValue17$outboundSchema = z.object({ value: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue17$; (function (InputValue17$) { /** @deprecated use `InputValue17$inboundSchema` instead. */ InputValue17$.inboundSchema = exports.InputValue17$inboundSchema; /** @deprecated use `InputValue17$outboundSchema` instead. */ InputValue17$.outboundSchema = exports.InputValue17$outboundSchema; })(InputValue17$ || (exports.InputValue17$ = InputValue17$ = {})); function inputValue17ToJSON(inputValue17) { return JSON.stringify(exports.InputValue17$outboundSchema.parse(inputValue17)); } function inputValue17FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue17$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue17' from JSON`); } /** @internal */ exports.InputValue16$inboundSchema = z.object({ option: z.string(), }); /** @internal */ exports.InputValue16$outboundSchema = z.object({ option: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue16$; (function (InputValue16$) { /** @deprecated use `InputValue16$inboundSchema` instead. */ InputValue16$.inboundSchema = exports.InputValue16$inboundSchema; /** @deprecated use `InputValue16$outboundSchema` instead. */ InputValue16$.outboundSchema = exports.InputValue16$outboundSchema; })(InputValue16$ || (exports.InputValue16$ = InputValue16$ = {})); function inputValue16ToJSON(inputValue16) { return JSON.stringify(exports.InputValue16$outboundSchema.parse(inputValue16)); } function inputValue16FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue16$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue16' from JSON`); } /** @internal */ exports.InputValue15$inboundSchema = z.object({ value: z.number(), }); /** @internal */ exports.InputValue15$outboundSchema = z.object({ value: z.number(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue15$; (function (InputValue15$) { /** @deprecated use `InputValue15$inboundSchema` instead. */ InputValue15$.inboundSchema = exports.InputValue15$inboundSchema; /** @deprecated use `InputValue15$outboundSchema` instead. */ InputValue15$.outboundSchema = exports.InputValue15$outboundSchema; })(InputValue15$ || (exports.InputValue15$ = InputValue15$ = {})); function inputValue15ToJSON(inputValue15) { return JSON.stringify(exports.InputValue15$outboundSchema.parse(inputValue15)); } function inputValue15FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue15$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue15' from JSON`); } /** @internal */ exports.InputValue14$inboundSchema = z.object({ status: z.string(), }); /** @internal */ exports.InputValue14$outboundSchema = z.object({ status: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue14$; (function (InputValue14$) { /** @deprecated use `InputValue14$inboundSchema` instead. */ InputValue14$.inboundSchema = exports.InputValue14$inboundSchema; /** @deprecated use `InputValue14$outboundSchema` instead. */ InputValue14$.outboundSchema = exports.InputValue14$outboundSchema; })(InputValue14$ || (exports.InputValue14$ = InputValue14$ = {})); function inputValue14ToJSON(inputValue14) { return JSON.stringify(exports.InputValue14$outboundSchema.parse(inputValue14)); } function inputValue14FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue14$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue14' from JSON`); } /** @internal */ exports.InputValueCountryCode2$inboundSchema = z.nativeEnum(exports.InputValueCountryCode2); /** @internal */ exports.InputValueCountryCode2$outboundSchema = exports.InputValueCountryCode2$inboundSchema; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValueCountryCode2$; (function (InputValueCountryCode2$) { /** @deprecated use `InputValueCountryCode2$inboundSchema` instead. */ InputValueCountryCode2$.inboundSchema = exports.InputValueCountryCode2$inboundSchema; /** @deprecated use `InputValueCountryCode2$outboundSchema` instead. */ InputValueCountryCode2$.outboundSchema = exports.InputValueCountryCode2$outboundSchema; })(InputValueCountryCode2$ || (exports.InputValueCountryCode2$ = InputValueCountryCode2$ = {})); /** @internal */ exports.InputValue13$inboundSchema = z.object({ original_phone_number: z.string(), country_code: z.nullable(exports.InputValueCountryCode2$inboundSchema).optional(), }).transform((v) => { return (0, primitives_js_1.remap)(v, { "original_phone_number": "originalPhoneNumber", "country_code": "countryCode", }); }); /** @internal */ exports.InputValue13$outboundSchema = z.object({ originalPhoneNumber: z.string(), countryCode: z.nullable(exports.InputValueCountryCode2$outboundSchema).optional(), }).transform((v) => { return (0, primitives_js_1.remap)(v, { originalPhoneNumber: "original_phone_number", countryCode: "country_code", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue13$; (function (InputValue13$) { /** @deprecated use `InputValue13$inboundSchema` instead. */ InputValue13$.inboundSchema = exports.InputValue13$inboundSchema; /** @deprecated use `InputValue13$outboundSchema` instead. */ InputValue13$.outboundSchema = exports.InputValue13$outboundSchema; })(InputValue13$ || (exports.InputValue13$ = InputValue13$ = {})); function inputValue13ToJSON(inputValue13) { return JSON.stringify(exports.InputValue13$outboundSchema.parse(inputValue13)); } function inputValue13FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue13$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue13' from JSON`); } /** @internal */ exports.InputValue12$inboundSchema = z.object({ first_name: z.string().optional(), last_name: z.string().optional(), full_name: z.string().optional(), }).transform((v) => { return (0, primitives_js_1.remap)(v, { "first_name": "firstName", "last_name": "lastName", "full_name": "fullName", }); }); /** @internal */ exports.InputValue12$outboundSchema = z.object({ firstName: z.string().optional(), lastName: z.string().optional(), fullName: z.string().optional(), }).transform((v) => { return (0, primitives_js_1.remap)(v, { firstName: "first_name", lastName: "last_name", fullName: "full_name", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue12$; (function (InputValue12$) { /** @deprecated use `InputValue12$inboundSchema` instead. */ InputValue12$.inboundSchema = exports.InputValue12$inboundSchema; /** @deprecated use `InputValue12$outboundSchema` instead. */ InputValue12$.outboundSchema = exports.InputValue12$outboundSchema; })(InputValue12$ || (exports.InputValue12$ = InputValue12$ = {})); function inputValue12ToJSON(inputValue12) { return JSON.stringify(exports.InputValue12$outboundSchema.parse(inputValue12)); } function inputValue12FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue12$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue12' from JSON`); } /** @internal */ exports.InputValue11$inboundSchema = z.object({ value: z.number(), }); /** @internal */ exports.InputValue11$outboundSchema = z.object({ value: z.number(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue11$; (function (InputValue11$) { /** @deprecated use `InputValue11$inboundSchema` instead. */ InputValue11$.inboundSchema = exports.InputValue11$inboundSchema; /** @deprecated use `InputValue11$outboundSchema` instead. */ InputValue11$.outboundSchema = exports.InputValue11$outboundSchema; })(InputValue11$ || (exports.InputValue11$ = InputValue11$ = {})); function inputValue11ToJSON(inputValue11) { return JSON.stringify(exports.InputValue11$outboundSchema.parse(inputValue11)); } function inputValue11FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue11$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue11' from JSON`); } /** @internal */ exports.InputValueCountryCode1$inboundSchema = z.nativeEnum(exports.InputValueCountryCode1); /** @internal */ exports.InputValueCountryCode1$outboundSchema = exports.InputValueCountryCode1$inboundSchema; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValueCountryCode1$; (function (InputValueCountryCode1$) { /** @deprecated use `InputValueCountryCode1$inboundSchema` instead. */ InputValueCountryCode1$.inboundSchema = exports.InputValueCountryCode1$inboundSchema; /** @deprecated use `InputValueCountryCode1$outboundSchema` instead. */ InputValueCountryCode1$.outboundSchema = exports.InputValueCountryCode1$outboundSchema; })(InputValueCountryCode1$ || (exports.InputValueCountryCode1$ = InputValueCountryCode1$ = {})); /** @internal */ exports.InputValue10$inboundSchema = z.object({ line_1: z.nullable(z.string()), line_2: z.nullable(z.string()), line_3: z.nullable(z.string()), line_4: z.nullable(z.string()), locality: z.nullable(z.string()), region: z.nullable(z.string()), postcode: z.nullable(z.string()), country_code: z.nullable(exports.InputValueCountryCode1$inboundSchema), latitude: z.nullable(z.string()), longitude: z.nullable(z.string()), }).transform((v) => { return (0, primitives_js_1.remap)(v, { "line_1": "line1", "line_2": "line2", "line_3": "line3", "line_4": "line4", "country_code": "countryCode", }); }); /** @internal */ exports.InputValue10$outboundSchema = z.object({ line1: z.nullable(z.string()), line2: z.nullable(z.string()), line3: z.nullable(z.string()), line4: z.nullable(z.string()), locality: z.nullable(z.string()), region: z.nullable(z.string()), postcode: z.nullable(z.string()), countryCode: z.nullable(exports.InputValueCountryCode1$outboundSchema), latitude: z.nullable(z.string()), longitude: z.nullable(z.string()), }).transform((v) => { return (0, primitives_js_1.remap)(v, { line1: "line_1", line2: "line_2", line3: "line_3", line4: "line_4", countryCode: "country_code", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue10$; (function (InputValue10$) { /** @deprecated use `InputValue10$inboundSchema` instead. */ InputValue10$.inboundSchema = exports.InputValue10$inboundSchema; /** @deprecated use `InputValue10$outboundSchema` instead. */ InputValue10$.outboundSchema = exports.InputValue10$outboundSchema; })(InputValue10$ || (exports.InputValue10$ = InputValue10$ = {})); function inputValue10ToJSON(inputValue10) { return JSON.stringify(exports.InputValue10$outboundSchema.parse(inputValue10)); } function inputValue10FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue10' from JSON`); } /** @internal */ exports.InputValueInteractionType$inboundSchema = z.nativeEnum(exports.InputValueInteractionType); /** @internal */ exports.InputValueInteractionType$outboundSchema = exports.InputValueInteractionType$inboundSchema; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValueInteractionType$; (function (InputValueInteractionType$) { /** @deprecated use `InputValueInteractionType$inboundSchema` instead. */ InputValueInteractionType$.inboundSchema = exports.InputValueInteractionType$inboundSchema; /** @deprecated use `InputValueInteractionType$outboundSchema` instead. */ InputValueInteractionType$.outboundSchema = exports.InputValueInteractionType$outboundSchema; })(InputValueInteractionType$ || (exports.InputValueInteractionType$ = InputValueInteractionType$ = {})); /** @internal */ exports.InputValueType$inboundSchema = z.nativeEnum(exports.InputValueType); /** @internal */ exports.InputValueType$outboundSchema = exports.InputValueType$inboundSchema; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValueType$; (function (InputValueType$) { /** @deprecated use `InputValueType$inboundSchema` instead. */ InputValueType$.inboundSchema = exports.InputValueType$inboundSchema; /** @deprecated use `InputValueType$outboundSchema` instead. */ InputValueType$.outboundSchema = exports.InputValueType$outboundSchema; })(InputValueType$ || (exports.InputValueType$ = InputValueType$ = {})); /** @internal */ exports.InputValueOwnerActor$inboundSchema = z.object({ id: z.nullable(z.string()).optional(), type: z.nullable(exports.InputValueType$inboundSchema).optional(), }); /** @internal */ exports.InputValueOwnerActor$outboundSchema = z.object({ id: z.nullable(z.string()).optional(), type: z.nullable(exports.InputValueType$outboundSchema).optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValueOwnerActor$; (function (InputValueOwnerActor$) { /** @deprecated use `InputValueOwnerActor$inboundSchema` instead. */ InputValueOwnerActor$.inboundSchema = exports.InputValueOwnerActor$inboundSchema; /** @deprecated use `InputValueOwnerActor$outboundSchema` instead. */ InputValueOwnerActor$.outboundSchema = exports.InputValueOwnerActor$outboundSchema; })(InputValueOwnerActor$ || (exports.InputValueOwnerActor$ = InputValueOwnerActor$ = {})); function inputValueOwnerActorToJSON(inputValueOwnerActor) { return JSON.stringify(exports.InputValueOwnerActor$outboundSchema.parse(inputValueOwnerActor)); } function inputValueOwnerActorFromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValueOwnerActor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValueOwnerActor' from JSON`); } /** @internal */ exports.InputValue9$inboundSchema = z.object({ interaction_type: exports.InputValueInteractionType$inboundSchema, interacted_at: z.string().datetime({ offset: true }).transform(v => new Date(v)), owner_actor: z.lazy(() => exports.InputValueOwnerActor$inboundSchema), }).transform((v) => { return (0, primitives_js_1.remap)(v, { "interaction_type": "interactionType", "interacted_at": "interactedAt", "owner_actor": "ownerActor", }); }); /** @internal */ exports.InputValue9$outboundSchema = z.object({ interactionType: exports.InputValueInteractionType$outboundSchema, interactedAt: z.date().transform(v => v.toISOString()), ownerActor: z.lazy(() => exports.InputValueOwnerActor$outboundSchema), }).transform((v) => { return (0, primitives_js_1.remap)(v, { interactionType: "interaction_type", interactedAt: "interacted_at", ownerActor: "owner_actor", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var InputValue9$; (function (InputValue9$) { /** @deprecated use `InputValue9$inboundSchema` instead. */ InputValue9$.inboundSchema = exports.InputValue9$inboundSchema; /** @deprecated use `InputValue9$outboundSchema` instead. */ InputValue9$.outboundSchema = exports.InputValue9$outboundSchema; })(InputValue9$ || (exports.InputValue9$ = InputValue9$ = {})); function inputValue9ToJSON(inputValue9) { return JSON.stringify(exports.InputValue9$outboundSchema.parse(inputValue9)); } function inputValue9FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputValue9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputValue9' from JSON`); } /** @internal */ exports.SlugOrIdOfMatchingAttribute5$inboundSchema = z.object({ value: z.string().optional(), }); /** @internal */ exports.SlugOrIdOfMatchingAttribute5$outboundSchema = z.object({ value: z.string().optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var SlugOrIdOfMatchingAttribute5$; (function (SlugOrIdOfMatchingAttribute5$) { /** @deprecated use `SlugOrIdOfMatchingAttribute5$inboundSchema` instead. */ SlugOrIdOfMatchingAttribute5$.inboundSchema = exports.SlugOrIdOfMatchingAttribute5$inboundSchema; /** @deprecated use `SlugOrIdOfMatchingAttribute5$outboundSchema` instead. */ SlugOrIdOfMatchingAttribute5$.outboundSchema = exports.SlugOrIdOfMatchingAttribute5$outboundSchema; })(SlugOrIdOfMatchingAttribute5$ || (exports.SlugOrIdOfMatchingAttribute5$ = SlugOrIdOfMatchingAttribute5$ = {})); function slugOrIdOfMatchingAttribute5ToJSON(slugOrIdOfMatchingAttribute5) { return JSON.stringify(exports.SlugOrIdOfMatchingAttribute5$outboundSchema.parse(slugOrIdOfMatchingAttribute5)); } function slugOrIdOfMatchingAttribute5FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SlugOrIdOfMatchingAttribute5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SlugOrIdOfMatchingAttribute5' from JSON`); } /** @internal */ exports.SlugOrIdOfMatchingAttributeCountryCode$inboundSchema = z.nativeEnum(exports.SlugOrIdOfMatchingAttributeCountryCode); /** @internal */ exports.SlugOrIdOfMatchingAttributeCountryCode$outboundSchema = exports.SlugOrIdOfMatchingAttributeCountryCode$inboundSchema; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var SlugOrIdOfMatchingAttributeCountryCode$; (function (SlugOrIdOfMatchingAttributeCountryCode$) { /** @deprecated use `SlugOrIdOfMatchingAttributeCountryCode$inboundSchema` instead. */ SlugOrIdOfMatchingAttributeCountryCode$.inboundSchema = exports.SlugOrIdOfMatchingAttributeCountryCode$inboundSchema; /** @deprecated use `SlugOrIdOfMatchingAttributeCountryCode$outboundSchema` instead. */ SlugOrIdOfMatchingAttributeCountryCode$.outboundSchema = exports.SlugOrIdOfMatchingAttributeCountryCode$outboundSchema; })(SlugOrIdOfMatchingAttributeCountryCode$ || (exports.SlugOrIdOfMatchingAttributeCountryCode$ = SlugOrIdOfMatchingAttributeCountryCode$ = {})); /** @internal */ exports.SlugOrIdOfMatchingAttribute4$inboundSchema = z.object({ original_phone_number: z.string().optional(), country_code: z.nullable(exports.SlugOrIdOfMatchingAttributeCountryCode$inboundSchema) .optional(), }).transform((v) => { return (0, primitives_js_1.remap)(v, { "original_phone_number": "originalPhoneNumber", "country_code": "countryCode", }); }); /** @internal */ exports.SlugOrIdOfMatchingAttribute4$outboundSchema = z.object({ originalPhoneNumber: z.string().optional(), countryCode: z.nullable(exports.SlugOrIdOfMatchingAttributeCountryCode$outboundSchema) .optional(), }).transform((v) => { return (0, primitives_js_1.remap)(v, { originalPhoneNumber: "original_phone_number", countryCode: "country_code", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var SlugOrIdOfMatchingAttribute4$; (function (SlugOrIdOfMatchingAttribute4$) { /** @deprecated use `SlugOrIdOfMatchingAttribute4$inboundSchema` instead. */ SlugOrIdOfMatchingAttribute4$.inboundSchema = exports.SlugOrIdOfMatchingAttribute4$inboundSchema; /** @deprecated use `SlugOrIdOfMatchingAttribute4$outboundSchema` instead. */ SlugOrIdOfMatchingAttribute4$.outboundSchema = exports.SlugOrIdOfMatchingAttribute4$outboundSchema; })(SlugOrIdOfMatchingAttribute4$ || (exports.SlugOrIdOfMatchingAttribute4$ = SlugOrIdOfMatchingAttribute4$ = {})); function slugOrIdOfMatchingAttribute4ToJSON(slugOrIdOfMatchingAttribute4) { return JSON.stringify(exports.SlugOrIdOfMatchingAttribute4$outboundSchema.parse(slugOrIdOfMatchingAttribute4)); } function slugOrIdOfMatchingAttribute4FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SlugOrIdOfMatchingAttribute4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SlugOrIdOfMatchingAttribute4' from JSON`); } /** @internal */ exports.SlugOrIdOfMatchingAttribute3$inboundSchema = z.object({ value: z.number().optional(), }); /** @internal */ exports.SlugOrIdOfMatchingAttribute3$outboundSchema = z.object({ value: z.number().optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var SlugOrIdOfMatchingAttribute3$; (function (SlugOrIdOfMatchingAttribute3$) { /** @deprecated use `SlugOrIdOfMatchingAttribute3$inboundSchema` instead. */ SlugOrIdOfMatchingAttribute3$.inboundSchema = exports.SlugOrIdOfMatchingAttribute3$inboundSchema; /** @deprecated use `SlugOrIdOfMatchingAttribute3$outboundSchema` instead. */ SlugOrIdOfMatchingAttribute3$.outboundSchema = exports.SlugOrIdOfMatchingAttribute3$outboundSchema; })(SlugOrIdOfMatchingAttribute3$ || (exports.SlugOrIdOfMatchingAttribute3$ = SlugOrIdOfMatchingAttribute3$ = {})); function slugOrIdOfMatchingAttribute3ToJSON(slugOrIdOfMatchingAttribute3) { return JSON.stringify(exports.SlugOrIdOfMatchingAttribute3$outboundSchema.parse(slugOrIdOfMatchingAttribute3)); } function slugOrIdOfMatchingAttribute3FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SlugOrIdOfMatchingAttribute3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SlugOrIdOfMatchingAttribute3' from JSON`); } /** @internal */ exports.SlugOrIdOfMatchingAttribute2$inboundSchema = z.object({ email_address: z.string().optional(), }).transform((v) => { return (0, primitives_js_1.remap)(v, { "email_address": "emailAddress", }); }); /** @internal */ exports.SlugOrIdOfMatchingAttribute2$outboundSchema = z.object({ emailAddress: z.string().optional(), }).transform((v) => { return (0, primitives_js_1.remap)(v, { emailAddress: "email_address", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var SlugOrIdOfMatchingAttribute2$; (function (SlugOrIdOfMatchingAttribute2$) { /** @deprecated use `SlugOrIdOfMatchingAttribute2$inboundSchema` instead. */ SlugOrIdOfMatchingAttribute2$.inboundSchema = exports.SlugOrIdOfMatchingAttribute2$inboundSchema; /** @deprecated use `SlugOrIdOfMatchingAttribute2$outboundSchema` instead. */ SlugOrIdOfMatchingAttribute2$.outboundSchema = exports.SlugOrIdOfMatchingAttribute2$outboundSchema; })(SlugOrIdOfMatchingAttribute2$ || (exports.SlugOrIdOfMatchingAttribute2$ = SlugOrIdOfMatchingAttribute2$ = {})); function slugOrIdOfMatchingAttribute2ToJSON(slugOrIdOfMatchingAttribute2) { return JSON.stringify(exports.SlugOrIdOfMatchingAttribute2$outboundSchema.parse(slugOrIdOfMatchingAttribute2)); } function slugOrIdOfMatchingAttribute2FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SlugOrIdOfMatchingAttribute2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SlugOrIdOfMatchingAttribute2' from JSON`); } /** @internal */ exports.SlugOrIdOfMatchingAttribute1$inboundSchema = z.object({ domain: z.string().optional(), }); /** @internal */ exports.SlugOrIdOfMatchingAttribute1$outboundSchema = z.object({ domain: z.string().optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var SlugOrIdOfMatchingAttribute1$; (function (SlugOrIdOfMatchingAttribute1$) { /** @deprecated use `SlugOrIdOfMatchingAttribute1$inboundSchema` instead. */ SlugOrIdOfMatchingAttribute1$.inboundSchema = exports.SlugOrIdOfMatchingAttribute1$inboundSchema; /** @deprecated use `SlugOrIdOfMatchingAttribute1$outboundSchema` instead. */ SlugOrIdOfMatchingAttribute1$.outboundSchema = exports.SlugOrIdOfMatchingAttribute1$outboundSchema; })(SlugOrIdOfMatchingAttribute1$ || (exports.SlugOrIdOfMatchingAttribute1$ = SlugOrIdOfMatchingAttribute1$ = {})); function slugOrIdOfMatchingAttribute1ToJSON(slugOrIdOfMatchingAttribute1) { return JSON.stringify(exports.SlugOrIdOfMatchingAttribute1$outboundSchema.parse(slugOrIdOfMatchingAttribute1)); } function slugOrIdOfMatchingAttribute1FromJSON(jsonString) { return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SlugOrIdOfMatchingAttribute1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SlugOrIdOfMatchingAttribute1' from JSON`); } /** @internal */ exports.SlugOrIdOfMatchingAttributeUnion$inboundSchema = z.union([ z.lazy(() => exports.SlugOrIdOfMatchingAttribute1$inboundSchema), z.lazy(() => exports.SlugOrIdOfMatchingAttribute2$inboundSchema), z.lazy(() => exports.SlugOrIdOfMatchingAttribute3$inboundSchema), z.lazy(() => exports.SlugOrIdOfMatchingAttribute5$inboundSchema), z.lazy(() => exports.SlugOrIdOfMatchingAttribute4$inboundSchema), ]); /** @internal */ exports.SlugOrIdOfMatchingAttributeUnion$outboundSchema = z.union([ z.lazy(() => exports.SlugOrIdOfMatchingAttribute1$outboundSchema), z.lazy(() => exports.SlugOrIdOfMatchingAttribute2$outboundSchema), z.lazy(() => exports.SlugOrIdOfMatchingAttribute3$outboundSchema), z.lazy(() => exports.SlugOrIdOfMatchingAttribute5$outboundSchema), z.lazy(() => exports.SlugOrIdOfMatchingAttribute4$outboundSchema), ]); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ var SlugOrIdOfMatchingAttributeUnion$; (function (SlugOrIdOfMatchingAttributeUnion$) { /** @deprecated use `SlugOrIdOfMatchingAttributeUnion$inboundSchema` instead. */ SlugOrIdOfMatchingAttributeUnion$.inboundSchema = exports.SlugOrIdOfMatchingAttributeUnion$inboundSchema; /** @deprecated use `SlugOrIdOfMatchingAttributeUnion$outboundSchema` instead. */ SlugOrIdOfMatchingAttributeUnion$.outboundSchema = exports.SlugOrIdOfMatchingAttributeUnion$outboundSchema; })(SlugOrIdOfMatchingAttributeUnion$ || (exports.SlugOrIdOfMatchingAttributeUnion$ = SlugOrIdOfMatchingAttributeUnion$ = {})); function slugOrIdOfMatchingAttributeUnionToJSON(slugOrIdOfMatchingAttributeUnion) { return JSON.stringify(exports.SlugOrIdOfMatchingAttributeUnion$outboundSchema.parse(slugOrIdOfMatchingAttributeUnion)); } function slugOrIdOfMatchingAttribut