/** * 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'; export class PushTokenDeviceMetadata { /** * Relatively stable ID for the device. Will update on app uninstall and reinstall */ 'deviceId'?: string | null; /** * The name of the SDK used to create the push token. */ 'klaviyoSdk'?: PushTokenDeviceMetadata.KlaviyoSdkEnum | 'android' | 'flutter' | 'flutter_community' | 'react_native' | 'swift' | null; /** * The version of the SDK used to create the push token */ 'sdkVersion'?: string | null; /** * The model of the device */ 'deviceModel'?: string | null; /** * The name of the operating system on the device. */ 'osName'?: PushTokenDeviceMetadata.OsNameEnum | 'android' | 'ios' | 'ipados' | 'macos' | 'tvos' | null; /** * The version of the operating system on the device */ 'osVersion'?: string | null; /** * The manufacturer of the device */ 'manufacturer'?: string | null; /** * The name of the app that created the push token */ 'appName'?: string | null; /** * The version of the app that created the push token */ 'appVersion'?: string | null; /** * The build of the app that created the push token */ 'appBuild'?: string | null; /** * The ID of the app that created the push token */ 'appId'?: string | null; /** * The environment in which the push token was created */ 'environment'?: PushTokenDeviceMetadata.EnvironmentEnum | 'debug' | 'release' | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "deviceId", "baseName": "device_id", "type": "string" }, { "name": "klaviyoSdk", "baseName": "klaviyo_sdk", "type": "PushTokenDeviceMetadata.KlaviyoSdkEnum" }, { "name": "sdkVersion", "baseName": "sdk_version", "type": "string" }, { "name": "deviceModel", "baseName": "device_model", "type": "string" }, { "name": "osName", "baseName": "os_name", "type": "PushTokenDeviceMetadata.OsNameEnum" }, { "name": "osVersion", "baseName": "os_version", "type": "string" }, { "name": "manufacturer", "baseName": "manufacturer", "type": "string" }, { "name": "appName", "baseName": "app_name", "type": "string" }, { "name": "appVersion", "baseName": "app_version", "type": "string" }, { "name": "appBuild", "baseName": "app_build", "type": "string" }, { "name": "appId", "baseName": "app_id", "type": "string" }, { "name": "environment", "baseName": "environment", "type": "PushTokenDeviceMetadata.EnvironmentEnum" } ]; static getAttributeTypeMap() { return PushTokenDeviceMetadata.attributeTypeMap; } } export namespace PushTokenDeviceMetadata { export enum KlaviyoSdkEnum { Android = 'android', Flutter = 'flutter', FlutterCommunity = 'flutter_community', ReactNative = 'react_native', Swift = 'swift' } export enum OsNameEnum { Android = 'android', Ios = 'ios', Ipados = 'ipados', Macos = 'macos', Tvos = 'tvos' } export enum EnvironmentEnum { Debug = 'debug', Release = 'release' } }