/** * Klaviyo API * The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. * * Contact: developers@klaviyo.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; import { ErrorMessages } from './errorMessages'; export class AgeGateProperties { 'displayDevice'?: Array | Array<'both' | 'desktop' | 'mobile'>; 'classname'?: string | null; 'label'?: string | null; 'showLabel'?: boolean = false; 'placeholder'?: string | null; 'errorMessages'?: ErrorMessages; 'propertyName'?: AgeGateProperties.PropertyNameEnum | '$age_gated_date_of_birth' = AgeGateProperties.PropertyNameEnum.AgeGatedDateOfBirth; 'dateFormat'?: string = 'MM/DD/YYYY'; /** * SMS County Code Enum. */ 'smsCountryCode'?: AgeGateProperties.SmsCountryCodeEnum | 'AT' | 'AU' | 'CH' | 'DE' | 'ES' | 'FR' | 'GB' | 'IE' | 'IT' | 'PT' | 'US' = AgeGateProperties.SmsCountryCodeEnum.Us; 'required'?: boolean = true; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "displayDevice", "baseName": "display_device", "type": "Array" }, { "name": "classname", "baseName": "classname", "type": "string" }, { "name": "label", "baseName": "label", "type": "string" }, { "name": "showLabel", "baseName": "show_label", "type": "boolean" }, { "name": "placeholder", "baseName": "placeholder", "type": "string" }, { "name": "errorMessages", "baseName": "error_messages", "type": "ErrorMessages" }, { "name": "propertyName", "baseName": "property_name", "type": "AgeGateProperties.PropertyNameEnum" }, { "name": "dateFormat", "baseName": "date_format", "type": "string" }, { "name": "smsCountryCode", "baseName": "sms_country_code", "type": "AgeGateProperties.SmsCountryCodeEnum" }, { "name": "required", "baseName": "required", "type": "boolean" } ]; static getAttributeTypeMap() { return AgeGateProperties.attributeTypeMap; } } export namespace AgeGateProperties { export enum DisplayDeviceEnum { Both = 'both', Desktop = 'desktop', Mobile = 'mobile' } export enum PropertyNameEnum { AgeGatedDateOfBirth = '$age_gated_date_of_birth' } export enum SmsCountryCodeEnum { At = 'AT', Au = 'AU', Ch = 'CH', De = 'DE', Es = 'ES', Fr = 'FR', Gb = 'GB', Ie = 'IE', It = 'IT', Pt = 'PT', Us = 'US' } }