react-native-persona
Version:
Launch a mobile native implementation of the Persona inquiry flow from React Native.
56 lines • 2.31 kB
JavaScript
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
export class DocumentStepData {
constructor() {
_defineProperty(this, "stepName", void 0);
_defineProperty(this, "documents", void 0);
this.stepName = '';
this.documents = [];
}
}
export class GovernmentIdStepData {
constructor() {
_defineProperty(this, "stepName", void 0);
_defineProperty(this, "captures", void 0);
this.stepName = '';
this.captures = [];
}
}
export let GovernmentIdCaptureMethod = /*#__PURE__*/function (GovernmentIdCaptureMethod) {
GovernmentIdCaptureMethod["Manual"] = "Manual";
GovernmentIdCaptureMethod["Auto"] = "Auto";
GovernmentIdCaptureMethod["Upload"] = "Upload";
return GovernmentIdCaptureMethod;
}({});
export let GovernmentIdCaptureSide = /*#__PURE__*/function (GovernmentIdCaptureSide) {
GovernmentIdCaptureSide["Front"] = "Front";
GovernmentIdCaptureSide["Back"] = "Back";
return GovernmentIdCaptureSide;
}({});
export class SelfieStepData {
constructor() {
_defineProperty(this, "stepName", void 0);
_defineProperty(this, "centerCapture", void 0);
_defineProperty(this, "leftCapture", void 0);
_defineProperty(this, "rightCapture", void 0);
this.stepName = '';
this.centerCapture = null;
this.leftCapture = null;
this.rightCapture = null;
}
}
export let SelfieCaptureMethod = /*#__PURE__*/function (SelfieCaptureMethod) {
SelfieCaptureMethod["Manual"] = "Manual";
SelfieCaptureMethod["Auto"] = "Auto";
return SelfieCaptureMethod;
}({});
export class UiStepData {
constructor() {
_defineProperty(this, "stepName", void 0);
_defineProperty(this, "componentParams", void 0);
this.stepName = '';
this.componentParams = {};
}
}
//# sourceMappingURL=StepData.js.map