Skip to content

Commit 6e4418f

Browse files
chore(api): update composite API spec
1 parent aa147ce commit 6e4418f

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
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: 1887
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e4e4a9e871d82e70a7ac93f03e8921ee452a7d01772adc0eb99dcd4dbe7a59e8.yml
3-
openapi_spec_hash: 195329a79dc7a999de4ceb1680746dee
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-fe5f9f74ec7fae587b81aa6c4405a2129bbe6c146d36a6a8eee6cbc184dceb01.yml
3+
openapi_spec_hash: ad2c2470332035b5d92e2a94faefe5a6
44
config_hash: 47bfb436213622df92afdda8ce4f077f

src/resources/d1/database.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,12 @@ export interface DatabaseCreateParams {
658658
*/
659659
name: string;
660660

661+
/**
662+
* Body param: Specify the location to restrict the D1 database to run and store
663+
* data. If this option is present, the location hint is ignored.
664+
*/
665+
jurisdiction?: 'eu' | 'fedramp';
666+
661667
/**
662668
* Body param: Specify the region to create the D1 primary, if available. If this
663669
* option is omitted, the D1 will be created as close as possible to the current

tests/api-resources/d1/database.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ describe('resource database', () => {
2828
const response = await client.d1.database.create({
2929
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
3030
name: 'my-database',
31+
jurisdiction: 'eu',
3132
primary_location_hint: 'wnam',
3233
});
3334
});

0 commit comments

Comments
 (0)