/// Options: /// Date: 2026-11-07 02:58:18 /// 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: RegisterUserAccount.* /// 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 GPSCoordinates = struct { lat: f64 = 0, lng: f64 = 0, }; pub const Address = struct { street: ?[]const u8 = null, city: ?[]const u8 = null, state: ?[]const u8 = null, postalCode: ?[]const u8 = null, country: ?Ref = null, gps: ?GPSCoordinates = null, data: ?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 LoginCredentials = struct { username: ?[]const u8 = null, password: ?[]const u8 = null, }; pub const Name = struct { first: ?[]const u8 = null, last: ?[]const u8 = null, full: ?[]const u8 = null, }; pub const ContactInfo = struct { phone: ?[]const u8 = null, email: ?[]const u8 = null, }; pub const Person = struct { name: ?Name = null, address: ?Address = null, dateOfBirth: ?[]const u8 = null, contactInfo: ?ContactInfo = null, }; pub const AvatarImage = struct { base64: ?[]const u8 = null, tag: ?[]const u8 = null, }; pub const NewUserDTO = struct { externalUserId: ?[]const u8 = null, credentials: ?LoginCredentials = null, person: ?Person = null, roles: ?RecordList = null, avatar: ?AvatarImage = null, }; // @Route("/cmd/users/register", "POST") pub const RegisterUserAccount = struct { pub const ss_name = "RegisterUserAccount"; pub const ss_verb = "POST"; pub const Response = ss.ResponseStatus; id: ?[]const u8 = null, newUserDTO: ?NewUserDTO = null, };