vesant-sdk 2.0.0-dev.51108af → 2.0.0-dev.93ecc12
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/{client-CIEa7xYG.d.mts → client-BwkGrRW9.d.mts} +1 -1
- package/dist/{client-BJ87_Vv5.d.ts → client-CqSx0lAG.d.ts} +3 -3
- package/dist/{client-IAOGCBfm.d.mts → client-Dq0NMaXT.d.mts} +3 -3
- package/dist/{client-Bvp-f05-.d.ts → client-DvobLmsc.d.ts} +1 -1
- package/dist/compliance/index.d.mts +4 -4
- package/dist/compliance/index.d.ts +4 -4
- package/dist/decisions/index.d.mts +1 -1
- package/dist/decisions/index.d.ts +1 -1
- package/dist/geolocation/index.d.mts +3 -3
- package/dist/geolocation/index.d.ts +3 -3
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +54 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +54 -10
- package/dist/index.mjs.map +1 -1
- package/dist/kyc/core.d.mts +3 -3
- package/dist/kyc/core.d.ts +3 -3
- package/dist/kyc/core.js +54 -10
- package/dist/kyc/core.js.map +1 -1
- package/dist/kyc/core.mjs +54 -10
- package/dist/kyc/core.mjs.map +1 -1
- package/dist/kyc/index.d.mts +253 -21
- package/dist/kyc/index.d.ts +253 -21
- package/dist/kyc/index.js +54 -10
- package/dist/kyc/index.js.map +1 -1
- package/dist/kyc/index.mjs +54 -10
- package/dist/kyc/index.mjs.map +1 -1
- package/dist/react.d.mts +41 -6
- package/dist/react.d.ts +41 -6
- package/dist/react.js +603 -272
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +603 -272
- package/dist/react.mjs.map +1 -1
- package/dist/risk-profile/index.d.mts +3 -3
- package/dist/risk-profile/index.d.ts +3 -3
- package/dist/scores/index.d.mts +1 -1
- package/dist/scores/index.d.ts +1 -1
- package/dist/{types-C4Zx0d_u.d.mts → types-BOFaMQxI.d.mts} +1 -1
- package/dist/{types-QUCWam16.d.mts → types-CBQRNL-l.d.mts} +10 -3
- package/dist/{types-QUCWam16.d.ts → types-CBQRNL-l.d.ts} +10 -3
- package/dist/{types-2utj53GK.d.ts → types-UGyDl1fd.d.ts} +1 -1
- package/dist/webhooks/index.d.mts +1 -1
- package/dist/webhooks/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as BaseClient, a as BaseClientConfig, R as RequestOptions } from '../client-BolQlL5e.mjs';
|
|
2
|
-
import { a as CreateProfileRequest, C as CustomerProfile, U as UpdateProfileRequest } from '../types-
|
|
3
|
-
export { E as EmploymentType, L as LegalForm, c as ProfileDetailsResponse, P as ProfileFilters, b as ProfileListResponse, R as RiskCategory, d as RiskConfiguration, e as RiskDashboardMetrics, f as RiskFactor, g as RiskFactorType, h as RiskHistory, S as ScreeningStatus } from '../types-
|
|
4
|
-
export { E as EntityType } from '../types-
|
|
2
|
+
import { a as CreateProfileRequest, C as CustomerProfile, U as UpdateProfileRequest } from '../types-BOFaMQxI.mjs';
|
|
3
|
+
export { E as EmploymentType, L as LegalForm, c as ProfileDetailsResponse, P as ProfileFilters, b as ProfileListResponse, R as RiskCategory, d as RiskConfiguration, e as RiskDashboardMetrics, f as RiskFactor, g as RiskFactorType, h as RiskHistory, S as ScreeningStatus } from '../types-BOFaMQxI.mjs';
|
|
4
|
+
export { E as EntityType } from '../types-CBQRNL-l.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* RiskProfileClient - Customer Risk Profile Management
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as BaseClient, a as BaseClientConfig, R as RequestOptions } from '../client-BolQlL5e.js';
|
|
2
|
-
import { a as CreateProfileRequest, C as CustomerProfile, U as UpdateProfileRequest } from '../types-
|
|
3
|
-
export { E as EmploymentType, L as LegalForm, c as ProfileDetailsResponse, P as ProfileFilters, b as ProfileListResponse, R as RiskCategory, d as RiskConfiguration, e as RiskDashboardMetrics, f as RiskFactor, g as RiskFactorType, h as RiskHistory, S as ScreeningStatus } from '../types-
|
|
4
|
-
export { E as EntityType } from '../types-
|
|
2
|
+
import { a as CreateProfileRequest, C as CustomerProfile, U as UpdateProfileRequest } from '../types-UGyDl1fd.js';
|
|
3
|
+
export { E as EmploymentType, L as LegalForm, c as ProfileDetailsResponse, P as ProfileFilters, b as ProfileListResponse, R as RiskCategory, d as RiskConfiguration, e as RiskDashboardMetrics, f as RiskFactor, g as RiskFactorType, h as RiskHistory, S as ScreeningStatus } from '../types-UGyDl1fd.js';
|
|
4
|
+
export { E as EntityType } from '../types-CBQRNL-l.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* RiskProfileClient - Customer Risk Profile Management
|
package/dist/scores/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as BaseClient, R as RequestOptions } from '../client-BolQlL5e.mjs';
|
|
2
|
-
import { R as RiskLevel, T as Timestamp, U as UUID } from '../types-
|
|
2
|
+
import { R as RiskLevel, T as Timestamp, U as UUID } from '../types-CBQRNL-l.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Score and Workflow type definitions.
|
package/dist/scores/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as BaseClient, R as RequestOptions } from '../client-BolQlL5e.js';
|
|
2
|
-
import { R as RiskLevel, T as Timestamp, U as UUID } from '../types-
|
|
2
|
+
import { R as RiskLevel, T as Timestamp, U as UUID } from '../types-CBQRNL-l.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Score and Workflow type definitions.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityType, C as CustomerStatus, L as LocationCompliance, U as UUID, T as Timestamp, P as PaginationParams, a as PaginatedResponse } from './types-
|
|
1
|
+
import { E as EntityType, C as CustomerStatus, L as LocationCompliance, U as UUID, T as Timestamp, P as PaginationParams, a as PaginatedResponse } from './types-CBQRNL-l.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Type definitions for Vesant Risk Profile Service
|
|
@@ -57,11 +57,18 @@ type LocationCompliance = 'compliant' | 'non-compliant' | 'unknown';
|
|
|
57
57
|
* Verification event types
|
|
58
58
|
*/
|
|
59
59
|
type VerificationEventType = 'registration' | 'login' | 'transaction' | 'withdrawal' | 'deposit' | 'api_access' | 'profile_update';
|
|
60
|
-
/**
|
|
61
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Structured reason with a machine-readable code and a human-readable message.
|
|
62
|
+
* Shared across compliance signals — compliance block reasons and KYC
|
|
63
|
+
* declines/warnings all use this shape.
|
|
64
|
+
*/
|
|
65
|
+
interface Reason {
|
|
62
66
|
code: string;
|
|
63
67
|
message: string;
|
|
64
68
|
metadata?: Record<string, unknown>;
|
|
65
69
|
}
|
|
70
|
+
/** Domain alias of {@link Reason}, used for compliance block reasons. Both names
|
|
71
|
+
* refer to the same structure; use whichever reads best in context. */
|
|
72
|
+
type BlockReason = Reason;
|
|
66
73
|
|
|
67
|
-
export type { APIResponse as A, BlockReason as B, CustomerStatus as C, EntityType as E, LocationCompliance as L, PaginationParams as P, RiskLevel as R, SuccessResponse as S, Timestamp as T, UUID as U, VerificationEventType as V, PaginatedResponse as a, ErrorResponse as b,
|
|
74
|
+
export type { APIResponse as A, BlockReason as B, CustomerStatus as C, EntityType as E, LocationCompliance as L, PaginationParams as P, RiskLevel as R, SuccessResponse as S, Timestamp as T, UUID as U, VerificationEventType as V, PaginatedResponse as a, ErrorResponse as b, Reason as c, Result as d };
|
|
@@ -57,11 +57,18 @@ type LocationCompliance = 'compliant' | 'non-compliant' | 'unknown';
|
|
|
57
57
|
* Verification event types
|
|
58
58
|
*/
|
|
59
59
|
type VerificationEventType = 'registration' | 'login' | 'transaction' | 'withdrawal' | 'deposit' | 'api_access' | 'profile_update';
|
|
60
|
-
/**
|
|
61
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Structured reason with a machine-readable code and a human-readable message.
|
|
62
|
+
* Shared across compliance signals — compliance block reasons and KYC
|
|
63
|
+
* declines/warnings all use this shape.
|
|
64
|
+
*/
|
|
65
|
+
interface Reason {
|
|
62
66
|
code: string;
|
|
63
67
|
message: string;
|
|
64
68
|
metadata?: Record<string, unknown>;
|
|
65
69
|
}
|
|
70
|
+
/** Domain alias of {@link Reason}, used for compliance block reasons. Both names
|
|
71
|
+
* refer to the same structure; use whichever reads best in context. */
|
|
72
|
+
type BlockReason = Reason;
|
|
66
73
|
|
|
67
|
-
export type { APIResponse as A, BlockReason as B, CustomerStatus as C, EntityType as E, LocationCompliance as L, PaginationParams as P, RiskLevel as R, SuccessResponse as S, Timestamp as T, UUID as U, VerificationEventType as V, PaginatedResponse as a, ErrorResponse as b,
|
|
74
|
+
export type { APIResponse as A, BlockReason as B, CustomerStatus as C, EntityType as E, LocationCompliance as L, PaginationParams as P, RiskLevel as R, SuccessResponse as S, Timestamp as T, UUID as U, VerificationEventType as V, PaginatedResponse as a, ErrorResponse as b, Reason as c, Result as d };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityType, C as CustomerStatus, L as LocationCompliance, U as UUID, T as Timestamp, P as PaginationParams, a as PaginatedResponse } from './types-
|
|
1
|
+
import { E as EntityType, C as CustomerStatus, L as LocationCompliance, U as UUID, T as Timestamp, P as PaginationParams, a as PaginatedResponse } from './types-CBQRNL-l.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Type definitions for Vesant Risk Profile Service
|
package/dist/webhooks/index.d.ts
CHANGED