From 17ffef1ee531aabd87a29636a2736c9ae1204488 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 11:12:21 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#2710) --- .stats.yml | 2 +- ai_gateway/aigateway_test.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 9a5f48a8a17..42d2b960a42 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1254 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-10e0f5bf9e74bc8593c8024dd72b3c91d0402b96678320361ec2166da30136ff.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-623885448544cf05b4f37663c71fa42a56151359a9b770b24d86195f10da96d8.yml diff --git a/ai_gateway/aigateway_test.go b/ai_gateway/aigateway_test.go index 76c106a9f34..04397f483ae 100644 --- a/ai_gateway/aigateway_test.go +++ b/ai_gateway/aigateway_test.go @@ -28,7 +28,7 @@ func TestAIGatewayNew(t *testing.T) { option.WithAPIEmail("user@example.com"), ) _, err := client.AIGateway.New(context.TODO(), ai_gateway.AIGatewayNewParams{ - AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"), + AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"), ID: cloudflare.F("my-gateway"), CacheInvalidateOnUpdate: cloudflare.F(true), CacheTTL: cloudflare.F(int64(0)), @@ -63,7 +63,7 @@ func TestAIGatewayUpdate(t *testing.T) { context.TODO(), "my-gateway", ai_gateway.AIGatewayUpdateParams{ - AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"), + AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"), CacheInvalidateOnUpdate: cloudflare.F(true), CacheTTL: cloudflare.F(int64(0)), CollectLogs: cloudflare.F(true), @@ -95,7 +95,7 @@ func TestAIGatewayListWithOptionalParams(t *testing.T) { option.WithAPIEmail("user@example.com"), ) _, err := client.AIGateway.List(context.TODO(), ai_gateway.AIGatewayListParams{ - AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"), + AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"), ID: cloudflare.F("my-gateway"), OrderBy: cloudflare.F("string"), Page: cloudflare.F(int64(1)), @@ -127,7 +127,7 @@ func TestAIGatewayDelete(t *testing.T) { context.TODO(), "string", ai_gateway.AIGatewayDeleteParams{ - AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"), + AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"), }, ) if err != nil { @@ -156,7 +156,7 @@ func TestAIGatewayGet(t *testing.T) { context.TODO(), "my-gateway", ai_gateway.AIGatewayGetParams{ - AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"), + AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"), }, ) if err != nil {