vesant-sdk 1.8.0-dev.ae8a3a2 → 1.8.0-dev.e84ff14
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.
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/kyc/core.js.map +1 -1
- package/dist/kyc/core.mjs.map +1 -1
- package/dist/kyc/index.d.mts +4 -16
- package/dist/kyc/index.d.ts +4 -16
- package/dist/kyc/index.js.map +1 -1
- package/dist/kyc/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/kyc/index.d.mts
CHANGED
|
@@ -269,14 +269,6 @@ interface KycVerificationTriggers {
|
|
|
269
269
|
first_purchase: boolean;
|
|
270
270
|
/** Re-trigger verification once the customer's identity document has expired. */
|
|
271
271
|
auto_trigger_on_id_expiration: boolean;
|
|
272
|
-
/**
|
|
273
|
-
* Manual KYC Verification: whether customers may start a verification
|
|
274
|
-
* themselves (`trigger_event: "manual"`), independent of the event
|
|
275
|
-
* triggers. On by default. When off, a `manual` request answers
|
|
276
|
-
* `kyc_required: false` with reason `KYC_NOT_REQUIRED_TRIGGER_DISABLED`;
|
|
277
|
-
* hide your Verification option in that case.
|
|
278
|
-
*/
|
|
279
|
-
manual: boolean;
|
|
280
272
|
/** Hold sensitive profile changes (name, DOB, address) behind KYC. */
|
|
281
273
|
account_sensitive_action?: AccountSensitiveActionTrigger;
|
|
282
274
|
}
|
|
@@ -446,9 +438,8 @@ interface UpdateKycStatusRequest {
|
|
|
446
438
|
}
|
|
447
439
|
/**
|
|
448
440
|
* Events that can trigger a KYC request. Each maps to a per-event toggle in
|
|
449
|
-
* the tenant's KYC verification trigger preferences
|
|
450
|
-
*
|
|
451
|
-
* document).
|
|
441
|
+
* the tenant's KYC verification trigger preferences, except `manual` (always
|
|
442
|
+
* required) and `login` (only for an expired identity document).
|
|
452
443
|
*/
|
|
453
444
|
type KycTriggerEvent = 'onboarding' | 'first_withdrawal' | 'first_purchase'
|
|
454
445
|
/** Aliases of `first_withdrawal` / `first_purchase` — same tenant toggles. */
|
|
@@ -510,11 +501,8 @@ interface RequestKycSubmitLinkRequest {
|
|
|
510
501
|
/**
|
|
511
502
|
* Event that triggered the KYC request. The tenant's KYC verification
|
|
512
503
|
* trigger preferences decide, per event, whether KYC is required
|
|
513
|
-
* (`kyc_required` in the response). "manual"
|
|
514
|
-
*
|
|
515
|
-
* Verification toggle (on by default) and honors the allow-skip-on-manual
|
|
516
|
-
* option (`can_skip`); when the toggle is off it answers `kyc_required:
|
|
517
|
-
* false` with `KYC_NOT_REQUIRED_TRIGGER_DISABLED`. "login"
|
|
504
|
+
* (`kyc_required` in the response). "manual" always requires KYC and
|
|
505
|
+
* honors the tenant's allow-skip-on-manual option (`can_skip`). "login"
|
|
518
506
|
* answers for any customer state — never verified (asked, not skippable),
|
|
519
507
|
* document expired (asked, skippable so you can offer "Remind me later"),
|
|
520
508
|
* or verified and valid (not asked) — so a platform that gates entry on KYC
|
package/dist/kyc/index.d.ts
CHANGED
|
@@ -269,14 +269,6 @@ interface KycVerificationTriggers {
|
|
|
269
269
|
first_purchase: boolean;
|
|
270
270
|
/** Re-trigger verification once the customer's identity document has expired. */
|
|
271
271
|
auto_trigger_on_id_expiration: boolean;
|
|
272
|
-
/**
|
|
273
|
-
* Manual KYC Verification: whether customers may start a verification
|
|
274
|
-
* themselves (`trigger_event: "manual"`), independent of the event
|
|
275
|
-
* triggers. On by default. When off, a `manual` request answers
|
|
276
|
-
* `kyc_required: false` with reason `KYC_NOT_REQUIRED_TRIGGER_DISABLED`;
|
|
277
|
-
* hide your Verification option in that case.
|
|
278
|
-
*/
|
|
279
|
-
manual: boolean;
|
|
280
272
|
/** Hold sensitive profile changes (name, DOB, address) behind KYC. */
|
|
281
273
|
account_sensitive_action?: AccountSensitiveActionTrigger;
|
|
282
274
|
}
|
|
@@ -446,9 +438,8 @@ interface UpdateKycStatusRequest {
|
|
|
446
438
|
}
|
|
447
439
|
/**
|
|
448
440
|
* Events that can trigger a KYC request. Each maps to a per-event toggle in
|
|
449
|
-
* the tenant's KYC verification trigger preferences
|
|
450
|
-
*
|
|
451
|
-
* document).
|
|
441
|
+
* the tenant's KYC verification trigger preferences, except `manual` (always
|
|
442
|
+
* required) and `login` (only for an expired identity document).
|
|
452
443
|
*/
|
|
453
444
|
type KycTriggerEvent = 'onboarding' | 'first_withdrawal' | 'first_purchase'
|
|
454
445
|
/** Aliases of `first_withdrawal` / `first_purchase` — same tenant toggles. */
|
|
@@ -510,11 +501,8 @@ interface RequestKycSubmitLinkRequest {
|
|
|
510
501
|
/**
|
|
511
502
|
* Event that triggered the KYC request. The tenant's KYC verification
|
|
512
503
|
* trigger preferences decide, per event, whether KYC is required
|
|
513
|
-
* (`kyc_required` in the response). "manual"
|
|
514
|
-
*
|
|
515
|
-
* Verification toggle (on by default) and honors the allow-skip-on-manual
|
|
516
|
-
* option (`can_skip`); when the toggle is off it answers `kyc_required:
|
|
517
|
-
* false` with `KYC_NOT_REQUIRED_TRIGGER_DISABLED`. "login"
|
|
504
|
+
* (`kyc_required` in the response). "manual" always requires KYC and
|
|
505
|
+
* honors the tenant's allow-skip-on-manual option (`can_skip`). "login"
|
|
518
506
|
* answers for any customer state — never verified (asked, not skippable),
|
|
519
507
|
* document expired (asked, skippable so you can offer "Remind me later"),
|
|
520
508
|
* or verified and valid (not asked) — so a platform that gates entry on KYC
|