diff --git a/StoredProc/17968/proc_Customerinformation.sql b/StoredProc/17968/proc_Customerinformation.sql index 8c5c534..2346718 100644 Binary files a/StoredProc/17968/proc_Customerinformation.sql and b/StoredProc/17968/proc_Customerinformation.sql differ diff --git a/StoredProc/JsonRx_Proc_UserRegistration_V2.sql b/StoredProc/JsonRx_Proc_UserRegistration_V2.sql index 5abc825..eeff1f5 100644 Binary files a/StoredProc/JsonRx_Proc_UserRegistration_V2.sql and b/StoredProc/JsonRx_Proc_UserRegistration_V2.sql differ diff --git a/StoredProc/PROC_MOBILE_RECEIVER_INFORMATION.sql b/StoredProc/PROC_MOBILE_RECEIVER_INFORMATION.sql new file mode 100644 index 0000000..2e79277 Binary files /dev/null and b/StoredProc/PROC_MOBILE_RECEIVER_INFORMATION.sql differ diff --git a/StoredProc/mobile_proc_customerMaster_V2.sql b/StoredProc/mobile_proc_customerMaster_V2.sql index e264e1f..4540b83 100644 Binary files a/StoredProc/mobile_proc_customerMaster_V2.sql and b/StoredProc/mobile_proc_customerMaster_V2.sql differ diff --git a/StoredProc/proc_SendTransaction.sql b/StoredProc/proc_SendTransaction.sql index fa0939b..f78c31c 100644 Binary files a/StoredProc/proc_SendTransaction.sql and b/StoredProc/proc_SendTransaction.sql differ diff --git a/StoredProc/proc_get_exrate_master.sql b/StoredProc/proc_get_exrate_master.sql index 660fbfa..da595f3 100644 Binary files a/StoredProc/proc_get_exrate_master.sql and b/StoredProc/proc_get_exrate_master.sql differ diff --git a/StoredProc/proc_mobile_StaticData.sql b/StoredProc/proc_mobile_StaticData.sql index f6578d2..5379ab9 100644 Binary files a/StoredProc/proc_mobile_StaticData.sql and b/StoredProc/proc_mobile_StaticData.sql differ diff --git a/sample.js b/sample.js new file mode 100644 index 0000000..344ade1 --- /dev/null +++ b/sample.js @@ -0,0 +1,113 @@ +Calling GetExRate + +Repo: + +EXEC proc_get_exRate_master @flag = 'False' + ,@user = 'luffy@yopmail.com' + ,@sCountryId = '223' + ,@sAgent = '0' + ,@sSuperAgent = '393877' + ,@sBranch = '394395' + ,@senderId = '0' + ,@collCurr = 'GBP' + ,@pCountryId = '151' + ,@pCountry = 'NEPAL' + ,@pAgent = '0' + ,@pCurr = 'NPR' + ,@deliveryMethodId = '1' + ,@cAmt = '100.0' + ,@pAmt = '0.0' + ,@calBy = 'c' + ,@couponCode = NULL + ,@schemeId = NULL + ,@payOutPartner = '394397' + ,@paymentType = 'wallet' + ,@cardOnline = NULL + ,@TPexRate = '0' + ,@isManualSc = 'N' + ,@manualSc = '0.0' + ,@ProcessFor = 'send' + ,@discountedFee = '2.0' Calling GetExRate + +Repo: + +EXEC proc_get_exRate_master @flag = 'False' + ,@user = 'luffy@yopmail.com' + ,@sCountryId = '223' + ,@sAgent = '0' + ,@sSuperAgent = '393877' + ,@sBranch = '394395' + ,@senderId = '0' + ,@collCurr = 'GBP' + ,@pCountryId = '151' + ,@pCountry = 'NEPAL' + ,@pAgent = '0' + ,@pCurr = 'NPR' + ,@deliveryMethodId = '1' + ,@cAmt = '500.0' + ,@pAmt = '0.0' + ,@calBy = 'c' + ,@couponCode = NULL + ,@schemeId = NULL + ,@payOutPartner = '394397' + ,@paymentType = 'wallet' + ,@cardOnline = NULL + ,@TPexRate = '0' + ,@isManualSc = 'N' + ,@manualSc = '0.0' + ,@ProcessFor = 'send' + ,@discountedFee = '1.0' + + + +-- with reward +EXEC proc_SendTransaction @flag = 'send' + ,@User = 'luffy@yopmail.com' + ,@SenderId = '48' + ,@sIpAddress = NULL + ,@ReceiverId = '23' + ,@rFirstName = NULL + ,@rMiddleName = NULL + ,@rLastName = NULL + ,@rIdType = NULL + ,@rIdNo = NULL + ,@rIdIssue = NULL + ,@rIdExpiry = NULL + ,@rDob = NULL + ,@rMobileNo = NULL + ,@rNativeCountry = NULL + ,@rStateId = '0' + ,@rDistrictId = '0' + ,@rAddress = NULL + ,@rCity = NULL + ,@rEmail = NULL + ,@rAccountNo = NULL + ,@sCountryId = '0' + ,@pCountryId = '0' + ,@deliveryMethodId = '1' + ,@pBranchId = '0' + ,@pBankId = '0' + ,@collCurr = 'GBP' + ,@payoutCurr = 'NPR' + ,@collAmt = '100' + ,@payoutAmt = '10863.0000' + ,@transferAmt = '103.0000' + ,@exRate = '105.4688' + ,@calBy = 'c' + ,@tpExRate = '105.4688' + ,@payOutPartnerId = '394397' + ,@forexSessionId = 'CC778915-D53E-47C2-BC44-108025F87911' + ,@paymentType = 'wallet' + ,@PurposeOfRemittance = '11411' + ,@PurposeOfRemittanceOther = NULL + ,@SourceOfFund = '11416' + ,@SourceOfFundOther = NULL + ,@RelWithSender = '11330' + ,@SourceType = NULL + ,@scDiscount = NULL + ,@ProcessId = 'CC778915D53E47C2BC44108025F87911:394397:sendTxn' + ,@schemeId = NULL + ,@goodsOrigin = NULL + ,@goodsType = NULL + ,@portOfShipment = NULL + ,@discountedFee = '6' diff --git a/update.sql b/update.sql index cfdf99b..610fdaa 100644 --- a/update.sql +++ b/update.sql @@ -1,6 +1,7 @@ select lawsoncardno,txnpin, membershipid, mobileverifieddate,agreeYn, HasDeclare, idNumber, idExpiryDate, idIssueCountry, idIssueDate, -fullname, * FROM customermaster where username='luffy1@yopmail.com' -select membershipid, mobileverifieddate,agreeYn, HasDeclare, isemailverified, * FROM customermastertemp where username='luffy@yopmail.com' +fullname, * FROM customermaster where username='luffy@yopmail.com' +select ADDITIONALADDRESS, membershipid, mobileverifieddate,agreeYn, HasDeclare, isemailverified, * FROM customermastertemp +where username='luffy@yopmail.com' select * FROM TBL_MOBILE_OTP_REQUEST where user_id='stha@yopmail.com' @@ -8,20 +9,24 @@ delete FROM customermaster where username='luffy@yopmail.com' delete FROM CustomerMasterTemp where username='luffy@yopmail.com' delete FROM mobile_userRegistration where username='luffy@yopmail.com' delete FROM TBL_MOBILE_OTP_REQUEST where user_id='luffy@yopmail.com' -delete from customerDocument where customerid='46' +delete from customerDocument where cdid='132' + +select * from customerDocument where customerid='48' --11440 select * FROM mobile_userRegistration where username='luffy@yopmail.com' + update customermaster set mobileverifieddate=null , HasDeclare=0, agreeYn=0, -txnpin=123456,isForcedPwdChange=0 - where username='luffy1@yopmail.com' +txnpin=123456,isForcedPwdChange=0 where username='luffy@yopmail.com' + update customermaster set txnpin=123456 where username='stha@yopmail.com' select * FROM TBL_MOBILE_OTP_REQUEST where user_id='luffy@yopmail.com' +select * FROM staticDataValue where typeid='8103' UPDATE TBL_MOBILE_OTP_REQUEST set IS_SUCCESS=0 , REQUESTED_DATE=GETDATE(), IS_EXPIRED=0 where user_id='luffy@yopmail.com' - update customermaster set lawsoncardno='KYC_NOW' where username='luffy1@yopmail.com' - update CustomerMasterTemp set isEmailVerified='1' where username='luffy1@yopmail.com' + update customermaster set lawsoncardno='KYC_NOW' where username='luffy@yopmail.com' + update CustomerMasterTemp set isEmailVerified='1' where username='luffy@yopmail.com' update customermastertemp set isemailverified=1 where username='stha@yopmail.com' EXEC GetUserInfo @flag='basic-reg', @emailId='luffy@yopmail.com' @@ -30,35 +35,46 @@ set isForcePinChange=0 ,isForcePassChange=0 where username='stha@yopmail.com' --CustomerInfoAgree + select * FROM staticdatavalue where valueid= '11394' + select * FROM staticdatavalue where typeid= '8103' + + Exec proc_customerDocumentType @flag='getDocByCustomerId' ,@customerId='48' + EXEC JsonRx_Proc_UserRegistration @flag='agree' , @username = 'luffy@yopmail.com' EXEC JsonRx_Proc_UserRegistration @flag='save-kyc-option', @username = 'stha@yopmail.com', @registrationType = 'MKYC', @clientId = 'KYC_LATER' EXEC mobile_proc_customerMaster @flag='refresh-customer-info', @userName='stha@yopmail.com',@appVersion='22', @phoneBrand = 'Samsung SM-S908E',@phoneOS= '13',@fcmId = null,@osVersion='33' - EXEC proc_InsertRewardPoints @Flag = 'REGISTER', @CustomerId=6,@ReferralId='23' + EXEC proc_InsertRewardPoints @Flag = 'REGISTER', @CustomerId=48,@ReferralId='23' EXEC JsonRx_Proc_UserRegistration_V2 @flag = 'sign-up-v2-new-cust' ,@idNumber = NULL - ,@nativeCountry = 'DZ' - ,@referralCode = 'adm000016' - ,@username = 'stha@yopmail.com' + ,@nativeCountry = 'ID' + ,@referralCode = 'mob000043' + ,@username = 'luffy@yopmail.com' ,@password = 'P@ssw0rd' - ,@clientId = ':4cf3:edff:fec4:1aec%dummy0' + ,@clientId = ':2487:aff:fe2c:d631%dummy0' ,@uuid = 'a25982f555d5a7d6' ,@appVersion = '22' ,@phoneBrand = 'Samsung SM-S908E' ,@phoneOs = '13' - ,@fcmId = 'fna-a7elTuuZsdUqczfh-x:APA91bHl3UdQUM3erSgC59XVLqo3PSUMHiTwbvDalJgEv9chX3OibLVq9m8zDPeTS4XROf3ywtfHi9o1h91G3iMpIdNy600hPzl0a2yz3BBxhLWMlcoqh06cMw6CHPt_8799wmSE4H' + ,@fcmId = 'fdDb5nE0R9GEoEPNBjKi41:APA91bHCnM3SHP2BdUQj4bluKgz9GBqCRjClz_oggpONZSrVP8_hLTkCyJVa_0065I7LaVlDHDRkXbJzwTA4ondwzen9ZCLrI89ALQs6nBklBnq9s_KEOeqOtG0N6dJdRWWRE3N2duTV' ,@osVersion = '33' - ,@fullName = 'shakub' - ,@dob = '1977-02-01' - ,@mobile = '997979797' + ,@fullName = 'Monkey D. Luffy' + ,@dob = '12/05/1988' + ,@mobile = '9841760699' ,@postalCode = 'l18jq' - ,@address1 = 'GB|RM|A|53645473' + ,@address1 = 'Eurochange, 11 Wall Street' + ,@address2 = 'Nepal' ,@city = 'Liverpool' - ,@gender = '97' - ,@FirstName = 'shakub' + ,@gender = '98' + ,@FirstName = 'Monkey' + ,@MiddleName = 'D.' + ,@LastName = 'Luffy' + + + EXEC proc_mobile_StaticData @flag='kycV3', @customerId='luffy@yopmail.com'