File tree 2 files changed +17
-5
lines changed 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export class BalanceSubscriptionsService {
68
68
* @throws ApiError
69
69
*/
70
70
public addBalanceSubscription (
71
- requestBody : {
71
+ requestBody ?: ( {
72
72
/**
73
73
* A chain ID ("137") or slug ("polygon-amoy-testnet"). Chain ID is preferred.
74
74
*/
@@ -93,11 +93,21 @@ export class BalanceSubscriptionsService {
93
93
max ?: string ;
94
94
} ;
95
95
} ;
96
+ } & ( {
96
97
/**
97
- * Webhook URL
98
+ * Webhook URL to create a new webhook
98
99
*/
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
+ } ) ) ,
101
111
) : CancelablePromise < {
102
112
result : {
103
113
id : string ;
Original file line number Diff line number Diff line change @@ -142,7 +142,9 @@ export class Engine extends EngineLogic {
142
142
const ercServices : string [ ] = [ "erc20" , "erc721" , "erc1155" ] ;
143
143
144
144
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`;
146
148
const filePath = path . join ( servicesDir , fileName ) ;
147
149
const originalCode = fs . readFileSync ( filePath , "utf-8" ) ;
148
150
You can’t perform that action at this time.
0 commit comments