ilink-world/app/webservice/IlinkConstants.js

108 lines
7.3 KiB
JavaScript
Raw Normal View History

2020-03-12 15:14:51 +00:00
export const isDebugMode = false
2020-05-19 09:44:47 +00:00
export const baseUrl = "https://test.ilink-app.com:8080/mobilebackend";
2021-02-25 23:33:16 +00:00
export const testBaseUrl = "https://test.ilink-app.com";
2022-02-28 09:41:54 +00:00
export const testBaseUrlWithPort = "https://test.ilink-app.com:8086";
2021-02-25 23:33:16 +00:00
2021-10-26 18:19:13 +00:00
2019-06-16 13:09:54 +00:00
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
2022-05-04 02:26:39 +00:00
export const searchUserUrl = testBaseUrl + '/walletService/search/users';
export const searchUserHomeUrl = testBaseUrl + '/walletService/agents';
export const getQRCodeDetail = testBaseUrl + '/walletService/qrcode/read';
2022-02-28 09:41:54 +00:00
export const facturerSoinUrl = testBaseUrl + '/nanoSanteService/generate-invoice';
export const invoiceUrl = testBaseUrl + '/nanoSanteService/invoices';
export const invoiceUserUrl = testBaseUrl + '/nanoSanteService/insurances/invoices';
2022-05-04 02:26:39 +00:00
export const exclusionUrl = testBaseUrl + '/nanoSanteService/exclusions';
2021-10-29 18:51:10 +00:00
export const getInsuranceListUrl = testBaseUrl + '/nanoSanteService/insurances';
2022-02-28 09:41:54 +00:00
export const checkInsuranceCoverageAmountUrl = testBaseUrl + '/nanoSanteService/health-care-sheets/check-insurance-coverage-amount';
2022-03-18 10:58:47 +00:00
export const getUserByIdQRCodeUrl = testBaseUrl + '/walletService/qrcode/read';
2021-11-22 18:20:54 +00:00
export const getUserByNameOrNumberUrl = testBaseUrl + '/nanoSanteService/insured';
2021-11-29 11:30:04 +00:00
export const getDrugAndDevicesUrl = testBaseUrl + '/nanoSanteService/drugs-and-devices';
2021-10-29 18:51:10 +00:00
export const subscribeInsuranceUrl = testBaseUrl + '/nanoSanteService/insurances/subscriptions';
2022-05-04 02:26:39 +00:00
export const buyInsuranceUrl = testBaseUrl + '/nanoSanteService/insurances/invoices';
2021-11-29 11:30:04 +00:00
export const getProviderClassUrl = testBaseUrl + '/nanoSanteService/provider-classes';
export const getNetworkActsUrl = testBaseUrl + '/nanoSanteService/acts';
export const createConsultationUrl = testBaseUrl + '/nanoSanteService/health-care-sheets/consultation';
2021-12-16 14:28:24 +00:00
export const executionPrescriptionUrl = testBaseUrl + '/nanoSanteService/health-care-sheets/execution';
2021-12-07 05:25:01 +00:00
export const consultationUrl = testBaseUrl + '/nanoSanteService/health-care-sheets';
2022-05-04 02:26:39 +00:00
export const passwordValidationUrl = testBaseUrl + '/nanoSanteService/password-validation';
2021-11-30 15:33:51 +00:00
export const getAmountConsultationUrl = testBaseUrl + '/nanoSanteService/health-care-sheets/performances-amount';
2021-10-29 18:51:10 +00:00
export const getInsurancePrimeAmountUrl = testBaseUrl + '/nanoSanteService/insurances/subscriptions/bonus-amount';
2022-02-01 12:18:02 +00:00
export const autorisationCareRequestUrl = testBaseUrl + '/nanoSanteService/authorizations-care-requests';
2022-04-04 17:47:36 +00:00
export const uploadInsuranceImagetUrl = testBaseUrlWithPort + '/insurances/subscriptions/upload-images';
export const pdfViewerUrl = testBaseUrlWithPort + '/pdf-viewer';
2021-10-26 18:19:13 +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",
2022-05-04 02:26:39 +00:00
};