Skip to content

Commit 0dc01f6

Browse files
feat(api): api update
1 parent 6dcf92f commit 0dc01f6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 43
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-e9b22c1854a20c69a6dc11c9296ea95f2c23a13236c4fe7732539b6bb89f65b8.yml
3-
openapi_spec_hash: 1ef6a63a47f1b3c619e3e09b18a08617
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-46826ba8640557721614b0c9a3f1860681d825ca8d8b12869652fa25aacb0b4c.yml
3+
openapi_spec_hash: 33b8db6fde3021579b21325ce910197d
44
config_hash: 026ef000d34bf2f930e7b41e77d2d3ff

session.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,15 +1332,17 @@ func (r sessionJSON) RawJSON() string {
13321332
}
13331333

13341334
type SessionTime struct {
1335-
Created float64 `json:"created,required"`
1336-
Updated float64 `json:"updated,required"`
1337-
JSON sessionTimeJSON `json:"-"`
1335+
Created float64 `json:"created,required"`
1336+
Updated float64 `json:"updated,required"`
1337+
Compacting float64 `json:"compacting"`
1338+
JSON sessionTimeJSON `json:"-"`
13381339
}
13391340

13401341
// sessionTimeJSON contains the JSON metadata for the struct [SessionTime]
13411342
type sessionTimeJSON struct {
13421343
Created apijson.Field
13431344
Updated apijson.Field
1345+
Compacting apijson.Field
13441346
raw string
13451347
ExtraFields map[string]apijson.Field
13461348
}

0 commit comments

Comments
 (0)