/* Options: Date: 2025-04-24 18:29:19 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateStripeWebhook.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class StripeWebhookResponse { public Id: string; public Events: string[]; public Url: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/payment/stripe/v1/webhook", "POST") export class CreateStripeWebhook implements IReturn, ICompany { /** @description The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public CompanyId?: string; /** @description Events (webhooks) that are accepted by stripe. */ // @ApiMember(Description="Events (webhooks) that are accepted by stripe.") public Events: string[]; /** @description Should webhook listen to customer events's */ // @ApiMember(Description="Should webhook listen to customer events's") public Connect: boolean; /** @description Url that stripe should send hook to. */ // @ApiMember(Description="Url that stripe should send hook to.") public Url: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CreateStripeWebhook'; } public getMethod() { return 'POST'; } public createResponse() { return new StripeWebhookResponse(); } }