import { StartTrackingRequest, StartTrackingResponse } from "@shipengine/connect-carrier-api"; import { logger, NotImplementedError } from "@shipengine/connect-runtime"; const mapRequest = (request: StartTrackingRequest): any => { throw new NotImplementedError(); }; const callApi = async (request: any): Promise => { throw new NotImplementedError(); }; const mapResponse = (response: any): StartTrackingResponse => { throw new NotImplementedError(); }; export const StartTracking = async (request: StartTrackingRequest): Promise => { logger.info('This is a log that I can find using the `connect logs` command after publishing.'); const thirdPartyRequest = mapRequest(request); const response = await callApi(thirdPartyRequest); const mappedResponse = mapResponse(response); return mappedResponse; }