feat: add 3rd party services splash screen feat: add sumsub as a configurable 3rd party service feat: sumsub config loader fix: small fixes feat: add external validation as a compliance trigger feat: add external validation route in l-s feat: add external validation graphql module feat: integrate sumsub SDK feat: improve sumsub form to allow adding multiple applicant levels with enhanced UX feat: added support for array fields in FormRenderer feat: allow external validation triggers to dynamically use levels setup in the services page fix: multiple small fixes feat: get external compliance customer info fix: small fixes feat: add informational card in customer profile regarding external service info feat: send external customer data for machine trigger verification feat: restrictions to the creation of custom info requests and external validation triggers fix: allow for a single applicant level to be setup fix: account instance access fix: small fixes fix: development-only log
11 lines
380 B
JavaScript
11 lines
380 B
JavaScript
const externalCompliance = require('../../../compliance-external')
|
|
const { loadLatest } = require('../../../new-settings-loader')
|
|
|
|
const resolvers = {
|
|
Query: {
|
|
getApplicantAccessToken: (...[, { customerId, triggerId }]) => loadLatest()
|
|
.then(settings => externalCompliance.createApplicantAccessToken(settings, customerId, triggerId))
|
|
}
|
|
}
|
|
|
|
module.exports = resolvers
|