From 9eb5a5c56a9f872fe8783e1353158e84db50e2dd Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Tue, 1 Oct 2024 11:44:54 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API --- .stats.yml | 2 +- src/resources/site.ts | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1c61462..ca63e70 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 19 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-5590d3a7aaf93552baafe30342888907fbf136411e6d0cd6fdf8e716b76966fd.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-860e4b6046731b74cc833cc9fcf517406363aed502f110328f67e9fff7fbc9d6.yml diff --git a/src/resources/site.ts b/src/resources/site.ts index cee9c3a..585d822 100644 --- a/src/resources/site.ts +++ b/src/resources/site.ts @@ -119,7 +119,10 @@ export namespace SiteReportParams { export interface SiteScanParams { url: string; - metadata?: SiteScanParams.CatalogRequestMetadata | SiteScanParams.WalletRequestMetadata; + metadata?: + | SiteScanParams.CatalogRequestMetadata + | SiteScanParams.WalletRequestMetadata + | SiteScanParams.MultipleWalletRequestMetadata; } export namespace SiteScanParams { @@ -132,6 +135,14 @@ export namespace SiteScanParams { type: 'wallet'; + walletconnect_description?: string; + + walletconnect_name?: string; + } + + export interface MultipleWalletRequestMetadata { + type: 'wallet'; + /** * List of all account addresses in different chains based on the CAIPs standard * (https://github.com/ChainAgnostic/CAIPs). Ethereum mainnet example: