vesant-sdk 2.0.0-dev.76771da → 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.
Files changed (45) hide show
  1. package/dist/{client-CIEa7xYG.d.mts → client-BwkGrRW9.d.mts} +1 -1
  2. package/dist/{client-BJ87_Vv5.d.ts → client-CqSx0lAG.d.ts} +3 -3
  3. package/dist/{client-IAOGCBfm.d.mts → client-Dq0NMaXT.d.mts} +3 -3
  4. package/dist/{client-Bvp-f05-.d.ts → client-DvobLmsc.d.ts} +1 -1
  5. package/dist/compliance/index.d.mts +4 -4
  6. package/dist/compliance/index.d.ts +4 -4
  7. package/dist/decisions/index.d.mts +1 -1
  8. package/dist/decisions/index.d.ts +1 -1
  9. package/dist/geolocation/index.d.mts +3 -3
  10. package/dist/geolocation/index.d.ts +3 -3
  11. package/dist/index.d.mts +6 -6
  12. package/dist/index.d.ts +6 -6
  13. package/dist/index.js +54 -10
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +54 -10
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/kyc/core.d.mts +3 -3
  18. package/dist/kyc/core.d.ts +3 -3
  19. package/dist/kyc/core.js +54 -10
  20. package/dist/kyc/core.js.map +1 -1
  21. package/dist/kyc/core.mjs +54 -10
  22. package/dist/kyc/core.mjs.map +1 -1
  23. package/dist/kyc/index.d.mts +253 -21
  24. package/dist/kyc/index.d.ts +253 -21
  25. package/dist/kyc/index.js +54 -10
  26. package/dist/kyc/index.js.map +1 -1
  27. package/dist/kyc/index.mjs +54 -10
  28. package/dist/kyc/index.mjs.map +1 -1
  29. package/dist/react.d.mts +41 -6
  30. package/dist/react.d.ts +41 -6
  31. package/dist/react.js +603 -272
  32. package/dist/react.js.map +1 -1
  33. package/dist/react.mjs +603 -272
  34. package/dist/react.mjs.map +1 -1
  35. package/dist/risk-profile/index.d.mts +3 -3
  36. package/dist/risk-profile/index.d.ts +3 -3
  37. package/dist/scores/index.d.mts +1 -1
  38. package/dist/scores/index.d.ts +1 -1
  39. package/dist/{types-C4Zx0d_u.d.mts → types-BOFaMQxI.d.mts} +1 -1
  40. package/dist/{types-QUCWam16.d.mts → types-CBQRNL-l.d.mts} +10 -3
  41. package/dist/{types-QUCWam16.d.ts → types-CBQRNL-l.d.ts} +10 -3
  42. package/dist/{types-2utj53GK.d.ts → types-UGyDl1fd.d.ts} +1 -1
  43. package/dist/webhooks/index.d.mts +1 -1
  44. package/dist/webhooks/index.d.ts +1 -1
  45. 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-C4Zx0d_u.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-C4Zx0d_u.mjs';
4
- export { E as EntityType } from '../types-QUCWam16.mjs';
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-2utj53GK.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-2utj53GK.js';
4
- export { E as EntityType } from '../types-QUCWam16.js';
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
@@ -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-QUCWam16.mjs';
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.
@@ -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-QUCWam16.js';
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-QUCWam16.mjs';
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
- /** Structured block reason with machine-readable code and human-readable message */
61
- interface BlockReason {
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, Result as c };
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
- /** Structured block reason with machine-readable code and human-readable message */
61
- interface BlockReason {
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, Result as c };
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-QUCWam16.js';
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
@@ -1,4 +1,4 @@
1
- import { U as UUID, T as Timestamp, R as RiskLevel } from '../types-QUCWam16.mjs';
1
+ import { U as UUID, T as Timestamp, R as RiskLevel } from '../types-CBQRNL-l.mjs';
2
2
 
3
3
  /**
4
4
  * Webhook signature verification utilities.
@@ -1,4 +1,4 @@
1
- import { U as UUID, T as Timestamp, R as RiskLevel } from '../types-QUCWam16.js';
1
+ import { U as UUID, T as Timestamp, R as RiskLevel } from '../types-CBQRNL-l.js';
2
2
 
3
3
  /**
4
4
  * Webhook signature verification utilities.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vesant-sdk",
3
- "version": "2.0.0-dev.76771da",
3
+ "version": "2.0.0-dev.93ecc12",
4
4
  "workspaces": [
5
5
  "packages/*"
6
6
  ],