/// Options: /// Date: 2026-11-07 04:02:42 /// Version: 10.42 /// Tip: To override a DTO option, remove "/" prefix before updating /// BaseUrl: https://s4w1.api.bettor.webhop.biz /// GlobalNamespace: /// MakePropertiesOptional: False /// AddServiceStackTypes: True /// AddResponseStatus: False /// AddImplicitVersion: /// AddDescriptionAsComments: True //IncludeTypes: ConfigureSuperWin.* /// ExcludeTypes: /// DefaultImports: const std = @import("std"); /// const std = @import("std"); const ss = @import("servicestack"); pub const PeriodOfDay = struct { start: ?[]const u8 = null, end: ?[]const u8 = null, }; pub const WebPlayerWinnerCooldownPolicyConfig = struct { isActive: bool = false, cooldownIntervalInDays: i32 = 0, }; pub const LocationOptimizationLevel = enum(i32) { None = 0, Low = 1, Medium = 2, High = 3, }; pub const SuperWinConfig = struct { isActive: bool = false, stakePct: f32 = 0, minPrizesPerDay: i32 = 0, maxPrizesPerDay: i32 = 0, activePeriod: ?PeriodOfDay = null, minDailyPrizeInPct: f32 = 0, minIntervalBetweenMultiplePrizesInMinutes: i32 = 0, allowSuperWinForSpecialBets: bool = false, webPlayerWinnerCooldownPolicy: ?WebPlayerWinnerCooldownPolicyConfig = null, locationOptimizationLevel: ?LocationOptimizationLevel = null, playerOptimizationLevel: ?LocationOptimizationLevel = null, }; pub const ResponseStatus = enum(i32) { Failure = 0, Success = 1, }; // @DataContract pub const ResponseStatus = struct { // @DataMember(Order=1) errorCode: ?[]const u8 = null, // @DataMember(Order=2) message: ?[]const u8 = null, // @DataMember(Order=3) stackTrace: ?[]const u8 = null, // @DataMember(Order=4) errors: ?[]ss.ResponseError = null, // @DataMember(Order=5) meta: ?std.json.Value = null, }; // @Route("/cmd/configure/super-win", "POST") pub const ConfigureSuperWin = struct { pub const ss_name = "ConfigureSuperWin"; pub const ss_verb = "POST"; pub const Response = ResponseStatus; id: ?[]const u8 = null, configuration: ?SuperWinConfig = null, };