/** * 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 { CampaignValuesRequestDTOResourceObjectAttributesTimeframe } from './campaignValuesRequestDTOResourceObjectAttributesTimeframe'; export declare class FormSeriesRequestDTOResourceObjectAttributes { /** * List of statistics to query for. All rate statistics will be returned in fractional form [0.0, 1.0] */ 'statistics': Array | Array<'closed_form' | 'closed_form_uniques' | 'qualified_form' | 'qualified_form_uniques' | 'submit_rate' | 'submits' | 'submitted_form_step' | 'submitted_form_step_uniques' | 'viewed_form' | 'viewed_form_step' | 'viewed_form_step_uniques' | 'viewed_form_uniques'>; 'timeframe': CampaignValuesRequestDTOResourceObjectAttributesTimeframe; /** * The interval used to aggregate data within the series request. If hourly is used, the timeframe cannot be longer than 7 days. If daily is used, the timeframe cannot be longer than 60 days. If monthly is used, the timeframe cannot be longer than 52 weeks. */ 'interval': FormSeriesRequestDTOResourceObjectAttributes.IntervalEnum | 'daily' | 'hourly' | 'monthly' | 'weekly'; /** * List of attributes to group the data by. Allowed group-bys are form_id, form_version_id. If not passed in, the data will be grouped by form_id. If a group by has prerequisites, they must be passed in together. The prerequisites for form_version_id is form_id */ 'groupBy'?: Array | Array<'form_id' | 'form_version_id'> | null; /** * API filter string used to filter the query. Allowed filters are form_id, form_version_id. Allowed operators are equals, any. Only one filter can be used per attribute, only AND can be used as a combination operator. Max of 100 messages per ANY filter. */ 'filter'?: string | null; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace FormSeriesRequestDTOResourceObjectAttributes { enum StatisticsEnum { ClosedForm, ClosedFormUniques, QualifiedForm, QualifiedFormUniques, SubmitRate, Submits, SubmittedFormStep, SubmittedFormStepUniques, ViewedForm, ViewedFormStep, ViewedFormStepUniques, ViewedFormUniques } enum IntervalEnum { Daily, Hourly, Monthly, Weekly } enum GroupByEnum { Id, VersionId } }