gofelix 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/config.js +11 -1
- package/dist/constants.js +11 -1
- package/dist/index.js +11 -1
- package/dist/queries/addFriend.js +11 -1
- package/dist/queries/addPendingFeedBackForm.js +11 -1
- package/dist/queries/addUserExperience.js +11 -1
- package/dist/queries/addUserMails.js +11 -1
- package/dist/queries/generateDiscountTokenFromUserAmount.js +11 -1
- package/dist/queries/getAllQRCodeUrl.js +11 -1
- package/dist/queries/getBiStats.js +11 -1
- package/dist/queries/getUserAccessTokenFromActivationCode.js +11 -1
- package/dist/queries/getUserBulkData.js +11 -1
- package/dist/queries/getUserMails.js +11 -1
- package/dist/queries/getUserProfiles.js +11 -1
- package/dist/queries/logError.js +11 -1
- package/dist/queries/redeemDiscountCode.js +11 -1
- package/dist/queries/removeFriend.js +11 -1
- package/dist/queries/removePendingFeedbackLink.js +11 -1
- package/dist/queries/removeUserMail.js +11 -1
- package/dist/queries/subscribeToCompany.js +11 -1
- package/dist/queries/unSubscribeToCompany.js +11 -1
- package/dist/queries/updateUserProfile.js +11 -1
- package/dist/queries/updateUserSettings.js +11 -1
- package/dist/queries/userApiLogout.js +11 -1
- package/dist/services/BI/companyNewsStats.js +11 -1
- package/dist/services/BI/discountStats.js +11 -1
- package/dist/services/BI/feedbackStats.js +11 -1
- package/dist/services/BI/getAllCompanyStats.js +11 -1
- package/dist/services/BI/getCompanyOverallStats.js +11 -1
- package/dist/services/BI/userExperienceStats.js +11 -1
- package/dist/services/OAuth/callback.js +11 -1
- package/dist/services/OAuth/index.js +11 -1
- package/dist/services/OAuth/logout.js +11 -1
- package/dist/services/Online/qrCode.js +11 -1
- package/dist/services/User/discountToken.js +11 -1
- package/dist/services/User/feedbackService.js +11 -1
- package/dist/services/User/friendService.js +11 -1
- package/dist/services/User/mailService.js +11 -1
- package/dist/services/User/subscribe.js +11 -1
- package/dist/services/User/userExperiences.js +11 -1
- package/dist/services/User/userProfile.js +11 -1
- package/dist/types/UserExperience.js +11 -1
- package/dist/types/commonTypes.js +11 -1
- package/dist/types/companyNewsTypes.js +11 -1
- package/dist/types/discountTypes.js +11 -1
- package/dist/types/feedbackTypes.js +11 -1
- package/dist/types/friendTypes.js +11 -1
- package/dist/types/mailTypes.js +11 -1
- package/dist/types/oAuthTypes.js +11 -1
- package/dist/types/qrCodes.js +11 -1
- package/dist/types/subscribeTypes.js +11 -1
- package/dist/types/userTypes.js +11 -1
- package/dist/utilities/fetch.js +11 -1
- package/dist/utilities/mapper.js +11 -1
- package/package.json +1 -1
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";const a36_0x185e8f=a36_0x2982;!function(){const e=a36_0x2982,r=a36_0x4bbb();for(;;)try{if(419442===-parseInt(e(471))/1*(parseInt(e(495))/2)+parseInt(e(498))/3*(-parseInt(e(499))/4)+parseInt(e(484))/5+parseInt(e(467))/6+-parseInt(e(479))/7*(-parseInt(e(486))/8)+parseInt(e(508))/9*(-parseInt(e(482))/10)+parseInt(e(472))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}();var __awaiter=this&&this[a36_0x185e8f(493)]||function(e,r,n,t){const o={VNVMv:function(e,r){return e(r)},emVie:function(e,r){return e(r)}};return new(n||(n=Promise))(function(a,s){const i=a36_0x2982,c={XfxFs:function(e,r){return e(r)},mJVxg:function(e,r){return e(r)},gquSK:function(e,r){return o[a36_0x2982(487)](e,r)}};function u(e){const r=a36_0x2982;try{c[r(463)](f,t.next(e))}catch(e){c.mJVxg(s,e)}}function d(e){const r=a36_0x2982;try{f(t.throw(e))}catch(e){c[r(485)](s,e)}}function f(e){const r=a36_0x2982,t=function(e,r){return o[a36_0x2982(460)](e,r)};var s;e[r(502)]?a(e.value):(s=e[r(476)],s instanceof n?s:new n(function(e){t(e,s)}))[r(458)](u,d)}f((t=t[i(507)](e,r||[]))[i(515)]())})},__importDefault=this&&this[a36_0x185e8f(465)]||function(e){return e&&e[a36_0x185e8f(483)]?e:{default:e}};function a36_0x4bbb(){const e=["stringify","next","addFriendAsync","removeFriend","removeFriendAsync","then","appCode","VNVMv","oBjnv","errorMessage","XfxFs","../../queries/logError","__importDefault","MapToResponseObj","110910uIkspH","gofelix, service: addFriendAsync","../../utilities/mapper","gOKoh","167249SyBwMX","6884955fmrnkw","../../constants","origin","LPGaQ","value","go_felix_user_api","app","1379lchFSt","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for removeFriend","../../queries/removeFriend","70euClXh","__esModule","2402980wzWOjQ","gquSK","7352oOwksO","emVie","default","jSCXh","iOaCe","keys","VDoIO","__awaiter","logError","2tuPAKl","ptJrd","ezAsd","3rOWPWm","2612836tMEYyG","Request Failed, Please make sure you have entered all the method arguments and accessToken","mockCalls","done","accountEmail","../../queries/addFriend","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for addFriend","graphQlCommandNames","apply","85023YxBDQX","gofelix, service: removeFriendAsync","activateMockCalls","accessToken","resolve","Unable to process this request at this time, please try again later"];return(a36_0x4bbb=function(){return e})()}function a36_0x2982(e,r){e-=458;return a36_0x4bbb()[e]}Object.defineProperty(exports,a36_0x185e8f(483),{value:!0}),exports.removeFriendAsync=exports[a36_0x185e8f(516)]=void 0;const mapper_1=require(a36_0x185e8f(469)),logError_1=__importDefault(require(a36_0x185e8f(464))),fetch_1=__importDefault(require("../../utilities/fetch")),addFriend_1=__importDefault(require(a36_0x185e8f(504))),removeFriend_1=__importDefault(require(a36_0x185e8f(481))),constants_1=__importDefault(require(a36_0x185e8f(473))),config_1=__importDefault(require("../../config")),addFriendAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const r=a36_0x185e8f,n={gOKoh:function(e,r){return e&&r},VDoIO:r(505),jylQO:"go_felix_user_api",ptJrd:r(468),oBjnv:r(513)},t={isSuccess:!1,errorMessage:"",errorCode:"",isAddFriendSuccess:!1,friendProfile:null};let o={};const{friendUserName:a,userConfig:s,accessToken:i}=e;try{return n[r(470)](s,a)?(s[r(510)]?s[r(501)].addFriendAsync?o=s[r(501)].addFriendAsync():t.errorMessage=n[r(492)]:o=yield(0,fetch_1.default)(addFriend_1[r(488)],{friendUserName:a},constants_1[r(488)][r(506)].addFriend,{accountEmail:s[r(503)],origin:s.origin,token:e[r(511)]},n.jylQO),Object[r(491)](o).forEach(e=>{(0,mapper_1[r(466)])(t,o,e)}),Promise.resolve(t)):(t[r(462)]=r(500),Promise[r(512)](t))}catch(o){return(0,fetch_1[r(488)])(logError_1[r(488)],{errorDetails:{userName:"",email:s[r(503)],app:constants_1[r(488)][r(478)],env:JSON[r(514)](config_1.default),error:JSON[r(514)](o),argumentsPassedIn:JSON[r(514)](e),codeLocation:n[r(496)],appCode:constants_1.default[r(459)]}},constants_1[r(488)][r(506)][r(494)],{accountEmail:s[r(503)],origin:s.origin,token:i},r(477)),t[r(462)]=n[r(461)],Promise[r(512)](t)}});exports[a36_0x185e8f(516)]=addFriendAsync;const removeFriendAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const r=a36_0x185e8f,n={ezAsd:function(e,r){return e&&r},iOaCe:r(480),LPGaQ:"go_felix_user_api",jSCXh:r(513)},t={isSuccess:!1,errorMessage:"",errorCode:"",isRemoveFriendSuccess:!1};let o={};const{friendUserName:a,userConfig:s,accessToken:i}=e;try{return n[r(497)](a,s)?(s[r(510)]?s[r(501)].removeFriendAsync?o=s.mockCalls[r(518)]():t[r(462)]=n[r(490)]:o=yield(0,fetch_1.default)(removeFriend_1[r(488)],{friendUserName:a},constants_1.default.graphQlCommandNames[r(517)],{accountEmail:s.accountEmail,origin:s[r(474)],token:e[r(511)]},n.LPGaQ),Object[r(491)](o).forEach(e=>{(0,mapper_1[r(466)])(t,o,e)}),Promise[r(512)](t)):(t[r(462)]=r(500),Promise[r(512)](t))}catch(o){return(0,fetch_1[r(488)])(logError_1[r(488)],{errorDetails:{userName:"",email:s[r(503)],app:constants_1.default[r(478)],env:JSON[r(514)](config_1[r(488)]),error:JSON[r(514)](o),argumentsPassedIn:JSON.stringify(e),codeLocation:r(509),appCode:constants_1.default[r(459)]}},constants_1[r(488)][r(506)][r(494)],{accountEmail:s[r(503)],origin:s[r(474)],token:i},n[r(475)]),t[r(462)]=n[r(489)],Promise[r(512)](t)}});exports[a36_0x185e8f(518)]=removeFriendAsync,exports[a36_0x185e8f(488)]={addFriendAsync:exports[a36_0x185e8f(516)],removeFriendAsync:exports.removeFriendAsync};
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
'use strict';const a37_0x1d101a=a37_0x31d9;(function(_0x9a8dbf,_0x5ed46c){const _0x28248a=a37_0x31d9,_0x3b58a6=_0x9a8dbf();while(!![]){try{const _0x42ea34=-parseInt(_0x28248a(0x145))/0x1+parseInt(_0x28248a(0x135))/0x2*(parseInt(_0x28248a(0x12c))/0x3)+-parseInt(_0x28248a(0x110))/0x4+-parseInt(_0x28248a(0x141))/0x5*(parseInt(_0x28248a(0x127))/0x6)+parseInt(_0x28248a(0x128))/0x7*(-parseInt(_0x28248a(0x12f))/0x8)+parseInt(_0x28248a(0x131))/0x9+-parseInt(_0x28248a(0x138))/0xa*(-parseInt(_0x28248a(0x13b))/0xb);if(_0x42ea34===_0x5ed46c)break;else _0x3b58a6['push'](_0x3b58a6['shift']());}catch(_0x28b793){_0x3b58a6['push'](_0x3b58a6['shift']());}}}(a37_0x2b6f,0xe475b));function a37_0x31d9(_0x5f4a3f,_0x2a5701){_0x5f4a3f=_0x5f4a3f-0xff;const _0x2b6f95=a37_0x2b6f();let _0x31d915=_0x2b6f95[_0x5f4a3f];return _0x31d915;}var __awaiter=this&&this[a37_0x1d101a(0x144)]||function(_0x4d1d4b,_0x5cde52,_0x49d88d,_0x99249c){const _0x3057bb={'kVGLF':function(_0x8728c2,_0x5bb1bc){return _0x8728c2(_0x5bb1bc);},'RJdRW':function(_0x3bf1a8,_0x37e5aa){return _0x3bf1a8 instanceof _0x37e5aa;},'ZFBqL':function(_0x1a734d,_0x2fcb81){return _0x1a734d(_0x2fcb81);},'AcZBj':function(_0x3dc2fb,_0x26e971){return _0x3dc2fb(_0x26e971);}};return new(_0x49d88d||(_0x49d88d=Promise))(function(_0x110132,_0x79f2f1){const _0x1b36f1=a37_0x31d9,_0xd8b3c3={'kSHwz':function(_0x2128bb,_0x533979){const _0x42cb58=a37_0x31d9;return _0x3057bb[_0x42cb58(0x116)](_0x2128bb,_0x533979);},'gsFVP':function(_0x1aa948,_0x359466){const _0x58a059=a37_0x31d9;return _0x3057bb[_0x58a059(0x116)](_0x1aa948,_0x359466);}};function _0x48d6b5(_0x54bbaa){const _0x5111dc=a37_0x31d9;try{_0x47fe1d(_0x99249c[_0x5111dc(0x11c)](_0x54bbaa));}catch(_0x550b17){_0x79f2f1(_0x550b17);}}function _0x3f684b(_0x528df8){const _0x2997e7=a37_0x31d9;try{_0xd8b3c3[_0x2997e7(0x123)](_0x47fe1d,_0x99249c[_0x2997e7(0x113)](_0x528df8));}catch(_0x538161){_0xd8b3c3['gsFVP'](_0x79f2f1,_0x538161);}}function _0x47fe1d(_0xcf6a){const _0x1605db=a37_0x31d9;var _0x3dd091;_0xcf6a[_0x1605db(0x130)]?_0x3057bb[_0x1605db(0x11b)](_0x110132,_0xcf6a[_0x1605db(0xff)]):(_0x3dd091=_0xcf6a[_0x1605db(0xff)],_0x3057bb[_0x1605db(0x126)](_0x3dd091,_0x49d88d)?_0x3dd091:new _0x49d88d(function(_0x4a190b){_0xd8b3c3['gsFVP'](_0x4a190b,_0x3dd091);}))['then'](_0x48d6b5,_0x3f684b);}_0x3057bb[_0x1b36f1(0x13a)](_0x47fe1d,(_0x99249c=_0x99249c['apply'](_0x4d1d4b,_0x5cde52||[]))[_0x1b36f1(0x11c)]());});},__importDefault=this&&this[a37_0x1d101a(0x115)]||function(_0xed102){const _0x4be422=a37_0x1d101a;return _0xed102&&_0xed102[_0x4be422(0x117)]?_0xed102:{'default':_0xed102};};Object[a37_0x1d101a(0x139)](exports,a37_0x1d101a(0x117),{'value':!0x0}),exports[a37_0x1d101a(0x136)]=exports[a37_0x1d101a(0x10d)]=exports[a37_0x1d101a(0x129)]=void 0x0;const mapper_1=require(a37_0x1d101a(0x133)),logError_1=__importDefault(require(a37_0x1d101a(0x12e))),fetch_1=__importDefault(require(a37_0x1d101a(0x11a))),getUserMails_1=__importDefault(require(a37_0x1d101a(0x121))),removeUserMail_1=__importDefault(require(a37_0x1d101a(0x122))),addUserMails_1=__importDefault(require(a37_0x1d101a(0x134))),constants_1=__importDefault(require(a37_0x1d101a(0x104))),config_1=__importDefault(require(a37_0x1d101a(0x10e))),removeUserMailAsync=_0x111591=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x29768d=a37_0x1d101a,_0x335008={'zYMVs':function(_0x36ced2,_0x4f26ec){return _0x36ced2&&_0x4f26ec;},'DzSEk':_0x29768d(0x114),'bnNsH':_0x29768d(0x13c),'YGBtm':_0x29768d(0x106)},_0x4494f0={'isSuccess':!0x1,'errorMessage':'','errorCode':'','mailRemoved':!0x1};let _0x41d107={};const {mailId:_0x54b0f4,userConfig:_0x3b213b,accessToken:_0x28a8f5}=_0x111591;try{return _0x335008[_0x29768d(0x10b)](_0x54b0f4,_0x3b213b)?(_0x3b213b['activateMockCalls']?_0x3b213b['mockCalls']['removeUserMailAsync']?_0x41d107=_0x3b213b[_0x29768d(0x13d)][_0x29768d(0x129)]():_0x4494f0['errorMessage']=_0x29768d(0x12a):_0x41d107=yield(0x0,fetch_1[_0x29768d(0x108)])(removeUserMail_1[_0x29768d(0x108)],{'mailId':_0x54b0f4},constants_1[_0x29768d(0x108)][_0x29768d(0x100)][_0x29768d(0x112)],{'accountEmail':_0x3b213b[_0x29768d(0x107)],'origin':_0x3b213b[_0x29768d(0x120)],'token':_0x111591[_0x29768d(0x105)]},_0x335008[_0x29768d(0x111)]),Object['keys'](_0x41d107)[_0x29768d(0x11f)](_0x412509=>{(0x0,mapper_1['MapToResponseObj'])(_0x4494f0,_0x41d107,_0x412509);}),Promise['resolve'](_0x4494f0)):(_0x4494f0['errorMessage']=_0x335008[_0x29768d(0x11e)],Promise['resolve'](_0x4494f0));}catch(_0x572002){return(0x0,fetch_1[_0x29768d(0x108)])(logError_1['default'],{'errorDetails':{'userName':'','email':_0x3b213b[_0x29768d(0x107)],'app':constants_1['default'][_0x29768d(0x10a)],'env':JSON[_0x29768d(0x143)](config_1[_0x29768d(0x108)]),'error':JSON[_0x29768d(0x143)](_0x572002),'argumentsPassedIn':JSON[_0x29768d(0x143)](_0x111591),'codeLocation':_0x335008['YGBtm'],'appCode':constants_1['default'][_0x29768d(0x10f)]}},constants_1[_0x29768d(0x108)][_0x29768d(0x100)][_0x29768d(0x118)],{'accountEmail':_0x3b213b[_0x29768d(0x107)],'origin':_0x3b213b[_0x29768d(0x120)],'token':_0x28a8f5},'go_felix_user_api'),_0x4494f0['errorMessage']='Unable\x20to\x20process\x20this\x20request\x20at\x20this\x20time,\x20please\x20try\x20again\x20later',Promise[_0x29768d(0x13e)](_0x4494f0);}});exports[a37_0x1d101a(0x129)]=removeUserMailAsync;const getUserMailsAsync=(_0xce474f,_0x5f460a)=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x3da0c5=a37_0x1d101a,_0x47860d={'DuDUv':_0x3da0c5(0x114),'cRQKT':_0x3da0c5(0x132),'ZgbPI':'gofelix,\x20service:\x20getUserMailsAsync','zCgSK':_0x3da0c5(0x119)},_0x20e428={'isSuccess':!0x1,'errorMessage':'','errorCode':'','mails':[]};let _0x5a1e98={};try{return _0xce474f?(_0xce474f['activateMockCalls']?_0xce474f[_0x3da0c5(0x13d)]['getUserMailsAsync']?_0x5a1e98=_0xce474f[_0x3da0c5(0x13d)][_0x3da0c5(0x10d)]():_0x20e428['errorMessage']=_0x3da0c5(0x12b):_0x5a1e98=yield(0x0,fetch_1[_0x3da0c5(0x108)])(getUserMails_1[_0x3da0c5(0x108)],{},constants_1[_0x3da0c5(0x108)][_0x3da0c5(0x100)][_0x3da0c5(0x140)],{'accountEmail':_0xce474f[_0x3da0c5(0x107)],'origin':_0xce474f[_0x3da0c5(0x120)],'token':_0x5f460a},_0x47860d[_0x3da0c5(0x142)]),Object[_0x3da0c5(0x124)](_0x5a1e98)[_0x3da0c5(0x11f)](_0x5e474a=>{const _0x5f0229=_0x3da0c5;(0x0,mapper_1[_0x5f0229(0x137)])(_0x20e428,_0x5a1e98,_0x5e474a);}),Promise[_0x3da0c5(0x13e)](_0x20e428)):(_0x20e428[_0x3da0c5(0x13f)]=_0x47860d[_0x3da0c5(0x11d)],Promise[_0x3da0c5(0x13e)](_0x20e428));}catch(_0x4eb28e){return(0x0,fetch_1[_0x3da0c5(0x108)])(logError_1[_0x3da0c5(0x108)],{'errorDetails':{'userName':'','email':_0xce474f['accountEmail'],'app':constants_1['default'][_0x3da0c5(0x10a)],'env':JSON['stringify'](config_1[_0x3da0c5(0x108)]),'error':JSON['stringify'](_0x4eb28e),'argumentsPassedIn':JSON[_0x3da0c5(0x143)](_0xce474f),'codeLocation':_0x47860d['ZgbPI'],'appCode':constants_1[_0x3da0c5(0x108)][_0x3da0c5(0x10f)]}},constants_1[_0x3da0c5(0x108)]['graphQlCommandNames'][_0x3da0c5(0x118)],{'accountEmail':_0xce474f[_0x3da0c5(0x107)],'origin':_0xce474f[_0x3da0c5(0x120)],'token':_0x5f460a},_0x47860d['DuDUv']),_0x20e428[_0x3da0c5(0x13f)]=_0x47860d[_0x3da0c5(0x103)],Promise['resolve'](_0x20e428);}});exports[a37_0x1d101a(0x10d)]=getUserMailsAsync;const addUserMailsAsync=_0x43ca7a=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x3bd156=a37_0x1d101a,_0x9c0288={'VbSOk':_0x3bd156(0x109),'CiGYq':_0x3bd156(0x114),'CKvou':'Request\x20Failed,\x20Please\x20make\x20sure\x20you\x20have\x20entered\x20the\x20accessToken','tyYRd':'gofelix,\x20service:\x20addUserMailsAsync','Bgmzu':_0x3bd156(0x119)},_0x1acea6={'isSuccess':!0x1,'errorMessage':'','errorCode':'','hasUpdated':!0x1};let _0x1bf869={};const {mails:_0xfe37e6,userConfig:_0x175092,accessToken:_0x42e503}=_0x43ca7a;try{return _0x175092&&_0xfe37e6?(_0x175092[_0x3bd156(0x125)]?_0x175092[_0x3bd156(0x13d)]['addUserMailsAsync']?_0x1bf869=_0x175092[_0x3bd156(0x13d)][_0x3bd156(0x136)]():_0x1acea6[_0x3bd156(0x13f)]=_0x9c0288[_0x3bd156(0x12d)]:_0x1bf869=yield(0x0,fetch_1[_0x3bd156(0x108)])(addUserMails_1['default'],{'mails':_0xfe37e6},constants_1[_0x3bd156(0x108)][_0x3bd156(0x100)][_0x3bd156(0x10c)],{'accountEmail':_0x175092[_0x3bd156(0x107)],'origin':_0x175092[_0x3bd156(0x120)],'token':_0x43ca7a['accessToken']},_0x9c0288[_0x3bd156(0x102)]),Object['keys'](_0x1bf869)[_0x3bd156(0x11f)](_0xc8ae7e=>{(0x0,mapper_1['MapToResponseObj'])(_0x1acea6,_0x1bf869,_0xc8ae7e);}),Promise[_0x3bd156(0x13e)](_0x1acea6)):(_0x1acea6[_0x3bd156(0x13f)]=_0x9c0288['CKvou'],Promise[_0x3bd156(0x13e)](_0x1acea6));}catch(_0x12fec2){return(0x0,fetch_1[_0x3bd156(0x108)])(logError_1[_0x3bd156(0x108)],{'errorDetails':{'userName':'','email':_0x175092[_0x3bd156(0x107)],'app':constants_1['default']['app'],'env':JSON['stringify'](config_1[_0x3bd156(0x108)]),'error':JSON[_0x3bd156(0x143)](_0x12fec2),'argumentsPassedIn':JSON[_0x3bd156(0x143)](_0x43ca7a),'codeLocation':_0x9c0288['tyYRd'],'appCode':constants_1['default']['appCode']}},constants_1['default'][_0x3bd156(0x100)][_0x3bd156(0x118)],{'accountEmail':_0x175092[_0x3bd156(0x107)],'origin':_0x175092['origin'],'token':_0x42e503},_0x9c0288[_0x3bd156(0x102)]),_0x1acea6[_0x3bd156(0x13f)]=_0x9c0288[_0x3bd156(0x101)],Promise[_0x3bd156(0x13e)](_0x1acea6);}});function a37_0x2b6f(){const _0x3a901f=['throw','go_felix_user_api','__importDefault','ZFBqL','__esModule','logError','Unable\x20to\x20process\x20this\x20request\x20at\x20this\x20time,\x20please\x20try\x20again\x20later','../../utilities/fetch','kVGLF','next','cRQKT','bnNsH','forEach','origin','../../queries/getUserMails','../../queries/removeUserMail','kSHwz','keys','activateMockCalls','RJdRW','6VEBbbt','1372511wDEQOx','removeUserMailAsync','Request\x20Failed,\x20you\x20set\x20activateMockCalls\x20to\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20but\x20you\x20have\x20not\x20added\x20a\x20mock\x20function\x20for\x20removeUserMail','Request\x20Failed,\x20you\x20set\x20activateMockCalls\x20to\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20but\x20you\x20have\x20not\x20added\x20a\x20mock\x20function\x20for\x20getUserMails','12309MZCvlI','VbSOk','../../queries/logError','72QNdykv','done','12003075UGvuDW','Request\x20Failed,\x20Please\x20make\x20sure\x20you\x20have\x20entered\x20the\x20accessToken','../../utilities/mapper','../../queries/addUserMails','812jcmnel','addUserMailsAsync','MapToResponseObj','10jcpvtS','defineProperty','AcZBj','33904101vBkLRS','Request\x20Failed,\x20Please\x20make\x20sure\x20you\x20have\x20enter\x20all\x20the\x20method\x20arguments\x20and\x20accessToken','mockCalls','resolve','errorMessage','getUserMails','4911765gpiFJM','DuDUv','stringify','__awaiter','1712913EEvKgO','value','graphQlCommandNames','Bgmzu','CiGYq','zCgSK','../../constants','accessToken','gofelix,\x20service:\x20removeUserMailAsync','accountEmail','default','Request\x20Failed,\x20you\x20set\x20activateMockCalls\x20to\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20but\x20you\x20have\x20not\x20added\x20a\x20mock\x20function\x20for\x20addUserMails','app','zYMVs','addUserMails','getUserMailsAsync','../../config','appCode','2743960KScnIO','DzSEk','removeUserMail'];a37_0x2b6f=function(){return _0x3a901f;};return a37_0x2b6f();}exports[a37_0x1d101a(0x136)]=addUserMailsAsync,exports[a37_0x1d101a(0x108)]={'removeUserMailAsync':exports['removeUserMailAsync'],'getUserMailsAsync':exports[a37_0x1d101a(0x10d)],'addUserMailsAsync':exports[a37_0x1d101a(0x136)]};
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";const a37_0x1d101a=a37_0x31d9;function a37_0x31d9(e,a){e-=255;return a37_0x2b6f()[e]}!function(){const e=a37_0x31d9,a=a37_0x2b6f();for(;;)try{if(935771===-parseInt(e(325))/1+parseInt(e(309))/2*(parseInt(e(300))/3)+-parseInt(e(272))/4+-parseInt(e(321))/5*(parseInt(e(295))/6)+parseInt(e(296))/7*(-parseInt(e(303))/8)+parseInt(e(305))/9+-parseInt(e(312))/10*(-parseInt(e(315))/11))break;a.push(a.shift())}catch(e){a.push(a.shift())}}();var __awaiter=this&&this[a37_0x1d101a(324)]||function(e,a,s,r){const t={kVGLF:function(e,a){return e(a)},RJdRW:function(e,a){return e instanceof a},ZFBqL:function(e,a){return e(a)},AcZBj:function(e,a){return e(a)}};return new(s||(s=Promise))(function(o,n){const i=a37_0x31d9,c={kSHwz:function(e,a){return t[a37_0x31d9(278)](e,a)},gsFVP:function(e,a){return t[a37_0x31d9(278)](e,a)}};function l(e){const a=a37_0x31d9;try{d(r[a(284)](e))}catch(e){n(e)}}function u(e){const a=a37_0x31d9;try{c[a(291)](d,r[a(275)](e))}catch(e){c.gsFVP(n,e)}}function d(e){const a=a37_0x31d9;var r;e[a(304)]?t[a(283)](o,e[a(255)]):(r=e[a(255)],t[a(294)](r,s)?r:new s(function(e){c.gsFVP(e,r)})).then(l,u)}t[i(314)](d,(r=r.apply(e,a||[]))[i(284)]())})},__importDefault=this&&this[a37_0x1d101a(277)]||function(e){return e&&e[a37_0x1d101a(279)]?e:{default:e}};Object[a37_0x1d101a(313)](exports,a37_0x1d101a(279),{value:!0}),exports[a37_0x1d101a(310)]=exports[a37_0x1d101a(269)]=exports[a37_0x1d101a(297)]=void 0;const mapper_1=require(a37_0x1d101a(307)),logError_1=__importDefault(require(a37_0x1d101a(302))),fetch_1=__importDefault(require(a37_0x1d101a(282))),getUserMails_1=__importDefault(require(a37_0x1d101a(289))),removeUserMail_1=__importDefault(require(a37_0x1d101a(290))),addUserMails_1=__importDefault(require(a37_0x1d101a(308))),constants_1=__importDefault(require(a37_0x1d101a(260))),config_1=__importDefault(require(a37_0x1d101a(270))),removeUserMailAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const a=a37_0x1d101a,s={zYMVs:function(e,a){return e&&a},DzSEk:a(276),bnNsH:a(316),YGBtm:a(262)},r={isSuccess:!1,errorMessage:"",errorCode:"",mailRemoved:!1};let t={};const{mailId:o,userConfig:n,accessToken:i}=e;try{return s[a(267)](o,n)?(n.activateMockCalls?n.mockCalls.removeUserMailAsync?t=n[a(317)][a(297)]():r.errorMessage=a(298):t=yield(0,fetch_1[a(264)])(removeUserMail_1[a(264)],{mailId:o},constants_1[a(264)][a(256)][a(274)],{accountEmail:n[a(263)],origin:n[a(288)],token:e[a(261)]},s[a(273)]),Object.keys(t)[a(287)](e=>{(0,mapper_1.MapToResponseObj)(r,t,e)}),Promise.resolve(r)):(r.errorMessage=s[a(286)],Promise.resolve(r))}catch(t){return(0,fetch_1[a(264)])(logError_1.default,{errorDetails:{userName:"",email:n[a(263)],app:constants_1.default[a(266)],env:JSON[a(323)](config_1[a(264)]),error:JSON[a(323)](t),argumentsPassedIn:JSON[a(323)](e),codeLocation:s.YGBtm,appCode:constants_1.default[a(271)]}},constants_1[a(264)][a(256)][a(280)],{accountEmail:n[a(263)],origin:n[a(288)],token:i},"go_felix_user_api"),r.errorMessage="Unable to process this request at this time, please try again later",Promise[a(318)](r)}});exports[a37_0x1d101a(297)]=removeUserMailAsync;const getUserMailsAsync=(e,a)=>__awaiter(void 0,void 0,void 0,function*(){const s=a37_0x1d101a,r={DuDUv:s(276),cRQKT:s(306),ZgbPI:"gofelix, service: getUserMailsAsync",zCgSK:s(281)},t={isSuccess:!1,errorMessage:"",errorCode:"",mails:[]};let o={};try{return e?(e.activateMockCalls?e[s(317)].getUserMailsAsync?o=e[s(317)][s(269)]():t.errorMessage=s(299):o=yield(0,fetch_1[s(264)])(getUserMails_1[s(264)],{},constants_1[s(264)][s(256)][s(320)],{accountEmail:e[s(263)],origin:e[s(288)],token:a},r[s(322)]),Object[s(292)](o)[s(287)](e=>{(0,mapper_1[s(311)])(t,o,e)}),Promise[s(318)](t)):(t[s(319)]=r[s(285)],Promise[s(318)](t))}catch(o){return(0,fetch_1[s(264)])(logError_1[s(264)],{errorDetails:{userName:"",email:e.accountEmail,app:constants_1.default[s(266)],env:JSON.stringify(config_1[s(264)]),error:JSON.stringify(o),argumentsPassedIn:JSON[s(323)](e),codeLocation:r.ZgbPI,appCode:constants_1[s(264)][s(271)]}},constants_1[s(264)].graphQlCommandNames[s(280)],{accountEmail:e[s(263)],origin:e[s(288)],token:a},r.DuDUv),t[s(319)]=r[s(259)],Promise.resolve(t)}});exports[a37_0x1d101a(269)]=getUserMailsAsync;const addUserMailsAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const a=a37_0x1d101a,s={VbSOk:a(265),CiGYq:a(276),CKvou:"Request Failed, Please make sure you have entered the accessToken",tyYRd:"gofelix, service: addUserMailsAsync",Bgmzu:a(281)},r={isSuccess:!1,errorMessage:"",errorCode:"",hasUpdated:!1};let t={};const{mails:o,userConfig:n,accessToken:i}=e;try{return n&&o?(n[a(293)]?n[a(317)].addUserMailsAsync?t=n[a(317)][a(310)]():r[a(319)]=s[a(301)]:t=yield(0,fetch_1[a(264)])(addUserMails_1.default,{mails:o},constants_1[a(264)][a(256)][a(268)],{accountEmail:n[a(263)],origin:n[a(288)],token:e.accessToken},s[a(258)]),Object.keys(t)[a(287)](e=>{(0,mapper_1.MapToResponseObj)(r,t,e)}),Promise[a(318)](r)):(r[a(319)]=s.CKvou,Promise[a(318)](r))}catch(t){return(0,fetch_1[a(264)])(logError_1[a(264)],{errorDetails:{userName:"",email:n[a(263)],app:constants_1.default.app,env:JSON.stringify(config_1[a(264)]),error:JSON[a(323)](t),argumentsPassedIn:JSON[a(323)](e),codeLocation:s.tyYRd,appCode:constants_1.default.appCode}},constants_1.default[a(256)][a(280)],{accountEmail:n[a(263)],origin:n.origin,token:i},s[a(258)]),r[a(319)]=s[a(257)],Promise[a(318)](r)}});function a37_0x2b6f(){const e=["throw","go_felix_user_api","__importDefault","ZFBqL","__esModule","logError","Unable to process this request at this time, please try again later","../../utilities/fetch","kVGLF","next","cRQKT","bnNsH","forEach","origin","../../queries/getUserMails","../../queries/removeUserMail","kSHwz","keys","activateMockCalls","RJdRW","6VEBbbt","1372511wDEQOx","removeUserMailAsync","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for removeUserMail","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for getUserMails","12309MZCvlI","VbSOk","../../queries/logError","72QNdykv","done","12003075UGvuDW","Request Failed, Please make sure you have entered the accessToken","../../utilities/mapper","../../queries/addUserMails","812jcmnel","addUserMailsAsync","MapToResponseObj","10jcpvtS","defineProperty","AcZBj","33904101vBkLRS","Request Failed, Please make sure you have enter all the method arguments and accessToken","mockCalls","resolve","errorMessage","getUserMails","4911765gpiFJM","DuDUv","stringify","__awaiter","1712913EEvKgO","value","graphQlCommandNames","Bgmzu","CiGYq","zCgSK","../../constants","accessToken","gofelix, service: removeUserMailAsync","accountEmail","default","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for addUserMails","app","zYMVs","addUserMails","getUserMailsAsync","../../config","appCode","2743960KScnIO","DzSEk","removeUserMail"];return(a37_0x2b6f=function(){return e})()}exports[a37_0x1d101a(310)]=addUserMailsAsync,exports[a37_0x1d101a(264)]={removeUserMailAsync:exports.removeUserMailAsync,getUserMailsAsync:exports[a37_0x1d101a(269)],addUserMailsAsync:exports[a37_0x1d101a(310)]};
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";function a38_0x5f53(){const e=["lAKUt","124680rnETvw","kdhxQ","errorMessage","stringify","subscribeToCompanyAsync","__esModule","../../queries/logError","__importDefault","../../constants","app","graphQlCommandNames","../../utilities/fetch","gofelix, service: unSubscribeToCompanyAsync","jnCVf","189ssBpSP","zaNcZ","default","778986PxWJtS","throw","sYEAH","done","__awaiter","Request Failed, Please make sure you have entered all the method arguments and accessToken","UKApK","785280PiLoWf","mockCalls","unSubscribeToCompanyAsync","../../queries/unSubscribeToCompany","appCode","Unable to process this request at this time, please try again later","value","EbqsY","forEach","QcTOp","go_felix_user_api","origin","RdTvb","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for subscribeToCompany","next","accountEmail","wPAMr","274306CMAjlt","1693419YvNZKF","activateMockCalls","MapToResponseObj","KOrco","365604VgVBvm","keys","defineProperty","rghWJ","6BQDwpa","../../config","yKBSM","1579675GJhUFL","subscribeToCompany","ojPRQ","CiHwu","../../queries/subscribeToCompany","resolve","logError"];return(a38_0x5f53=function(){return e})()}const a38_0x584c65=a38_0x55c9;!function(){const e=a38_0x55c9,o=a38_0x5f53();for(;;)try{if(186148===parseInt(e(279))/1+parseInt(e(274))/2+-parseInt(e(311))/3+parseInt(e(257))/4+parseInt(e(286))/5*(parseInt(e(283))/6)+-parseInt(e(275))/7+parseInt(e(294))/8*(-parseInt(e(308))/9))break;o.push(o.shift())}catch(e){o.push(o.shift())}}();var __awaiter=this&&this[a38_0x584c65(315)]||function(e,o,n,r){const t={qkDiO:function(e,o){return e(o)},jnCVf:function(e,o){return e(o)},rghWJ:function(e,o){return e(o)},yKBSM:function(e,o){return e instanceof o}};return new(n||(n=Promise))(function(a,c){const s=a38_0x55c9,i={sYEAH:function(e,o){return e(o)},RdTvb:function(e,o){return t[a38_0x55c9(282)](e,o)},zaNcZ:function(e,o){return t[a38_0x55c9(285)](e,o)}};function u(e){const o=a38_0x55c9;try{t.qkDiO(_,r[o(271)](e))}catch(e){t[o(307)](c,e)}}function p(e){const o=a38_0x55c9;try{_(r[o(312)](e))}catch(e){i.sYEAH(c,e)}}function _(e){const o=a38_0x55c9;var r;e[o(314)]?i[o(313)](a,e.value):(r=e[o(263)],i[o(309)](r,n)?r:new n(function(e){i[o(269)](e,r)})).then(u,p)}_((r=r.apply(e,o||[]))[s(271)]())})},__importDefault=this&&this[a38_0x584c65(301)]||function(e){return e&&e[a38_0x584c65(299)]?e:{default:e}};function a38_0x55c9(e,o){e-=255;return a38_0x5f53()[e]}Object[a38_0x584c65(281)](exports,a38_0x584c65(299),{value:!0}),exports[a38_0x584c65(259)]=exports[a38_0x584c65(298)]=void 0;const mapper_1=require("../../utilities/mapper"),logError_1=__importDefault(require(a38_0x584c65(300))),fetch_1=__importDefault(require(a38_0x584c65(305))),subscribeToCompany_1=__importDefault(require(a38_0x584c65(290))),unSubscribeToCompany_1=__importDefault(require(a38_0x584c65(260))),constants_1=__importDefault(require(a38_0x584c65(302))),config_1=__importDefault(require(a38_0x584c65(284))),subscribeToCompanyAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const o=a38_0x584c65,n={ojPRQ:function(e,o){return e&&o},QcTOp:o(270),kdhxQ:o(267),AAADZ:o(255),lAKUt:"gofelix, service: subscribeToCompanyAsync",KOrco:o(262)},r={isSuccess:!1,errorMessage:"",errorCode:"",isSubscribe:!1};let t={};const{companyName:a,userConfig:c,accessToken:s,branchName:i}=e;try{return n[o(288)](e,a)?(c.activateMockCalls?c[o(258)][o(298)]?t=c[o(258)][o(298)]():r[o(296)]=n[o(266)]:t=yield(0,fetch_1.default)(subscribeToCompany_1[o(310)],{companyName:a,branchName:i,expoToken:""},constants_1[o(310)][o(304)][o(287)],{accountEmail:c[o(272)],origin:c.origin,token:e.accessToken},n[o(295)]),Object[o(280)](t)[o(265)](e=>{(0,mapper_1[o(277)])(r,t,e)}),Promise[o(291)](r)):(r[o(296)]=n.AAADZ,Promise[o(291)](r))}catch(t){return(0,fetch_1[o(310)])(logError_1[o(310)],{errorDetails:{userName:"",email:c[o(272)],app:constants_1[o(310)][o(303)],env:JSON[o(297)](config_1.default),error:JSON[o(297)](t),argumentsPassedIn:JSON.stringify(e),codeLocation:n[o(293)],appCode:constants_1[o(310)][o(261)]}},constants_1[o(310)][o(304)][o(292)],{accountEmail:c[o(272)],origin:c[o(268)],token:s},n[o(295)]),r[o(296)]=n[o(278)],Promise[o(291)](r)}});exports.subscribeToCompanyAsync=subscribeToCompanyAsync;const unSubscribeToCompanyAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const o=a38_0x584c65,n={UKApK:function(e,o){return e&&o},CiHwu:"Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for unSubscribeToCompany",wPAMr:o(267),EbqsY:o(255),GainP:o(262)},r={isSuccess:!1,errorMessage:"",errorCode:"",isUnSubscribe:!1};let t={};const{companyName:a,userConfig:c,accessToken:s,branchName:i}=e;try{return n[o(256)](e,a)?(c[o(276)]?c[o(258)][o(259)]?t=c[o(258)][o(259)]():r[o(296)]=n[o(289)]:t=yield(0,fetch_1[o(310)])(unSubscribeToCompany_1.default,{companyName:a,branchName:i,expoToken:""},constants_1.default[o(304)].unSubscribeToCompany,{accountEmail:c.accountEmail,origin:c[o(268)],token:e.accessToken},n[o(273)]),Object[o(280)](t)[o(265)](e=>{(0,mapper_1[o(277)])(r,t,e)}),Promise[o(291)](r)):(r[o(296)]=n[o(264)],Promise[o(291)](r))}catch(t){return(0,fetch_1[o(310)])(logError_1[o(310)],{errorDetails:{userName:"",email:c[o(272)],app:constants_1[o(310)][o(303)],env:JSON.stringify(config_1[o(310)]),error:JSON[o(297)](t),argumentsPassedIn:JSON.stringify(e),codeLocation:o(306),appCode:constants_1.default.appCode}},constants_1.default[o(304)][o(292)],{accountEmail:c[o(272)],origin:c.origin,token:s},o(267)),r[o(296)]=n.GainP,Promise[o(291)](r)}});exports[a38_0x584c65(259)]=unSubscribeToCompanyAsync,exports[a38_0x584c65(310)]={subscribeToCompanyAsync:exports[a38_0x584c65(298)],unSubscribeToCompanyAsync:exports[a38_0x584c65(259)]};
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";const a39_0x1e7514=a39_0x10bb;!function(){const e=a39_0x10bb,r=a39_0x4599();for(;;)try{if(487273===parseInt(e(214))/1*(parseInt(e(218))/2)+parseInt(e(235))/3*(-parseInt(e(208))/4)+-parseInt(e(193))/5*(-parseInt(e(192))/6)+parseInt(e(210))/7+parseInt(e(221))/8+parseInt(e(215))/9+parseInt(e(212))/10*(-parseInt(e(184))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}();var __awaiter=this&&this[a39_0x1e7514(195)]||function(e,r,t,a){const n={tEsvA:function(e,r){return e(r)}};return new(t||(t=Promise))(function(s,o){const c=a39_0x10bb,i={VyQTs:function(e,r){return e(r)},KiMSk:function(e,r){return n[a39_0x10bb(211)](e,r)},RxoVv:function(e,r){return e instanceof r}};function u(e){const r=a39_0x10bb;try{i[r(226)](_,a[r(187)](e))}catch(e){o(e)}}function p(e){const r=a39_0x10bb;try{i[r(226)](_,a.throw(e))}catch(e){i[r(226)](o,e)}}function _(e){const r=a39_0x10bb,a={Vgrfk:function(e,r){return i[a39_0x10bb(200)](e,r)}};var n;e[r(230)]?s(e[r(197)]):(n=e.value,i.RxoVv(n,t)?n:new t(function(e){a[r(198)](e,n)}))[r(227)](u,p)}n[c(211)](_,(a=a[c(236)](e,r||[]))[c(187)]())})},__importDefault=this&&this.__importDefault||function(e){return e&&e[a39_0x1e7514(231)]?e:{default:e}};function a39_0x4599(){const e=["MapToResponseObj","origin","../../config","19218TyarOr","apply","Vpzut","956461LVUlZh","../../utilities/fetch","accessToken","next","addUserExperienceAsync","stringify","defineProperty","default","1486434QIzsAI","5IcvUOF","../../queries/addUserExperience","__awaiter","aaRLf","value","Vgrfk","../../utilities/mapper","KiMSk","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for addUserExperience","../../queries/logError","appCode","gofelix, service: addUserExperienceAsync","keys","logError","Request Failed, Please make sure you have entered all the method arguments and accessToken","592neNpcP","app","1871072DRmTkP","tEsvA","60apEuoj","go_felix_user_api","25yMkfnK","5172435aJqOnP","../../constants","accountEmail","38758zbjZkw","errorMessage","Omrct","3062736xlvjcN","SQzCB","activateMockCalls","addUserExperience","mockCalls","VyQTs","then","XxweL","PrFwo","done","__esModule"];return(a39_0x4599=function(){return e})()}Object[a39_0x1e7514(190)](exports,a39_0x1e7514(231),{value:!0}),exports[a39_0x1e7514(188)]=void 0;const mapper_1=require(a39_0x1e7514(199)),logError_1=__importDefault(require(a39_0x1e7514(202))),fetch_1=__importDefault(require(a39_0x1e7514(185))),addUserExperience_1=__importDefault(require(a39_0x1e7514(194))),constants_1=__importDefault(require(a39_0x1e7514(216))),config_1=__importDefault(require(a39_0x1e7514(234))),addUserExperienceAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const r=a39_0x1e7514,t={Vpzut:function(e,r){return e&&r},PrFwo:r(201),XxweL:r(213),SQzCB:r(207),Omrct:r(204),aaRLf:"Unable to process this request at this time, please try again later"},a={isSuccess:!1,errorMessage:"",errorCode:"",isUserExperienceAdded:!1};let n={};const{experience:s,experienceCategory:o,rate:c,updateIntervalHours:i,userConfig:u,accessToken:p,companyName:_,advertId:d,branchName:l}=e;try{return t[r(237)](e,u)?(u[r(223)]?u[r(225)][r(188)]?n=u.mockCalls[r(188)]():a[r(219)]=t[r(229)]:n=yield(0,fetch_1[r(191)])(addUserExperience_1[r(191)],{experience:s,experienceCate:o,rate:c,updateIntervalHours:i,companyName:_,advertId:d,branchName:l},constants_1[r(191)].graphQlCommandNames[r(224)],{accountEmail:u[r(217)],origin:u[r(233)],token:e[r(186)]},t[r(228)]),Object[r(205)](n).forEach(e=>{(0,mapper_1[r(232)])(a,n,e)}),Promise.resolve(a)):(a[r(219)]=t[r(222)],Promise.resolve(a))}catch(n){return(0,fetch_1[r(191)])(logError_1[r(191)],{errorDetails:{userName:"",email:u[r(217)],app:constants_1.default[r(209)],env:JSON[r(189)](config_1[r(191)]),error:JSON[r(189)](n),argumentsPassedIn:JSON[r(189)](e),codeLocation:t[r(220)],appCode:constants_1.default[r(203)]}},constants_1[r(191)].graphQlCommandNames[r(206)],{accountEmail:u[r(217)],origin:u[r(233)],token:p},t.XxweL),a[r(219)]=t[r(196)],Promise.resolve(a)}});function a39_0x10bb(e,r){e-=184;return a39_0x4599()[e]}exports.addUserExperienceAsync=addUserExperienceAsync,exports.default={addUserExperienceAsync:exports[a39_0x1e7514(188)]};
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
'use strict';const a40_0x4fd776=a40_0x4654;(function(_0x2293f4,_0x4cfa99){const _0x27d03b=a40_0x4654,_0x342d81=_0x2293f4();while(!![]){try{const _0x105624=-parseInt(_0x27d03b(0x139))/0x1*(-parseInt(_0x27d03b(0x13b))/0x2)+-parseInt(_0x27d03b(0x122))/0x3+parseInt(_0x27d03b(0x10d))/0x4+-parseInt(_0x27d03b(0x131))/0x5*(parseInt(_0x27d03b(0x130))/0x6)+parseInt(_0x27d03b(0x115))/0x7*(-parseInt(_0x27d03b(0x10f))/0x8)+parseInt(_0x27d03b(0x123))/0x9*(-parseInt(_0x27d03b(0x120))/0xa)+parseInt(_0x27d03b(0xea))/0xb*(parseInt(_0x27d03b(0xf8))/0xc);if(_0x105624===_0x4cfa99)break;else _0x342d81['push'](_0x342d81['shift']());}catch(_0x33c792){_0x342d81['push'](_0x342d81['shift']());}}}(a40_0x1f7b,0xeaa87));var __awaiter=this&&this[a40_0x4fd776(0x10e)]||function(_0x42283b,_0x56789b,_0x173d81,_0x22dbc1){const _0x2884a9={'XqSTd':function(_0x53b01b,_0x3c2f9a){return _0x53b01b(_0x3c2f9a);},'ROPPI':function(_0x3c7c33,_0x508b1c){return _0x3c7c33(_0x508b1c);},'WQOop':function(_0x16eb0a,_0x14df7d){return _0x16eb0a(_0x14df7d);},'IsaDI':function(_0x265126,_0x2a9cae){return _0x265126 instanceof _0x2a9cae;}};return new(_0x173d81||(_0x173d81=Promise))(function(_0x2418ae,_0x21df8c){const _0x55e020=a40_0x4654,_0x9e8b37={'Ditfp':function(_0x3aca85,_0x3d0889){return _0x2884a9['ROPPI'](_0x3aca85,_0x3d0889);},'GxEQP':function(_0x4f943a,_0x33d765){return _0x2884a9['WQOop'](_0x4f943a,_0x33d765);},'DXcfr':function(_0x32fa19,_0x581acc){const _0x27ce0c=a40_0x4654;return _0x2884a9[_0x27ce0c(0x12b)](_0x32fa19,_0x581acc);}};function _0x26efc3(_0x33370d){const _0x2f2253=a40_0x4654;try{_0x9e8b37[_0x2f2253(0x113)](_0x3fbec2,_0x22dbc1[_0x2f2253(0x129)](_0x33370d));}catch(_0x4868d0){_0x9e8b37[_0x2f2253(0x113)](_0x21df8c,_0x4868d0);}}function _0x5457ed(_0x926efe){const _0x2d4022=a40_0x4654;try{_0x3fbec2(_0x22dbc1[_0x2d4022(0x106)](_0x926efe));}catch(_0xd5192e){_0x2884a9[_0x2d4022(0x116)](_0x21df8c,_0xd5192e);}}function _0x3fbec2(_0x4cfc64){const _0x2f6fda=a40_0x4654,_0x834bba={'yOeci':function(_0x319284,_0xc43d5b){const _0x26ba6c=a40_0x4654;return _0x9e8b37[_0x26ba6c(0xf3)](_0x319284,_0xc43d5b);}};var _0x1d1bd2;_0x4cfc64[_0x2f6fda(0x117)]?_0x9e8b37[_0x2f6fda(0xf3)](_0x2418ae,_0x4cfc64[_0x2f6fda(0xfb)]):(_0x1d1bd2=_0x4cfc64[_0x2f6fda(0xfb)],_0x9e8b37[_0x2f6fda(0x136)](_0x1d1bd2,_0x173d81)?_0x1d1bd2:new _0x173d81(function(_0x5a5570){_0x834bba['yOeci'](_0x5a5570,_0x1d1bd2);}))[_0x2f6fda(0xe9)](_0x26efc3,_0x5457ed);}_0x2884a9[_0x55e020(0x116)](_0x3fbec2,(_0x22dbc1=_0x22dbc1[_0x55e020(0x11e)](_0x42283b,_0x56789b||[]))[_0x55e020(0x129)]());});},__importDefault=this&&this[a40_0x4fd776(0x102)]||function(_0x463c0e){const _0x5434ad=a40_0x4fd776;return _0x463c0e&&_0x463c0e[_0x5434ad(0x11a)]?_0x463c0e:{'default':_0x463c0e};};Object[a40_0x4fd776(0xfa)](exports,a40_0x4fd776(0x11a),{'value':!0x0}),exports[a40_0x4fd776(0x128)]=exports[a40_0x4fd776(0xf0)]=exports[a40_0x4fd776(0x109)]=exports[a40_0x4fd776(0x125)]=void 0x0;const mapper_1=require(a40_0x4fd776(0xf4)),logError_1=__importDefault(require(a40_0x4fd776(0x107))),fetch_1=__importDefault(require('../../utilities/fetch')),getUserProfiles_1=__importDefault(require(a40_0x4fd776(0x101))),updateUserProfile_1=__importDefault(require(a40_0x4fd776(0x10b))),getUserBulkData_1=__importDefault(require(a40_0x4fd776(0xec))),updateUserSettings_1=__importDefault(require(a40_0x4fd776(0x138))),constants_1=__importDefault(require(a40_0x4fd776(0xf5))),config_1=__importDefault(require('../../config')),getUserProfilesAsync=_0x175cce=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x50c3dc=a40_0x4fd776,_0x9f7e60={'FzMbu':function(_0xb1bda8,_0x1569eb){return _0xb1bda8&&_0x1569eb;},'xWQox':_0x50c3dc(0x110),'EuydL':_0x50c3dc(0x12f),'MFudq':'gofelix,\x20service:\x20getUserProfilesAsync','cBYNX':_0x50c3dc(0xfc),'pIlIA':_0x50c3dc(0x133)},_0x2f6a8d={'isSuccess':!0x1,'errorMessage':'','errorCode':'','hasUserProfiles':!0x1,'userProfiles':[]};let _0x1e250b={};const {index:_0x4c6691=0x0,value:_0x2fb8db,accessToken:_0x40d8cf,userConfig:_0x15df41}=_0x175cce;try{return _0x9f7e60[_0x50c3dc(0xff)](_0x2fb8db,_0x40d8cf)?(_0x15df41['activateMockCalls']?_0x15df41[_0x50c3dc(0xfe)]['getUserProfilesAsync']?_0x1e250b=_0x15df41[_0x50c3dc(0xfe)][_0x50c3dc(0x125)]():_0x2f6a8d[_0x50c3dc(0x100)]=_0x9f7e60['xWQox']:_0x1e250b=yield(0x0,fetch_1['default'])(getUserProfiles_1['default'],{'index':_0x4c6691,'value':_0x2fb8db},constants_1[_0x50c3dc(0x111)][_0x50c3dc(0xf7)][_0x50c3dc(0x11d)],{'accountEmail':_0x15df41['accountEmail'],'origin':_0x15df41[_0x50c3dc(0x134)],'token':_0x175cce[_0x50c3dc(0x104)]},_0x50c3dc(0xfc)),Object[_0x50c3dc(0x10a)](_0x1e250b)[_0x50c3dc(0xf1)](_0x2598d4=>{const _0x52d7c1=_0x50c3dc;(0x0,mapper_1[_0x52d7c1(0x132)])(_0x2f6a8d,_0x1e250b,_0x2598d4);}),Promise[_0x50c3dc(0xf2)](_0x2f6a8d)):(_0x2f6a8d[_0x50c3dc(0x100)]=_0x9f7e60[_0x50c3dc(0xfd)],Promise[_0x50c3dc(0xf2)](_0x2f6a8d));}catch(_0x7db532){return(0x0,fetch_1[_0x50c3dc(0x111)])(logError_1[_0x50c3dc(0x111)],{'errorDetails':{'userName':'','email':_0x15df41[_0x50c3dc(0x119)],'app':constants_1['default'][_0x50c3dc(0x118)],'env':JSON[_0x50c3dc(0xf6)](config_1[_0x50c3dc(0x111)]),'error':JSON[_0x50c3dc(0xf6)](_0x7db532),'argumentsPassedIn':JSON['stringify'](_0x175cce),'codeLocation':_0x9f7e60[_0x50c3dc(0x112)],'appCode':constants_1[_0x50c3dc(0x111)][_0x50c3dc(0x105)]}},constants_1[_0x50c3dc(0x111)]['graphQlCommandNames']['logError'],{'accountEmail':_0x15df41[_0x50c3dc(0x119)],'origin':_0x15df41[_0x50c3dc(0x134)],'token':_0x40d8cf},_0x9f7e60['cBYNX']),_0x2f6a8d['errorMessage']=_0x9f7e60[_0x50c3dc(0x13e)],Promise[_0x50c3dc(0xf2)](_0x2f6a8d);}});exports['getUserProfilesAsync']=getUserProfilesAsync;const getUserBulkDataAsync=(_0x769f15,_0x19ff10)=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x428101=a40_0x4fd776,_0x5d1ab7={'TAiwq':_0x428101(0x12c),'SMgpH':'go_felix_user_api','qQyEj':'Request\x20Failed,\x20Please\x20make\x20sure\x20you\x20have\x20enter\x20all\x20the\x20method\x20arguments\x20and\x20accessToken','xLkOb':_0x428101(0x11f),'FLjzI':_0x428101(0x133)},_0x4d89e9={'isSuccess':!0x1,'errorMessage':'','errorCode':'','hasUserData':!0x1,'userMailDiscountAdverts':[],'userMailFeedbacksAdverts':[],'userMailCompanyNewsAdverts':[],'userExperiences':[],'userDiscountTokens':null,'userDiscountAmountList':[],'pendingFeedbackLinks':[],'mails':[],'companySubscribeList':[],'userProfile':null,'friends':[],'userSettings':null};let _0x52adf5={};try{return _0x769f15?(_0x769f15[_0x428101(0x114)]?_0x769f15[_0x428101(0xfe)][_0x428101(0x109)]?_0x52adf5=_0x769f15[_0x428101(0xfe)][_0x428101(0x109)]():_0x4d89e9[_0x428101(0x100)]=_0x5d1ab7[_0x428101(0x108)]:_0x52adf5=yield(0x0,fetch_1[_0x428101(0x111)])(getUserBulkData_1[_0x428101(0x111)],{},constants_1[_0x428101(0x111)][_0x428101(0xf7)]['getUserBulkData'],{'accountEmail':_0x769f15['accountEmail'],'origin':_0x769f15[_0x428101(0x134)],'token':_0x19ff10},_0x5d1ab7[_0x428101(0x124)]),Object[_0x428101(0x10a)](_0x52adf5)['forEach'](_0x5044f8=>{const _0x53c6fa=_0x428101;(0x0,mapper_1[_0x53c6fa(0x132)])(_0x4d89e9,_0x52adf5,_0x5044f8);}),Promise['resolve'](_0x4d89e9)):(_0x4d89e9[_0x428101(0x100)]=_0x5d1ab7[_0x428101(0xeb)],Promise[_0x428101(0xf2)](_0x4d89e9));}catch(_0x4bce8c){return(0x0,fetch_1['default'])(logError_1['default'],{'errorDetails':{'userName':'','email':_0x769f15['accountEmail'],'app':constants_1['default'][_0x428101(0x118)],'env':JSON[_0x428101(0xf6)](config_1['default']),'error':JSON[_0x428101(0xf6)](_0x4bce8c),'argumentsPassedIn':JSON['stringify'](_0x769f15),'codeLocation':_0x5d1ab7[_0x428101(0xf9)],'appCode':constants_1[_0x428101(0x111)][_0x428101(0x105)]}},constants_1[_0x428101(0x111)][_0x428101(0xf7)][_0x428101(0x13c)],{'accountEmail':_0x769f15[_0x428101(0x119)],'origin':_0x769f15[_0x428101(0x134)],'token':_0x19ff10},_0x5d1ab7[_0x428101(0x124)]),_0x4d89e9[_0x428101(0x100)]=_0x5d1ab7[_0x428101(0xee)],Promise[_0x428101(0xf2)](_0x4d89e9);}});exports[a40_0x4fd776(0x109)]=getUserBulkDataAsync;function a40_0x4654(_0x4b16bc,_0x4a0312){_0x4b16bc=_0x4b16bc-0xe9;const _0x1f7b8d=a40_0x1f7b();let _0x46540b=_0x1f7b8d[_0x4b16bc];return _0x46540b;}const updateUserProfileAsync=_0x21a325=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x5a24b4=a40_0x4fd776,_0x1307d3={'ujkSn':function(_0x321e84,_0x228780){return _0x321e84&&_0x228780;},'sLTrP':_0x5a24b4(0x13d),'GeqYG':'go_felix_user_api','kGXGV':_0x5a24b4(0x12f),'lYOpu':_0x5a24b4(0xef),'moPVd':_0x5a24b4(0x133)},_0x1e3c12={'isSuccess':!0x1,'errorMessage':'','errorCode':'','isUserProfileUpdated':!0x1};let _0x4e2969={};const {userProfile:_0x8f7492,userConfig:_0x1a21b6,accessToken:_0x2de04f}=_0x21a325;try{return _0x1307d3[_0x5a24b4(0x10c)](_0x8f7492,_0x1a21b6)?(_0x1a21b6['activateMockCalls']?_0x1a21b6['mockCalls'][_0x5a24b4(0xf0)]?_0x4e2969=_0x1a21b6[_0x5a24b4(0xfe)][_0x5a24b4(0xf0)]():_0x1e3c12[_0x5a24b4(0x100)]=_0x1307d3[_0x5a24b4(0x12a)]:_0x4e2969=yield(0x0,fetch_1['default'])(updateUserProfile_1[_0x5a24b4(0x111)],{'userProfileInput':_0x8f7492},constants_1[_0x5a24b4(0x111)][_0x5a24b4(0xf7)]['updateUserProfile'],{'accountEmail':_0x1a21b6[_0x5a24b4(0x119)],'origin':_0x1a21b6['origin'],'token':_0x21a325[_0x5a24b4(0x104)]},_0x1307d3[_0x5a24b4(0x12d)]),Object[_0x5a24b4(0x10a)](_0x4e2969)[_0x5a24b4(0xf1)](_0x4a3b5c=>{const _0x351623=_0x5a24b4;(0x0,mapper_1[_0x351623(0x132)])(_0x1e3c12,_0x4e2969,_0x4a3b5c);}),Promise[_0x5a24b4(0xf2)](_0x1e3c12)):(_0x1e3c12[_0x5a24b4(0x100)]=_0x1307d3[_0x5a24b4(0x11c)],Promise[_0x5a24b4(0xf2)](_0x1e3c12));}catch(_0x48d091){return(0x0,fetch_1[_0x5a24b4(0x111)])(logError_1['default'],{'errorDetails':{'userName':'','email':_0x1a21b6['accountEmail'],'app':constants_1['default'][_0x5a24b4(0x118)],'env':JSON[_0x5a24b4(0xf6)](config_1['default']),'error':JSON[_0x5a24b4(0xf6)](_0x48d091),'argumentsPassedIn':JSON['stringify'](_0x21a325),'codeLocation':_0x1307d3[_0x5a24b4(0x103)],'appCode':constants_1[_0x5a24b4(0x111)][_0x5a24b4(0x105)]}},constants_1[_0x5a24b4(0x111)][_0x5a24b4(0xf7)]['logError'],{'accountEmail':_0x1a21b6['accountEmail'],'origin':_0x1a21b6['origin'],'token':_0x2de04f},_0x5a24b4(0xfc)),_0x1e3c12[_0x5a24b4(0x100)]=_0x1307d3[_0x5a24b4(0xed)],Promise[_0x5a24b4(0xf2)](_0x1e3c12);}});exports[a40_0x4fd776(0xf0)]=updateUserProfileAsync;const updateUserSettingsAsync=_0x24dd88=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0xbde811=a40_0x4fd776,_0x3349fb={'ATUOK':function(_0x504736,_0x53bc06){return _0x504736&&_0x53bc06;},'ozgjB':_0xbde811(0x13a),'XmnDl':_0xbde811(0xfc),'WdJZE':'Request\x20Failed,\x20Please\x20make\x20sure\x20you\x20have\x20enter\x20all\x20the\x20method\x20arguments\x20and\x20accessToken','bWwbL':_0xbde811(0x133)},_0x2ba3d7={'isSuccess':!0x1,'errorMessage':'','errorCode':'','hasUpdatedSuccess':!0x1};let _0x2430d4={};const {settings:_0x451662,userConfig:_0x460073,accessToken:_0x347a7a}=_0x24dd88;try{return _0x3349fb[_0xbde811(0x11b)](_0x451662,_0x460073)?(_0x460073[_0xbde811(0x114)]?_0x460073[_0xbde811(0xfe)]['updateUserSettingsAsync']?_0x2430d4=_0x460073[_0xbde811(0xfe)]['updateUserSettingsAsync']():_0x2ba3d7['errorMessage']=_0x3349fb[_0xbde811(0x135)]:_0x2430d4=yield(0x0,fetch_1[_0xbde811(0x111)])(updateUserSettings_1[_0xbde811(0x111)],{'settings':_0x451662},constants_1[_0xbde811(0x111)][_0xbde811(0xf7)][_0xbde811(0x127)],{'accountEmail':_0x460073[_0xbde811(0x119)],'origin':_0x460073['origin'],'token':_0x24dd88[_0xbde811(0x104)]},_0x3349fb[_0xbde811(0x137)]),Object[_0xbde811(0x10a)](_0x2430d4)[_0xbde811(0xf1)](_0x226779=>{const _0x11b4b1=_0xbde811;(0x0,mapper_1[_0x11b4b1(0x132)])(_0x2ba3d7,_0x2430d4,_0x226779);}),Promise['resolve'](_0x2ba3d7)):(_0x2ba3d7[_0xbde811(0x100)]=_0x3349fb[_0xbde811(0x126)],Promise[_0xbde811(0xf2)](_0x2ba3d7));}catch(_0x393508){return(0x0,fetch_1[_0xbde811(0x111)])(logError_1['default'],{'errorDetails':{'userName':'','email':_0x460073[_0xbde811(0x119)],'app':constants_1['default'][_0xbde811(0x118)],'env':JSON[_0xbde811(0xf6)](config_1[_0xbde811(0x111)]),'error':JSON[_0xbde811(0xf6)](_0x393508),'args':JSON[_0xbde811(0xf6)](_0x24dd88),'codeLocation':_0xbde811(0x121),'appCode':constants_1['default']['appCode']}},constants_1[_0xbde811(0x111)][_0xbde811(0xf7)][_0xbde811(0x13c)],{'accountEmail':_0x460073[_0xbde811(0x119)],'origin':_0x460073['origin'],'token':_0x347a7a},_0x3349fb[_0xbde811(0x137)]),_0x2ba3d7[_0xbde811(0x100)]=_0x3349fb[_0xbde811(0x12e)],Promise[_0xbde811(0xf2)](_0x2ba3d7);}});exports[a40_0x4fd776(0x128)]=updateUserSettingsAsync,exports[a40_0x4fd776(0x111)]={'getUserProfilesAsync':exports[a40_0x4fd776(0x125)],'getUserBulkDataAsync':exports[a40_0x4fd776(0x109)],'updateUserProfileAsync':exports[a40_0x4fd776(0xf0)],'updateUserSettingsAsync':exports[a40_0x4fd776(0x128)]};function a40_0x1f7b(){const _0x25db71=['1099CXHNnS','XqSTd','done','app','accountEmail','__esModule','ATUOK','kGXGV','getUserProfiles','apply','gofelix,\x20service:\x20getUserBulkDataAsync','2440EVgLno','gofelix,\x20service:\x20updateUserSettingsAsync','4339443WXeWmf','64143iwbEoG','SMgpH','getUserProfilesAsync','WdJZE','updateUserSettings','updateUserSettingsAsync','next','sLTrP','IsaDI','Request\x20Failed,\x20you\x20set\x20activateMockCalls\x20to\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20but\x20you\x20have\x20not\x20added\x20a\x20mock\x20function\x20for\x20getUserBulkData','GeqYG','bWwbL','Request\x20Failed,\x20Please\x20make\x20sure\x20you\x20have\x20enter\x20all\x20the\x20method\x20arguments\x20and\x20accessToken','498aSvdAS','78750xoynMR','MapToResponseObj','Unable\x20to\x20process\x20this\x20request\x20at\x20this\x20time,\x20please\x20try\x20again\x20later','origin','ozgjB','DXcfr','XmnDl','../../queries/updateUserSettings','326630YFiTZv','Request\x20Failed,\x20you\x20set\x20activateMockCalls\x20to\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20but\x20you\x20have\x20not\x20added\x20a\x20mock\x20function\x20for\x20updateUserSettings','6ExpqVm','logError','Request\x20Failed,\x20you\x20set\x20activateMockCalls\x20to\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20but\x20you\x20have\x20not\x20added\x20a\x20mock\x20function\x20for\x20updateUserProfile','pIlIA','then','5115AJZTwI','qQyEj','../../queries/getUserBulkData','moPVd','FLjzI','gofelix,\x20service:\x20updateUserProfileAsync','updateUserProfileAsync','forEach','resolve','GxEQP','../../utilities/mapper','../../constants','stringify','graphQlCommandNames','142728iKqfka','xLkOb','defineProperty','value','go_felix_user_api','EuydL','mockCalls','FzMbu','errorMessage','../../queries/getUserProfiles','__importDefault','lYOpu','accessToken','appCode','throw','../../queries/logError','TAiwq','getUserBulkDataAsync','keys','../../queries/updateUserProfile','ujkSn','295968zyEfKW','__awaiter','57616DrUqEc','Request\x20Failed,\x20you\x20set\x20activateMockCalls\x20to\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20but\x20you\x20have\x20not\x20added\x20a\x20mock\x20function\x20for\x20getUserProfiles','default','MFudq','Ditfp','activateMockCalls'];a40_0x1f7b=function(){return _0x25db71;};return a40_0x1f7b();}
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";const a40_0x4fd776=a40_0x4654;!function(){const e=a40_0x4654,t=a40_0x1f7b();for(;;)try{if(961159===-parseInt(e(313))/1*(-parseInt(e(315))/2)+-parseInt(e(290))/3+parseInt(e(269))/4+-parseInt(e(305))/5*(parseInt(e(304))/6)+parseInt(e(277))/7*(-parseInt(e(271))/8)+parseInt(e(291))/9*(-parseInt(e(288))/10)+parseInt(e(234))/11*(parseInt(e(248))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();var __awaiter=this&&this[a40_0x4fd776(270)]||function(e,t,r,s){const a={XqSTd:function(e,t){return e(t)},ROPPI:function(e,t){return e(t)},WQOop:function(e,t){return e(t)},IsaDI:function(e,t){return e instanceof t}};return new(r||(r=Promise))(function(o,n){const i=a40_0x4654,u={Ditfp:function(e,t){return a.ROPPI(e,t)},GxEQP:function(e,t){return a.WQOop(e,t)},DXcfr:function(e,t){return a[a40_0x4654(299)](e,t)}};function c(e){const t=a40_0x4654;try{u[t(275)](f,s[t(297)](e))}catch(e){u[t(275)](n,e)}}function l(e){const t=a40_0x4654;try{f(s[t(262)](e))}catch(e){a[t(278)](n,e)}}function f(e){const t=a40_0x4654,s=function(e,t){return u[a40_0x4654(243)](e,t)};var a;e[t(279)]?u[t(243)](o,e[t(251)]):(a=e[t(251)],u[t(310)](a,r)?a:new r(function(e){s(e,a)}))[t(233)](c,l)}a[i(278)](f,(s=s[i(286)](e,t||[]))[i(297)]())})},__importDefault=this&&this[a40_0x4fd776(258)]||function(e){return e&&e[a40_0x4fd776(282)]?e:{default:e}};Object[a40_0x4fd776(250)](exports,a40_0x4fd776(282),{value:!0}),exports[a40_0x4fd776(296)]=exports[a40_0x4fd776(240)]=exports[a40_0x4fd776(265)]=exports[a40_0x4fd776(293)]=void 0;const mapper_1=require(a40_0x4fd776(244)),logError_1=__importDefault(require(a40_0x4fd776(263))),fetch_1=__importDefault(require("../../utilities/fetch")),getUserProfiles_1=__importDefault(require(a40_0x4fd776(257))),updateUserProfile_1=__importDefault(require(a40_0x4fd776(267))),getUserBulkData_1=__importDefault(require(a40_0x4fd776(236))),updateUserSettings_1=__importDefault(require(a40_0x4fd776(312))),constants_1=__importDefault(require(a40_0x4fd776(245))),config_1=__importDefault(require("../../config")),getUserProfilesAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const t=a40_0x4fd776,r={FzMbu:function(e,t){return e&&t},xWQox:t(272),EuydL:t(303),MFudq:"gofelix, service: getUserProfilesAsync",cBYNX:t(252),pIlIA:t(307)},s={isSuccess:!1,errorMessage:"",errorCode:"",hasUserProfiles:!1,userProfiles:[]};let a={};const{index:o=0,value:n,accessToken:i,userConfig:u}=e;try{return r[t(255)](n,i)?(u.activateMockCalls?u[t(254)].getUserProfilesAsync?a=u[t(254)][t(293)]():s[t(256)]=r.xWQox:a=yield(0,fetch_1.default)(getUserProfiles_1.default,{index:o,value:n},constants_1[t(273)][t(247)][t(285)],{accountEmail:u.accountEmail,origin:u[t(308)],token:e[t(260)]},t(252)),Object[t(266)](a)[t(241)](e=>{(0,mapper_1[t(306)])(s,a,e)}),Promise[t(242)](s)):(s[t(256)]=r[t(253)],Promise[t(242)](s))}catch(a){return(0,fetch_1[t(273)])(logError_1[t(273)],{errorDetails:{userName:"",email:u[t(281)],app:constants_1.default[t(280)],env:JSON[t(246)](config_1[t(273)]),error:JSON[t(246)](a),argumentsPassedIn:JSON.stringify(e),codeLocation:r[t(274)],appCode:constants_1[t(273)][t(261)]}},constants_1[t(273)].graphQlCommandNames.logError,{accountEmail:u[t(281)],origin:u[t(308)],token:i},r.cBYNX),s.errorMessage=r[t(318)],Promise[t(242)](s)}});exports.getUserProfilesAsync=getUserProfilesAsync;const getUserBulkDataAsync=(e,t)=>__awaiter(void 0,void 0,void 0,function*(){const r=a40_0x4fd776,s={TAiwq:r(300),SMgpH:"go_felix_user_api",qQyEj:"Request Failed, Please make sure you have enter all the method arguments and accessToken",xLkOb:r(287),FLjzI:r(307)},a={isSuccess:!1,errorMessage:"",errorCode:"",hasUserData:!1,userMailDiscountAdverts:[],userMailFeedbacksAdverts:[],userMailCompanyNewsAdverts:[],userExperiences:[],userDiscountTokens:null,userDiscountAmountList:[],pendingFeedbackLinks:[],mails:[],companySubscribeList:[],userProfile:null,friends:[],userSettings:null};let o={};try{return e?(e[r(276)]?e[r(254)][r(265)]?o=e[r(254)][r(265)]():a[r(256)]=s[r(264)]:o=yield(0,fetch_1[r(273)])(getUserBulkData_1[r(273)],{},constants_1[r(273)][r(247)].getUserBulkData,{accountEmail:e.accountEmail,origin:e[r(308)],token:t},s[r(292)]),Object[r(266)](o).forEach(e=>{(0,mapper_1[r(306)])(a,o,e)}),Promise.resolve(a)):(a[r(256)]=s[r(235)],Promise[r(242)](a))}catch(o){return(0,fetch_1.default)(logError_1.default,{errorDetails:{userName:"",email:e.accountEmail,app:constants_1.default[r(280)],env:JSON[r(246)](config_1.default),error:JSON[r(246)](o),argumentsPassedIn:JSON.stringify(e),codeLocation:s[r(249)],appCode:constants_1[r(273)][r(261)]}},constants_1[r(273)][r(247)][r(316)],{accountEmail:e[r(281)],origin:e[r(308)],token:t},s[r(292)]),a[r(256)]=s[r(238)],Promise[r(242)](a)}});function a40_0x4654(e,t){e-=233;return a40_0x1f7b()[e]}exports[a40_0x4fd776(265)]=getUserBulkDataAsync;const updateUserProfileAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const t=a40_0x4fd776,r={ujkSn:function(e,t){return e&&t},sLTrP:t(317),GeqYG:"go_felix_user_api",kGXGV:t(303),lYOpu:t(239),moPVd:t(307)},s={isSuccess:!1,errorMessage:"",errorCode:"",isUserProfileUpdated:!1};let a={};const{userProfile:o,userConfig:n,accessToken:i}=e;try{return r[t(268)](o,n)?(n.activateMockCalls?n.mockCalls[t(240)]?a=n[t(254)][t(240)]():s[t(256)]=r[t(298)]:a=yield(0,fetch_1.default)(updateUserProfile_1[t(273)],{userProfileInput:o},constants_1[t(273)][t(247)].updateUserProfile,{accountEmail:n[t(281)],origin:n.origin,token:e[t(260)]},r[t(301)]),Object[t(266)](a)[t(241)](e=>{(0,mapper_1[t(306)])(s,a,e)}),Promise[t(242)](s)):(s[t(256)]=r[t(284)],Promise[t(242)](s))}catch(a){return(0,fetch_1[t(273)])(logError_1.default,{errorDetails:{userName:"",email:n.accountEmail,app:constants_1.default[t(280)],env:JSON[t(246)](config_1.default),error:JSON[t(246)](a),argumentsPassedIn:JSON.stringify(e),codeLocation:r[t(259)],appCode:constants_1[t(273)][t(261)]}},constants_1[t(273)][t(247)].logError,{accountEmail:n.accountEmail,origin:n.origin,token:i},t(252)),s[t(256)]=r[t(237)],Promise[t(242)](s)}});exports[a40_0x4fd776(240)]=updateUserProfileAsync;const updateUserSettingsAsync=e=>__awaiter(void 0,void 0,void 0,function*(){const t=a40_0x4fd776,r={ATUOK:function(e,t){return e&&t},ozgjB:t(314),XmnDl:t(252),WdJZE:"Request Failed, Please make sure you have enter all the method arguments and accessToken",bWwbL:t(307)},s={isSuccess:!1,errorMessage:"",errorCode:"",hasUpdatedSuccess:!1};let a={};const{settings:o,userConfig:n,accessToken:i}=e;try{return r[t(283)](o,n)?(n[t(276)]?n[t(254)].updateUserSettingsAsync?a=n[t(254)].updateUserSettingsAsync():s.errorMessage=r[t(309)]:a=yield(0,fetch_1[t(273)])(updateUserSettings_1[t(273)],{settings:o},constants_1[t(273)][t(247)][t(295)],{accountEmail:n[t(281)],origin:n.origin,token:e[t(260)]},r[t(311)]),Object[t(266)](a)[t(241)](e=>{(0,mapper_1[t(306)])(s,a,e)}),Promise.resolve(s)):(s[t(256)]=r[t(294)],Promise[t(242)](s))}catch(a){return(0,fetch_1[t(273)])(logError_1.default,{errorDetails:{userName:"",email:n[t(281)],app:constants_1.default[t(280)],env:JSON[t(246)](config_1[t(273)]),error:JSON[t(246)](a),args:JSON[t(246)](e),codeLocation:t(289),appCode:constants_1.default.appCode}},constants_1[t(273)][t(247)][t(316)],{accountEmail:n[t(281)],origin:n.origin,token:i},r[t(311)]),s[t(256)]=r[t(302)],Promise[t(242)](s)}});function a40_0x1f7b(){const e=["1099CXHNnS","XqSTd","done","app","accountEmail","__esModule","ATUOK","kGXGV","getUserProfiles","apply","gofelix, service: getUserBulkDataAsync","2440EVgLno","gofelix, service: updateUserSettingsAsync","4339443WXeWmf","64143iwbEoG","SMgpH","getUserProfilesAsync","WdJZE","updateUserSettings","updateUserSettingsAsync","next","sLTrP","IsaDI","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for getUserBulkData","GeqYG","bWwbL","Request Failed, Please make sure you have enter all the method arguments and accessToken","498aSvdAS","78750xoynMR","MapToResponseObj","Unable to process this request at this time, please try again later","origin","ozgjB","DXcfr","XmnDl","../../queries/updateUserSettings","326630YFiTZv","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for updateUserSettings","6ExpqVm","logError","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for updateUserProfile","pIlIA","then","5115AJZTwI","qQyEj","../../queries/getUserBulkData","moPVd","FLjzI","gofelix, service: updateUserProfileAsync","updateUserProfileAsync","forEach","resolve","GxEQP","../../utilities/mapper","../../constants","stringify","graphQlCommandNames","142728iKqfka","xLkOb","defineProperty","value","go_felix_user_api","EuydL","mockCalls","FzMbu","errorMessage","../../queries/getUserProfiles","__importDefault","lYOpu","accessToken","appCode","throw","../../queries/logError","TAiwq","getUserBulkDataAsync","keys","../../queries/updateUserProfile","ujkSn","295968zyEfKW","__awaiter","57616DrUqEc","Request Failed, you set activateMockCalls to true,\n but you have not added a mock function for getUserProfiles","default","MFudq","Ditfp","activateMockCalls"];return(a40_0x1f7b=function(){return e})()}exports[a40_0x4fd776(296)]=updateUserSettingsAsync,exports[a40_0x4fd776(273)]={getUserProfilesAsync:exports[a40_0x4fd776(293)],getUserBulkDataAsync:exports[a40_0x4fd776(265)],updateUserProfileAsync:exports[a40_0x4fd776(240)],updateUserSettingsAsync:exports[a40_0x4fd776(296)]};
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";function a50_0xb03e(){var e=["6917178QsalVG","4852988sXVgQD","1171332KPeSfO","1317727DrcUzg","3asZlbp","2704550xCisZi","184088IIJfsq","207FLZWSC","2654462dhjWor","__esModule","defineProperty"];return(a50_0xb03e=function(){return e})()}var a50_0x1b23e7=a50_0x42f5;function a50_0x42f5(e,a){return e-=241,a50_0xb03e()[e]}!function(){for(var e=a50_0x42f5,a=a50_0xb03e();;)try{if(731251===parseInt(e(245))/1+parseInt(e(250))/2*(-parseInt(e(246))/3)+parseInt(e(244))/4+-parseInt(e(247))/5+parseInt(e(242))/6+-parseInt(e(243))/7+parseInt(e(248))/8*(parseInt(e(249))/9))break;a.push(a.shift())}catch(e){a.push(a.shift())}}(),Object[a50_0x1b23e7(241)](exports,a50_0x1b23e7(251),{value:!0});
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a41_0x48c6a5=a41_0x446d;function a41_0x446d(a,t){return a-=102,a41_0x2b4a()[a]}function a41_0x2b4a(){var a=["411729VJYsNG","331920RfmAKY","16660MGbtRn","1581040FtUuQs","36bbBmpe","__esModule","17428wzZkvR","63wmhMQL","defineProperty","1273152hLQAHS","14rWoIGR","2855104RZJukh"];return(a41_0x2b4a=function(){return a})()}!function(){for(var a=a41_0x446d,t=a41_0x2b4a();;)try{if(219544===-parseInt(a(112))/1*(parseInt(a(102))/2)+parseInt(a(108))/3+parseInt(a(110))/4+parseInt(a(109))/5+parseInt(a(105))/6*(-parseInt(a(106))/7)+-parseInt(a(107))/8+parseInt(a(103))/9*(parseInt(a(111))/10))break;t.push(t.shift())}catch(a){t.push(t.shift())}}(),Object[a41_0x48c6a5(104)](exports,a41_0x48c6a5(113),{value:!0});
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a42_0x50a608=a42_0x3a39;function a42_0x3a39(a,r){return a-=110,a42_0x2342()[a]}function a42_0x2342(){var a=["__esModule","2344tQXYEn","32016800UIUUjv","362ThfyKz","2227245oQFYkE","6483484bqvwNB","2484303nvJoQX","11242xJvAZs","15162255VRBaxI","8ZKreXo","5196TWyXRW","defineProperty"];return(a42_0x2342=function(){return a})()}!function(){for(var a=a42_0x3a39,r=a42_0x2342();;)try{if(897774===parseInt(a(113))/1*(parseInt(a(111))/2)+-parseInt(a(116))/3+parseInt(a(115))/4+-parseInt(a(114))/5+parseInt(a(120))/6*(-parseInt(a(117))/7)+-parseInt(a(119))/8*(parseInt(a(118))/9)+parseInt(a(112))/10)break;r.push(r.shift())}catch(a){r.push(r.shift())}}(),Object[a42_0x50a608(121)](exports,a42_0x50a608(110),{value:!0});
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";function a43_0x2789(){var e=["27sFCwZV","78tTGMym","2857308WBXOhp","4izQqZc","3650493cIwzpe","1534328NNZXhJ","5AxFAbh","418DgNfGg","__esModule","2708484rnreAx","2NthYKD","1245197BPjQXL","3781596XvvRmo","55210TgmBKT","defineProperty"];return(a43_0x2789=function(){return e})()}function a43_0x4f97(e,r){return e-=495,a43_0x2789()[e]}var a43_0xbc0f8e=a43_0x4f97;!function(){for(var e=a43_0x4f97,r=a43_0x2789();;)try{if(953023===-parseInt(e(506))/1*(-parseInt(e(505))/2)+parseInt(e(499))/3*(-parseInt(e(498))/4)+-parseInt(e(501))/5*(-parseInt(e(497))/6)+-parseInt(e(507))/7+-parseInt(e(500))/8*(parseInt(e(495))/9)+parseInt(e(508))/10*(parseInt(e(502))/11)+parseInt(e(504))/12*(parseInt(e(496))/13))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(),Object[a43_0xbc0f8e(509)](exports,a43_0xbc0f8e(503),{value:!0});
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a44_0x2783d9=a44_0x4b1c;function a44_0x2633(){var a=["1140080AQxdnc","2CNBecd","3312Dmlpbe","12312069BWluIL","305284aFsONO","11209qHdmxN","__esModule","30zrDkqU","defineProperty","7904115iWPKzP","38862LpdvJW","34572fxDPvf","6ONcZeX","806654PMvxOm"];return(a44_0x2633=function(){return a})()}function a44_0x4b1c(a,r){return a-=423,a44_0x2633()[a]}!function(){for(var a=a44_0x4b1c,r=a44_0x2633();;)try{if(899479===-parseInt(a(428))/1*(-parseInt(a(430))/2)+parseInt(a(436))/3*(-parseInt(a(433))/4)+-parseInt(a(424))/5*(-parseInt(a(427))/6)+-parseInt(a(432))/7+-parseInt(a(431))/8*(parseInt(a(425))/9)+-parseInt(a(429))/10+parseInt(a(434))/11*(parseInt(a(426))/12))break;r.push(r.shift())}catch(a){r.push(r.shift())}}(),Object[a44_0x2783d9(423)](exports,a44_0x2783d9(435),{value:!0});
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a45_0x554f08=a45_0x1a08;function a45_0x5d09(){var a=["345052yhsFrB","4rOOINM","7417540YPJIyy","168qAYcpi","9ypaZrO","14YWLbeb","922341BPXsVa","1347928ZKSFWZ","2700588manCAb","__esModule","1074671PFaFuG","13450alnMzI","192GCwZeS","1TtMBeK"];return(a45_0x5d09=function(){return a})()}function a45_0x1a08(a,r){return a-=406,a45_0x5d09()[a]}!function(){for(var a=a45_0x1a08,r=a45_0x5d09();;)try{if(387907===parseInt(a(408))/1*(-parseInt(a(409))/2)+parseInt(a(415))/3*(parseInt(a(410))/4)+parseInt(a(406))/5*(parseInt(a(407))/6)+parseInt(a(414))/7*(parseInt(a(416))/8)+parseInt(a(413))/9*(parseInt(a(411))/10)+parseInt(a(417))/11+parseInt(a(412))/12*(-parseInt(a(419))/13))break;r.push(r.shift())}catch(a){r.push(r.shift())}}(),Object.defineProperty(exports,a45_0x554f08(418),{value:!0});
|
package/dist/types/mailTypes.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a46_0x18fbee=a46_0x2fbb;function a46_0x2fbb(e,r){return e-=165,a46_0x69cb()[e]}function a46_0x69cb(){var e=["1329141FBGFXG","68voZPqD","94638NDUSzh","defineProperty","132468HlXCso","553RPgnMj","2963952BGrPQe","239900rqJTla","1069346CSXxvW","__esModule","6912648ycmiOb"];return(a46_0x69cb=function(){return e})()}!function(){for(var e=a46_0x2fbb,r=a46_0x69cb();;)try{if(715638===-parseInt(e(167))/1+-parseInt(e(175))/2+parseInt(e(171))/3*(parseInt(e(168))/4)+parseInt(e(174))/5+-parseInt(e(169))/6*(-parseInt(e(172))/7)+parseInt(e(166))/8+-parseInt(e(173))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(),Object[a46_0x18fbee(170)](exports,a46_0x18fbee(165),{value:!0});
|
package/dist/types/oAuthTypes.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a47_0x3d019c=a47_0x1ad0;function a47_0x1ad0(a,t){return a-=103,a47_0x3a09()[a]}function a47_0x3a09(){var a=["269885nLXRFt","3831228EUCqgR","1018150LnzDKl","471PplKcQ","2NnVZXx","21732ewLMXY","491608wEJvZy","95isLcax","964LUiczH","__esModule","25770prtpYY","defineProperty"];return(a47_0x3a09=function(){return a})()}!function(){for(var a=a47_0x1ad0,t=a47_0x3a09();;)try{if(218660===-parseInt(a(112))/1*(-parseInt(a(106))/2)+-parseInt(a(105))/3*(-parseInt(a(110))/4)+parseInt(a(109))/5*(-parseInt(a(107))/6)+-parseInt(a(114))/7+-parseInt(a(108))/8+parseInt(a(103))/9+-parseInt(a(104))/10)break;t.push(t.shift())}catch(a){t.push(t.shift())}}(),Object[a47_0x3d019c(113)](exports,a47_0x3d019c(111),{value:!0});
|
package/dist/types/qrCodes.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a48_0x5c85df=a48_0xe201;function a48_0xe201(a,t){return a-=250,a48_0x211a()[a]}function a48_0x211a(){var a=["167592tMdaVP","2plFUsD","6927HPOOvi","19230VVzaJN","defineProperty","__esModule","1860810iaQqTd","686727UnQmkS","279232YoCpOW","3636JDjdHH","21gRLGhU","2353515kDMdXB"];return(a48_0x211a=function(){return a})()}!function(){for(var a=a48_0xe201,t=a48_0x211a();;)try{if(247833===-parseInt(a(256))/1+parseInt(a(255))/2*(-parseInt(a(261))/3)+-parseInt(a(250))/4+-parseInt(a(253))/5+parseInt(a(260))/6+-parseInt(a(252))/7*(parseInt(a(254))/8)+parseInt(a(251))/9*(parseInt(a(257))/10))break;t.push(t.shift())}catch(a){t.push(t.shift())}}(),Object[a48_0x5c85df(258)](exports,a48_0x5c85df(259),{value:!0});
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";function a49_0x27db(a,e){return a-=187,a49_0xb7be()[a]}function a49_0xb7be(){var a=["3041TVVupH","715400SNlSce","598420jOSSkF","54KEsEOF","265077EUnIxi","42kjGLcB","12ZHhbhY","__esModule","5090261NomYgd","140040XbQioN","4CJOjxn","24306rPoWVv","27SLiFfM"];return(a49_0xb7be=function(){return a})()}var a49_0x50eaaa=a49_0x27db;!function(){for(var a=a49_0x27db,e=a49_0xb7be();;)try{if(279132===parseInt(a(199))/1*(parseInt(a(189))/2)+parseInt(a(190))/3*(-parseInt(a(196))/4)+parseInt(a(195))/5+parseInt(a(197))/6+parseInt(a(191))/7*(parseInt(a(187))/8)+parseInt(a(198))/9*(parseInt(a(188))/10)+parseInt(a(194))/11*(-parseInt(a(192))/12))break;e.push(e.shift())}catch(a){e.push(e.shift())}}(),Object.defineProperty(exports,a49_0x50eaaa(193),{value:!0});
|
package/dist/types/userTypes.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a51_0x24e910=a51_0x1938;function a51_0x1938(a,t){return a-=326,a51_0x2485()[a]}function a51_0x2485(){var a=["198qcFZXl","528045dOfIYl","137206gVTMcG","5cAJcuT","2jRaziR","__esModule","6OiylSk","542760VAimgY","defineProperty","369212NsRliB","1569852WVivSY","43990lmdxQY","8tnCPjC","447097mOEdzv"];return(a51_0x2485=function(){return a})()}!function(){for(var a=a51_0x1938,t=a51_0x2485();;)try{if(198003===parseInt(a(337))/1*(parseInt(a(335))/2)+-parseInt(a(334))/3+parseInt(a(328))/4*(parseInt(a(336))/5)+parseInt(a(339))/6*(-parseInt(a(332))/7)+parseInt(a(331))/8*(parseInt(a(329))/9)+parseInt(a(330))/10*(parseInt(a(333))/11)+-parseInt(a(326))/12)break;t.push(t.shift())}catch(a){t.push(t.shift())}}(),Object[a51_0x24e910(327)](exports,a51_0x24e910(338),{value:!0});
|
package/dist/utilities/fetch.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";const a52_0xc7c8e1=a52_0x3108;function a52_0x3108(t,n){t-=156;return a52_0x78fa()[t]}!function(){const t=a52_0x3108,n=a52_0x78fa();for(;;)try{if(229817===-parseInt(t(174))/1+-parseInt(t(160))/2+-parseInt(t(158))/3*(-parseInt(t(163))/4)+parseInt(t(180))/5*(parseInt(t(179))/6)+-parseInt(t(172))/7+-parseInt(t(167))/8+parseInt(t(156))/9*(-parseInt(t(182))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}();var __awaiter=this&&this.__awaiter||function(t,n,e,a){return new(e||(e=Promise))(function(o,r){const c=a52_0x3108,s={bIWFJ:function(t,n){return t(n)},pXZpI:function(t,n){return t(n)},ZtCwR:function(t,n){return t instanceof n}};function i(t){const n=a52_0x3108;try{s[n(162)](_,a[n(185)](t))}catch(t){r(t)}}function u(t){const n=a52_0x3108;try{_(a[n(157)](t))}catch(t){s[n(162)](r,t)}}function _(t){const n=a52_0x3108;var a;t.done?s[n(162)](o,t[n(169)]):(a=t[n(169)],s[n(165)](a,e)?a:new e(function(t){s.pXZpI(t,a)}))[n(175)](i,u)}_((a=a[c(171)](t,n||[]))[c(185)]())})},__importDefault=this&&this[a52_0xc7c8e1(168)]||function(t){return t&&t.__esModule?t:{default:t}};function a52_0x78fa(){const t=["93820VTepcN","application/json","ZtCwR","data","214448uUBMEd","__importDefault","value","defineProperty","apply","17668fAqePZ","__esModule","283851bWwsVI","then","axios","accountEmail","default","18876ZgUjLC","695DxntdK","resolve","10nVaWrY","appCode","GATEWAY_URL","next","post","101727SSYCYS","throw","39UWxCRB","https","375816zYToWD","entries","bIWFJ"];return(a52_0x78fa=function(){return t})()}Object[a52_0xc7c8e1(170)](exports,a52_0xc7c8e1(173),{value:!0});const axios_1=__importDefault(require(a52_0xc7c8e1(176))),config_1=__importDefault(require("../config")),constants_1=__importDefault(require("../constants")),https_1=__importDefault(require(a52_0xc7c8e1(159))),fetchAsync=(t,n,e,a,o="")=>__awaiter(void 0,void 0,void 0,function*(){const e=a52_0xc7c8e1,r={oyruZ:e(164)};if(!a[e(177)])throw new Error("No account email found");const c={"Content-Type":r.oyruZ,appCode:constants_1[e(178)][e(183)],appName:o,apiName:o};for(const[t,n]of Object[e(161)](a))c[t]=n;const s=yield axios_1[e(178)][e(186)](config_1[e(178)][e(184)],{query:t,variables:n},{headers:c,httpsAgent:void 0});return Promise[e(181)](s[e(166)])});exports[a52_0xc7c8e1(178)]=fetchAsync;
|
package/dist/utilities/mapper.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
/**
|
|
3
|
+
* GoFelix Project — GoFelix Limited (UK)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) GoFelix Limited (UK). All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the GoFelix License.
|
|
8
|
+
* Unauthorized copying of this file, via any medium, is strictly prohibited.
|
|
9
|
+
* Proprietary and confidential.
|
|
10
|
+
*/
|
|
11
|
+
"use strict";var a53_0x5117b3=a53_0x24c2;function MapToResponseObj(e,a,r){e[r]=a[r]}function a53_0x24c2(e,a){return e-=422,a53_0x54e3()[e]}function a53_0x54e3(){var e=["43593MIXraP","6835LMyEvc","362655HmNKEl","36djjWKp","326398NOOEYZ","552418gKoghh","6652368rIjqvL","default","15fdrcat","1828VDkwiU","defineProperty","MapToResponseObj","614782XbybMp","20hBnGLX"];return(a53_0x54e3=function(){return e})()}!function(){for(var e=a53_0x24c2,a=a53_0x54e3();;)try{if(421985===parseInt(e(423))/1+parseInt(e(422))/2*(-parseInt(e(426))/3)+-parseInt(e(427))/4*(parseInt(e(433))/5)+-parseInt(e(435))/6*(-parseInt(e(430))/7)+parseInt(e(424))/8+-parseInt(e(434))/9+parseInt(e(431))/10*(-parseInt(e(432))/11))break;a.push(a.shift())}catch(e){a.push(a.shift())}}(),Object[a53_0x5117b3(428)](exports,"__esModule",{value:!0}),exports[a53_0x5117b3(429)]=void 0,exports[a53_0x5117b3(429)]=MapToResponseObj,exports[a53_0x5117b3(425)]={MapToResponseObj:MapToResponseObj};
|