vesant-sdk 1.8.0-dev.9f7204d → 1.8.0-dev.a509f3d
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 +16 -4
- package/dist/kyc/index.d.ts +16 -4
- package/dist/kyc/index.js.map +1 -1
- package/dist/kyc/index.mjs.map +1 -1
- package/dist/tax/index.d.mts +1 -1
- package/dist/tax/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/kyc/index.d.mts
CHANGED
|
@@ -269,6 +269,14 @@ 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;
|
|
272
280
|
/** Hold sensitive profile changes (name, DOB, address) behind KYC. */
|
|
273
281
|
account_sensitive_action?: AccountSensitiveActionTrigger;
|
|
274
282
|
}
|
|
@@ -438,8 +446,9 @@ interface UpdateKycStatusRequest {
|
|
|
438
446
|
}
|
|
439
447
|
/**
|
|
440
448
|
* Events that can trigger a KYC request. Each maps to a per-event toggle in
|
|
441
|
-
* the tenant's KYC verification trigger preferences
|
|
442
|
-
*
|
|
449
|
+
* the tenant's KYC verification trigger preferences (`manual` to the Manual
|
|
450
|
+
* KYC Verification toggle), except `login` (only for an expired identity
|
|
451
|
+
* document).
|
|
443
452
|
*/
|
|
444
453
|
type KycTriggerEvent = 'onboarding' | 'first_withdrawal' | 'first_purchase'
|
|
445
454
|
/** Aliases of `first_withdrawal` / `first_purchase` — same tenant toggles. */
|
|
@@ -501,8 +510,11 @@ interface RequestKycSubmitLinkRequest {
|
|
|
501
510
|
/**
|
|
502
511
|
* Event that triggered the KYC request. The tenant's KYC verification
|
|
503
512
|
* trigger preferences decide, per event, whether KYC is required
|
|
504
|
-
* (`kyc_required` in the response). "manual"
|
|
505
|
-
*
|
|
513
|
+
* (`kyc_required` in the response). "manual" — the customer starting
|
|
514
|
+
* verification themselves — is governed by the tenant's Manual KYC
|
|
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"
|
|
506
518
|
* answers for any customer state — never verified (asked, not skippable),
|
|
507
519
|
* document expired (asked, skippable so you can offer "Remind me later"),
|
|
508
520
|
* or verified and valid (not asked) — so a platform that gates entry on KYC
|
package/dist/kyc/index.d.ts
CHANGED
|
@@ -269,6 +269,14 @@ 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;
|
|
272
280
|
/** Hold sensitive profile changes (name, DOB, address) behind KYC. */
|
|
273
281
|
account_sensitive_action?: AccountSensitiveActionTrigger;
|
|
274
282
|
}
|
|
@@ -438,8 +446,9 @@ interface UpdateKycStatusRequest {
|
|
|
438
446
|
}
|
|
439
447
|
/**
|
|
440
448
|
* Events that can trigger a KYC request. Each maps to a per-event toggle in
|
|
441
|
-
* the tenant's KYC verification trigger preferences
|
|
442
|
-
*
|
|
449
|
+
* the tenant's KYC verification trigger preferences (`manual` to the Manual
|
|
450
|
+
* KYC Verification toggle), except `login` (only for an expired identity
|
|
451
|
+
* document).
|
|
443
452
|
*/
|
|
444
453
|
type KycTriggerEvent = 'onboarding' | 'first_withdrawal' | 'first_purchase'
|
|
445
454
|
/** Aliases of `first_withdrawal` / `first_purchase` — same tenant toggles. */
|
|
@@ -501,8 +510,11 @@ interface RequestKycSubmitLinkRequest {
|
|
|
501
510
|
/**
|
|
502
511
|
* Event that triggered the KYC request. The tenant's KYC verification
|
|
503
512
|
* trigger preferences decide, per event, whether KYC is required
|
|
504
|
-
* (`kyc_required` in the response). "manual"
|
|
505
|
-
*
|
|
513
|
+
* (`kyc_required` in the response). "manual" — the customer starting
|
|
514
|
+
* verification themselves — is governed by the tenant's Manual KYC
|
|
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"
|
|
506
518
|
* answers for any customer state — never verified (asked, not skippable),
|
|
507
519
|
* document expired (asked, skippable so you can offer "Remind me later"),
|
|
508
520
|
* or verified and valid (not asked) — so a platform that gates entry on KYC
|