Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Oct 1, 2024
1 parent 80fd53e commit fb151a0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 12 additions & 1 deletion src/resources/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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:
Expand Down

0 comments on commit fb151a0

Please sign in to comment.