diff --git a/.stats.yml b/.stats.yml index c9de133..db94070 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 43 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-e9b22c1854a20c69a6dc11c9296ea95f2c23a13236c4fe7732539b6bb89f65b8.yml -openapi_spec_hash: 1ef6a63a47f1b3c619e3e09b18a08617 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-46826ba8640557721614b0c9a3f1860681d825ca8d8b12869652fa25aacb0b4c.yml +openapi_spec_hash: 33b8db6fde3021579b21325ce910197d config_hash: 026ef000d34bf2f930e7b41e77d2d3ff diff --git a/session.go b/session.go index 88d71b5..6696e0f 100644 --- a/session.go +++ b/session.go @@ -1332,15 +1332,17 @@ func (r sessionJSON) RawJSON() string { } type SessionTime struct { - Created float64 `json:"created,required"` - Updated float64 `json:"updated,required"` - JSON sessionTimeJSON `json:"-"` + Created float64 `json:"created,required"` + Updated float64 `json:"updated,required"` + Compacting float64 `json:"compacting"` + JSON sessionTimeJSON `json:"-"` } // sessionTimeJSON contains the JSON metadata for the struct [SessionTime] type sessionTimeJSON struct { Created apijson.Field Updated apijson.Field + Compacting apijson.Field raw string ExtraFields map[string]apijson.Field }