/** * 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 Timeframe { /** * Pre-defined key that represents a set timeframe */ 'key': Timeframe.KeyEnum | 'last_12_months' | 'last_30_days' | 'last_365_days' | 'last_3_months' | 'last_7_days' | 'last_90_days' | 'last_month' | 'last_week' | 'last_year' | 'this_month' | 'this_week' | 'this_year' | 'today' | 'yesterday'; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", "type": "Timeframe.KeyEnum" } ]; static getAttributeTypeMap() { return Timeframe.attributeTypeMap; } } export namespace Timeframe { export enum KeyEnum { Last12Months = 'last_12_months', Last30Days = 'last_30_days', Last365Days = 'last_365_days', Last3Months = 'last_3_months', Last7Days = 'last_7_days', Last90Days = 'last_90_days', LastMonth = 'last_month', LastWeek = 'last_week', LastYear = 'last_year', ThisMonth = 'this_month', ThisWeek = 'this_week', ThisYear = 'this_year', Today = 'today', Yesterday = 'yesterday' } }