Skip to content

Commit

Permalink
feat: update via SDK Studio (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Feb 23, 2024
1 parent 654a938 commit 87a7c4e
Show file tree
Hide file tree
Showing 22 changed files with 1 addition and 6,144 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1210
configured_endpoints: 1200
84 changes: 0 additions & 84 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6232,90 +6232,6 @@ Methods:
- <code title="patch /zones/{zone_id}/firewall/waf/packages/{package_id}/rules/{rule_id}">client.firewall.waf.packages.rules.<a href="./src/resources/firewall/waf/packages/rules.ts">edit</a>(zoneId, packageId, ruleId, { ...params }) -> RuleEditResponse</code>
- <code title="get /zones/{zone_id}/firewall/waf/packages/{package_id}/rules/{rule_id}">client.firewall.waf.packages.rules.<a href="./src/resources/firewall/waf/packages/rules.ts">get</a>(zoneId, packageId, ruleId) -> RuleGetResponse</code>

# Zaraz

Types:

- <code><a href="./src/resources/zaraz/zaraz.ts">ZarazUpdateResponse</a></code>

Methods:

- <code title="put /zones/{zone_id}/settings/zaraz/workflow">client.zaraz.<a href="./src/resources/zaraz/zaraz.ts">update</a>(zoneId, { ...params }) -> ZarazUpdateResponse</code>

## Config

Types:

- <code><a href="./src/resources/zaraz/config.ts">ConfigUpdateResponse</a></code>
- <code><a href="./src/resources/zaraz/config.ts">ConfigGetResponse</a></code>

Methods:

- <code title="put /zones/{zone_id}/settings/zaraz/config">client.zaraz.config.<a href="./src/resources/zaraz/config.ts">update</a>(zoneId, { ...params }) -> ConfigUpdateResponse</code>
- <code title="get /zones/{zone_id}/settings/zaraz/config">client.zaraz.config.<a href="./src/resources/zaraz/config.ts">get</a>(zoneId) -> ConfigGetResponse</code>

## Default

Types:

- <code><a href="./src/resources/zaraz/default.ts">DefaultGetResponse</a></code>

Methods:

- <code title="get /zones/{zone_id}/settings/zaraz/default">client.zaraz.default.<a href="./src/resources/zaraz/default.ts">get</a>(zoneId) -> DefaultGetResponse</code>

## Export

Types:

- <code><a href="./src/resources/zaraz/export.ts">ExportGetResponse</a></code>

Methods:

- <code title="get /zones/{zone_id}/settings/zaraz/export">client.zaraz.export.<a href="./src/resources/zaraz/export.ts">get</a>(zoneId) -> ExportGetResponse</code>

## History

Types:

- <code><a href="./src/resources/zaraz/history/history.ts">HistoryUpdateResponse</a></code>
- <code><a href="./src/resources/zaraz/history/history.ts">HistoryListResponse</a></code>

Methods:

- <code title="put /zones/{zone_id}/settings/zaraz/history">client.zaraz.history.<a href="./src/resources/zaraz/history/history.ts">update</a>(zoneId, { ...params }) -> HistoryUpdateResponse</code>
- <code title="get /zones/{zone_id}/settings/zaraz/history">client.zaraz.history.<a href="./src/resources/zaraz/history/history.ts">list</a>(zoneId, { ...params }) -> HistoryListResponse</code>

### Configs

Types:

- <code><a href="./src/resources/zaraz/history/configs.ts">ConfigGetResponse</a></code>

Methods:

- <code title="get /zones/{zone_id}/settings/zaraz/history/configs">client.zaraz.history.configs.<a href="./src/resources/zaraz/history/configs.ts">get</a>(zoneId, { ...params }) -> ConfigGetResponse</code>

## Publish

Types:

- <code><a href="./src/resources/zaraz/publish.ts">PublishCreateResponse</a></code>

Methods:

- <code title="post /zones/{zone_id}/settings/zaraz/publish">client.zaraz.publish.<a href="./src/resources/zaraz/publish.ts">create</a>(zoneId, { ...params }) -> PublishCreateResponse</code>

## Workflow

Types:

- <code><a href="./src/resources/zaraz/workflow.ts">WorkflowGetResponse</a></code>

Methods:

- <code title="get /zones/{zone_id}/settings/zaraz/workflow">client.zaraz.workflow.<a href="./src/resources/zaraz/workflow.ts">get</a>(zoneId) -> WorkflowGetResponse</code>

# Speed

Types:
Expand Down
5 changes: 0 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ export class Cloudflare extends Core.APIClient {
botManagement: API.BotManagement = new API.BotManagement(this);
originPostQuantumEncryption: API.OriginPostQuantumEncryption = new API.OriginPostQuantumEncryption(this);
firewall: API.Firewall = new API.Firewall(this);
zaraz: API.Zaraz = new API.Zaraz(this);
speed: API.Speed = new API.Speed(this);
dcvDelegation: API.DcvDelegation = new API.DcvDelegation(this);
hostnames: API.Hostnames = new API.Hostnames(this);
Expand Down Expand Up @@ -756,10 +755,6 @@ export namespace Cloudflare {

export import Firewall = API.Firewall;

export import Zaraz = API.Zaraz;
export import ZarazUpdateResponse = API.ZarazUpdateResponse;
export import ZarazUpdateParams = API.ZarazUpdateParams;

export import Speed = API.Speed;
export import SpeedCreateResponse = API.SpeedCreateResponse;
export import SpeedDeleteResponse = API.SpeedDeleteResponse;
Expand Down
1 change: 0 additions & 1 deletion src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ export { WorkerDomainGetResponse, WorkerDomains } from './worker-domains';
export { WorkerScripts } from './worker-scripts/worker-scripts';
export { Workers } from './workers/workers';
export { WorkersForPlatforms } from './workers-for-platforms/workers-for-platforms';
export { ZarazUpdateResponse, ZarazUpdateParams, Zaraz } from './zaraz/zaraz';
export { Zerotrust } from './zerotrust/zerotrust';
export {
ZoneCreateResponse,
Expand Down
Loading

0 comments on commit 87a7c4e

Please sign in to comment.