mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
[INJIMOB-1666] - use /v1/mimoto for mimoto apis.
Signed-off-by: Swati Goel <meet2swati@gmail.com>
This commit is contained in:
@@ -101,8 +101,8 @@ export DEBUG_KEYSTORE_PASSWORD=android
|
||||
export RELEASE_KEYSTORE_ALIAS=androidreleasekey
|
||||
export RELEASE_KEYSTORE_PASSWORD=<USE-YOUR-RELEASE-PASSWORD-HERE>
|
||||
|
||||
# https://hostname/residentmobileapp is the Mimoto service url
|
||||
export BACKEND_SERVICE_URL=https://hostname/residentmobileapp
|
||||
# https://hostname/mimoto is the Mimoto service url
|
||||
export BACKEND_SERVICE_URL=https://hostname/v1/mimoto
|
||||
|
||||
# Build for MOSIP test
|
||||
npm run build:android:mosip
|
||||
|
||||
@@ -20,12 +20,12 @@ import {TelemetryConstants} from './telemetry/TelemetryConstants';
|
||||
export const API_URLS: ApiUrls = {
|
||||
issuersList: {
|
||||
method: 'GET',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/issuers',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/issuers',
|
||||
},
|
||||
issuerConfig: {
|
||||
method: 'GET',
|
||||
buildURL: (issuerId: string): `/${string}` =>
|
||||
`/residentmobileapp/issuers/${issuerId}`,
|
||||
`/v1/mimoto/issuers/${issuerId}`,
|
||||
},
|
||||
issuerWellknownConfig: {
|
||||
method: 'GET',
|
||||
@@ -33,40 +33,40 @@ export const API_URLS: ApiUrls = {
|
||||
},
|
||||
allProperties: {
|
||||
method: 'GET',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/allProperties',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/allProperties',
|
||||
},
|
||||
getIndividualId: {
|
||||
method: 'POST',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/aid/get-individual-id',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/aid/get-individual-id',
|
||||
},
|
||||
reqIndividualOTP: {
|
||||
method: 'POST',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/req/individualId/otp',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/req/individualId/otp',
|
||||
},
|
||||
walletBinding: {
|
||||
method: 'POST',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/wallet-binding',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/wallet-binding',
|
||||
},
|
||||
bindingOtp: {
|
||||
method: 'POST',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/binding-otp',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/binding-otp',
|
||||
},
|
||||
requestOtp: {
|
||||
method: 'POST',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/req/otp',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/req/otp',
|
||||
},
|
||||
credentialRequest: {
|
||||
method: 'POST',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/credentialshare/request',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/credentialshare/request',
|
||||
},
|
||||
credentialStatus: {
|
||||
method: 'GET',
|
||||
buildURL: (id: string): `/${string}` =>
|
||||
`/residentmobileapp/credentialshare/request/status/${id}`,
|
||||
`/v1/mimoto/credentialshare/request/status/${id}`,
|
||||
},
|
||||
credentialDownload: {
|
||||
method: 'POST',
|
||||
buildURL: (): `/${string}` => '/residentmobileapp/credentialshare/download',
|
||||
buildURL: (): `/${string}` => '/v1/mimoto/credentialshare/download',
|
||||
},
|
||||
linkTransaction: {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user