/* Options: Date: 2025-12-06 06:24:09 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //GlobalNamespace: BusinessApi //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: GetStaffInvitationsRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using BusinessApi; namespace BusinessApi { [Route("/staff/get_invitations", "GET")] public partial class GetStaffInvitationsRequest : IReturn, IGet { [Validate("NotEmpty")] public List PlaceIds { get; set; } = []; } public partial class GetStaffInvitationsResponse { public List Invitations { get; set; } = []; } public partial class StaffInvitationDto { public long Id { get; set; } public long? UserId { get; set; } public long? PlaceId { get; set; } public Guid? PlaceGuid { get; set; } public string InviteKey { get; set; } public long? BusinessId { get; set; } public string? FirstName { get; set; } public string? LastName { get; set; } public string? PlaceName { get; set; } public string? BusinessName { get; set; } public StaffRole Role { get; set; } public BusinessRole BusinessRole { get; set; } public DateTime CreatedAt { get; set; } public DateTime UpdatedAt { get; set; } } public enum StaffRole { Owner, Admin, Regular, } public enum BusinessRole { Owner, Manager, Sales, Marketing, Other, } }