- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
20 lines
707 B
TypeScript
20 lines
707 B
TypeScript
import { RawBodyRequest } from '@nestjs/common';
|
|
import { ConfigService } from '@nestjs/config';
|
|
import { Request } from 'express';
|
|
import { StripeService } from './stripe.service';
|
|
import { BillingService } from './billing.service';
|
|
export declare class WebhooksController {
|
|
private stripeService;
|
|
private billingService;
|
|
private configService;
|
|
private readonly logger;
|
|
constructor(stripeService: StripeService, billingService: BillingService, configService: ConfigService);
|
|
handleStripeWebhook(req: RawBodyRequest<Request>, signature: string): Promise<{
|
|
received: boolean;
|
|
error?: undefined;
|
|
} | {
|
|
error: string;
|
|
received?: undefined;
|
|
}>;
|
|
}
|