Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and Stainless Bot committed Aug 21, 2024
1 parent 0ca7761 commit 3cecac2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 101 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-f8e485264520ab0674224012378379bb7e833d97ee482e0708508438af07e482.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-27b198f27c560514e57792ad3c3e31b30a636e86ff4cd0fca52e477beb3943ea.yml
50 changes: 0 additions & 50 deletions src/resources/token-bulk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@ export namespace TokenBulkScanResponse {
* An enumeration.
*/
result_type: 'Benign' | 'Warning' | 'Malicious' | 'Spam';

/**
* Fees associated with the token
*/
fees?: Results.Fees;

/**
* Metadata about the token
*/
metadata?: Results.Metadata;
}

export namespace Results {
Expand All @@ -64,46 +54,6 @@ export namespace TokenBulkScanResponse {
*/
threshold?: string;
}

/**
* Fees associated with the token
*/
export interface Fees {
/**
* Buy fee of the token
*/
buy?: number;

/**
* Sell fee of the token
*/
sell?: number;

/**
* Transfer fee of the token
*/
transfer?: number;
}

/**
* Metadata about the token
*/
export interface Metadata {
/**
* URL of the token image
*/
image_url?: string;

/**
* Name of the token
*/
name?: string;

/**
* Symbol of the token
*/
symbol?: string;
}
}
}

Expand Down
50 changes: 0 additions & 50 deletions src/resources/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,6 @@ export interface TokenScanResponse {
* An enumeration.
*/
result_type: 'Benign' | 'Warning' | 'Malicious' | 'Spam';

/**
* Fees associated with the token
*/
fees?: TokenScanResponse.Fees;

/**
* Metadata about the token
*/
metadata?: TokenScanResponse.Metadata;
}

export namespace TokenScanResponse {
Expand All @@ -68,46 +58,6 @@ export namespace TokenScanResponse {
*/
threshold?: string;
}

/**
* Fees associated with the token
*/
export interface Fees {
/**
* Buy fee of the token
*/
buy?: number;

/**
* Sell fee of the token
*/
sell?: number;

/**
* Transfer fee of the token
*/
transfer?: number;
}

/**
* Metadata about the token
*/
export interface Metadata {
/**
* URL of the token image
*/
image_url?: string;

/**
* Name of the token
*/
name?: string;

/**
* Symbol of the token
*/
symbol?: string;
}
}

export interface TokenReportParams {
Expand Down

0 comments on commit 3cecac2

Please sign in to comment.