/* Options: Date: 2025-04-08 08:46:08 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateStripeWebhookEvents.* //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); } } export class StripeWebhooksResponse { public StripeWebhooks: StripeWebhookResponse[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/payment/stripe/v1/webhookevent", "PUT") // @ValidateRequest(Validator="IsAuthenticated") export class UpdateStripeWebhookEvents 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 Webhook Id to update events */ // @ApiMember(Description="Webhook Id to update events") public WebhookId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UpdateStripeWebhookEvents'; } public getMethod() { return 'PUT'; } public createResponse() { return new StripeWebhooksResponse(); } }