@@ -96,6 +96,17 @@ import {
9696 UmaProviderListResponsesDefaultPagination ,
9797 UmaProviders ,
9898} from './resources/uma-providers' ;
99+ import {
100+ BulkUploadWebhookEvent ,
101+ IncomingPaymentWebhookEvent ,
102+ InternalAccountStatusWebhookEvent ,
103+ InvitationClaimedWebhookEvent ,
104+ KYCStatusWebhookEvent ,
105+ OutgoingPaymentWebhookEvent ,
106+ TestWebhookWebhookEvent ,
107+ UnwrapWebhookEvent ,
108+ Webhooks ,
109+ } from './resources/webhooks' ;
99110import {
100111 Customer ,
101112 CustomerCreate ,
@@ -944,6 +955,7 @@ export class LightsparkGrid {
944955 * Endpoints for retrieving cached foreign exchange rates. Rates are cached for approximately 5 minutes and include platform-specific fees.
945956 */
946957 exchangeRates : API . ExchangeRates = new API . ExchangeRates ( this ) ;
958+ webhooks : API . Webhooks = new API . Webhooks ( this ) ;
947959}
948960
949961LightsparkGrid . Config = Config ;
@@ -960,6 +972,7 @@ LightsparkGrid.Sandbox = Sandbox;
960972LightsparkGrid . UmaProviders = UmaProviders ;
961973LightsparkGrid . Tokens = Tokens ;
962974LightsparkGrid . ExchangeRates = ExchangeRates ;
975+ LightsparkGrid . Webhooks = Webhooks ;
963976
964977export declare namespace LightsparkGrid {
965978 export type RequestOptions = Opts . RequestOptions ;
@@ -1092,4 +1105,16 @@ export declare namespace LightsparkGrid {
10921105 type ExchangeRateListResponse as ExchangeRateListResponse ,
10931106 type ExchangeRateListParams as ExchangeRateListParams ,
10941107 } ;
1108+
1109+ export {
1110+ Webhooks as Webhooks ,
1111+ type IncomingPaymentWebhookEvent as IncomingPaymentWebhookEvent ,
1112+ type OutgoingPaymentWebhookEvent as OutgoingPaymentWebhookEvent ,
1113+ type TestWebhookWebhookEvent as TestWebhookWebhookEvent ,
1114+ type BulkUploadWebhookEvent as BulkUploadWebhookEvent ,
1115+ type InvitationClaimedWebhookEvent as InvitationClaimedWebhookEvent ,
1116+ type KYCStatusWebhookEvent as KYCStatusWebhookEvent ,
1117+ type InternalAccountStatusWebhookEvent as InternalAccountStatusWebhookEvent ,
1118+ type UnwrapWebhookEvent as UnwrapWebhookEvent ,
1119+ } ;
10951120}
0 commit comments