Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 13, 2024
1 parent 056555d commit e7cfc81
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion core/client_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion devices/unmanaged.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
10 changes: 5 additions & 5 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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"`

Expand Down

0 comments on commit e7cfc81

Please sign in to comment.