File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export class BalanceSubscriptionsService {
6868 * @throws ApiError
6969 */
7070 public addBalanceSubscription (
71- requestBody : {
71+ requestBody ?: ( {
7272 /**
7373 * A chain ID ("137") or slug ("polygon-amoy-testnet"). Chain ID is preferred.
7474 */
@@ -93,11 +93,21 @@ export class BalanceSubscriptionsService {
9393 max ?: string ;
9494 } ;
9595 } ;
96+ } & ( {
9697 /**
97- * Webhook URL
98+ * Webhook URL to create a new webhook
9899 */
99- webhookUrl ?: string ;
100- } ,
100+ webhookUrl : string ;
101+ /**
102+ * Optional label for the webhook when creating a new one
103+ */
104+ webhookLabel ?: string ;
105+ } | {
106+ /**
107+ * ID of an existing webhook to use
108+ */
109+ webhookId : number ;
110+ } ) ) ,
101111 ) : CancelablePromise < {
102112 result : {
103113 id : string ;
Original file line number Diff line number Diff line change @@ -142,7 +142,9 @@ export class Engine extends EngineLogic {
142142 const ercServices : string [ ] = [ "erc20" , "erc721" , "erc1155" ] ;
143143
144144 for ( const tag of ercServices ) {
145- const fileName = `${ tag . charAt ( 0 ) . toUpperCase ( ) + tag . slice ( 1 ) } Service.ts` ;
145+ const fileName = `${
146+ tag . charAt ( 0 ) . toUpperCase ( ) + tag . slice ( 1 )
147+ } Service.ts`;
146148 const filePath = path . join ( servicesDir , fileName ) ;
147149 const originalCode = fs . readFileSync ( filePath , "utf-8" ) ;
148150
You can’t perform that action at this time.
0 commit comments