/* Options: Date: 2026-08-02 02:12:38 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: BumpWidgetConfigurationVersion.* //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="/widget/configuration/{Id}/bumpversion", Verbs="PUT") @ApiResponse(Description="Not the homepage default, next schema version doesn't exist, or (when UseFactoryDefaults) the next version has no factory default authored yet", StatusCode=400) // @ApiResponse(Description="Returned if the configuration was not found", StatusCode=404) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class BumpWidgetConfigurationVersion : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") override var CompanyId:UUID? = null /** * The widget configuration id (6-character NanoID). */ @ApiMember(Description="The widget configuration id (6-character NanoID).", IsRequired=true, ParameterType="path") open var Id:String? = null /** * When true, overwrites Configuration with the next schema version's factory-default JSON. When false, only SchemaVersion is moved and the existing Configuration is preserved unvalidated against the new schema. */ @ApiMember(Description="When true, overwrites Configuration with the next schema version's factory-default JSON. When false, only SchemaVersion is moved and the existing Configuration is preserved unvalidated against the new schema.", IsRequired=true) open var UseFactoryDefaults:Boolean? = null companion object { private val responseType = WidgetConfigurationResponse::class.java } override fun getResponseType(): Any? = BumpWidgetConfigurationVersion.responseType } open class WidgetConfigurationResponse { open var Id:String? = null open var CompanyId:UUID? = null open var Name:String? = null open var Slug:String? = null open var Description:String? = null open var Configuration:String? = null open var SchemaVersion:Int? = null open var IsHomepageDefault:Boolean? = null open var CreatedDate:Date? = null open var UpdatedDate:Date? = null open var ResponseStatus:ResponseStatus? = null } interface ICompany { var CompanyId:UUID? }