/* Options: Date: 2024-12-23 12:16:20 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePartial: True //MakeVirtual: False //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: ReferBusinessLinkUsedRequest.* //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 ConsumerApi; namespace ConsumerApi { [Route("/share/refer-business-link-used", "POST")] public partial class ReferBusinessLinkUsedRequest : IReturn, IPost { public string ReferBusinessToken { get; set; } } public partial class ReferBusinessLinkUsedResponse { public ReferBusinessUser? ReferringUser { get; set; } public ReferredPlace? ReferredPlace { get; set; } public DateTimeOffset? ExpiresAt { get; set; } public ReferBusinessState State { get; set; } } public enum ReferBusinessState { SignInToSee, Available, CanNotReferYourself, AlreadyClaimedByYou, AlreadyClaimedBySomeoneElse, Expired, } public partial class ReferBusinessUser { public string FirstName { get; set; } public string LastName { get; set; } public string? ProfilePhotoUrl { get; set; } } public partial class ReferredPlace { public long Id { get; set; } public Guid Guid { get; set; } public string Name { get; set; } public string? LogoUrl { get; set; } public string? ImageUrl { get; set; } } }