/* Options: Date: 2025-12-06 08:52:07 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //Package: //GlobalNamespace: BusinessApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UserStatusRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class BusinessApi { @Route(Path="/user/status", Verbs="GET") public static class UserStatusRequest implements IReturn, IGet { private static Object responseType = UserStatusResponse.class; public Object getResponseType() { return responseType; } } public static class UserStatusResponse { public BusinessUserStatus status = null; public BusinessUserDto userDto = null; public ArrayList invitations = new ArrayList(); public ArrayList roles = new ArrayList(); public ArrayList businesses = new ArrayList(); public ArrayList places = new ArrayList(); public BusinessUserStatus getStatus() { return status; } public UserStatusResponse setStatus(BusinessUserStatus value) { this.status = value; return this; } public BusinessUserDto getUserDto() { return userDto; } public UserStatusResponse setUserDto(BusinessUserDto value) { this.userDto = value; return this; } public ArrayList getInvitations() { return invitations; } public UserStatusResponse setInvitations(ArrayList value) { this.invitations = value; return this; } public ArrayList getRoles() { return roles; } public UserStatusResponse setRoles(ArrayList value) { this.roles = value; return this; } public ArrayList getBusinesses() { return businesses; } public UserStatusResponse setBusinesses(ArrayList value) { this.businesses = value; return this; } public ArrayList getPlaces() { return places; } public UserStatusResponse setPlaces(ArrayList value) { this.places = value; return this; } } public static enum StaffRole { Owner, Admin, Regular; } public static enum BusinessRole { Owner, Manager, Sales, Marketing, Other; } public static class BusinessContact { public String firstName = null; public String lastName = null; public String position = null; public String phone = null; public String email = null; public String getFirstName() { return firstName; } public BusinessContact setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public BusinessContact setLastName(String value) { this.lastName = value; return this; } public String getPosition() { return position; } public BusinessContact setPosition(String value) { this.position = value; return this; } public String getPhone() { return phone; } public BusinessContact setPhone(String value) { this.phone = value; return this; } public String getEmail() { return email; } public BusinessContact setEmail(String value) { this.email = value; return this; } } public static enum PriceMainDish { Value, Medium, High, FineDining; } public static class OpeningHours { public WeeklyOpeningHours weekly = null; public WeeklyOpeningHours getWeekly() { return weekly; } public OpeningHours setWeekly(WeeklyOpeningHours value) { this.weekly = value; return this; } } public static enum Locale { EnUs, NbNo; } public static class BusinessUserDto { public Long id = null; public String email = null; public String firstName = null; public String lastName = null; public String mobilePhone = null; public Boolean legalIdentityVerified = null; public Locale locale = null; public Long getId() { return id; } public BusinessUserDto setId(Long value) { this.id = value; return this; } public String getEmail() { return email; } public BusinessUserDto setEmail(String value) { this.email = value; return this; } public String getFirstName() { return firstName; } public BusinessUserDto setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public BusinessUserDto setLastName(String value) { this.lastName = value; return this; } public String getMobilePhone() { return mobilePhone; } public BusinessUserDto setMobilePhone(String value) { this.mobilePhone = value; return this; } public Boolean isLegalIdentityVerified() { return legalIdentityVerified; } public BusinessUserDto setLegalIdentityVerified(Boolean value) { this.legalIdentityVerified = value; return this; } public Locale getLocale() { return locale; } public BusinessUserDto setLocale(Locale value) { this.locale = value; return this; } } public static class PriceMainDishDto { public String title = null; public PriceMainDish slug = null; public String getTitle() { return title; } public PriceMainDishDto setTitle(String value) { this.title = value; return this; } public PriceMainDish getSlug() { return slug; } public PriceMainDishDto setSlug(PriceMainDish value) { this.slug = value; return this; } } public static enum BusinessUserStatus { SignInOrUp, MustCompleteConsumerSignup, MustProvideEmailAddress, MustConfirmEmailAddress, MustAcceptTermsOfService, Ready; } public static class StaffInvitationDto { public Long id = null; public Long userId = null; public Long placeId = null; public UUID placeGuid = null; public String inviteKey = null; public Long businessId = null; public String firstName = null; public String lastName = null; public String placeName = null; public String businessName = null; public StaffRole role = null; public BusinessRole businessRole = null; public Date createdAt = null; public Date updatedAt = null; public Long getId() { return id; } public StaffInvitationDto setId(Long value) { this.id = value; return this; } public Long getUserId() { return userId; } public StaffInvitationDto setUserId(Long value) { this.userId = value; return this; } public Long getPlaceId() { return placeId; } public StaffInvitationDto setPlaceId(Long value) { this.placeId = value; return this; } public UUID getPlaceGuid() { return placeGuid; } public StaffInvitationDto setPlaceGuid(UUID value) { this.placeGuid = value; return this; } public String getInviteKey() { return inviteKey; } public StaffInvitationDto setInviteKey(String value) { this.inviteKey = value; return this; } public Long getBusinessId() { return businessId; } public StaffInvitationDto setBusinessId(Long value) { this.businessId = value; return this; } public String getFirstName() { return firstName; } public StaffInvitationDto setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public StaffInvitationDto setLastName(String value) { this.lastName = value; return this; } public String getPlaceName() { return placeName; } public StaffInvitationDto setPlaceName(String value) { this.placeName = value; return this; } public String getBusinessName() { return businessName; } public StaffInvitationDto setBusinessName(String value) { this.businessName = value; return this; } public StaffRole getRole() { return role; } public StaffInvitationDto setRole(StaffRole value) { this.role = value; return this; } public BusinessRole getBusinessRole() { return businessRole; } public StaffInvitationDto setBusinessRole(BusinessRole value) { this.businessRole = value; return this; } public Date getCreatedAt() { return createdAt; } public StaffInvitationDto setCreatedAt(Date value) { this.createdAt = value; return this; } public Date getUpdatedAt() { return updatedAt; } public StaffInvitationDto setUpdatedAt(Date value) { this.updatedAt = value; return this; } } public static class BusinessDto { public Long id = null; public String name = null; public String organizationNumber = null; public String streetAddress = null; public String postalCode = null; public String city = null; public String country = null; public BusinessContact contact = null; public Long getId() { return id; } public BusinessDto setId(Long value) { this.id = value; return this; } public String getName() { return name; } public BusinessDto setName(String value) { this.name = value; return this; } public String getOrganizationNumber() { return organizationNumber; } public BusinessDto setOrganizationNumber(String value) { this.organizationNumber = value; return this; } public String getStreetAddress() { return streetAddress; } public BusinessDto setStreetAddress(String value) { this.streetAddress = value; return this; } public String getPostalCode() { return postalCode; } public BusinessDto setPostalCode(String value) { this.postalCode = value; return this; } public String getCity() { return city; } public BusinessDto setCity(String value) { this.city = value; return this; } public String getCountry() { return country; } public BusinessDto setCountry(String value) { this.country = value; return this; } public BusinessContact getContact() { return contact; } public BusinessDto setContact(BusinessContact value) { this.contact = value; return this; } } public static class PlaceBasicDto { public Long id = null; public UUID guid = null; public String name = null; public Long businessId = null; public Float longitude = null; public Float latitude = null; public Boolean claimed = null; public String organizationNumber = null; public String countryCode = null; public String overview = null; public OpeningHours openingHours = null; public PlaceType placeType = null; public PlaceContact contact = null; public PlaceAddress address = null; public Boolean wheelChairAccessible = null; public Boolean wifi = null; public Boolean outdoorSeating = null; public Boolean saveFoodAndMoney = null; public TimeZoneDto timeZoneDto = null; public PriceMainDishDto priceMainDish = null; public ArrayList otherServices = new ArrayList(); public String floor = null; public Long getId() { return id; } public PlaceBasicDto setId(Long value) { this.id = value; return this; } public UUID getGuid() { return guid; } public PlaceBasicDto setGuid(UUID value) { this.guid = value; return this; } public String getName() { return name; } public PlaceBasicDto setName(String value) { this.name = value; return this; } public Long getBusinessId() { return businessId; } public PlaceBasicDto setBusinessId(Long value) { this.businessId = value; return this; } public Float getLongitude() { return longitude; } public PlaceBasicDto setLongitude(Float value) { this.longitude = value; return this; } public Float getLatitude() { return latitude; } public PlaceBasicDto setLatitude(Float value) { this.latitude = value; return this; } public Boolean isClaimed() { return claimed; } public PlaceBasicDto setClaimed(Boolean value) { this.claimed = value; return this; } public String getOrganizationNumber() { return organizationNumber; } public PlaceBasicDto setOrganizationNumber(String value) { this.organizationNumber = value; return this; } public String getCountryCode() { return countryCode; } public PlaceBasicDto setCountryCode(String value) { this.countryCode = value; return this; } public String getOverview() { return overview; } public PlaceBasicDto setOverview(String value) { this.overview = value; return this; } public OpeningHours getOpeningHours() { return openingHours; } public PlaceBasicDto setOpeningHours(OpeningHours value) { this.openingHours = value; return this; } public PlaceType getPlaceType() { return placeType; } public PlaceBasicDto setPlaceType(PlaceType value) { this.placeType = value; return this; } public PlaceContact getContact() { return contact; } public PlaceBasicDto setContact(PlaceContact value) { this.contact = value; return this; } public PlaceAddress getAddress() { return address; } public PlaceBasicDto setAddress(PlaceAddress value) { this.address = value; return this; } public Boolean isWheelChairAccessible() { return wheelChairAccessible; } public PlaceBasicDto setWheelChairAccessible(Boolean value) { this.wheelChairAccessible = value; return this; } public Boolean isWifi() { return wifi; } public PlaceBasicDto setWifi(Boolean value) { this.wifi = value; return this; } public Boolean isOutdoorSeating() { return outdoorSeating; } public PlaceBasicDto setOutdoorSeating(Boolean value) { this.outdoorSeating = value; return this; } public Boolean isSaveFoodAndMoney() { return saveFoodAndMoney; } public PlaceBasicDto setSaveFoodAndMoney(Boolean value) { this.saveFoodAndMoney = value; return this; } public TimeZoneDto getTimeZoneDto() { return timeZoneDto; } public PlaceBasicDto setTimeZoneDto(TimeZoneDto value) { this.timeZoneDto = value; return this; } public PriceMainDishDto getPriceMainDish() { return priceMainDish; } public PlaceBasicDto setPriceMainDish(PriceMainDishDto value) { this.priceMainDish = value; return this; } public ArrayList getOtherServices() { return otherServices; } public PlaceBasicDto setOtherServices(ArrayList value) { this.otherServices = value; return this; } public String getFloor() { return floor; } public PlaceBasicDto setFloor(String value) { this.floor = value; return this; } } public static class MallOtherServiceDto { public Long id = null; public String serviceName = null; public String floor = null; public Long getId() { return id; } public MallOtherServiceDto setId(Long value) { this.id = value; return this; } public String getServiceName() { return serviceName; } public MallOtherServiceDto setServiceName(String value) { this.serviceName = value; return this; } public String getFloor() { return floor; } public MallOtherServiceDto setFloor(String value) { this.floor = value; return this; } } public static class WeeklyOpeningHours { public OpeningHour monday = null; public OpeningHour tuesday = null; public OpeningHour wednesday = null; public OpeningHour thursday = null; public OpeningHour friday = null; public OpeningHour saturday = null; public OpeningHour sunday = null; public OpeningHour getMonday() { return monday; } public WeeklyOpeningHours setMonday(OpeningHour value) { this.monday = value; return this; } public OpeningHour getTuesday() { return tuesday; } public WeeklyOpeningHours setTuesday(OpeningHour value) { this.tuesday = value; return this; } public OpeningHour getWednesday() { return wednesday; } public WeeklyOpeningHours setWednesday(OpeningHour value) { this.wednesday = value; return this; } public OpeningHour getThursday() { return thursday; } public WeeklyOpeningHours setThursday(OpeningHour value) { this.thursday = value; return this; } public OpeningHour getFriday() { return friday; } public WeeklyOpeningHours setFriday(OpeningHour value) { this.friday = value; return this; } public OpeningHour getSaturday() { return saturday; } public WeeklyOpeningHours setSaturday(OpeningHour value) { this.saturday = value; return this; } public OpeningHour getSunday() { return sunday; } public WeeklyOpeningHours setSunday(OpeningHour value) { this.sunday = value; return this; } } public static enum PlaceType { Mall, Regular; } public static class PlaceContact { public String phone = null; public String email = null; public String website = null; public String webShop = null; public String getPhone() { return phone; } public PlaceContact setPhone(String value) { this.phone = value; return this; } public String getEmail() { return email; } public PlaceContact setEmail(String value) { this.email = value; return this; } public String getWebsite() { return website; } public PlaceContact setWebsite(String value) { this.website = value; return this; } public String getWebShop() { return webShop; } public PlaceContact setWebShop(String value) { this.webShop = value; return this; } } public static class PlaceAddress { public String street = null; public String postalCode = null; public String region = null; public String countryCode = null; public String getStreet() { return street; } public PlaceAddress setStreet(String value) { this.street = value; return this; } public String getPostalCode() { return postalCode; } public PlaceAddress setPostalCode(String value) { this.postalCode = value; return this; } public String getRegion() { return region; } public PlaceAddress setRegion(String value) { this.region = value; return this; } public String getCountryCode() { return countryCode; } public PlaceAddress setCountryCode(String value) { this.countryCode = value; return this; } } public static class TimeZoneDto { public TimeSpan baseUtcOffset = null; public String daylightName = null; public String displayName = null; public String id = null; public String standardName = null; public Boolean supportsDaylightSavingTime = null; public TimeSpan getBaseUtcOffset() { return baseUtcOffset; } public TimeZoneDto setBaseUtcOffset(TimeSpan value) { this.baseUtcOffset = value; return this; } public String getDaylightName() { return daylightName; } public TimeZoneDto setDaylightName(String value) { this.daylightName = value; return this; } public String getDisplayName() { return displayName; } public TimeZoneDto setDisplayName(String value) { this.displayName = value; return this; } public String getId() { return id; } public TimeZoneDto setId(String value) { this.id = value; return this; } public String getStandardName() { return standardName; } public TimeZoneDto setStandardName(String value) { this.standardName = value; return this; } public Boolean isSupportsDaylightSavingTime() { return supportsDaylightSavingTime; } public TimeZoneDto setSupportsDaylightSavingTime(Boolean value) { this.supportsDaylightSavingTime = value; return this; } } public static class OpeningHour { public Integer openAtHour = null; public Integer openAtMinute = null; public Integer closeAtHour = null; public Integer closeAtMinute = null; public Integer getOpenAtHour() { return openAtHour; } public OpeningHour setOpenAtHour(Integer value) { this.openAtHour = value; return this; } public Integer getOpenAtMinute() { return openAtMinute; } public OpeningHour setOpenAtMinute(Integer value) { this.openAtMinute = value; return this; } public Integer getCloseAtHour() { return closeAtHour; } public OpeningHour setCloseAtHour(Integer value) { this.closeAtHour = value; return this; } public Integer getCloseAtMinute() { return closeAtMinute; } public OpeningHour setCloseAtMinute(Integer value) { this.closeAtMinute = value; return this; } } }