/// Options: /// Date: 2026-11-07 02:49:28 /// 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: GetDeviceConfiguration.* /// ExcludeTypes: /// DefaultImports: const std = @import("std"); /// const std = @import("std"); 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 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 fn RecordList(comptime T: type) type { _ = T; return struct { pub const ss_collection = "items"; items: []T = &.{}, }; pub const DeviceOperationalStatus = enum(i32) { Active = 1, Deactivated = 2, Retired = 3, }; pub const LocationRef = struct { id: ?[]const u8 = null, name: ?[]const u8 = null, group: ?Ref = null, region: ?Ref = null, address: ?Address = null, integrationsData: ?RecordDictionary = null, }; pub const OrganizationRef = struct { id: ?[]const u8 = null, name: ?[]const u8 = null, address: ?Address = null, integrationsData: ?RecordDictionary = null, }; pub const DeviceConfiguration = struct { id: ?[]const u8 = null, name: ?[]const u8 = null, isActive: bool = false, isRetired: bool = false, operationalStatus: ?DeviceOperationalStatus = null, productInstances: ?RecordList = null, timeZone: ?Ref = null, currency: ?Ref = null, language: ?Ref = null, location: ?LocationRef = null, organization: ?OrganizationRef = null, }; // @Route("/qry/configurations/devices") pub const GetDeviceConfiguration = struct { pub const ss_name = "GetDeviceConfiguration"; pub const ss_verb = "POST"; pub const Response = DeviceConfiguration; id: ?[]const u8 = null, };