/// Options: /// Date: 2026-11-07 02:58:24 /// 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: NotifyFrontend.* /// 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 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 SlipSubmissionStatus = enum(i32) { Pending = 0, Accepted = 2, Rejected = 3, Failed = 4, }; pub const AcceptedSlipInfo = struct { id: ?[]const u8 = null, origin: ?Origin = null, bettor: ?Ref = null, slipSubmissionStatus: ?SlipSubmissionStatus = null, payload: ?RecordDictionary = null, }; pub const ErrorInfo = struct { origin: ?Origin = null, errorCode: ?[]const u8 = null, errorDescription: ?[]const u8 = null, payload: ?std.json.Value = null, }; pub const ConfirmationInfo = struct { bettor: ?Ref = null, origin: ?Origin = null, confirmationCode: ?[]const u8 = null, confirmationDescription: ?[]const u8 = null, payload: ?std.json.Value = null, }; pub const WalletTransactionInfo = struct { reason: ?[]const u8 = null, }; pub const WalletUpdateInfo = struct { bettor: ?Ref = null, origin: ?Origin = null, transactionInfo: ?WalletTransactionInfo = null, }; pub const UserNotificationsUpdatedInfo = struct { id: ?[]const u8 = null, }; pub const ApplicationEventsUpdated = struct {}; pub const SlipDeliveryIssueRefundRequestUpdated = struct {}; // @Route("/cmd/notify/frontend/") pub const NotifyFrontend = struct { pub const ss_name = "NotifyFrontend"; pub const ss_verb = "POST"; pub const Response = ss.ResponseStatus; acceptedSlipInfo: ?AcceptedSlipInfo = null, errorInfo: ?ErrorInfo = null, confirmationInfo: ?ConfirmationInfo = null, slipCancellationId: ?[]const u8 = null, walletUpdatedInfo: ?WalletUpdateInfo = null, userNotificationsUpdated: ?UserNotificationsUpdatedInfo = null, applicationEventsUpdated: ?ApplicationEventsUpdated = null, slipDeliveryIssueRefundRequestUpdated: ?SlipDeliveryIssueRefundRequestUpdated = null, };