/* Options: Date: 2024-12-23 11:30:04 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: ReferFriendLinkUsedRequest.* //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-friend-link-used", "POST")] public partial class ReferFriendLinkUsedRequest : IReturn, IPost { public string ReferFriendToken { get; set; } } public partial class ReferFriendLinkUsedResponse { public ReferFriendUser? ReferringUser { get; set; } public DateTimeOffset? ExpiresAt { get; set; } public ReferFriendState State { get; set; } } public enum ReferFriendState { Available, Awarded, CanNotReferYourself, YouWereAlreadySignedUp, Expired, } public partial class ReferFriendUser { public string? FirstName { get; set; } public string? LastName { get; set; } public string? ProfilePhotoUrl { get; set; } } }