1(function (module) { 2 3 var apiService = function (httpService) { 4 5 var baseHost = apiHost; 6 7 8 function getOwnPrimaryWallet() { 9 return httpService.post(baseHost, "/InvestaApi/Wallet/GetOwnPrimaryWallet"); 10 } 11 12 function getOwnWalletByCurrency(currency) { 13 return httpService.post(baseHost, "/InvestaApi/Wallet/GetOwnWalletByCurrency?currency=" + currency); 14 } 15 16 function getAllOwnWallet() { 17 return httpService.post(baseHost, "/InvestaApi/Wallet/GetAllOwnWallet"); 18 } 19 20 function createWallet(data) { 21 return httpService.post(baseHost, "/InvestaApi/Wallet/CreateWallet", data); 22 } 23 24 function getPendingCashInOverview() { 25 return httpService.post(baseHost, "/InvestaApi/Wallet/GetPendingCashInOverview"); 26 } 27 28 function getWalletLogPagination(currency, id, getNew) { 29 return httpService.post(baseHost, "/InvestaApi/Wallet/GetWalletLogPagination?currency=" + currency + "&id=" + id + "&getNew=" + getNew); 30 } 31 32 function cashIn(data) { 33 return httpService.post(baseHost, "/InvestaApi/Wallet/CashIn", data); 34 } 35 36 function reCashIn(cashInId) { 37 return httpService.post(baseHost, "/InvestaApi/Wallet/ReCashIn?cashInId=" + cashInId); 38 } 39 40 function submitCashInPaymentProof(data) { 41 return httpService.post(baseHost, "/InvestaApi/Wallet/SubmitCashInPaymentProof", data); 42 } 43 44 function cancelCashIn(cashInId) { 45 return httpService.post(baseHost, "/InvestaApi/Wallet/CancelCashIn?cashInId=" + cashInId); 46 } 47 48 function getCashInMethodList() { 49 return httpService.post(baseHost, "/InvestaApi/Wallet/GetCashInMethodList"); 50 } 51 52 function getFullCashInDetails(cashInId) { 53 return httpService.post(baseHost, "/InvestaApi/Wallet/GetFullCashInDetails?cashInId=" + cashInId); 54 } 55 56 function getStripePublishableKey() { 57 return httpService.post(baseHost, "/InvestaApi/Wallet/GetStripePublishableKey"); 58 } 59 60 function isAboutToPurchaseBundleProductValid(inventoryId) { 61 return httpService.post(baseHost, "/InvestaApi/Wallet/IsAboutToPurchaseBundleProductValid?inventoryId=" + inventoryId); 62 } 63 64 function getFullCashOutDetails(cashOutId) { 65 return httpService.post(baseHost, "/InvestaApi/Wallet/GetFullCashOutDetails?cashOutId=" + cashOutId); 66 } 67 68 69 70 71 72 return { 73 getOwnPrimaryWallet: getOwnPrimaryWallet, 74 getOwnWalletByCurrency: getOwnWalletByCurrency, 75 getAllOwnWallet: getAllOwnWallet, 76 createWallet: createWallet, 77 getPendingCashInOverview: getPendingCashInOverview, 78 getWalletLogPagination: getWalletLogPagination, 79 cashIn: cashIn, 80 reCashIn: reCashIn, 81 submitCashInPaymentProof: submitCashInPaymentProof, 82 cancelCashIn: cancelCashIn, 83 getCashInMethodList: getCashInMethodList, 84 getFullCashInDetails: getFullCashInDetails, 85 getStripePublishableKey: getStripePublishableKey, 86 isAboutToPurchaseBundleProductValid: isAboutToPurchaseBundleProductValid, 87 getFullCashOutDetails: getFullCashOutDetails 88 }; 89 }; 90 91 module.factory("walletApiService", apiService); 92 93}(angular.module("investagramsAngularApp")));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.