Versions in this module Expand all Collapse all v0 v0.1.1 Apr 14, 2024 Changes in this version + type ADateWeekSID int + const ADateWeekSIDFriday + const ADateWeekSIDMonday + const ADateWeekSIDSaturday + const ADateWeekSIDSunday + const ADateWeekSIDThursday + const ADateWeekSIDTuesday + const ADateWeekSIDWednesday + type ADurationSID int + const ADurationSIDDay + const ADurationSIDHour + const ADurationSIDMinute + const ADurationSIDMonth + const ADurationSIDSecond + const ADurationSIDWeek + const ADurationSIDWeek4 + const ADurationSIDYear + type AFlagSID int + const AFlagSIDAll + const AFlagSIDOff + const AFlagSIDOn + type AGenderSID int + const AGenderSIDFemale + const AGenderSIDMale + const AGenderSIDUndefined + type AttendanceListPerson struct + BookedDate DateTime + CanProfile bool + Date DateTime + EmailAddress string + Expire string + ExpireDate *Date + FirstName string + GenderID *Integer + HTMLAge string + HTMLBookedBy string + HTMLGenderClass string + HTMLMember string + HTMLTooltipBookedBy string + I Integer + IDVisit Integer + Icon struct{ ... } + IsAttend bool + IsDeposit bool + IsEarly bool + IsFree bool + IsHidden bool + IsPenalty bool + IsPending bool + IsPromotion bool + IsPromotionChange *bool + IsRestrict bool + IsTruancy bool + IsUnpaid bool + IsVisit bool + IsWait bool + IsWaitConfirm bool + IsWaitPriority Integer + LastName string + LocationID string + Login string + LoginPromotionID *string + ModeSID string + Note string + Order Integer + PassProspectID Integer + Phone string + Photo struct{ ... } + ProgramID Integer + Promotion string + RegisterDate DateTime + Remaining *Integer + TextAge *Integer + TextExpire string + TextFirstName string + TextIconClass string + TextLastName string + TextMember *string + TextPromition string + TextVisitStatusClass string + TextVisitStatusIcon string + Total Integer + UID string + UIDBook string + URLCancel string + URLCancelAdmin string + URLLoginView string + URLMail string + URLProfile string + VisitID string + type AttendanceListResponse struct + Capacity Integer + ClientCount Integer + IsWaitListLimit bool + ListActive []*AttendanceListPerson + ListConfirm []*AttendanceListPerson + ListWait []*AttendanceListPerson + LocationID string + WaitListLimit Integer + type BaseResponse struct + Status string + Version string + type Class struct + ClassID string + ClassTab []string + HTMLDescription string + HTMLSpecialInstruction string + HasOwnImage bool + IsAgePublic Integer + IsBookable bool + IsEvent bool + IsOnlinePrivate bool + IsPromotionClient bool + IsPromotionOnly bool + IsPromotionStaff bool + IsSingleBuy bool + IsVirtual bool + Price *Currency + Schedule []ClassSchedule + SearchTags []SearchTag + ShowSpecialInstructions Integer + Title string + URLImage string + XMLDescription string + XMLSpecialInstruction string + type ClassResponse struct + ClassList map[string]Class + type ClassSchedule struct + ClassID string + ClassPeriodID string + DayOfWeek int + DurationInMinutes int + EndDate Date + IsCancel bool + LocationID string + Price Currency + Repeat struct{ ... } + StaffIDs []int + StartDate Date + TextTimeRange string + TextTimeStart string + type Client struct + AuthorizationCode string + AuthorizationID string + HTTPClient http.Client + URL string + func (c *Client) Login(ctx context.Context, username string, password string) error + func (c *Client) Raw(ctx context.Context, method string, path string, variables url.Values, ...) ([]byte, error) + func (c *Client) Request(ctx context.Context, method string, path string, variables url.Values, ...) error + type Currency float64 + func (d *Currency) UnmarshalJSON(contents []byte) error + type CurrencySID int + const CurrencySIDAED + const CurrencySIDAUD + const CurrencySIDCAD + const CurrencySIDEGP + const CurrencySIDEUR + const CurrencySIDGBP + const CurrencySIDKYD + const CurrencySIDNZD + const CurrencySIDPHP + const CurrencySIDUSD + const CurrencySIDZAR + type Date struct + func (d *Date) UnmarshalJSON(contents []byte) error + type DateTime struct + func (d *DateTime) UnmarshalJSON(contents []byte) error + type EnterResponse struct + URLRedirect string + type Error struct + Field *string + HTMLMessage string + ID *int + Message string + SID string + type ErrorResponse struct + Class string + Code *int + Errors []Error + Message string + func (r *ErrorResponse) Error() string + type Event struct + AgeRestrictText string + CanCancel bool + ClassID string + ClassPeriodID string + ClassTab []string + EarlybirdEndDate *Date + EndDate Date + EnrollmentBlockID string + IsAgeRestrict bool + IsAvailable bool + IsBlock bool + IsBookable bool + IsBooked bool + IsClosed bool + IsFull bool + IsOnline bool + IsOnlinePrivate bool + IsOpen bool + IsPromotionOnly bool + IsProrate bool + IsVirtual bool + LocationID string + Logo Logo + PriceTotal Currency + PriceTotalEarly *Currency + Schedule []EventSchedule + SearchTags []SearchTag + SessionAll int + SessionDTU *DateTime + SessionFuture int + SessionPast int + StartDate Date + Title string + URLBook string + XMLDescription string + type EventListResponse struct + EnrollmentBlockList StringToStringMap + EventList []Event + type EventSchedule struct + ClassPeriodID string + Day map[string]int + EndDate Date + IsDay bool + LocationID string + LocationText string + StaffMember []StaffMember + StartDate Date + TimeText string + type Float float64 + func (d *Float) UnmarshalJSON(contents []byte) error + type Image struct + Height int + HeightSource int + IDTypeSource int + IsResize bool + Rotate int + URLThumbnail string + URLView string + Width int + WidthSource int + type Integer int + func (d *Integer) UnmarshalJSON(contents []byte) error + type Location struct + AddressCity string + AddressCountry string + AddressPostal string + AddressRegion string + AddressStreet string + BusinessID string + CountryID string + FullAddress string + Latitude Float + LocationID string + Longitude Float + Order Integer + RegionID string + Shift Integer + TimezoneID string + Title string + URLLogo string + type LocationListResponse struct + LocationMap map[string]Location + type LocationResponse struct + Address string + AddressCity string + AddressCountry string + AddressPostal string + AddressRegion string + AddressRegionCode string + AddressStreet string + Alias string + BusinessID string + BusinessType string + BusinessTypeID string + EmailAddress string + HTMLDescriptionFull string + HTMLDescriptionPreview string + Industry string + IndustryID Integer + IsPhone bool + IsTopChoice bool + Latitude Float + Longitude Float + Map string + PhoneNumber string + Slides []struct{ ... } + Timezone string + TimezoneID string + Title string + URLFacebook string + URLInstagram string + URLLinkedIn string + URLMap string + URLMicrosite string + URLSite string + URLTwitter string + URLWeb string + URLYouTube string + type Logo struct + Business string + Class string + Height int + HeightSource int + IDTypeSource int + Image Image + IsOld bool + IsOwn bool + IsResize bool + Rotate int + URL string + URLThumbnail string + URLView string + Width int + WidthSource int + type ModeSID int + const ModeSIDClasspassBooking + const ModeSIDGoogleBooking + const ModeSIDGympassBooking + const ModeSIDImport + const ModeSIDMicrosite + const ModeSIDMyPresenceSite + const ModeSIDSpaBackend + const ModeSIDSpaFrontend + const ModeSIDSystem + const ModeSIDUndefined + const ModeSIDWebAppAttendance + const ModeSIDWebBackend + const ModeSIDWebFrontend + const ModeSIDWidget + const ModeSIDWwebAppCheckin + type NotepadResponse struct + Hash string + Notepad string + RegionID *string + type ProjectSID int + const ProjectSIDWellnessLiving + type RegionSID int + const RegionSIDAPSoutheast2 + const RegionSIDUSEast1 + type SaleSID int + const SaleSIDAppointment + const SaleSIDAppointmentDeposit + const SaleSIDAppointmentTip + const SaleSIDClassPeriod + const SaleSIDCoupon + const SaleSIDEnrollment + const SaleSIDPackage + const SaleSIDProduct + const SaleSIDPromotionClass + const SaleSIDPromotionResource + const SaleSIDPromotionService + const SaleSIDQuickBuy + type ScheduleClassListResponse struct + Calendar StringToAnyMap + IsTimezoneDifferent bool + IsVirtualService bool + Sessions []ScheduleClassSession + type ScheduleClassSession struct + ClassID string + ClassPeriodID string + ClassTab []string + DayOfWeek int + DurationInMinutes int + HideApplication bool + IsCancel Integer + IsVirtual bool + LocalStartTime DateTime + LocationID string + Staff []string + StartTime DateTime + TimeString string + Timezone string + Title string + URLBook string + type SearchTag struct + SearchTagID string + Title string + type ServiceSID int + const ServiceSIDAppointment + const ServiceSIDClass + const ServiceSIDEnrollment + const ServiceSIDResource + const ServiceSIDVisit + type Signature struct + AuthorizationCode string + AuthorizationID string + CookiePersistent string + CookieTransient string + Header http.Header + Host string + Method string + Resource string + Time time.Time + Variables url.Values + type StaffMember struct + BusinessRole string + Mail string + NameFirst string + NameFull string + NameLast string + StaffMemberID int + UID string + type StringToAnyMap map[string]interface + func (m *StringToAnyMap) UnmarshalJSON(contents []byte) error + type StringToStringMap map[string]string + func (m *StringToStringMap) UnmarshalJSON(contents []byte) error + type Tab struct + ClassTabID *Integer + ID int + IDClassTabObject int + IDClassTabSystem int + Order int + ResourceTypeID *Integer + ServiceCategoryID *Integer + Title string + URLOrigin string + type TabResponse struct + Tabs []Tab + type YesNoSID int + const YesNoSIDNo + const YesNoSIDYes v0.1.0 Apr 13, 2024