Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Dec 11, 2024
1 parent 76029fa commit 6e56add
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prelude%2Fprelude-64c1896dedae5302f4967c8edb2a675a48cba330193a20bdda1409fe3f9f9972.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prelude%2Fprelude-c2d315d9176eaab871bd9caca815b3806646706b9ef1af0ddbb2253ffd821efb.yml
2 changes: 1 addition & 1 deletion verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ type VerificationNewParamsSignals struct {
IP param.Field[string] `json:"ip" format:"ipv4"`
// This signal should provide a higher level of trust, indicating that the user is
// genuine. For more details, refer to [Signals](/guides/prevent-fraud#signals).
IsTrustedUser param.Field[string] `json:"is_trusted_user"`
IsTrustedUser param.Field[bool] `json:"is_trusted_user"`
// The version of the user's device operating system.
OsVersion param.Field[string] `json:"os_version"`
}
Expand Down
2 changes: 1 addition & 1 deletion verification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestVerificationNewWithOptionalParams(t *testing.T) {
DeviceModel: prelude.F("iPhone17,2"),
DevicePlatform: prelude.F(prelude.VerificationNewParamsSignalsDevicePlatformAndroid),
IP: prelude.F("192.0.2.1"),
IsTrustedUser: prelude.F("is_trusted_user"),
IsTrustedUser: prelude.F(false),
OsVersion: prelude.F("18.0.1"),
}),
})
Expand Down

0 comments on commit 6e56add

Please sign in to comment.