Variable routeEndpointsConst
routeEndpoints: {
getRoute: {
path: "route/{origin}/{destination}";
method: "POST";
requiresAuth: false;
pathParams: readonly ["origin", "destination"];
hasBody: true;
responseSchema: ZodObject<{ route: ZodArray<ZodNumber> }, $loose>;
};
} = ...
Type Declaration
-
ReadonlygetRoute: {
path: "route/{origin}/{destination}";
method: "POST";
requiresAuth: false;
pathParams: readonly ["origin", "destination"];
hasBody: true;
responseSchema: ZodObject<{ route: ZodArray<ZodNumber> }, $loose>;
}