Skip to content

Instantly share code, notes, and snippets.

View rafaelmotta's full-sized avatar
🎯
Focusing

Rafael Michels Motta rafaelmotta

🎯
Focusing
View GitHub Profile
[
{
"fp_user_id": "fp_id_BmwhLRgwmvJZcGWS4QWQ9N",
"tenant_id": "org_hyZP3ksCvsT0AlLqMZsgrI",
"reason": "Transaction over $5k",
"principal": "Lorem (lorem@onefootprint.com)",
"timestamp": "2022-11-09T23:24:15.574890Z",
"ordering_id": 1322,
"kind": "decrypt",
"targets": ["Email", "Phone number", "SSN (last 4)", "SSN (full)", "Name", "DOB"]
{ "data": [{ "fp_user_id": "fp_id_BmwhLRgwmvJZcGWS4QWQ9N", "tenant_id": "org_hyZP3ksCvsT0AlLqMZsgrI", "reason": "Transaction over $5k", "principal": "Lorem (lorem@onefootprint.com)", "timestamp": "2022-11-09T23:24:15.574890Z", "ordering_id": 1322, "kind": "decrypt", "targets": ["email", "phone_number", "ssn4", "ssn9", "name", "identity.dob"] }, { "fp_user_id": "fp_id_dqeWh4dwE3lF4XBHDfyxv9", "tenant_id": "org_hyZP3ksCvsT0AlLqMZsgrI", "reason": "Sending communication to customer", "principal": "Ipsum Dolor (ipsum@onefootprint.com)", "timestamp": "2022-11-02T16:03:42.630957Z", "ordering_id": 870, "kind": "decrypt", "targets": ["email", "name"] }, { "fp_user_id": "fp_id_dqeWh4dwE3lF4XBHDfyxv9", "tenant_id": "org_hyZP3ksCvsT0AlLqMZsgrI", "reason": "Responding to customer support inquiry", "principal": "Ipsum Dolor (ipsum@onefootprint.com)", "timestamp": "2022-11-02T16:03:05.882155Z", "ordering_id": 869, "kind": "decrypt", "targets": ["name"] }, { "fp_user_id": "fp_id_dqeWh4dwE3lF4XBHDfyxv9", "tenant_id": "org_hyZ
@rafaelmotta
rafaelmotta / example.ts
Last active October 21, 2022 17:37
React Native Integration
import { FootprintButton } from '@onefooprint/footprint-react-native';
import { View, StyleSheet } from 'react-native';
const Screen = () => {
const handleCompleted = (validationToken: string) => {
console.log(validationToken)
}
const handleCanceled = () => {
console.log('user canceled')
@rafaelmotta
rafaelmotta / test.json
Created October 20, 2022 17:12
Test.json
{ "data": "foo" }
@rafaelmotta
rafaelmotta / test.json
Created October 20, 2022 17:12
Test.json
{ "data": "foo" }
const States = {
emailIdentification: 'emailIdentification',
basicInformation: 'basicInformation',
phoneVerification: 'phoneVerification',
verificationSuccess: 'verificationSuccess',
phoneRegistration: 'phoneRegistration',
residentialAddress: 'residentialAddress',
ssn: 'ssn',
registrationSuccess: 'registrationSuccess',
}
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
<html class="no-js"><!--<![endif]--><head>
<meta charset="utf-8"><script src="https://js-agent.newrelic.com/nr-1167.min.js"></script><script type="text/javascript">(window.NREUM||(NREUM={})).loader_config={xpid:"VQcGUFBRDBABVFJVBQIBUFM=",licenseKey:"228e4ec6d6",applicationID:"103723667"};window.NREUM||(NREUM={}),__nr_require=function(t,n,e){function r(e){if(!n[e]){var o=n[e]={exports:{}};t[e][0].call(o.exports,function(n){var o=t[e][1][n];return r(o||n)},o,o.exports)}return n[e].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<e.length;o++)r(e[o]);return r}({1:[function(t,n,e){function r(t){try{s.console&&console.log(t)}catch(n){}}var o,i=t("ee"),a=t(21),s={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(s.console=!0,o.indexOf("dev")!==-1&&(s.dev=!0),o.indexOf("nr_dev")!==-1&&(s.nrDev=!0))}catch(c){}s.nrDev&&i.on("internal-error",function(t){r(t.stack)}),s.dev&&i.on("fn-err",function(t,n,e){r(e.stack)}),s.dev&&(r("NR AGENT IN DEVELO
@rafaelmotta
rafaelmotta / scalling.js
Last active February 12, 2018 12:17
React Native Scale
import {
Dimensions,
} from 'react-native';
const dimensions = Dimensions.get('window');
const { width, height } = dimensions;
const guidelineBaseWidth = 350;
const guidelineBaseHeight = 680;
@rafaelmotta
rafaelmotta / teste.js
Created November 24, 2017 06:52
testando
const user = {
name: 'Rafael',
email: 'rafaelmotta021@gmail.com',
}
const printName = ({name}) => {
alert(name)
}