/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Payload of the `sanctions.wallet.blocked` webhook event. * * Trigger semantics: * - Fires once per user-facing BLOCKED boundary decision (the * orchestrator's winning result), not per provider response — * including decisions served from the screening cache, since the * cache is shared across environments and flows. Each blocked * action in your environment produces its own event with its own * `origin`. * - `backgroundPrefetch` is the exception: the background * cache-warming check emits only on a fresh discovery, never on a * cache hit, so a blocked returning user does not re-emit per * visit. A block discovered this way warms the cache; subsequent * user-facing flows that hit that cache DO emit with their own * origin. * - NOT emitted on OK, FLAGGED, REVIEW, or ERROR outcomes (v1 surfaces * BLOCKED only). * - Customers opt in via the existing webhook subscription UI. * @export * @interface SanctionsWalletBlockedEventPayload */ export interface SanctionsWalletBlockedEventPayload { /** * Lowercase, normalized address that was blocked. * @type {string} * @memberof SanctionsWalletBlockedEventPayload */ walletAddress: string; /** * Chain identifier (e.g. 'ethereum', 'bitcoin', 'solana'). Canonical * value from the `SanctionChecks.chain` audit row. * @type {string} * @memberof SanctionsWalletBlockedEventPayload */ chain: string; /** * * @type {string} * @memberof SanctionsWalletBlockedEventPayload */ sanctionsProvider: SanctionsWalletBlockedEventPayloadSanctionsProviderEnum; /** * Forensic key into the `SanctionChecks` audit row. * @type {string} * @memberof SanctionsWalletBlockedEventPayload */ sanctionCheckRequestId: string; /** * Vendor-returned categories that triggered the block. May be empty * when the decision was served from the screening cache (cached * rows do not retain vendor categories). * @type {Array} * @memberof SanctionsWalletBlockedEventPayload */ categories: Array; /** * User-flow surface that triggered the screening which produced * this BLOCKED decision. `signIn`: user login/session verification. * `walletConnect`: external wallet connect. `checkoutDestination`: * a destination address in the checkout flow (checkout * create/update or checkout transaction create). * `checkoutSource`: the from-address funding a checkout * transaction. `flowDestination`: flow create destination address. * `api`: direct wallet-sanctions API query. `backgroundPrefetch`: * background cache-warming check (see trigger semantics above). * This enum will grow as new screening surfaces are added (e.g. * decoded WaaS transaction destinations); consumers should handle * unrecognized values gracefully. * @type {string} * @memberof SanctionsWalletBlockedEventPayload */ origin: SanctionsWalletBlockedEventPayloadOriginEnum; /** * Who owns the key used for the check. `customerProvided` if the * check ran against a customer-supplied BYOK key; `dynamic` if it * ran against a Dynamic-managed key. * @type {string} * @memberof SanctionsWalletBlockedEventPayload */ keyOwner: SanctionsWalletBlockedEventPayloadKeyOwnerEnum; /** * ISO 8601 timestamp of when the screening decision landed. * @type {Date} * @memberof SanctionsWalletBlockedEventPayload */ screenedAt: Date; } /** * @export * @enum {string} */ export declare enum SanctionsWalletBlockedEventPayloadSanctionsProviderEnum { TrmWalletScreening = "trm-wallet-screening", ChainalysisAddressScreening = "chainalysis-address-screening", DynamicSanctionsScreening = "dynamic-sanctions-screening" } /** * @export * @enum {string} */ export declare enum SanctionsWalletBlockedEventPayloadOriginEnum { SignIn = "signIn", WalletConnect = "walletConnect", CheckoutDestination = "checkoutDestination", CheckoutSource = "checkoutSource", FlowDestination = "flowDestination", Api = "api", BackgroundPrefetch = "backgroundPrefetch" } /** * @export * @enum {string} */ export declare enum SanctionsWalletBlockedEventPayloadKeyOwnerEnum { Dynamic = "dynamic", CustomerProvided = "customerProvided" } export declare function SanctionsWalletBlockedEventPayloadFromJSON(json: any): SanctionsWalletBlockedEventPayload; export declare function SanctionsWalletBlockedEventPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SanctionsWalletBlockedEventPayload; export declare function SanctionsWalletBlockedEventPayloadToJSON(value?: SanctionsWalletBlockedEventPayload | null): any;