/// Options: /// Date: 2026-11-07 04:19:07 /// Version: 10.42 /// Tip: To override a DTO option, remove "/" prefix before updating /// BaseUrl: https://s4w2.api.bettor.webhop.biz /// GlobalNamespace: /// MakePropertiesOptional: False /// AddServiceStackTypes: True /// AddResponseStatus: False /// AddImplicitVersion: /// AddDescriptionAsComments: True //IncludeTypes: RequestSuperWinReschedule.* /// ExcludeTypes: /// DefaultImports: const std = @import("std"); /// const std = @import("std"); const ss = @import("servicestack"); pub const Ref = struct { id: ?[]const u8 = null, val: ?[]const u8 = null, }; pub const BettingApp = struct { name: ?[]const u8 = null, version: ?[]const u8 = null, }; pub const RefEx = struct { id: ?[]const u8 = null, val: ?[]const u8 = null, data: ?RecordDictionary = null, }; pub const Origin = struct { application: ?BettingApp = null, ip: ?[]const u8 = null, organization: ?RefEx = null, region: ?Ref = null, locationGroup: ?Ref = null, location: ?RefEx = null, device: ?RefEx = null, clerk: ?Ref = null, }; pub const SuperWinPoolState = enum(i32) { Idle = 0, Accumulating = 1, Awarding = 2, }; pub const SuperWinWinner = struct { isDrawn: bool = false, drawnAtUtc: ?[]const u8 = null, roundId: ?[]const u8 = null, betId: ?[]const u8 = null, slipId: ?[]const u8 = null, origin: ?Origin = null, bettor: ?Ref = null, code: ?[]const u8 = null, amount: f64 = 0, locationAddressOrBettorInfo: ?[]const u8 = null, }; pub const SuperWinPrize = struct { id: i32 = 0, amount: f64 = 0, scheduledAt: ?[]const u8 = null, winner: ?SuperWinWinner = null, }; pub const SuperWinPool = struct { id: i32 = 0, state: ?SuperWinPoolState = null, amount: f64 = 0, schedule: ?RecordList = null, }; pub const SuperWinState = struct { currentDate: ?[]const u8 = null, availableAmount: f64 = 0, pools: ?RecordDictionary = null, }; pub fn RecordDictionary(comptime TKey: type, comptime TVal: type) type { _ = TKey; _ = TVal; return struct {}; } pub fn RecordList(comptime T: type) type { _ = T; return struct { pub const ss_collection = "items"; items: []T = &.{}, }; 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/reschedule/super-win", "POST") pub const RequestSuperWinReschedule = struct { pub const ss_name = "RequestSuperWinReschedule"; pub const ss_verb = "POST"; pub const Response = ResponseStatus; id: ?[]const u8 = null, state: ?SuperWinState = null, };