import { HttpMethod } from '../../../types/http'; import { BodyType, HeadersType, PathParametersType, QueryStringParametersType } from './common'; import { DefinedProperties } from './utils'; import { GenericApiGatewayContract } from '../apiGatewayContract'; /** * Computed request parameters. This enables the call to the contract to be type-safe */ export interface RequestParameters { method: HttpMethod; path: string; body?: BodyType; headers?: Record; queryStringParameters?: Record; } export type RequestArguments = DefinedProperties<{ pathParameters: PathParametersType; queryStringParameters: QueryStringParametersType; headers: HeadersType; body: BodyType; }>; //# sourceMappingURL=requestParameters.d.ts.map