Skip to content

Commit 4d5f417

Browse files
Ambiguate RemoteData data field type (#15)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent a9b2290 commit 4d5f417

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

accounting/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40228,8 +40228,8 @@ func (p *PurchaseOrdersRetrieveRequestExpand) UnmarshalJSON(data []byte) error {
4022840228
}
4022940229

4023040230
type RemoteData struct {
40231-
Path string `json:"path"`
40232-
Data map[string]any `json:"data,omitempty"`
40231+
Path string `json:"path"`
40232+
Data *any `json:"data,omitempty"`
4023340233
}
4023440234

4023540235
// # The RemoteKey Object

ats/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7169,8 +7169,8 @@ type RejectReason struct {
71697169
}
71707170

71717171
type RemoteData struct {
7172-
Path string `json:"path"`
7173-
Data map[string]any `json:"data,omitempty"`
7172+
Path string `json:"path"`
7173+
Data *any `json:"data,omitempty"`
71747174
}
71757175

71767176
// # The RemoteKey Object

core/client_option.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ func (c *ClientOptions) cloneHeader() http.Header {
4848
headers := c.HTTPHeader.Clone()
4949
headers.Set("X-Fern-Language", "Go")
5050
headers.Set("X-Fern-SDK-Name", "github.com/merge-api/merge-go-client")
51-
headers.Set("X-Fern-SDK-Version", "v1.0.3")
51+
headers.Set("X-Fern-SDK-Version", "v1.0.4")
5252
return headers
5353
}

crm/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9546,8 +9546,8 @@ func (r *ReasonEnum) UnmarshalJSON(data []byte) error {
95469546
}
95479547

95489548
type RemoteData struct {
9549-
Path string `json:"path"`
9550-
Data map[string]any `json:"data,omitempty"`
9549+
Path string `json:"path"`
9550+
Data *any `json:"data,omitempty"`
95519551
}
95529552

95539553
type RemoteField struct {

ticketing/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3377,8 +3377,8 @@ func (p *ProjectsUsersListRequestExpand) UnmarshalJSON(data []byte) error {
33773377
}
33783378

33793379
type RemoteData struct {
3380-
Path string `json:"path"`
3381-
Data map[string]any `json:"data,omitempty"`
3380+
Path string `json:"path"`
3381+
Data *any `json:"data,omitempty"`
33823382
}
33833383

33843384
type RemoteField struct {

0 commit comments

Comments
 (0)