All notable changes to this project will be documented in this file.
- Updated DocV request to make id_type optional
- Updated JobStatusResponse to include kyc_receipt and kyb_receipt fields
- Fix for Biometric KYC Jobs
- Removed pre-validation step
- JobResponse now returns a new Result object that contains a message and a JobResponse
- Updated parsing of Instant
- Signature now only accepts / returns ISO Strings
- Added logging for error responses from server
- Added method to validate signature from string timestamp
- Updated examples
- Updated URLs for api calls
- Fixing bug with Sidserver in WebApi class
- Changed return object for all public methods
- Removed old Options, PartnerParameters, IDParameters, ImageParameters classes
- Changed method signature for public methods
- Exposed retrofit client, SmileIdentityApi, for the ability to make asynchronous API calls
- Updated documentation
- Added more POJOs
- Better handling of optional callback URLs
- Fixed the empty add methods on parameters to the server, should be able to handle empty cases and throw errors if empty or null
- Fixed jobs to make sure all job information is related to one thread and instance of all the classes
- Added smile services endpoint to assist with validation
- Fixed possible crash when passing null callback_url to WebApi class
- Allow more image_type_id specifically 4 and 6 for more information on this please see https://docs.usesmileid.com/products/web-api/core-libraries
- Also removed validations on id or selfie images
- Added support for java 8 and up
- Gradle from version 4 fully supports java 8 and gradle version 3 will work with java 8 but has limited support so
IDParameters() has two constructors please use the 8 parameters for Job Type 5 and the 9 parameters constructor for Job Type 1 the difference being the entered parameter
public IDParameters(String first_name, String middle_name, String last_name, String country, String id_type, String id_number, String dob, String phone_number, String entered)
public IDParameters(String first_name, String middle_name, String last_name, String country, String id_type, String id_number, String dob, String phone_number)
- Add {"success":true,"smile_job_id":"job_id"} to the response when we poll job status too
- Add the ID API Class
- Add the ability to query ID Api from the Web API class
- Add an extra required parameter of phone_number to ID Info params (can be null)
- Allow for entered parameter to be left out (specifically for ID API)
- Update the documentation to include Web API (job type 5) and ID API
- Remove the id_info validations for Web API (only validate the id_number, id_type and country)
- Amend the success response to be a stringified json of {"success":true,"smile_job_id":"job_id"}
- Move the language key to the package information section
- Add a signature class
- Confirm the signature when querying the job status
- Ensure that we allow null for options and idInfo
- Add dob for idInfo
- Allow some null and empty strings for idInfo parameters
- Update the docs
- Add a get_job_status public method to the Web API class
- Add a Utilities class we use to query job status as its own function
- The first release version of Web Api.