diff --git a/src/store/index.js b/src/store/index.js index 7b7d4dd0..ca36e9a3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -347,6 +347,28 @@ export const useMainStore = defineStore({ }; } }, + // TODO determine what inputs are required to get a response + registerClaim() { + try { + const response = globalMethods.callHttpClient({ + method: endpoints.RegisterClaim.method, + endpoint: endpoints.RegisterClaim.url, + payload: { + // accountNumber: accountNumber, + // policyNumber: policyNumber, + // dateOfLoss: dateOfLoss, + // zipCode: zipCode + } + }); + return response; + } catch (responseError) { + return { + error: { + status: responseError.status + } + }; + } + }, async lookupVinByPlate(licensePlate, licenseState) { try { const response = await globalMethods.callHttpClient({