From bdfdeac58d798ada5e72cdd55b19bac79fd25159 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 16 Aug 2024 17:09:36 -0400 Subject: [PATCH] added jsdoc info to getReferralByPayload function --- src/store/index.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/store/index.js b/src/store/index.js index b8e5862b..dabe3fb3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1371,6 +1371,17 @@ export const useMainStore = defineStore({ }, (error) => reject(error)); }); }, + /** + * @function getCookieValueByName + * @param {object} payload + * referralNumber: the sv2 referral's referralNumber + * responseDate: the sv2 referral's referralDate or the responseDate associated with the returned duplicate-check record + * parentAccountNumber: the client's parentAccountNumber associated with the sv2 referral + * correlationId: the correlationId associated with the sv2 referral + * @summary + * Gets cookie value by name, returns empty string if not found. + * @returns {object} returns the response object for the load session api, which returns the sv2 referral information + */ async getReferralByPayload(payload) { return await globalMethods.callHttpClient({ method: endpoints.LoadSession.method,