diff --git a/src/fireblocks-sdk.ts b/src/fireblocks-sdk.ts index 233501a2..4306bac6 100644 --- a/src/fireblocks-sdk.ts +++ b/src/fireblocks-sdk.ts @@ -48,6 +48,7 @@ import { WalletContainerResponse, SetFeePayerConfiguration, FeePayerConfiguration, + ResendWebhooksByIdResponse, } from "./types"; export * from "./types"; @@ -990,7 +991,7 @@ export class FireblocksSDK { * @param resendStatusUpdated If true a webhook will be sent for the status of the transaction * @param requestOptions */ - public async resendTransactionWebhooksById(txId: string, resendCreated?: boolean, resendStatusUpdated?: boolean, requestOptions?: RequestOptions): Promise { + public async resendTransactionWebhooksById(txId: string, resendCreated?: boolean, resendStatusUpdated?: boolean, requestOptions?: RequestOptions): Promise { const body = { resendCreated, resendStatusUpdated }; return await this.apiClient.issuePostRequest(`/v1/webhooks/resend/${txId}`, body, requestOptions); } diff --git a/src/types.ts b/src/types.ts index 12f76ed0..c4703f52 100644 --- a/src/types.ts +++ b/src/types.ts @@ -681,7 +681,11 @@ export interface User { } export interface ResendWebhooksResponse { - webhooksCount: number; + messagesCount: number; +} + +export interface ResendWebhooksByIdResponse { + success: boolean; } export interface OffExchangeEntityResponse {