From a7d4525755e35dc6318c4625f1b565ac31714518 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 27 Oct 2023 01:35:38 +0000 Subject: [PATCH] Release v0.1.0 --- core/client_option.go | 2 +- devices/unmanaged.go | 2 +- types.go | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/core/client_option.go b/core/client_option.go index ec3a02d..e70fbfd 100644 --- a/core/client_option.go +++ b/core/client_option.go @@ -43,6 +43,6 @@ func (c *ClientOptions) cloneHeader() http.Header { headers := c.HTTPHeader.Clone() headers.Set("X-Fern-Language", "Go") headers.Set("X-Fern-SDK-Name", "github.com/seamapi/go") - headers.Set("X-Fern-SDK-Version", "0.2.0") + headers.Set("X-Fern-SDK-Version", "0.1.0") return headers } diff --git a/devices/unmanaged.go b/devices/unmanaged.go index 2edfaab..93aef3e 100644 --- a/devices/unmanaged.go +++ b/devices/unmanaged.go @@ -21,5 +21,5 @@ type UnmanagedListRequest struct { type UnmanagedUpdateRequest struct { DeviceId string `json:"device_id"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` } diff --git a/types.go b/types.go index 09133a2..cf7a748 100644 --- a/types.go +++ b/types.go @@ -20,7 +20,7 @@ type AccessCode struct { CreatedAt time.Time `json:"created_at"` Errors interface{} `json:"errors,omitempty"` Warnings interface{} `json:"warnings,omitempty"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` StartsAt *time.Time `json:"starts_at,omitempty"` EndsAt *time.Time `json:"ends_at,omitempty"` Status AccessCodeStatus `json:"status,omitempty"` @@ -587,7 +587,7 @@ type Device struct { Errors []*DeviceErrorsItem `json:"errors,omitempty"` Warnings []*DeviceWarningsItem `json:"warnings,omitempty"` CreatedAt time.Time `json:"created_at"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` } type DeviceCapabilitiesSupportedItem string @@ -1069,7 +1069,7 @@ type SimulateCreateUnmanagedAccessCodeResponseAccessCodeOngoing struct { AccessCodeId string `json:"access_code_id"` Code *string `json:"code,omitempty"` CreatedAt *SimulateCreateUnmanagedAccessCodeResponseAccessCodeOngoingCreatedAt `json:"created_at,omitempty"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` StartsAt *string `json:"starts_at,omitempty"` EndsAt *string `json:"ends_at,omitempty"` status string @@ -1163,7 +1163,7 @@ type SimulateCreateUnmanagedAccessCodeResponseAccessCodeTimeBound struct { AccessCodeId string `json:"access_code_id"` Code *string `json:"code,omitempty"` CreatedAt *SimulateCreateUnmanagedAccessCodeResponseAccessCodeTimeBoundCreatedAt `json:"created_at,omitempty"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` StartsAt *string `json:"starts_at,omitempty"` EndsAt *string `json:"ends_at,omitempty"` status string @@ -1306,7 +1306,7 @@ type UnmanagedDevice struct { Errors []*UnmanagedDeviceErrorsItem `json:"errors,omitempty"` Warnings []*UnmanagedDeviceWarningsItem `json:"warnings,omitempty"` CreatedAt time.Time `json:"created_at"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` Properties *UnmanagedDeviceProperties `json:"properties,omitempty"` } @@ -1347,7 +1347,7 @@ type UnmanagedGetResponseAccessCode struct { CreatedAt time.Time `json:"created_at"` Errors interface{} `json:"errors,omitempty"` Warnings interface{} `json:"warnings,omitempty"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` StartsAt *time.Time `json:"starts_at,omitempty"` EndsAt *time.Time `json:"ends_at,omitempty"` status string @@ -1416,7 +1416,7 @@ type UnmanagedListResponseAccessCodesItem struct { CreatedAt time.Time `json:"created_at"` Errors interface{} `json:"errors,omitempty"` Warnings interface{} `json:"warnings,omitempty"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` StartsAt *time.Time `json:"starts_at,omitempty"` EndsAt *time.Time `json:"ends_at,omitempty"` status string