Skip to content

Commit

Permalink
Ambiguate RemoteData data field type (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
fern-api[bot] authored Jan 9, 2024
1 parent a9b2290 commit 4d5f417
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions accounting/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40228,8 +40228,8 @@ func (p *PurchaseOrdersRetrieveRequestExpand) UnmarshalJSON(data []byte) error {
}

type RemoteData struct {
Path string `json:"path"`
Data map[string]any `json:"data,omitempty"`
Path string `json:"path"`
Data *any `json:"data,omitempty"`
}

// # The RemoteKey Object
Expand Down
4 changes: 2 additions & 2 deletions ats/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7169,8 +7169,8 @@ type RejectReason struct {
}

type RemoteData struct {
Path string `json:"path"`
Data map[string]any `json:"data,omitempty"`
Path string `json:"path"`
Data *any `json:"data,omitempty"`
}

// # The RemoteKey Object
Expand Down
2 changes: 1 addition & 1 deletion core/client_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,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/merge-api/merge-go-client")
headers.Set("X-Fern-SDK-Version", "v1.0.3")
headers.Set("X-Fern-SDK-Version", "v1.0.4")
return headers
}
4 changes: 2 additions & 2 deletions crm/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9546,8 +9546,8 @@ func (r *ReasonEnum) UnmarshalJSON(data []byte) error {
}

type RemoteData struct {
Path string `json:"path"`
Data map[string]any `json:"data,omitempty"`
Path string `json:"path"`
Data *any `json:"data,omitempty"`
}

type RemoteField struct {
Expand Down
4 changes: 2 additions & 2 deletions ticketing/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3377,8 +3377,8 @@ func (p *ProjectsUsersListRequestExpand) UnmarshalJSON(data []byte) error {
}

type RemoteData struct {
Path string `json:"path"`
Data map[string]any `json:"data,omitempty"`
Path string `json:"path"`
Data *any `json:"data,omitempty"`
}

type RemoteField struct {
Expand Down

0 comments on commit 4d5f417

Please sign in to comment.