@spritz-finance/api-client 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24310,6 +24310,14 @@ interface operations {
24310
24310
  * @enum {string|null}
24311
24311
  */
24312
24312
  failureReason: "verify_sms" | "documentary_verification" | "risk_check" | "kyc_check" | "address_invalid" | "selfie_check" | "watchlist_screening" | "vpn_detected" | "duplicate_identity" | null;
24313
+ /** @description Set only when failureReason is duplicate_identity and the matched account belongs to the same integrator and matched the user on government ID number, full name and date of birth; null otherwise, including duplicates matched on fewer of those or only on phone or address, and matches under another integrator. */
24314
+ duplicateIdentity: {
24315
+ /**
24316
+ * @description Masked email of the matched account, lowercased. Before any `+` tag, shows the first two and last two characters from 8 characters, the first and last from 5, otherwise the first only, with a fixed `****` between. A `+` tag and the domain are shown in full. The raw email is never returned.
24317
+ * @example ja****oe@gmail.com
24318
+ */
24319
+ maskedEmail: string;
24320
+ } | null;
24313
24321
  /**
24314
24322
  * @description ISO 3166-1 alpha-2 country code where user was verified
24315
24323
  * @example US
@@ -24700,6 +24708,14 @@ interface operations {
24700
24708
  * @enum {string|null}
24701
24709
  */
24702
24710
  failureReason: "verify_sms" | "documentary_verification" | "risk_check" | "kyc_check" | "address_invalid" | "selfie_check" | "watchlist_screening" | "vpn_detected" | "duplicate_identity" | null;
24711
+ /** @description Set only when failureReason is duplicate_identity and the matched account belongs to the same integrator and matched the user on government ID number, full name and date of birth; null otherwise, including duplicates matched on fewer of those or only on phone or address, and matches under another integrator. */
24712
+ duplicateIdentity: {
24713
+ /**
24714
+ * @description Masked email of the matched account, lowercased. Before any `+` tag, shows the first two and last two characters from 8 characters, the first and last from 5, otherwise the first only, with a fixed `****` between. A `+` tag and the domain are shown in full. The raw email is never returned.
24715
+ * @example ja****oe@gmail.com
24716
+ */
24717
+ maskedEmail: string;
24718
+ } | null;
24703
24719
  /**
24704
24720
  * @description ISO 3166-1 alpha-2 country code where user was verified
24705
24721
  * @example US
@@ -25189,6 +25205,14 @@ interface operations {
25189
25205
  * @enum {string|null}
25190
25206
  */
25191
25207
  failureReason: "verify_sms" | "documentary_verification" | "risk_check" | "kyc_check" | "address_invalid" | "selfie_check" | "watchlist_screening" | "vpn_detected" | "duplicate_identity" | null;
25208
+ /** @description Set only when failureReason is duplicate_identity and the matched account belongs to the same integrator and matched the user on government ID number, full name and date of birth; null otherwise, including duplicates matched on fewer of those or only on phone or address, and matches under another integrator. */
25209
+ duplicateIdentity: {
25210
+ /**
25211
+ * @description Masked email of the matched account, lowercased. Before any `+` tag, shows the first two and last two characters from 8 characters, the first and last from 5, otherwise the first only, with a fixed `****` between. A `+` tag and the domain are shown in full. The raw email is never returned.
25212
+ * @example ja****oe@gmail.com
25213
+ */
25214
+ maskedEmail: string;
25215
+ } | null;
25192
25216
  /**
25193
25217
  * @description ISO 3166-1 alpha-2 country code where user was verified
25194
25218
  * @example US
@@ -43380,6 +43404,9 @@ declare class UserService {
43380
43404
  verification: {
43381
43405
  status: "not_started" | "verified" | "failed" | "disabled" | "retry" | "under_review";
43382
43406
  failureReason: "verify_sms" | "documentary_verification" | "risk_check" | "kyc_check" | "address_invalid" | "selfie_check" | "watchlist_screening" | "vpn_detected" | "duplicate_identity" | null;
43407
+ duplicateIdentity: {
43408
+ maskedEmail: string;
43409
+ } | null;
43383
43410
  country: string | null;
43384
43411
  requirement?: {
43385
43412
  type: "identity_verification" | "terms_acceptance" | "additional_verification" | "document_submission" | "region_restriction" | "regional_compliance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spritz-finance/api-client",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "packageManager": "yarn@1.22.22",
5
5
  "description": "Typescript library for interacting with the Spritz Finance API",
6
6
  "type": "module",