/// Options: /// Date: 2026-11-07 02:58:38 /// Version: 10.40 /// Tip: To override a DTO option, remove "/" prefix before updating /// BaseUrl: https://api.bettor.webhop.biz /// GlobalNamespace: /// MakePropertiesOptional: False /// AddServiceStackTypes: True /// AddResponseStatus: False /// AddImplicitVersion: /// AddDescriptionAsComments: True //IncludeTypes: SubmitSlip.* /// 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 RefEx = struct { id: ?[]const u8 = null, val: ?[]const u8 = null, data: ?RecordDictionary = null, }; pub const ProductReference = struct { id: ?[]const u8 = null, value: ?[]const u8 = null, category: ?[]const u8 = null, productProvider: ?Ref = null, }; pub const ProductInstanceRef = struct { id: ?[]const u8 = null, name: ?[]const u8 = null, title: ?[]const u8 = null, product: ?ProductReference = null, }; pub fn RecordDictionary(comptime TKey: type, comptime TVal: type) type { _ = TKey; _ = TVal; return struct {}; } pub const BettingApp = struct { name: ?[]const u8 = null, version: ?[]const u8 = 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 PayinRecap = struct { currency: ?[]const u8 = null, payin: f64 = 0, payinTaxationPolicyRef: ?Ref = null, taxAmount: f64 = 0, stake: f64 = 0, }; pub const PayoutRecap = struct { currency: ?[]const u8 = null, winnings: f64 = 0, winningsTaxationPolicyRef: ?Ref = null, taxAmount: f64 = 0, payout: f64 = 0, }; pub const BetRequest = struct { betId: ?[]const u8 = null, productInstance: ?ProductInstanceRef = null, payload: ?std.json.Value = null, payinRecap: ?PayinRecap = null, possiblePayoutRecap: ?PayoutRecap = null, }; // @Route("/cmd/slips", "POST") pub const SubmitSlip = struct { pub const ss_name = "SubmitSlip"; pub const ss_verb = "POST"; pub const Response = ss.ResponseStatus; id: ?[]const u8 = null, bettor: ?Ref = null, origin: ?Origin = null, betRequests: ?[]BetRequest = null, headerData: ?std.json.Value = null, };