From e7cfc81753fd6bf3531eea4afea79367462acbee Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Sat, 13 Jan 2024 17:38:48 +0000 Subject: [PATCH] SDK regeneration --- core/client_option.go | 2 +- devices/unmanaged.go | 2 +- types.go | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/client_option.go b/core/client_option.go index 816836f..7716117 100644 --- a/core/client_option.go +++ b/core/client_option.go @@ -50,6 +50,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", "v0.3.0") + headers.Set("X-Fern-SDK-Version", "v0.0.9") return headers } diff --git a/devices/unmanaged.go b/devices/unmanaged.go index e2564bf..5503bc2 100644 --- a/devices/unmanaged.go +++ b/devices/unmanaged.go @@ -120,5 +120,5 @@ func (u *UnmanagedUpdateResponse) String() string { 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 93d38ad..619e38d 100644 --- a/types.go +++ b/types.go @@ -31,7 +31,7 @@ type AccessCode struct { Errors interface{} `json:"errors,omitempty"` Warnings interface{} `json:"warnings,omitempty"` // Indicates whether Seam manages the access code. - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` // Date and time at which the time-bound access code becomes active. StartsAt *time.Time `json:"starts_at,omitempty"` // Date and time after which the time-bound access code becomes inactive. @@ -1104,7 +1104,7 @@ type Device struct { // Date and time at which the device object was created. CreatedAt time.Time `json:"created_at"` // Indicates whether Seam manages the device. - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` _rawJSON json.RawMessage } @@ -3123,7 +3123,7 @@ type Phone struct { // Date and time at which the device object was created. CreatedAt time.Time `json:"created_at"` // Indicates whether Seam manages the device. - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` AssaAbloyCredentialServiceMetadata *PhoneAssaAbloyCredentialServiceMetadata `json:"assa_abloy_credential_service_metadata,omitempty"` _rawJSON json.RawMessage @@ -4922,7 +4922,7 @@ type UnmanagedAccessCode 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"` // Date and time at which the time-bound access code becomes active. StartsAt *time.Time `json:"starts_at,omitempty"` // Date and time after which the time-bound access code becomes inactive. @@ -5012,7 +5012,7 @@ type UnmanagedDevice struct { Warnings []*UnmanagedDeviceWarningsItem `json:"warnings,omitempty"` // Date and time at which the device object was created. CreatedAt time.Time `json:"created_at"` - IsManaged string `json:"is_managed"` + IsManaged bool `json:"is_managed"` Properties *UnmanagedDeviceProperties `json:"properties,omitempty"` DeviceProvider *UnmanagedDeviceDeviceProvider `json:"device_provider,omitempty"`