UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

38 lines (37 loc) 1.21 kB
try { let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack; n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "35119690-d42c-4dc2-a2bb-8033f3033e03", e._sentryDebugIdIdentifier = "sentry-dbid-35119690-d42c-4dc2-a2bb-8033f3033e03"); } catch (e) {} var TaskStatuses = { EMPTY: "EMPTY", FINISHED: "FINISHED", PROCESSING: "PROCESSING", DETAILS_REQUIRED: "DETAILS_REQUIRED", SIGN: "SIGN", DOWNLOAD: "DOWNLOAD", SUBMIT: "SUBMIT", ERROR: "ERROR", SIGNED: "SIGNED", REMOVING: "REMOVING", UNKNOWN: "UNKNOWN" }; /** * Used to define the priority of the statuses while processing the capabilities. */ var TASK_STATUS_PRIORITY = { EMPTY: 0, FINISHED: 1, PROCESSING: 2, DETAILS_REQUIRED: 3, SIGN: 4, DOWNLOAD: 5, SUBMIT: 6, ERROR: 7, SIGNED: 8, REMOVING: 9, UNKNOWN: 10 }; var TASK_STATUS_POLLING_INTERVAL_MS = 3e3; var TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS = 6e3; //#endregion export { TaskStatuses as i, TASK_STATUS_POLLING_INTERVAL_MS as n, TASK_STATUS_PRIORITY as r, TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS as t };