/* Options: Date: 2025-12-06 07:04:18 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: InviteStaffRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/staff/invite", Verbs="POST") open class InviteStaffRequest : IReturn, IPost, IHasPlaceIdOrBusinessId { open var userId:Long? = null override var placeId:Long? = null override var businessId:Long? = null open var role:StaffRole? = null open var businessRole:BusinessRole? = null companion object { private val responseType = InviteStaffResponse::class.java } override fun getResponseType(): Any? = InviteStaffRequest.responseType } open class InviteStaffResponse { open var staffInvitation:StaffInvitationDto? = null open var sentEmailWithRequestId:String? = null } enum class StaffRole { Owner, Admin, Regular, } enum class BusinessRole { Owner, Manager, Sales, Marketing, Other, } interface IHasPlaceIdOrBusinessId { var placeId:Long? var businessId:Long? } open class StaffInvitationDto { open var id:Long? = null open var userId:Long? = null open var placeId:Long? = null open var placeGuid:UUID? = null open var inviteKey:String? = null open var businessId:Long? = null open var firstName:String? = null open var lastName:String? = null open var placeName:String? = null open var businessName:String? = null open var role:StaffRole? = null open var businessRole:BusinessRole? = null open var createdAt:Date? = null open var updatedAt:Date? = null }