/* Options: Date: 2025-09-13 18:14:03 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetStripeWebhooks.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/payment/stripe/v1/webhook", "GET") // @ValidateRequest(Validator="IsAuthenticated") public class GetStripeWebhooks : IReturn, ICompany, Codable { public typealias Return = StripeWebhooksResponse /** * 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 var companyId:String? /** * Webhook Id to update events */ // @ApiMember(Description="Webhook Id to update events") public var webhookId:String? required public init(){} } public class StripeWebhooksResponse : Codable { public var stripeWebhooks:[StripeWebhookResponse]? required public init(){} } public protocol ICompany { var companyId:String? { get set } } public class StripeWebhookResponse : Codable { public var id:String? public var events:[String]? public var url:String? required public init(){} }