Skip to content
Draft
28 changes: 28 additions & 0 deletions migration/1770470071165-AddUserDataVerificationCallTime.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* @typedef {import('typeorm').MigrationInterface} MigrationInterface
* @typedef {import('typeorm').QueryRunner} QueryRunner
*/

/**
* @class
* @implements {MigrationInterface}
*/
module.exports = class AddUserDataVerificationCallTime1770470071165 {
name = 'AddUserDataVerificationCallTime1770470071165'

/**
* @param {QueryRunner} queryRunner
*/
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_data" ADD "phoneCallTimes" nvarchar(256)`);
await queryRunner.query(`ALTER TABLE "user_data" ADD "phoneCallStatus" nvarchar(256)`);
}

/**
* @param {QueryRunner} queryRunner
*/
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_data" DROP COLUMN "phoneCallStatus"`);
await queryRunner.query(`ALTER TABLE "user_data" DROP COLUMN "phoneCallTimes"`);
}
}
1 change: 1 addition & 0 deletions src/integration/sift/dto/sift.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,7 @@ export const SiftAmlDeclineMap: { [method in AmlReason]: DeclineCategory } = {
[AmlReason.MANUAL_CHECK_PHONE]: DeclineCategory.RISKY,
[AmlReason.MANUAL_CHECK_IP_PHONE]: DeclineCategory.RISKY,
[AmlReason.MANUAL_CHECK_IP_COUNTRY_PHONE]: DeclineCategory.RISKY,
[AmlReason.MANUAL_CHECK_PHONE_REJECTED]: DeclineCategory.RISKY,
[AmlReason.BANK_RELEASE_PENDING]: DeclineCategory.OTHER,
[AmlReason.VIRTUAL_IBAN_USER_MISMATCH]: DeclineCategory.RISKY,
[AmlReason.INTERMEDIARY_WITHOUT_SENDER]: DeclineCategory.RISKY,
Expand Down
13 changes: 7 additions & 6 deletions src/shared/i18n/de/mail.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@
"test_only": "Test",
"kyc_data_needed": "Für die Transaktion werden deine KYC Daten benötigt",
"bank_tx_needed": "Um diese Transaktion auszuführen ist zuvor eine Banktransaktion erforderlich",
"manual_check_phone": "Wir konnten dich unter deiner angegebenen Telefonnummer nicht erreichen",
"manual_check_ip_phone": "Wir konnten dich unter deiner angegebenen Telefonnummer nicht erreichen",
"manual_check_ip_country_phone": "Wir konnten dich unter deiner angegebenen Telefonnummer nicht erreichen",
"manual_check_phone": "Wir konnten dich unter deiner angegebenen Telefonnummer nicht erreichen. Du kannst einen erneuten Anruf und eine bevorzugte Uhrzeit für das Telefongespräch selber hier beantragen: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_phone": "Wir konnten dich unter deiner angegebenen Telefonnummer nicht erreichen. Du kannst einen erneuten Anruf und eine bevorzugte Uhrzeit für das Telefongespräch selber hier beantragen: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_country_phone": "Wir konnten dich unter deiner angegebenen Telefonnummer nicht erreichen. Du kannst einen erneuten Anruf und eine bevorzugte Uhrzeit für das Telefongespräch selber hier beantragen: [url:https://app.dfx.swiss/settings]",
"manual_check_phone_rejected": "Das Telefonat war nicht erfolgreich oder wurde abgelehnt",
"merge_incomplete": "Die Email Bestätigung wurde nicht akzeptiert",
"intermediary_without_sender": "Die Absenderbank (Wise/Revolut) hat nur den Banknamen übermittelt, nicht aber den Namen des Kontoinhabers. DFX kann daher den tatsächlichen Absender nicht verifizieren und die Transaktion nicht verarbeiten.",
"name_too_short": "Dein Name ist zu kurz für die Bankverarbeitung. Banken benötigen mindestens 4 Buchstaben im Namen des Kontoinhabers."
Expand Down Expand Up @@ -215,7 +216,7 @@
"line1": "Wir haben deine Einzahlung erhalten.",
"line2": "Wir werden uns in Kürze auf der Telefonnummer {phone} bei dir melden.",
"line3": "Wenn alle Fragen geklärt sind, wird deine Transaktion automatisch weiterverarbeitet.",
"line4": "",
"line4": "Du kannst eine bevorzugte Uhrzeit für das Telefongespräch selber hier angeben: [url:https://app.dfx.swiss/settings]",
"line5": "Wenn du stattdessen eine Rückzahlung anfordern möchtest:<br>[url:Klick hier]"
},
"merge_incomplete": {
Expand All @@ -242,7 +243,7 @@
"line1": "Wir haben deine Einzahlung erhalten.",
"line2": "Wir werden uns in Kürze auf der Telefonnummer {phone} bei dir melden.",
"line3": "Wenn alle Fragen geklärt sind, wird deine Transaktion automatisch weiterverarbeitet.",
"line4": "",
"line4": "Du kannst eine bevorzugte Uhrzeit für das Telefongespräch selber hier angeben: [url:https://app.dfx.swiss/settings]",
"line5": "Wenn du stattdessen eine Rückzahlung anfordern möchtest:<br>[url:Klick hier]"
},
"manual_check_ip_country_phone": {
Expand All @@ -251,7 +252,7 @@
"line1": "Wir haben deine Einzahlung erhalten.",
"line2": "Wir werden uns in Kürze auf der Telefonnummer {phone} bei dir melden.",
"line3": "Wenn alle Fragen geklärt sind, wird deine Transaktion automatisch weiterverarbeitet.",
"line4": "",
"line4": "Du kannst eine bevorzugte Uhrzeit für das Telefongespräch selber hier angeben: [url:https://app.dfx.swiss/settings]",
"line5": "Wenn du stattdessen eine Rückzahlung anfordern möchtest:<br>[url:Klick hier]"
}
},
Expand Down
13 changes: 7 additions & 6 deletions src/shared/i18n/en/mail.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@
"test_only": "Test",
"kyc_data_needed": "Your KYC data is required for the transaction",
"bank_tx_needed": "A bank transaction is required before this transaction can be carried out",
"manual_check_phone": "We were unable to reach you at the phone number you provided",
"manual_check_ip_phone": "We were unable to reach you at the phone number you provided",
"manual_check_ip_country_phone": "We were unable to reach you at the phone number you provided",
"manual_check_phone": "We were unable to reach you at the phone number you provided. You can request a callback and a preferred time for the phone call yourself here: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_phone": "We were unable to reach you at the phone number you provided. You can request a callback and a preferred time for the phone call yourself here: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_country_phone": "We were unable to reach you at the phone number you provided. You can request a callback and a preferred time for the phone call yourself here: [url:https://app.dfx.swiss/settings]",
"manual_check_phone_rejected": "The phone call was unsuccessful or rejected",
"merge_incomplete": "The email confirmation was not accepted",
"intermediary_without_sender": "The sender bank (Wise/Revolut) only transmitted the bank name, not the account holder's name. DFX is therefore unable to verify the actual sender and cannot process the transaction.",
"name_too_short": "Your name is too short for bank processing. Banks require at least 4 letters in the account holder name."
Expand Down Expand Up @@ -215,7 +216,7 @@
"line1": "We have received your deposit.",
"line2": "We will contact you shortly at {phone}.",
"line3": "Once all questions have been clarified, your transaction will be processed automatically.",
"line4": "",
"line4": "You can specify your preferred time for the phone call here: [url:https://app.dfx.swiss/settings]",
"line5": "If you would like to request a refund instead:<br>[url:click here]"
},
"merge_incomplete": {
Expand All @@ -242,7 +243,7 @@
"line1": "We have received your deposit.",
"line2": "We will contact you shortly at {phone}.",
"line3": "Once all questions have been clarified, your transaction will be processed automatically.",
"line4": "",
"line4": "You can specify your preferred time for the phone call here: [url:https://app.dfx.swiss/settings]",
"line5": "If you would like to request a refund instead:<br>[url:click here]"
},
"manual_check_ip_country_phone": {
Expand All @@ -251,7 +252,7 @@
"line1": "We have received your deposit.",
"line2": "We will contact you shortly at {phone}.",
"line3": "Once all questions have been clarified, your transaction will be processed automatically.",
"line4": "",
"line4": "You can specify your preferred time for the phone call here: [url:https://app.dfx.swiss/settings]",
"line5": "If you would like to request a refund instead:<br>[url:click here]"
}
},
Expand Down
13 changes: 7 additions & 6 deletions src/shared/i18n/es/mail.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@
"test_only": "Prueba",
"kyc_data_needed": "Sus datos KYC son necesarios para la transacción",
"bank_tx_needed": "Para poder realizar esta operación es necesaria una transacción bancaria",
"manual_check_phone": "No hemos podido contactar con usted al número de teléfono que nos facilitó",
"manual_check_ip_phone": "No hemos podido contactar con usted al número de teléfono que nos facilitó",
"manual_check_ip_country_phone": "No hemos podido contactar con usted al número de teléfono que nos facilitó",
"manual_check_phone": "No hemos podido contactar con usted al número de teléfono que nos facilitó. Aquí puede solicitar una llamada y elegir la hora que prefiera para recibirla: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_phone": "No hemos podido contactar con usted al número de teléfono que nos facilitó. Aquí puede solicitar una llamada y elegir la hora que prefiera para recibirla: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_country_phone": "No hemos podido contactar con usted al número de teléfono que nos facilitó. Aquí puede solicitar una llamada y elegir la hora que prefiera para recibirla: [url:https://app.dfx.swiss/settings]",
"manual_check_phone_rejected": "La llamada telefónica no se ha podido realizar o ha sido rechazada.",
"merge_incomplete": "El correo electrónico de confirmación no fue aceptado",
"intermediary_without_sender": "El banco emisor (Wise/Revolut) solo transmitió el nombre del banco, no el nombre del titular de la cuenta. Por lo tanto, DFX no puede verificar el remitente real y no puede procesar la transacción.",
"name_too_short": "Tu nombre es demasiado corto para el procesamiento bancario. Los bancos requieren al menos 4 letras en el nombre del titular de la cuenta."
Expand Down Expand Up @@ -215,7 +216,7 @@
"line1": "Hemos recibido su depósito.",
"line2": "Nos pondremos en contacto con usted en breve en el {phone}.",
"line3": "Una vez que se hayan aclarado todas las preguntas, su transacción se procesará automáticamente.",
"line4": "",
"line4": "Aquí puede especificar la hora que prefiera para la llamada telefónica: [url:https://app.dfx.swiss/settings]",
"line5": "Si desea solicitar un reembolso en su lugar:<br>[url:haga clic aquí]"
},
"merge_incomplete": {
Expand All @@ -242,7 +243,7 @@
"line1": "Hemos recibido su depósito.",
"line2": "Nos pondremos en contacto con usted en breve en el {phone}.",
"line3": "Una vez que se hayan aclarado todas las preguntas, su transacción se procesará automáticamente.",
"line4": "",
"line4": "Aquí puede especificar la hora que prefiera para la llamada telefónica: [url:https://app.dfx.swiss/settings]",
"line5": "Si desea solicitar un reembolso en su lugar:<br>[url:haga clic aquí]"
},
"manual_check_ip_country_phone": {
Expand All @@ -251,7 +252,7 @@
"line1": "Hemos recibido su depósito.",
"line2": "Nos pondremos en contacto con usted en breve en el {phone}.",
"line3": "Una vez que se hayan aclarado todas las preguntas, su transacción se procesará automáticamente.",
"line4": "",
"line4": "Aquí puede especificar la hora que prefiera para la llamada telefónica: [url:https://app.dfx.swiss/settings]",
"line5": "Si desea solicitar un reembolso en su lugar:<br>[url:haga clic aquí]"
}
},
Expand Down
13 changes: 7 additions & 6 deletions src/shared/i18n/fr/mail.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@
"test_only": "Test",
"kyc_data_needed": "Vos données KYC sont nécessaires pour la transaction",
"bank_tx_needed": "Une transaction bancaire est nécessaire pour que cette opération puisse être effectuée",
"manual_check_phone": "Nous n'avons pas réussi à vous joindre au numéro de téléphone que vous avez fourni",
"manual_check_ip_phone": "Nous n'avons pas réussi à vous joindre au numéro de téléphone que vous avez fourni",
"manual_check_ip_country_phone": "Nous n'avons pas réussi à vous joindre au numéro de téléphone que vous avez fourni",
"manual_check_phone": "Nous n'avons pas réussi à vous joindre au numéro de téléphone que vous avez fourni. Vous pouvez demander ici à être rappelé et indiquer l'heure à laquelle vous souhaitez recevoir l'appel: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_phone": "Nous n'avons pas réussi à vous joindre au numéro de téléphone que vous avez fourni. Vous pouvez demander ici à être rappelé et indiquer l'heure à laquelle vous souhaitez recevoir l'appel: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_country_phone": "Nous n'avons pas réussi à vous joindre au numéro de téléphone que vous avez fourni. Vous pouvez demander ici à être rappelé et indiquer l'heure à laquelle vous souhaitez recevoir l'appel: [url:https://app.dfx.swiss/settings]",
"manual_check_phone_rejected": "L'appel téléphonique n'a pas abouti ou a été rejeté",
"merge_incomplete": "L'e-mail de confirmation n'a pas été accepté",
"intermediary_without_sender": "La banque émettrice (Wise/Revolut) n'a transmis que le nom de la banque, et non le nom du titulaire du compte. DFX ne peut donc pas vérifier l'expéditeur réel et ne peut pas traiter la transaction.",
"name_too_short": "Votre nom est trop court pour le traitement bancaire. Les banques exigent au moins 4 lettres dans le nom du titulaire du compte."
Expand Down Expand Up @@ -215,7 +216,7 @@
"line1": "Nous avons bien reçu votre acompte.",
"line2": "Nous vous contacterons sous peu au {phone}.",
"line3": "Une fois toutes les questions clarifiées, votre transaction sera traitée automatiquement.",
"line4": "",
"line4": "Vous pouvez indiquer ici l'heure à laquelle vous souhaitez recevoir l'appel téléphonique: [url:https://app.dfx.swiss/settings]",
"line5": "Si vous souhaitez demander un remboursement:<br>[url:cliquez ici]"
},
"merge_incomplete": {
Expand All @@ -242,7 +243,7 @@
"line1": "Nous avons bien reçu votre acompte.",
"line2": "Nous vous contacterons sous peu au {phone}.",
"line3": "Une fois toutes les questions clarifiées, votre transaction sera traitée automatiquement.",
"line4": "",
"line4": "Vous pouvez indiquer ici l'heure à laquelle vous souhaitez recevoir l'appel téléphonique: [url:https://app.dfx.swiss/settings]",
"line5": "Si vous souhaitez demander un remboursement:<br>[url:cliquez ici]"
},
"manual_check_ip_country_phone": {
Expand All @@ -251,7 +252,7 @@
"line1": "Nous avons bien reçu votre acompte.",
"line2": "Nous vous contacterons sous peu au {phone}.",
"line3": "Une fois toutes les questions clarifiées, votre transaction sera traitée automatiquement.",
"line4": "",
"line4": "Vous pouvez indiquer ici l'heure à laquelle vous souhaitez recevoir l'appel téléphonique: [url:https://app.dfx.swiss/settings]",
"line5": "Si vous souhaitez demander un remboursement:<br>[url:cliquez ici]"
}
},
Expand Down
13 changes: 7 additions & 6 deletions src/shared/i18n/it/mail.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@
"test_only": "Test",
"kyc_data_needed": "I dati KYC sono necessari per la transazione",
"bank_tx_needed": "Per effettuare questa transazione è necessaria una transazione bancaria",
"manual_check_phone": "Non siamo riusciti a contattarti al numero di telefono che ci hai fornito",
"manual_check_ip_phone": "Non siamo riusciti a contattarti al numero di telefono che ci hai fornito",
"manual_check_ip_country_phone": "Non siamo riusciti a contattarti al numero di telefono che ci hai fornito",
"manual_check_phone": "Non siamo riusciti a contattarti al numero di telefono che ci hai fornito. Puoi richiedere tu stesso una richiamata e indicare l'orario che preferisci per la telefonata qui: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_phone": "Non siamo riusciti a contattarti al numero di telefono che ci hai fornito. Puoi richiedere tu stesso una richiamata e indicare l'orario che preferisci per la telefonata qui: [url:https://app.dfx.swiss/settings]",
"manual_check_ip_country_phone": "Non siamo riusciti a contattarti al numero di telefono che ci hai fornito. Puoi richiedere tu stesso una richiamata e indicare l'orario che preferisci per la telefonata qui: [url:https://app.dfx.swiss/settings]",
"manual_check_phone_rejected": "La telefonata non è andata a buon fine o è stata rifiutata.",
"merge_incomplete": "L'e-mail di conferma non è stata accettata",
"intermediary_without_sender": "La banca mittente (Wise/Revolut) ha trasmesso solo il nome della banca, non il nome del titolare del conto. DFX non può quindi verificare il mittente effettivo e non può elaborare la transazione.",
"name_too_short": "Il tuo nome è troppo corto per l'elaborazione bancaria. Le banche richiedono almeno 4 lettere nel nome del titolare del conto."
Expand Down Expand Up @@ -215,7 +216,7 @@
"line1": "Abbiamo ricevuto il tuo deposito.",
"line2": "Ti contatteremo a breve al numero {phone}.",
"line3": "Una volta chiariti tutti i dubbi, la transazione verrà elaborata automaticamente.",
"line4": "",
"line4": "Qui puoi specificare l'orario che preferisci per la telefonata: [url:https://app.dfx.swiss/settings]",
"line5": "Se invece si desidera richiedere un rimborso:<br>[url:clicca qui]"
},
"merge_incomplete": {
Expand All @@ -242,7 +243,7 @@
"line1": "Abbiamo ricevuto il tuo deposito.",
"line2": "Ti contatteremo a breve al numero {phone}.",
"line3": "Una volta chiariti tutti i dubbi, la transazione verrà elaborata automaticamente.",
"line4": "",
"line4": "Qui puoi specificare l'orario che preferisci per la telefonata: [url:https://app.dfx.swiss/settings]",
"line5": "Se invece si desidera richiedere un rimborso:<br>[url:clicca qui]"
},
"manual_check_ip_country_phone": {
Expand All @@ -251,7 +252,7 @@
"line1": "Abbiamo ricevuto il tuo deposito.",
"line2": "Ti contatteremo a breve al numero {phone}.",
"line3": "Una volta chiariti tutti i dubbi, la transazione verrà elaborata automaticamente.",
"line4": "",
"line4": "Qui puoi specificare l'orario che preferisci per la telefonata: [url:https://app.dfx.swiss/settings]",
"line5": "Se invece si desidera richiedere un rimborso:<br>[url:clicca qui]"
}
},
Expand Down
Loading
Loading