Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Oct 27, 2023
1 parent 652fa30 commit a7d4525
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion core/client_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion devices/unmanaged.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
14 changes: 7 additions & 7 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"`
}

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a7d4525

Please sign in to comment.