/* Options: Date: 2025-04-09 13:15:17 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: UpdateStripeWebhookEvents.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.IO; using System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class StripeWebhookResponse { public StripeWebhookResponse() { Events = new List{}; } public virtual string Id { get; set; } public virtual List Events { get; set; } public virtual string Url { get; set; } } public partial class StripeWebhooksResponse { public StripeWebhooksResponse() { StripeWebhooks = new List{}; } public virtual List StripeWebhooks { get; set; } } [Route("/payment/stripe/v1/webhookevent", "PUT")] [ValidateRequest("IsAuthenticated")] public partial class UpdateStripeWebhookEvents : IReturn, ICompany { public UpdateStripeWebhookEvents() { Events = new List{}; } /// ///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 virtual Guid? CompanyId { get; set; } /// ///Events (webhooks) that are accepted by stripe. /// [ApiMember(Description="Events (webhooks) that are accepted by stripe.")] public virtual List Events { get; set; } /// ///Webhook Id to update events /// [ApiMember(Description="Webhook Id to update events")] public virtual string WebhookId { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }