Skip to content

Commit 3be7afb

Browse files
feat(api): update via SDK Studio
1 parent 562f248 commit 3be7afb

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-2fed6c2aef6fb20a2815d0ed36d801c566a73ea11a66db5d892b1533a1fac19e.yml
3-
openapi_spec_hash: 55559a2ca985ed36cb8a13b09f80dcb5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-da3b6999bce525461011a620a559d34d4b4ab1d073758e7add4d2ba09f57a2ba.yml
3+
openapi_spec_hash: 7bec5f31fa27666a3955076653c6ac40
44
config_hash: a085d1b39ddf0b26ee798501a9f47e20

deployment.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,14 @@ type DeploymentFollowResponseUnion struct {
204204
// This field is from variant [DeploymentFollowResponseAppVersionSummaryEvent].
205205
ID string `json:"id"`
206206
// This field is from variant [DeploymentFollowResponseAppVersionSummaryEvent].
207+
Actions []string `json:"actions"`
208+
// This field is from variant [DeploymentFollowResponseAppVersionSummaryEvent].
207209
AppName string `json:"app_name"`
208210
// This field is from variant [DeploymentFollowResponseAppVersionSummaryEvent].
209211
Region constant.AwsUsEast1a `json:"region"`
210212
// This field is from variant [DeploymentFollowResponseAppVersionSummaryEvent].
211213
Version string `json:"version"`
212214
// This field is from variant [DeploymentFollowResponseAppVersionSummaryEvent].
213-
Actions []string `json:"actions"`
214-
// This field is from variant [DeploymentFollowResponseAppVersionSummaryEvent].
215215
EnvVars map[string]string `json:"env_vars"`
216216
// This field is from variant [DeploymentFollowResponseErrorEvent].
217217
Error DeploymentFollowResponseErrorEventError `json:"error"`
@@ -221,10 +221,10 @@ type DeploymentFollowResponseUnion struct {
221221
Timestamp respjson.Field
222222
Deployment respjson.Field
223223
ID respjson.Field
224+
Actions respjson.Field
224225
AppName respjson.Field
225226
Region respjson.Field
226227
Version respjson.Field
227-
Actions respjson.Field
228228
EnvVars respjson.Field
229229
Error respjson.Field
230230
raw string
@@ -351,6 +351,8 @@ func (r *DeploymentFollowResponseDeploymentStateDeployment) UnmarshalJSON(data [
351351
type DeploymentFollowResponseAppVersionSummaryEvent struct {
352352
// Unique identifier for the app version
353353
ID string `json:"id,required"`
354+
// List of actions available on the app
355+
Actions []string `json:"actions,required"`
354356
// Name of the application
355357
AppName string `json:"app_name,required"`
356358
// Event type identifier (always "app_version_summary").
@@ -361,19 +363,17 @@ type DeploymentFollowResponseAppVersionSummaryEvent struct {
361363
Timestamp time.Time `json:"timestamp,required" format:"date-time"`
362364
// Version label for the application
363365
Version string `json:"version,required"`
364-
// List of actions available on the app
365-
Actions []string `json:"actions"`
366366
// Environment variables configured for this app version
367367
EnvVars map[string]string `json:"env_vars"`
368368
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
369369
JSON struct {
370370
ID respjson.Field
371+
Actions respjson.Field
371372
AppName respjson.Field
372373
Event respjson.Field
373374
Region respjson.Field
374375
Timestamp respjson.Field
375376
Version respjson.Field
376-
Actions respjson.Field
377377
EnvVars respjson.Field
378378
ExtraFields map[string]respjson.Field
379379
raw string

0 commit comments

Comments
 (0)