import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetTransformedFeatureValuesRequest = { /** * Feature code */ featureCode: string; /** * The type of transform requested. Currently supported are `xyavg`, `rebase`, `zscore`, `yoy` */ transform: string; /** * Number of years to perform the average on. (valid for xyavg and yoy transforms) */ numberOfYears?: number | undefined; /** * Number of observations used in the transformation window. (valid for xyavg and zscore transforms) */ window?: number | undefined; /** * Start of transformed feature data window (YYYY-MM-DD) - not relevant for yoy */ startDate?: string | null | undefined; /** * End of transformed feature data window (YYYY-MM-DD) - not relevant for yoy */ endDate?: string | null | undefined; /** * By default, time-series are returned using daily time frequency. Request resampled data using `weekly` or `monthly` as query parameter */ freq?: string | null | undefined; /** * If a `weekly` or `monthly` frequency is requested, this parameter allows to control how the returned data is aggregated over each period. `mean` and `last` are supported */ agg?: string | null | undefined; }; /** @internal */ export declare const GetTransformedFeatureValuesRequest$inboundSchema: z.ZodType; /** @internal */ export type GetTransformedFeatureValuesRequest$Outbound = { feature_code: string; transform: string; number_of_years: number; window: number; start_date?: string | null | undefined; end_date?: string | null | undefined; freq?: string | null | undefined; agg?: string | null | undefined; }; /** @internal */ export declare const GetTransformedFeatureValuesRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetTransformedFeatureValuesRequest$ { /** @deprecated use `GetTransformedFeatureValuesRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetTransformedFeatureValuesRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetTransformedFeatureValuesRequest$Outbound` instead. */ type Outbound = GetTransformedFeatureValuesRequest$Outbound; } export declare function getTransformedFeatureValuesRequestToJSON(getTransformedFeatureValuesRequest: GetTransformedFeatureValuesRequest): string; export declare function getTransformedFeatureValuesRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=gettransformedfeaturevalues.d.ts.map