/// Options: /// Date: 2026-11-07 04:16:47 /// 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: GetRecentWins.* /// ExcludeTypes: /// DefaultImports: const std = @import("std"); /// const std = @import("std"); 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 fn RecordDictionary(comptime TKey: type, comptime TVal: type) type { _ = TKey; _ = TVal; return struct {}; } pub const BetOutcome = enum(i32) { Unknown = 0, Lost = 1, Won = 2, Void = 3, }; pub const BetProcessingStatus = enum(i32) { Open = 0, Closed = 1, }; pub const BetValidity = enum(i32) { Valid = 0, Canceled = 1, Void = 2, Reverted = 3, }; pub const Win = struct { id: i64 = 0, sId: i64 = 0, bettor: ?Ref = null, origin: ?Origin = null, placedAt: ?[]const u8 = null, roundId: i64 = 0, content: ?[]const u8 = null, stake: f64 = 0, outcome: ?BetOutcome = null, amount: f64 = 0, processingStatus: ?BetProcessingStatus = null, validity: ?BetValidity = null, results: ?std.json.Value = null, payload: ?std.json.Value = null, }; pub const RecentWins = struct { id: ?[]const u8 = null, wins: ?[]Win = null, }; // @Route("/qry/wins/recent") pub const GetRecentWins = struct { pub const ss_name = "GetRecentWins"; pub const ss_verb = "POST"; pub const Response = RecentWins; };