/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

import * as z from "zod";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import {
  SelectOption,
  SelectOption$inboundSchema,
  SelectOption$Outbound,
  SelectOption$outboundSchema,
} from "../components/selectoption.js";
import {
  Status,
  Status$inboundSchema,
  Status$Outbound,
  Status$outboundSchema,
} from "../components/status.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest = {
  list: string;
  entryId: string;
  attribute: string;
  showHistoric?: boolean | undefined;
  limit?: number | undefined;
  offset?: number | undefined;
};

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp =
  {
    Timestamp: "timestamp",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17;
    /**
     * The attribute type of the value.
     */
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp;
    /**
     * A timestamp value represents a single, universal moment in time using an ISO 8601 formatted string. This means that a timestamp consists of a date, a time (with nanosecond precision), and a time zone. Attio will coerce timestamps which do not provide full nanosecond precision and UTC is assumed if no time zone is provided. For example, "2023", "2023-01", "2023-01-02", "2023-01-02T13:00", "2023-01-02T13:00:00", and "2023-01-02T13:00:00.000000000" will all be coerced to "2023-01-02T13:00:00.000000000Z". Timestamps are always returned in UTC. For example, writing a timestamp value using the string "2023-01-02T13:00:00.000000000+02:00" will result in the value "2023-01-02T11:00:00.000000000Z" being returned. The maximum date is "9999-12-31T23:59:59.999999999Z".
     */
    value: Date;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText =
  {
    Text: "text",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText = {
  /**
   * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
   */
  activeFrom: Date;
  /**
   * The point in time at which this value was deactivated. If `null`, the value is active.
   */
  activeUntil: Date | null;
  /**
   * The actor that created this value.
   */
  createdByActor:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16;
  /**
   * A raw text field. Values are limited to 10MB.
   */
  value: string;
  /**
   * The attribute type of the value.
   */
  attributeType:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText;
};

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect =
  {
    Select: "select",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect = {
  /**
   * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
   */
  activeFrom: Date;
  /**
   * The point in time at which this value was deactivated. If `null`, the value is active.
   */
  activeUntil: Date | null;
  /**
   * The actor that created this value.
   */
  createdByActor:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15;
  option: SelectOption;
  /**
   * The attribute type of the value.
   */
  attributeType:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect;
};

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating =
  {
    Rating: "rating",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating = {
  /**
   * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
   */
  activeFrom: Date;
  /**
   * The point in time at which this value was deactivated. If `null`, the value is active.
   */
  activeUntil: Date | null;
  /**
   * The actor that created this value.
   */
  createdByActor:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14;
  /**
   * A number between 0 and 5 (inclusive) to represent a star rating.
   */
  value: number;
  /**
   * The attribute type of the value.
   */
  attributeType:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating;
};

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus =
  {
    Status: "status",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus = {
  /**
   * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
   */
  activeFrom: Date;
  /**
   * The point in time at which this value was deactivated. If `null`, the value is active.
   */
  activeUntil: Date | null;
  /**
   * The actor that created this value.
   */
  createdByActor:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13;
  status: Status;
  /**
   * The attribute type of the value.
   */
  attributeType:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus;
};

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12
      | null
      | undefined;
  };

/**
 * The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2 =
  {
    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",
  } as const;
/**
 * The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2
  >;

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber =
  {
    PhoneNumber: "phone-number",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12;
    /**
     * 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:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2;
    phoneNumber: string;
    /**
     * The attribute type of the value.
     */
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName =
  {
    PersonalName: "personal-name",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11;
    /**
     * The first name.
     */
    firstName: string;
    /**
     * The last name.
     */
    lastName: string;
    /**
     * The full name.
     */
    fullName: string;
    /**
     * The attribute type of the value.
     */
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber =
  {
    Number: "number",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber = {
  /**
   * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
   */
  activeFrom: Date;
  /**
   * The point in time at which this value was deactivated. If `null`, the value is active.
   */
  activeUntil: Date | null;
  /**
   * The actor that created this value.
   */
  createdByActor:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10;
  /**
   * Numbers are persisted as 64 bit floats.
   */
  value: number;
  /**
   * The attribute type of the value.
   */
  attributeType:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber;
};

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9
      | null
      | undefined;
  };

/**
 * The ISO 3166-1 alpha-2 country code for the country this location is in.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1 =
  {
    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",
  } as const;
/**
 * The ISO 3166-1 alpha-2 country code for the country this location is in.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1
  >;

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation =
  {
    Location: "location",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9;
    /**
     * 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:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1
      | 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:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8
      | null
      | undefined;
  };

/**
 * The type of interaction e.g. calendar or email.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType =
  {
    CalendarEvent: "calendar-event",
    Call: "call",
    ChatThread: "chat-thread",
    Email: "email",
    InPersonMeeting: "in-person-meeting",
    Meeting: "meeting",
  } as const;
/**
 * The type of interaction e.g. calendar or email.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType
  >;

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor = {
  /**
   * An ID to identify the actor.
   */
  id?: string | null | undefined;
  /**
   * The type of actor. [Read more information on actor types here](/docs/actors).
   */
  type?:
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType
    | null
    | undefined;
};

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction =
  {
    Interaction: "interaction",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8;
    /**
     * The type of interaction e.g. calendar or email.
     */
    interactionType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType;
    /**
     * When the interaction occurred.
     */
    interactedAt: Date;
    /**
     * The actor that created this value.
     */
    ownerActor: GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor;
    /**
     * The attribute type of the value.
     */
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference =
  {
    RecordReference: "record-reference",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7;
    /**
     * 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:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress =
  {
    EmailAddress: "email-address",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6;
    originalEmailAddress: string;
    emailAddress: string;
    emailDomain: string;
    emailRootDomain: string;
    emailLocalSpecifier: string;
    /**
     * The attribute type of the value.
     */
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain =
  {
    Domain: "domain",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain = {
  /**
   * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
   */
  activeFrom: Date;
  /**
   * The point in time at which this value was deactivated. If `null`, the value is active.
   */
  activeUntil: Date | null;
  /**
   * The actor that created this value.
   */
  createdByActor:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5;
  domain: string;
  rootDomain: string;
  /**
   * The attribute type of the value.
   */
  attributeType:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain;
};

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate =
  {
    Date: "date",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate = {
  /**
   * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
   */
  activeFrom: Date;
  /**
   * The point in time at which this value was deactivated. If `null`, the value is active.
   */
  activeUntil: Date | null;
  /**
   * The actor that created this value.
   */
  createdByActor:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4;
  /**
   * The attribute type of the value.
   */
  attributeType:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate;
  /**
   * 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 type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3
      | null
      | undefined;
  };

/**
 * The ISO4217 currency code representing the currency that the value is stored in.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode =
  {
    Aud: "AUD",
    Brl: "BRL",
    Bel: "BEL",
    Cad: "CAD",
    Cny: "CNY",
    Cop: "COP",
    Czk: "CZK",
    Dkk: "DKK",
    Eur: "EUR",
    Hkd: "HKD",
    Isk: "ISK",
    Inr: "INR",
    Ils: "ILS",
    Jpy: "JPY",
    Krw: "KRW",
    Myr: "MYR",
    Mxn: "MXN",
    Ntd: "NTD",
    Nzd: "NZD",
    Ngn: "NGN",
    Nok: "NOK",
    Xpf: "XPF",
    Pen: "PEN",
    Php: "PHP",
    Pln: "PLN",
    Gbp: "GBP",
    Sar: "SAR",
    Sgd: "SGD",
    Zar: "ZAR",
    Sek: "SEK",
    Chf: "CHF",
    Aed: "AED",
    Usd: "USD",
  } as const;
/**
 * The ISO4217 currency code representing the currency that the value is stored in.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode
  >;

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency =
  {
    Currency: "currency",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3;
    /**
     * 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?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode
      | null
      | undefined;
    /**
     * The attribute type of the value.
     */
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2
      | null
      | undefined;
  };

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox =
  {
    Checkbox: "checkbox",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2;
    /**
     * 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:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox;
  };

/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1 =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1 =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1
  >;

/**
 * The actor that created this value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1 =
  {
    /**
     * An ID to identify the actor.
     */
    id?: string | null | undefined;
    /**
     * The type of actor. [Read more information on actor types here](/docs/actors).
     */
    type?:
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1
      | null
      | undefined;
  };

/**
 * The type of the referenced actor. [Read more information on actor types here](/docs/actors).
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType =
  {
    ApiToken: "api-token",
    WorkspaceMember: "workspace-member",
    System: "system",
    App: "app",
  } as const;
/**
 * The type of the referenced actor. [Read more information on actor types here](/docs/actors).
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType
  >;

/**
 * The attribute type of the value.
 */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference =
  {
    ActorReference: "actor-reference",
  } as const;
/**
 * The attribute type of the value.
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference =
  ClosedEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference
  >;

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference =
  {
    /**
     * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
     */
    activeFrom: Date;
    /**
     * The point in time at which this value was deactivated. If `null`, the value is active.
     */
    activeUntil: Date | null;
    /**
     * The actor that created this value.
     */
    createdByActor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1;
    /**
     * The type of the referenced actor. [Read more information on actor types here](/docs/actors).
     */
    referencedActorType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType;
    /**
     * The ID of the referenced actor.
     */
    referencedActorId: string | null;
    /**
     * The attribute type of the value.
     */
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference;
  };

export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion =
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation;

/**
 * Success
 */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse = {
  data: Array<
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress
    | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation
  >;
};

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest,
    z.ZodTypeDef,
    unknown
  > = z.object({
    list: z.string(),
    entry_id: z.string(),
    attribute: z.string(),
    show_historic: z.boolean().default(false),
    limit: z.number().int().optional(),
    offset: z.number().int().optional(),
  }).transform((v) => {
    return remap$(v, {
      "entry_id": "entryId",
      "show_historic": "showHistoric",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$Outbound =
  {
    list: string;
    entry_id: string;
    attribute: string;
    show_historic: boolean;
    limit?: number | undefined;
    offset?: number | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest
  > = z.object({
    list: z.string(),
    entryId: z.string(),
    attribute: z.string(),
    showHistoric: z.boolean().default(false),
    limit: z.number().int().optional(),
    offset: z.number().int().optional(),
  }).transform((v) => {
    return remap$(v, {
      entryId: "entry_id",
      showHistoric: "show_historic",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesRequestToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesRequest:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesRequest),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesRequestFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesRequest' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType17$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$inboundSchema
    ),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$inboundSchema,
    value: z.string().datetime({ offset: true }).transform(v => new Date(v)),
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$Outbound;
    attribute_type: string;
    value: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor17$outboundSchema
    ),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeTimestamp$outboundSchema,
    value: z.date().transform(v => v.toISOString()),
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestampToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestampFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType16$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$inboundSchema
    ),
    value: z.string(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$Outbound;
    value: string;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor16$outboundSchema
    ),
    value: z.string(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeText$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataTextToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataText:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataText),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataTextFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType15$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$inboundSchema
    ),
    option: SelectOption$inboundSchema,
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$Outbound;
    option: SelectOption$Outbound;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor15$outboundSchema
    ),
    option: SelectOption$outboundSchema,
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeSelect$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelectToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelectFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType14$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$inboundSchema
    ),
    value: z.number(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$Outbound;
    value: number;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor14$outboundSchema
    ),
    value: z.number(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRating$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRatingToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRatingFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType13$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$inboundSchema
    ),
    status: Status$inboundSchema,
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$Outbound;
    status: Status$Outbound;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor13$outboundSchema
    ),
    status: Status$outboundSchema,
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeStatus$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatusToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatusFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType12$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$inboundSchema
    ),
    original_phone_number: z.string(),
    country_code:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$inboundSchema,
    phone_number: z.string(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "original_phone_number": "originalPhoneNumber",
      "country_code": "countryCode",
      "phone_number": "phoneNumber",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$Outbound;
    original_phone_number: string;
    country_code: string;
    phone_number: string;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor12$outboundSchema
    ),
    originalPhoneNumber: z.string(),
    countryCode:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode2$outboundSchema,
    phoneNumber: z.string(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePhoneNumber$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      originalPhoneNumber: "original_phone_number",
      countryCode: "country_code",
      phoneNumber: "phone_number",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumberToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumberFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType11$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$inboundSchema
    ),
    first_name: z.string(),
    last_name: z.string(),
    full_name: z.string(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "first_name": "firstName",
      "last_name": "lastName",
      "full_name": "fullName",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$Outbound;
    first_name: string;
    last_name: string;
    full_name: string;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor11$outboundSchema
    ),
    firstName: z.string(),
    lastName: z.string(),
    fullName: z.string(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypePersonalName$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      firstName: "first_name",
      lastName: "last_name",
      fullName: "full_name",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalNameToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalNameFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType10$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$inboundSchema
    ),
    value: z.number(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$Outbound;
    value: number;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor10$outboundSchema
    ),
    value: z.number(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeNumber$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumberToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumberFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType9$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$inboundSchema
    ),
    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(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$inboundSchema,
    ),
    latitude: z.nullable(z.string()),
    longitude: z.nullable(z.string()),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "line_1": "line1",
      "line_2": "line2",
      "line_3": "line3",
      "line_4": "line4",
      "country_code": "countryCode",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$Outbound;
    line_1: string | null;
    line_2: string | null;
    line_3: string | null;
    line_4: string | null;
    locality: string | null;
    region: string | null;
    postcode: string | null;
    country_code: string | null;
    latitude: string | null;
    longitude: string | null;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor9$outboundSchema
    ),
    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(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCountryCode1$outboundSchema,
    ),
    latitude: z.nullable(z.string()),
    longitude: z.nullable(z.string()),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeLocation$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      line1: "line_1",
      line2: "line_2",
      line3: "line_3",
      line4: "line_4",
      countryCode: "country_code",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocationToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocationFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType8$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$inboundSchema
    ),
    interaction_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$inboundSchema,
    interacted_at: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    owner_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$inboundSchema
    ),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "interaction_type": "interactionType",
      "interacted_at": "interactedAt",
      "owner_actor": "ownerActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$Outbound;
    interaction_type: string;
    interacted_at: string;
    owner_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$Outbound;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$outboundSchema
    ),
    interactionType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$outboundSchema,
    interactedAt: z.date().transform(v => v.toISOString()),
    ownerActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$outboundSchema
    ),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeInteraction$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      interactionType: "interaction_type",
      interactedAt: "interacted_at",
      ownerActor: "owner_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteractionToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteractionFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$inboundSchema
    ),
    target_object: z.string(),
    target_record_id: z.string(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "target_object": "targetObject",
      "target_record_id": "targetRecordId",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$Outbound;
    target_object: string;
    target_record_id: string;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$outboundSchema
    ),
    targetObject: z.string(),
    targetRecordId: z.string(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeRecordReference$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      targetObject: "target_object",
      targetRecordId: "target_record_id",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReferenceToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReferenceFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$inboundSchema
    ),
    original_email_address: z.string(),
    email_address: z.string(),
    email_domain: z.string(),
    email_root_domain: z.string(),
    email_local_specifier: z.string(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "original_email_address": "originalEmailAddress",
      "email_address": "emailAddress",
      "email_domain": "emailDomain",
      "email_root_domain": "emailRootDomain",
      "email_local_specifier": "emailLocalSpecifier",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$Outbound;
    original_email_address: string;
    email_address: string;
    email_domain: string;
    email_root_domain: string;
    email_local_specifier: string;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$outboundSchema
    ),
    originalEmailAddress: z.string(),
    emailAddress: z.string(),
    emailDomain: z.string(),
    emailRootDomain: z.string(),
    emailLocalSpecifier: z.string(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeEmailAddress$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      originalEmailAddress: "original_email_address",
      emailAddress: "email_address",
      emailDomain: "email_domain",
      emailRootDomain: "email_root_domain",
      emailLocalSpecifier: "email_local_specifier",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddressToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddressFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$inboundSchema
    ),
    domain: z.string(),
    root_domain: z.string(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "root_domain": "rootDomain",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$Outbound;
    domain: string;
    root_domain: string;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$outboundSchema
    ),
    domain: z.string(),
    rootDomain: z.string(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDomain$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      rootDomain: "root_domain",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomainToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomainFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$inboundSchema
    ),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$inboundSchema,
    value: z.string(),
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$Outbound;
    attribute_type: string;
    value: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$outboundSchema
    ),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeDate$outboundSchema,
    value: z.string(),
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDateToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDateFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$inboundSchema
    ),
    currency_value: z.number(),
    currency_code: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$inboundSchema,
    ).optional(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "currency_value": "currencyValue",
      "currency_code": "currencyCode",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$Outbound;
    currency_value: number;
    currency_code?: string | null | undefined;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$outboundSchema
    ),
    currencyValue: z.number(),
    currencyCode: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$outboundSchema,
    ).optional(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCurrency$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      currencyValue: "currency_value",
      currencyCode: "currency_code",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrencyToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrencyFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$inboundSchema
    ),
    value: z.boolean(),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$Outbound;
    value: boolean;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$outboundSchema
    ),
    value: z.boolean(),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeCheckbox$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckboxToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckboxFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1,
    z.ZodTypeDef,
    unknown
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$inboundSchema,
    ).optional(),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$Outbound =
  {
    id?: string | null | undefined;
    type?: string | null | undefined;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1
  > = z.object({
    id: z.nullable(z.string()).optional(),
    type: z.nullable(
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$outboundSchema,
    ).optional(),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1ToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1FromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$inboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference
  > = z.nativeEnum(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference,
  );

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$outboundSchema:
  z.ZodNativeEnum<
    typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference
  > =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$inboundSchema;

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$outboundSchema;
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference,
    z.ZodTypeDef,
    unknown
  > = z.object({
    active_from: z.string().datetime({ offset: true }).transform(v =>
      new Date(v)
    ),
    active_until: z.nullable(
      z.string().datetime({ offset: true }).transform(v => new Date(v)),
    ),
    created_by_actor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$inboundSchema
    ),
    referenced_actor_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$inboundSchema,
    referenced_actor_id: z.nullable(z.string()),
    attribute_type:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$inboundSchema,
  }).transform((v) => {
    return remap$(v, {
      "active_from": "activeFrom",
      "active_until": "activeUntil",
      "created_by_actor": "createdByActor",
      "referenced_actor_type": "referencedActorType",
      "referenced_actor_id": "referencedActorId",
      "attribute_type": "attributeType",
    });
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$Outbound =
  {
    active_from: string;
    active_until: string | null;
    created_by_actor:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$Outbound;
    referenced_actor_type: string;
    referenced_actor_id: string | null;
    attribute_type: string;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference
  > = z.object({
    activeFrom: z.date().transform(v => v.toISOString()),
    activeUntil: z.nullable(z.date().transform(v => v.toISOString())),
    createdByActor: z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$outboundSchema
    ),
    referencedActorType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$outboundSchema,
    referencedActorId: z.nullable(z.string()),
    attributeType:
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesAttributeTypeActorReference$outboundSchema,
  }).transform((v) => {
    return remap$(v, {
      activeFrom: "active_from",
      activeUntil: "active_until",
      createdByActor: "created_by_actor",
      referencedActorType: "referenced_actor_type",
      referencedActorId: "referenced_actor_id",
      attributeType: "attribute_type",
    });
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReferenceToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$outboundSchema
      .parse(
        getV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference,
      ),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReferenceFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion,
    z.ZodTypeDef,
    unknown
  > = z.union([
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema
    ),
  ]);

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$Outbound =
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$Outbound
  | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$Outbound;

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion
  > = z.union([
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$outboundSchema
    ),
    z.lazy(() =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$outboundSchema
    ),
  ]);

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnionToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnionFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion' from JSON`,
  );
}

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$inboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse,
    z.ZodTypeDef,
    unknown
  > = z.object({
    data: z.array(
      z.union([
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema
        ),
      ]),
    ),
  });

/** @internal */
export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$Outbound =
  {
    data: Array<
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$Outbound
      | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$Outbound
    >;
  };

/** @internal */
export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$outboundSchema:
  z.ZodType<
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$Outbound,
    z.ZodTypeDef,
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse
  > = z.object({
    data: z.array(
      z.union([
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$outboundSchema
        ),
        z.lazy(() =>
          GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$outboundSchema
        ),
      ]),
    ),
  });

/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export namespace GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$ {
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$inboundSchema` instead. */
  export const inboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$inboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$outboundSchema` instead. */
  export const outboundSchema =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$outboundSchema;
  /** @deprecated use `GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$Outbound` instead. */
  export type Outbound =
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$Outbound;
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesResponseToJSON(
  getV2ListsListEntriesEntryIdAttributesAttributeValuesResponse:
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse,
): string {
  return JSON.stringify(
    GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$outboundSchema
      .parse(getV2ListsListEntriesEntryIdAttributesAttributeValuesResponse),
  );
}

export function getV2ListsListEntriesEntryIdAttributesAttributeValuesResponseFromJSON(
  jsonString: string,
): SafeParseResult<
  GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$inboundSchema
        .parse(JSON.parse(x)),
    `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse' from JSON`,
  );
}
