/* Options: Date: 2026-06-12 23:08:44 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SurvicateMetricsQuery.* //ExcludeTypes: //InitializeCollections: False //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="/survicate/metrics", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) @ValidateRequest(Validator="IsAuthenticated") open class SurvicateMetricsQuery : IReturn, ICompany { /** * Enter the company id. If blank and you are an admin, your own company id is used. */ @ApiMember(Description="Enter the company id. If blank and you are an admin, your own company id is used.", ParameterType="query") override var CompanyId:UUID? = null companion object { private val responseType = SurvicateMetricsResponse::class.java } override fun getResponseType(): Any? = SurvicateMetricsQuery.responseType } open class SurvicateMetricsResponse { /** * Number of distinct bookings paid via Stripe for the company. */ @ApiMember(Description="Number of distinct bookings paid via Stripe for the company.") open var StripePaidBookingsCount:Int? = null /** * Number of distinct bookings paid via Qvickly for the company. */ @ApiMember(Description="Number of distinct bookings paid via Qvickly for the company.") open var QvicklyPaidBookingsCount:Int? = null /** * Approximate number of bookings synced to a code lock / access control system. Derived from access-control external references (CodeLockAccessKey, IloqBookingKey); the system does not record confirmed syncs, so treat this as a proxy, not an exact count. */ @ApiMember(Description="Approximate number of bookings synced to a code lock / access control system. Derived from access-control external references (CodeLockAccessKey, IloqBookingKey); the system does not record confirmed syncs, so treat this as a proxy, not an exact count.") open var CodelockSyncedBookingsCount:Int? = null open var ResponseStatus:ResponseStatus? = null } interface ICompany { var CompanyId:UUID? }