import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetFeaturesHistoricalValuesRequest = { /** * Feature code */ featureCode: string; /** * Start of feature data window (YYYY-MM-DD) */ startDate?: string | null | undefined; /** * End of feature data window (YYYY-MM-DD) */ endDate?: string | null | undefined; /** * If a future symbol is provided and a model for that commodity exists, a signed strength indicator will be returned in addition to the feature value */ addStrengthForCommodity?: 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 GetFeaturesHistoricalValuesRequest$inboundSchema: z.ZodType; /** @internal */ export type GetFeaturesHistoricalValuesRequest$Outbound = { feature_code: string; start_date?: string | null | undefined; end_date?: string | null | undefined; add_strength_for_commodity?: string | null | undefined; freq?: string | null | undefined; agg?: string | null | undefined; }; /** @internal */ export declare const GetFeaturesHistoricalValuesRequest$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 GetFeaturesHistoricalValuesRequest$ { /** @deprecated use `GetFeaturesHistoricalValuesRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetFeaturesHistoricalValuesRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetFeaturesHistoricalValuesRequest$Outbound` instead. */ type Outbound = GetFeaturesHistoricalValuesRequest$Outbound; } export declare function getFeaturesHistoricalValuesRequestToJSON(getFeaturesHistoricalValuesRequest: GetFeaturesHistoricalValuesRequest): string; export declare function getFeaturesHistoricalValuesRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getfeatureshistoricalvalues.d.ts.map