Versions in this module Expand all Collapse all v0 v0.0.2 Jun 22, 2024 v0.0.1 Jun 14, 2024 Changes in this version + const BearerScopes + func GetSwagger() (swagger *openapi3.T, err error) + func NewBeginLoginRequest(server string, params *BeginLoginParams, body BeginLoginJSONRequestBody) (*http.Request, error) + func NewBeginLoginRequestWithBody(server string, params *BeginLoginParams, contentType string, body io.Reader) (*http.Request, error) + func NewCompleteLoginRequest(server string, params *CompleteLoginParams, body CompleteLoginJSONRequestBody) (*http.Request, error) + func NewCompleteLoginRequestWithBody(server string, params *CompleteLoginParams, contentType string, body io.Reader) (*http.Request, error) + func NewGetDevicesRequest(server string) (*http.Request, error) + func NewGetIoTInfoRequest(server string, body GetIoTInfoJSONRequestBody) (*http.Request, error) + func NewGetIoTInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewGetUserStatusRequest(server string, params *GetUserStatusParams, body GetUserStatusJSONRequestBody) (*http.Request, error) + func NewGetUserStatusRequestWithBody(server string, params *GetUserStatusParams, contentType string, body io.Reader) (*http.Request, error) + func NewProvisionRequest(server string) (*http.Request, error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + type BeginLoginJSONBody struct + Email openapi_types.Email + type BeginLoginJSONRequestBody BeginLoginJSONBody + type BeginLoginParams struct + Country *PathCountry + Culture *PathCulture + UserAgent UserAgent + type BeginLoginRequest struct + Email openapi_types.Email + type BeginLoginResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *LoginChallenge + func ParseBeginLoginResponse(rsp *http.Response) (*BeginLoginResponse, error) + func (r BeginLoginResponse) Status() string + func (r BeginLoginResponse) StatusCode() int + type CapabilityString string + const AdvanceOscillationDay1 + const ChangeWifi + const EnvironmentalData + const ExtendedAQ + const Scheduling + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) BeginLogin(ctx context.Context, params *BeginLoginParams, body BeginLoginJSONRequestBody, ...) (*http.Response, error) + func (c *Client) BeginLoginWithBody(ctx context.Context, params *BeginLoginParams, contentType string, ...) (*http.Response, error) + func (c *Client) CompleteLogin(ctx context.Context, params *CompleteLoginParams, ...) (*http.Response, error) + func (c *Client) CompleteLoginWithBody(ctx context.Context, params *CompleteLoginParams, contentType string, ...) (*http.Response, error) + func (c *Client) GetDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetIoTInfo(ctx context.Context, body GetIoTInfoJSONRequestBody, ...) (*http.Response, error) + func (c *Client) GetIoTInfoWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) GetUserStatus(ctx context.Context, params *GetUserStatusParams, ...) (*http.Response, error) + func (c *Client) GetUserStatusWithBody(ctx context.Context, params *GetUserStatusParams, contentType string, ...) (*http.Response, error) + func (c *Client) Provision(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientInterface interface + BeginLogin func(ctx context.Context, params *BeginLoginParams, body BeginLoginJSONRequestBody, ...) (*http.Response, error) + BeginLoginWithBody func(ctx context.Context, params *BeginLoginParams, contentType string, ...) (*http.Response, error) + CompleteLogin func(ctx context.Context, params *CompleteLoginParams, ...) (*http.Response, error) + CompleteLoginWithBody func(ctx context.Context, params *CompleteLoginParams, contentType string, ...) (*http.Response, error) + GetDevices func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetIoTInfo func(ctx context.Context, body GetIoTInfoJSONRequestBody, ...) (*http.Response, error) + GetIoTInfoWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + GetUserStatus func(ctx context.Context, params *GetUserStatusParams, ...) (*http.Response, error) + GetUserStatusWithBody func(ctx context.Context, params *GetUserStatusParams, contentType string, ...) (*http.Response, error) + Provision func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) BeginLoginWithBodyWithResponse(ctx context.Context, params *BeginLoginParams, contentType string, ...) (*BeginLoginResponse, error) + func (c *ClientWithResponses) BeginLoginWithResponse(ctx context.Context, params *BeginLoginParams, body BeginLoginJSONRequestBody, ...) (*BeginLoginResponse, error) + func (c *ClientWithResponses) CompleteLoginWithBodyWithResponse(ctx context.Context, params *CompleteLoginParams, contentType string, ...) (*CompleteLoginResponse, error) + func (c *ClientWithResponses) CompleteLoginWithResponse(ctx context.Context, params *CompleteLoginParams, ...) (*CompleteLoginResponse, error) + func (c *ClientWithResponses) GetDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDevicesResponse, error) + func (c *ClientWithResponses) GetIoTInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetIoTInfoResponse, error) + func (c *ClientWithResponses) GetIoTInfoWithResponse(ctx context.Context, body GetIoTInfoJSONRequestBody, ...) (*GetIoTInfoResponse, error) + func (c *ClientWithResponses) GetUserStatusWithBodyWithResponse(ctx context.Context, params *GetUserStatusParams, contentType string, ...) (*GetUserStatusResponse, error) + func (c *ClientWithResponses) GetUserStatusWithResponse(ctx context.Context, params *GetUserStatusParams, ...) (*GetUserStatusResponse, error) + func (c *ClientWithResponses) ProvisionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProvisionResponse, error) + type ClientWithResponsesInterface interface + BeginLoginWithBodyWithResponse func(ctx context.Context, params *BeginLoginParams, contentType string, ...) (*BeginLoginResponse, error) + BeginLoginWithResponse func(ctx context.Context, params *BeginLoginParams, body BeginLoginJSONRequestBody, ...) (*BeginLoginResponse, error) + CompleteLoginWithBodyWithResponse func(ctx context.Context, params *CompleteLoginParams, contentType string, ...) (*CompleteLoginResponse, error) + CompleteLoginWithResponse func(ctx context.Context, params *CompleteLoginParams, ...) (*CompleteLoginResponse, error) + GetDevicesWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDevicesResponse, error) + GetIoTInfoWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*GetIoTInfoResponse, error) + GetIoTInfoWithResponse func(ctx context.Context, body GetIoTInfoJSONRequestBody, ...) (*GetIoTInfoResponse, error) + GetUserStatusWithBodyWithResponse func(ctx context.Context, params *GetUserStatusParams, contentType string, ...) (*GetUserStatusResponse, error) + GetUserStatusWithResponse func(ctx context.Context, params *GetUserStatusParams, ...) (*GetUserStatusResponse, error) + ProvisionWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ProvisionResponse, error) + type CompleteLoginJSONBody struct + ChallengeId openapi_types.UUID + Email openapi_types.Email + OtpCode string + Password string + type CompleteLoginJSONRequestBody CompleteLoginJSONBody + type CompleteLoginParams struct + Country *PathCountry + Culture *PathCulture + UserAgent UserAgent + type CompleteLoginRequest struct + ChallengeId openapi_types.UUID + Email openapi_types.Email + OtpCode string + Password string + type CompleteLoginResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *LoginComplete + func ParseCompleteLoginResponse(rsp *http.Response) (*CompleteLoginResponse, error) + func (r CompleteLoginResponse) Status() string + func (r CompleteLoginResponse) StatusCode() int + type ConnectedConfiguration struct + Firmware Firmware + Mqtt MQTT + type Device struct + Category DeviceCategory + ConnectedConfiguration ConnectedConfiguration + ConnectionCategory DeviceConnectionCategory + Model string + Name string + SerialNumber string + Type string + Variant *string + type DeviceCategory string + const Ec + const Flrc + const Hc + const Light + const Robot + const Wearable + type DeviceConnectionCategory string + const LecAndWifi + const LecOnly + const NonConnected + const WifiOnly + type Devices = []Device + type Firmware struct + AutoUpdateEnabled bool + Capabilities *[]CapabilityString + NewVersionAvailable bool + Version string + type GetDevicesResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Devices + func ParseGetDevicesResponse(rsp *http.Response) (*GetDevicesResponse, error) + func (r GetDevicesResponse) Status() string + func (r GetDevicesResponse) StatusCode() int + type GetIoTInfoJSONBody struct + Serial string + type GetIoTInfoJSONRequestBody GetIoTInfoJSONBody + type GetIoTInfoResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *IoTData + func ParseGetIoTInfoResponse(rsp *http.Response) (*GetIoTInfoResponse, error) + func (r GetIoTInfoResponse) Status() string + func (r GetIoTInfoResponse) StatusCode() int + type GetUserStatusJSONBody struct + Email openapi_types.Email + type GetUserStatusJSONRequestBody GetUserStatusJSONBody + type GetUserStatusParams struct + Country *PathCountry + UserAgent UserAgent + type GetUserStatusResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *UserStatus + func ParseGetUserStatusResponse(rsp *http.Response) (*GetUserStatusResponse, error) + func (r GetUserStatusResponse) Status() string + func (r GetUserStatusResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type IoTCredentials struct + ClientId openapi_types.UUID + CustomAuthorizerName string + TokenKey string + TokenSignature string + TokenValue openapi_types.UUID + type IoTData struct + Endpoint string + IoTCredentials IoTCredentials + type IoTDataRequest struct + Serial string + type LoginChallenge struct + ChallengeId openapi_types.UUID + type LoginComplete = LoginInformation + type LoginInformation struct + Account openapi_types.UUID + Token string + TokenType LoginInformationTokenType + type LoginInformationTokenType string + const Bearer + type MQTT struct + LocalBrokerCredentials string + MqttRootTopicLevel string + RemoteBrokerType MQTTRemoteBrokerType + type MQTTRemoteBrokerType string + const Wss + type PathCountry = string + type PathCulture = string + type Provision = string + type ProvisionResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Provision + func ParseProvisionResponse(rsp *http.Response) (*ProvisionResponse, error) + func (r ProvisionResponse) Status() string + func (r ProvisionResponse) StatusCode() int + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type UserAgent = string + type UserStatus struct + AccountStatus UserStatusAccountStatus + AuthenticationMethod UserStatusAuthenticationMethod + type UserStatusAccountStatus string + const ACTIVE + const UNREGISTERED + type UserStatusAuthenticationMethod string + const EMAILPWD2FA + type UserStatusRequest struct + Email openapi_types.Email