add get country to system core (#476)

pull/3759/head
elsiosanchez 2020-04-30 15:46:56 -04:00 committed by GitHub
parent a4a1cdb182
commit 10bb3f19ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,14 @@ export function getWarehousesList({
})
}
// Get Country definition from server using id or uuid for record
export function getCountryDefinition({ countryUuid, countryId }) {
return Instance.call(this).requestGetCountry({
countryUuid,
countryId
})
}
// Get languages from api
export function requestLanguages({ pageToken, pageSize }) {
return Instance.call(this).requestListLanguages({ pageToken, pageSize })