Skip to content

Commit d07e22f

Browse files
feat(api): api update
1 parent bb67f21 commit d07e22f

File tree

86 files changed

+2558
-2488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+2558
-2488
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1769
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5e53659eea1b4f1fb11addaddb82880c177d8fa3e7a93f0d664a65e43ac526f4.yml
3-
openapi_spec_hash: 3e0f59ac2722028954566a4c850e8849
1+
configured_endpoints: 1777
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9629020f23f4c564925a52c46cdf5a93581a3f6bf35bf8050b0792467f642d33.yml
3+
openapi_spec_hash: 58db5ad168eaa03ed1c9a028636c58f6
44
config_hash: bafeb7666d2b7868c9d4ab8f0cc686e1

api.md

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2118,7 +2118,6 @@ Methods:
21182118

21192119
Types:
21202120

2121-
- <code><a href="./src/resources/workers/scripts/deployments.ts">Deployment</a></code>
21222121
- <code><a href="./src/resources/workers/scripts/deployments.ts">DeploymentCreateResponse</a></code>
21232122
- <code><a href="./src/resources/workers/scripts/deployments.ts">DeploymentGetResponse</a></code>
21242123

@@ -2952,24 +2951,57 @@ Methods:
29522951
Types:
29532952

29542953
- <code><a href="./src/resources/brand-protection/brand-protection.ts">Info</a></code>
2955-
- <code><a href="./src/resources/brand-protection/brand-protection.ts">RuleMatch</a></code>
2956-
- <code><a href="./src/resources/brand-protection/brand-protection.ts">ScanStatus</a></code>
29572954
- <code><a href="./src/resources/brand-protection/brand-protection.ts">Submit</a></code>
2958-
- <code><a href="./src/resources/brand-protection/brand-protection.ts">URLInfoModelResults</a></code>
2955+
- <code><a href="./src/resources/brand-protection/brand-protection.ts">BrandProtectionSubmitResponse</a></code>
2956+
- <code><a href="./src/resources/brand-protection/brand-protection.ts">BrandProtectionURLInfoResponse</a></code>
29592957

29602958
Methods:
29612959

2962-
- <code title="post /accounts/{account_id}/brand-protection/submit">client.brandProtection.<a href="./src/resources/brand-protection/brand-protection.ts">submit</a>({ ...params }) -> Submit</code>
2963-
- <code title="get /accounts/{account_id}/brand-protection/url-info">client.brandProtection.<a href="./src/resources/brand-protection/brand-protection.ts">urlInfo</a>({ ...params }) -> Info</code>
2960+
- <code title="post /accounts/{account_id}/brand-protection/submit">client.brandProtection.<a href="./src/resources/brand-protection/brand-protection.ts">submit</a>({ ...params }) -> BrandProtectionSubmitResponse</code>
2961+
- <code title="get /accounts/{account_id}/brand-protection/url-info">client.brandProtection.<a href="./src/resources/brand-protection/brand-protection.ts">urlInfo</a>({ ...params }) -> BrandProtectionURLInfoResponse</code>
29642962

29652963
## Queries
29662964

2965+
Methods:
2966+
2967+
- <code title="post /accounts/{account_id}/brand-protection/queries">client.brandProtection.queries.<a href="./src/resources/brand-protection/queries.ts">create</a>({ ...params }) -> void</code>
2968+
- <code title="delete /accounts/{account_id}/brand-protection/queries">client.brandProtection.queries.<a href="./src/resources/brand-protection/queries.ts">delete</a>({ ...params }) -> void</code>
2969+
29672970
## Matches
29682971

2972+
Types:
2973+
2974+
- <code><a href="./src/resources/brand-protection/matches.ts">MatchDownloadResponse</a></code>
2975+
- <code><a href="./src/resources/brand-protection/matches.ts">MatchGetResponse</a></code>
2976+
2977+
Methods:
2978+
2979+
- <code title="get /accounts/{account_id}/brand-protection/matches/download">client.brandProtection.matches.<a href="./src/resources/brand-protection/matches.ts">download</a>({ ...params }) -> MatchDownloadResponse</code>
2980+
- <code title="get /accounts/{account_id}/brand-protection/matches">client.brandProtection.matches.<a href="./src/resources/brand-protection/matches.ts">get</a>({ ...params }) -> MatchGetResponse</code>
2981+
29692982
## Logos
29702983

2984+
Types:
2985+
2986+
- <code><a href="./src/resources/brand-protection/logos.ts">LogoCreateResponse</a></code>
2987+
2988+
Methods:
2989+
2990+
- <code title="post /accounts/{account_id}/brand-protection/logos">client.brandProtection.logos.<a href="./src/resources/brand-protection/logos.ts">create</a>({ ...params }) -> LogoCreateResponse</code>
2991+
- <code title="delete /accounts/{account_id}/brand-protection/logos/{logo_id}">client.brandProtection.logos.<a href="./src/resources/brand-protection/logos.ts">delete</a>(logoId, { ...params }) -> void</code>
2992+
29712993
## LogoMatches
29722994

2995+
Types:
2996+
2997+
- <code><a href="./src/resources/brand-protection/logo-matches.ts">LogoMatchDownloadResponse</a></code>
2998+
- <code><a href="./src/resources/brand-protection/logo-matches.ts">LogoMatchGetResponse</a></code>
2999+
3000+
Methods:
3001+
3002+
- <code title="get /accounts/{account_id}/brand-protection/logo-matches/download">client.brandProtection.logoMatches.<a href="./src/resources/brand-protection/logo-matches.ts">download</a>({ ...params }) -> LogoMatchDownloadResponse</code>
3003+
- <code title="get /accounts/{account_id}/brand-protection/logo-matches">client.brandProtection.logoMatches.<a href="./src/resources/brand-protection/logo-matches.ts">get</a>({ ...params }) -> LogoMatchGetResponse</code>
3004+
29733005
# Diagnostics
29743006

29753007
## Traceroutes

scripts/detect-breaking-changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,10 @@ TEST_PATHS=(
253253
tests/api-resources/billing/billing.test.ts
254254
tests/api-resources/billing/profiles.test.ts
255255
tests/api-resources/brand-protection/brand-protection.test.ts
256+
tests/api-resources/brand-protection/queries.test.ts
257+
tests/api-resources/brand-protection/matches.test.ts
258+
tests/api-resources/brand-protection/logos.test.ts
259+
tests/api-resources/brand-protection/logo-matches.test.ts
256260
tests/api-resources/diagnostics/diagnostics.test.ts
257261
tests/api-resources/diagnostics/traceroutes.test.ts
258262
tests/api-resources/images/images.test.ts

0 commit comments

Comments
 (0)