About SDK and license
SDK
To get the API version use:
DocumentReader.getAPIVersion().then(response => {
console.log(response);
});
To get the Core version use:
DocumentReader.getCoreVersion().then(response => {
console.log(response);
});
To get the Core mode use:
DocumentReader.getCoreMode().then(response => {
console.log(response);
});
Allows you to get database id, e.g. KAZ:
DocumentReader.getDatabaseID().then(response => {
console.log(response);
});
To get the database version use:
DocumentReader.getDatabaseVersion().then(response => {
console.log(response);
});
Allows you to get the database export date:
DocumentReader.getDatabaseDate().then(response => {
console.log(response);
});
To get the list of supported database documents use:
DocumentReader.getDatabaseDescription().then(response => {
console.log(response);
});
Allows to get the number of supported database countries:
DocumentReader.getDatabaseCountriesNumber().then(response => {
console.log(response);
});
Allows to get the number of supported database documents:
DocumentReader.getDatabaseDocumentsNumber().then(response => {
console.log(response);
});
License
Allows to get an expiration date of the license:
DocumentReader.getLicenseExpiryDate().then(response => {
console.log(response);
});
Allows to get a list of country identifiers which are defined for processing in the license. If the array is empty, there are no restrictions for processing:
DocumentReader.getLicenseCountryFilter().then(response => {
console.log(response);
});