import { ApiEndpoint, ApiEndpointUri } from "."; import { HttpVerb } from "../../helpers/http"; export interface ApiLocationDefinition { uri: Uri; method: Method; authenticated: Authenticated; } export interface ApiRequest { params: Params; body: Body; } /** * Definition for how to call a particular API endpoint, including its location, * parameters and body. Also includes whether or not the user must be * authenticated when it's called. */ export interface ApiCallDefinition { location: ApiLocationDefinition; request: ApiRequest; } export declare type ApiCall = ApiEndpoint["call"]; export declare type ApiLocation = ApiCall["location"]; //# sourceMappingURL=ApiCall.d.ts.map