ilink-world/webservice/IlinkConstants.js

95 lines
5.8 KiB
JavaScript
Raw Normal View History

2020-03-12 15:14:51 +00:00
export const isDebugMode = false
2019-06-16 13:09:54 +00:00
//base url test
2020-04-29 09:45:44 +00:00
//export const baseUrl = "https://ilink-app.com/mobilebackendbeta"
2019-06-16 13:09:54 +00:00
//base url production
2020-04-28 09:22:36 +00:00
//export const baseUrl = "https://ilink-app.com/mobilebackend";
//export const baseUrl = "https://test.ilink-app.com/mobilebackendtest";
2020-05-19 07:57:56 +00:00
//export const baseUrl = "http://test.ilink-app.com:8080/mobilebackendtest";
//const baseUrl = "https://ilink-app.com/mobilebackendtest2"
2020-05-19 09:44:47 +00:00
2021-02-25 23:33:16 +00:00
export const baseUrl = "http://test.ilink-app.com:8080/mobilebackend";
export const testBaseUrl = "https://test.ilink-app.com";
/*
2020-12-07 13:47:35 +00:00
export const baseUrl = " http://ilink-app.com:8082/mobilebackend";
export const testBaseUrl = "http://ilink-app.com:8080";
2021-02-25 23:33:16 +00:00
*/
2020-05-19 07:57:56 +00:00
2020-07-28 17:37:46 +00:00
/* export const baseUrl = "https://preprod.ilink-app.com:8080/mobilebackend";
export const testBaseUrl = "https://preprod.ilink-app.com"; */
2019-06-16 13:09:54 +00:00
//base url agent test
2020-05-19 07:57:56 +00:00
//const baseUrl = "https://ilink-app.com/mobilebackendtest";
2020-04-24 15:11:08 +00:00
2020-03-12 15:14:51 +00:00
export const adhesionUrl = baseUrl + '/interacted/LoginAction.php';
export const memberActionUrl = baseUrl + '/interacted/MembersAction.php';
export const networkActionUrl = baseUrl + '/interacted/NetworkAction.php';
export const locationActionUrl = baseUrl + '/interacted/LocationAction.php';
export const demandeActionUrl = baseUrl + '/interacted/DemandeAction.php';
2020-04-18 19:59:05 +00:00
export const configActionUrl = baseUrl + '/interacted/ConfigAction.php';
2020-05-19 09:44:47 +00:00
export const logoutActionUrl = testBaseUrl + '/logout';
2020-05-19 07:57:56 +00:00
2020-04-18 19:59:05 +00:00
export const walletActionUrl = testBaseUrl + '/walletService/wallets';
2020-06-02 09:05:50 +00:00
export const walletUserSimpleActionUrl = testBaseUrl + '/walletService/wallets/users';
2020-05-06 11:04:26 +00:00
export const walletDetailUrl = testBaseUrl + '/walletService/wallets';
2020-06-23 08:55:19 +00:00
2020-05-01 22:36:24 +00:00
export const creditTreatDemand = testBaseUrl + '/walletService/credits/treatDemand';
export const creditCancelDemand = testBaseUrl + '/walletService/credits/cancelDemand';
2020-06-23 08:55:19 +00:00
2020-05-03 09:16:24 +00:00
export const commissionAmount = testBaseUrl + '/walletService/transactions/commission';
2020-04-24 15:11:08 +00:00
export const transactionUrl = testBaseUrl + '/walletService/transactions';
2020-07-15 16:25:32 +00:00
export const transactionIlinkUrl = testBaseUrl + '/walletService/transactions/ilink';
2020-04-28 09:22:36 +00:00
export const transferCommission = testBaseUrl + '/walletService/virement';
2020-06-23 08:55:19 +00:00
2020-06-12 11:13:59 +00:00
export const createIdentificationUrl = testBaseUrl + '/walletService/identifications';
2020-06-23 08:55:19 +00:00
export const validateIdentificationUrl = testBaseUrl + '/walletService/identifications';
2020-06-16 09:25:46 +00:00
export const getNumberInformationUrl = testBaseUrl + '/walletService/identifications/verify';
2020-06-17 14:09:27 +00:00
export const getUserIdentifiedInformationUrl = testBaseUrl + '/walletService/identifications';
2020-06-23 08:55:19 +00:00
export const activeCountryUrl = testBaseUrl + '/walletService/countries';
export const payCountryNetworkUrl = testBaseUrl + '/walletService/paying_networks';
2020-07-08 19:01:56 +00:00
export const otherPayCountryNetworkUrl = testBaseUrl + '/walletService/other_paying_networks';
2020-06-23 08:55:19 +00:00
2020-06-23 10:28:52 +00:00
export const envoieUserWalletToWallet = testBaseUrl + '/walletService/transactions/ilink';
2020-07-02 14:35:00 +00:00
export const envoieCommissionUrl = testBaseUrl + '/walletService/transactions/ilink/commission';
2020-07-04 17:38:39 +00:00
export const idVerificationUrl = testBaseUrl + '/walletService/transactions/ilink/check_retraits';
2020-07-02 14:35:00 +00:00
export const linkCardUrl = testBaseUrl + '/walletService/identifications/rattach_card';
2020-08-27 20:04:51 +00:00
export const getCreditDemand = testBaseUrl + '/walletService/groups/demands';
2020-08-11 09:42:31 +00:00
export const groupUrl = testBaseUrl + '/walletService/groups';
2020-08-17 05:25:16 +00:00
export const treatDemandUrl = testBaseUrl + '/walletService/groups/demands/validate';
2020-08-24 19:18:19 +00:00
export const cancelDemandUrl = testBaseUrl + '/walletService/groups/demands/cancel';
2020-08-27 20:04:51 +00:00
export const askNanoCreditUrl = testBaseUrl + '/walletService/groups/nanoCredit/ask';
2020-09-07 16:10:48 +00:00
export const cautionCreditDemandtUrl = testBaseUrl + '/walletService/groups/nanoCredit/guarantee';
export const refundCreditDemandUrl = testBaseUrl + '/walletService/groups/nanoCredit/refund';
export const getNanoCreditDemandUrl = testBaseUrl + '/walletService/groups/nanoCredit/details';
2020-08-19 06:25:24 +00:00
export const joinGroupUrl = testBaseUrl + '/walletService/groups/join';
2020-08-27 20:04:51 +00:00
export const getNanoCreditDemandDureationUrl = testBaseUrl + '/walletService/groups/nanoCredit/durations';
2020-09-07 16:10:48 +00:00
export const epargnerArgentUrl = testBaseUrl + '/walletService/groups/nanoCredit/savings/make';
export const casserEpargneUrl = testBaseUrl + '/walletService/groups/nanoCredit/savings/break';
2020-08-11 09:42:31 +00:00
export const saveOnesignalIds = testBaseUrl + '/notificationService/onesignal';
2020-08-24 19:18:19 +00:00
export const getNotificationUrl = testBaseUrl + '/notificationService/notifications';
2020-09-30 05:46:30 +00:00
export const getNanoCreditAccount = testBaseUrl + '/walletService/groups/nanoCredit/accounts';
export const getNanoCreditUserHistoryUrl = testBaseUrl + '/walletService/groups/nanoCredit/all_demands';
export const getNanoCreditAgentHistoryUrl = testBaseUrl + '/walletService/groups/nanoCredit/guarantee_demands';
2020-10-16 17:57:16 +00:00
export const getHyperviseurHistoriqueUrl = testBaseUrl + '/walletService/wallets/all_hyper_history';
2020-11-20 17:06:19 +00:00
export const getSuperviseurHistoriqueUrl = testBaseUrl + '/walletService/wallets/all_super_history';
2020-11-11 10:18:19 +00:00
export const getBankUrl = testBaseUrl + '/walletService/wallets/users/operators/bank';
export const getHistoryNanoPendingCreditUrl = testBaseUrl + '/walletService/groups/nanoCredit/demands_in_progress';
export const getHistoryEpargnePendingUrl = testBaseUrl + '/walletService/groups/nanoCredit/savings/demands_in_progress';
2020-11-18 11:22:53 +00:00
export const getOperatorListUrl = testBaseUrl + '/walletService/wallets/users/operators';
2020-12-05 13:26:44 +00:00
export const getIlinkBankListUrl = testBaseUrl + '/walletService/wallets/users/banks_for_link';
export const linkBankAccountUrl = testBaseUrl + '/walletService/wallets/users/link_bank_account';
2020-11-27 09:28:47 +00:00
export const payBillUrl = testBaseUrl + '/walletService/transactions/ilink';
2020-06-23 10:28:52 +00:00
2020-04-18 19:59:05 +00:00
export const authKeyUrl = testBaseUrl + '/oauth/token';
export const videoUrl = "https://www.youtube.com/watch?v=wwGPDPsSLWY";
export const MARKER_URL = baseUrl + "/interacted/LocationAction.php";
export const authKeyData = {
2020-11-04 20:02:23 +00:00
"grant_type": "password",
"client_id": "2",
"client_secret": "rrbvxACJPBOG4cqjDNlstSljlmjydLon3P55JMav",
2020-04-18 19:59:05 +00:00
};