From 0231c2a529e4264212bff6d6fab948d4ea5a34f5 Mon Sep 17 00:00:00 2001 From: "Burdhi. Shivani" Date: Wed, 20 Mar 2024 18:10:51 +0530 Subject: [PATCH] 1097 upgradation changes --- .../callservices/callservice.service.ts | 30 +++++++++---------- .../services/coService/co_feedback.service.ts | 4 +-- .../services/common/feedbacktypes.service.ts | 2 +- src/app/services/common/location.service.ts | 8 ++--- .../common/userbeneficiarydata.service.ts | 2 +- .../services/loginService/login.service.ts | 6 ++-- .../outbound-call-reallocation.service.ts | 2 +- .../register-services/register-service.ts | 10 +++---- .../quality-audit-service.service.ts | 2 +- .../update-services/update-service.ts | 2 +- 10 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/app/services/callservices/callservice.service.ts b/src/app/services/callservices/callservice.service.ts index 6d73bb83..d67e9eaf 100644 --- a/src/app/services/callservices/callservice.service.ts +++ b/src/app/services/callservices/callservice.service.ts @@ -34,27 +34,27 @@ import { AuthorizationWrapper } from './../../authorization.wrapper'; export class CallServices { _baseUrl = this._config.get1097BaseURL(); _commonURL = this._config.getCommonBaseURL(); - _closecallurl = this._commonURL + 'call/closeCall/'; - _callsummaryurl = this._baseUrl + 'services/getCallSummary/'; - _calltypesurl = this._commonURL + 'call/getCallTypesV1/'; - _outboundCalls = this._commonURL + 'call/outboundCallList/'; - _blacklistCalls = this._commonURL + 'call/getBlacklistNumbers/'; - _blockPhoneNo = this._commonURL + 'call/blockPhoneNumber/'; - _unblockPhoneNo = this._commonURL + 'call/unblockPhoneNumber/'; - _outbouncClose_url = this._commonURL + 'call/completeOutboundCall/'; - _getLanguage_url = this._commonURL + 'beneficiary/getLanguageList/'; - _disconnectCall_url = this._commonURL + 'cti/disconnectCall/'; - _switchToInbound_url = this._commonURL + 'cti/switchToInbound/' - _getRecording_url = this._commonURL + 'call/nueisanceCallHistory/'; - _switchToOutbound_url = this._commonURL + 'cti/switchToOutbound/'; + _closecallurl = this._commonURL + 'call/closeCall'; + _callsummaryurl = this._baseUrl + 'services/getCallSummary'; + _calltypesurl = this._commonURL + 'call/getCallTypesV1'; + _outboundCalls = this._commonURL + 'call/outboundCallList'; + _blacklistCalls = this._commonURL + 'call/getBlacklistNumbers'; + _blockPhoneNo = this._commonURL + 'call/blockPhoneNumber'; + _unblockPhoneNo = this._commonURL + 'call/unblockPhoneNumber'; + _outbouncClose_url = this._commonURL + 'call/completeOutboundCall'; + _getLanguage_url = this._commonURL + 'beneficiary/getLanguageList'; + _disconnectCall_url = this._commonURL + 'cti/disconnectCall'; + _switchToInbound_url = this._commonURL + 'cti/switchToInbound' + _getRecording_url = this._commonURL + 'call/nueisanceCallHistory'; + _switchToOutbound_url = this._commonURL + 'cti/switchToOutbound'; _getCampaignNames_url = this._commonURL + 'cti/getCampaignNames'; _getCampaignSkills_url = this._commonURL + 'cti/getCampaignSkills'; _transferCall_url = this._commonURL + 'cti/transferCall'; _getBeneficiaryURL = this._commonURL + "call/beneficiaryByCallID"; _getBenOutboundListUrl = this._commonURL + "call/getBenRequestedOutboundCall"; _servicetypesurl = this._commonURL + "service/servicetypes"; - _outEverwellbouncClose_url = this._commonURL + 'everwellCall/completeOutboundCall/'; - _postEverwellFeedback = this._commonURL + 'everwellCall/saveFeedback/'; + _outEverwellbouncClose_url = this._commonURL + 'everwellCall/completeOutboundCall'; + _postEverwellFeedback = this._commonURL + 'everwellCall/saveFeedback'; getWrapupTime = this._commonURL + 'user/role/'; onceOutbound: boolean = false; _everwellCheckAlreadyCalled = this._commonURL + 'everwellCall/checkIfAlreadyCalled'; diff --git a/src/app/services/coService/co_feedback.service.ts b/src/app/services/coService/co_feedback.service.ts index 12f18d9d..51a56f7f 100644 --- a/src/app/services/coService/co_feedback.service.ts +++ b/src/app/services/coService/co_feedback.service.ts @@ -39,8 +39,8 @@ export class CoFeedbackService { _commonUrl = this._config.getCommonBaseURL(); _servicetypesurl = this._commonUrl + 'service/servicetypes'; // _servicetypesurl = this._baseurl + 'api/helpline1097/co/get/servicetypes' - _createFeedbackURL = this._baseurl + 'co/saveBenFeedback/' - _getDesignationsURL = this._baseurl + 'designation/get/' + _createFeedbackURL = this._baseurl + 'co/saveBenFeedback' + _getDesignationsURL = this._baseurl + 'designation/get' // _getFeedbackHistoryByID = this._baseurl + 'services/getFeedbacksHistory' _getFeedbackHistory = this._commonUrl + 'feedback/getFeedbacksList'; constructor( diff --git a/src/app/services/common/feedbacktypes.service.ts b/src/app/services/common/feedbacktypes.service.ts index f0bf3f1a..1341101b 100644 --- a/src/app/services/common/feedbacktypes.service.ts +++ b/src/app/services/common/feedbacktypes.service.ts @@ -39,7 +39,7 @@ export class FeedbackTypes { _getFeedbackTypesURL = this._commonURL + 'feedback/getFeedbackType'; // _getFeedbackSeverityURL = this._commonURL + "feedback/getSeverity"; // _getFeedbackTypesURL = this._helpline104BaseURL + "beneficiary/get/natureOfComplaintTypes"; - _getFeedbackSeverityURL = this._commonURL + 'feedback/getSeverity/'; + _getFeedbackSeverityURL = this._commonURL + 'feedback/getSeverity'; getFeedbackIDTypes_url = this._commonURL + 'feedback/getFeedbackType'; constructor( diff --git a/src/app/services/common/location.service.ts b/src/app/services/common/location.service.ts index 51f18d63..e636af59 100644 --- a/src/app/services/common/location.service.ts +++ b/src/app/services/common/location.service.ts @@ -39,10 +39,10 @@ export class LocationService { _getTalukListURL = this._commonBaseURL + 'location/taluks/'; _getBlockListURL = this._commonBaseURL + 'location/districtblocks/'; _getBranchListURL = this._commonBaseURL + 'location/village/'; - _getInstituteListURL = this._commonBaseURL + 'institute/getInstituteTypes/'; - _getDesignationListURL = this._commonBaseURL + 'institute/getDesignationsByInstitute/'; - _getDirectoriesListURL = this._commonBaseURL + 'directory/getDirectoryV1/'; - _getSubDirectoriesListURL = this._commonBaseURL + 'directory/getSubDirectory/'; + _getInstituteListURL = this._commonBaseURL + 'institute/getInstituteTypes'; + _getDesignationListURL = this._commonBaseURL + 'institute/getDesignationsByInstitute'; + _getDirectoriesListURL = this._commonBaseURL + 'directory/getDirectoryV1'; + _getSubDirectoriesListURL = this._commonBaseURL + 'directory/getSubDirectory'; constructor( private _http: AuthorizationWrapper, private _config: ConfigService diff --git a/src/app/services/common/userbeneficiarydata.service.ts b/src/app/services/common/userbeneficiarydata.service.ts index 6407b05f..8602d951 100644 --- a/src/app/services/common/userbeneficiarydata.service.ts +++ b/src/app/services/common/userbeneficiarydata.service.ts @@ -35,7 +35,7 @@ import { AuthorizationWrapper } from './../../authorization.wrapper'; @Injectable() export class UserBeneficiaryData { _commonBaseURL = this._config.getCommonBaseURL(); - _getUserBeneficaryDataURL = this._commonBaseURL + 'beneficiary/getRegistrationDataV1/'; + _getUserBeneficaryDataURL = this._commonBaseURL + 'beneficiary/getRegistrationDataV1'; _searchBeneficiary = this._commonBaseURL + 'beneficiary/searchBeneficiary'; constructor( private _http: AuthorizationWrapper, diff --git a/src/app/services/loginService/login.service.ts b/src/app/services/loginService/login.service.ts index 600bf6da..d5a42640 100644 --- a/src/app/services/loginService/login.service.ts +++ b/src/app/services/loginService/login.service.ts @@ -37,10 +37,10 @@ export class loginService { _baseURL = this._config.getCommonBaseURL(); admin = this._config.getAdminBaseUrl(); base1097URL = this._config.get1097BaseURL(); - _userAuthURL = this.openBaseUrl + 'user/userAuthenticate/'; + _userAuthURL = this.openBaseUrl + 'user/userAuthenticate'; _userLogoutPreviousSessionURL = this.openBaseUrl + 'user/logOutUserFromConcurrentSession'; - _forgotPasswordURL = this.openBaseUrl + 'user/forgetPassword/'; - _getDetailsByID = this._baseURL + 'user/getUserDetails/'; + _forgotPasswordURL = this.openBaseUrl + 'user/forgetPassword'; + _getDetailsByID = this._baseURL + 'user/getUserDetails'; _validateQuestionAndAnswers = this._baseURL + 'user/validateSecurityQuestionAndAnswer'; _authorisedUser = this.openBaseUrl + 'user/getLoginResponse'; apiVersionUrl = this.base1097URL + "version"; diff --git a/src/app/services/outboundServices/outbound-call-reallocation.service.ts b/src/app/services/outboundServices/outbound-call-reallocation.service.ts index e6cfa739..3ca77f2d 100644 --- a/src/app/services/outboundServices/outbound-call-reallocation.service.ts +++ b/src/app/services/outboundServices/outbound-call-reallocation.service.ts @@ -43,7 +43,7 @@ export class OutboundReAllocationService { private moveToBinURL: string = this._baseurl + 'call/resetOutboundCall'; private everwellMoveToBinURL: string = this._baseurl + 'everwellCall/resetOutboundCall'; private _getEverwelloutboundCallListURL: string = this._baseurl + 'everwellCall/outboundCallList'; - private getEverwellFeedBackDetailsURL: string = this._baseurl + '/everwellCall/getEverwellfeedbackDetails'; + private getEverwellFeedBackDetailsURL: string = this._baseurl + 'everwellCall/getEverwellfeedbackDetails'; private getEverwellGuidelinesURL: string = this._1097baseUrl + 'fetchEverwellGuidelines'; private getbenDetailsOnPhnNoURL: string = this._baseurl + 'everwellCall/outboundCallListWithMobileNumber'; constructor(private _http: AuthorizationWrapper, private _config: ConfigService) { diff --git a/src/app/services/register-services/register-service.ts b/src/app/services/register-services/register-service.ts index 82e2e398..750fa030 100644 --- a/src/app/services/register-services/register-service.ts +++ b/src/app/services/register-services/register-service.ts @@ -34,11 +34,11 @@ import { InterceptedHttp } from './../../http.interceptor'; export class RegisterService { _baseUrl = this._config.getCommonBaseURL(); _helplineURL = this._config.get1097BaseURL(); - _createbeneficiaryurl = this._baseUrl + 'beneficiary/create/'; - _getrelationshipurl = this._baseUrl + 'get/beneficiaryRelationship/'; - _getuserdata = this._baseUrl + 'beneficiary/searchUserByID/'; - _getuserdatabyno = this._baseUrl + 'beneficiary/searchUserByPhone/'; - _startCall = this._baseUrl + 'call/startCall/'; + _createbeneficiaryurl = this._baseUrl + 'beneficiary/create'; + _getrelationshipurl = this._baseUrl + 'get/beneficiaryRelationship'; + _getuserdata = this._baseUrl + 'beneficiary/searchUserByID'; + _getuserdatabyno = this._baseUrl + 'beneficiary/searchUserByPhone'; + _startCall = this._baseUrl + 'call/startCall'; _updatebeneficiaryincall = this._baseUrl + 'call/updatebeneficiaryincall'; _getregistrationdata = this._baseUrl + 'beneficiary/getRegistrationDataV1'; _searchBeneficiaryURL = this._baseUrl + 'beneficiary/searchBeneficiary'; diff --git a/src/app/services/supervisorServices/quality-audit-service.service.ts b/src/app/services/supervisorServices/quality-audit-service.service.ts index 71b3d217..b65dd2a1 100644 --- a/src/app/services/supervisorServices/quality-audit-service.service.ts +++ b/src/app/services/supervisorServices/quality-audit-service.service.ts @@ -56,7 +56,7 @@ export class QualityAuditService { this.getServicesUrl = this.admin_Base_Url + 'm/role/serviceNew'; this.getRolesUrl = this.admin_Base_Url + 'm/role/search'; this.getServiceProviderID_url = this.admin_Base_Url + 'getServiceProviderid'; - this._calltypesurl = this.commonBaseURL + 'call/getCallTypesV1/'; + this._calltypesurl = this.commonBaseURL + 'call/getCallTypesV1'; this.filterCallListUrl = this.commonBaseURL + 'call/filterCallList'; this.getCallSummaryUrl = this._1097baseUrl + 'services/getCaseSheet'; this.getAllAgents_Url = this.admin_Base_Url + 'getAllAgentIds'; diff --git a/src/app/services/update-services/update-service.ts b/src/app/services/update-services/update-service.ts index 4ca379ae..5e384726 100644 --- a/src/app/services/update-services/update-service.ts +++ b/src/app/services/update-services/update-service.ts @@ -34,7 +34,7 @@ export class UpdateService { options = new RequestOptions({ headers: this.headers }); _baseUrl = this._config.getCommonBaseURL(); - _updatebeneficiaryurl = this._baseUrl + 'beneficiary/update/'; + _updatebeneficiaryurl = this._baseUrl + 'beneficiary/update'; constructor( private _http: Http, private _config: ConfigService,