Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Apr 22, 2024
1 parent 7913208 commit 1f0343b
Show file tree
Hide file tree
Showing 86 changed files with 505 additions and 18 deletions.
6 changes: 6 additions & 0 deletions accounts/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions acm/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions addressing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions alerting/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
14 changes: 4 additions & 10 deletions api.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Shared Params Types

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#ASNParam">ASNParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#MemberParam">MemberParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#PermissionGrantParam">PermissionGrantParam</a>

# Shared Response Types

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#ASN">ASN</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#AuditLog">AuditLog</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#CloudflareTunnel">CloudflareTunnel</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#ErrorData">ErrorData</a>
Expand Down Expand Up @@ -3283,17 +3285,9 @@ Methods:

## ASN

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#IntelASNParam">IntelASNParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#IntelASN">IntelASN</a>

Methods:

- <code title="get /accounts/{account_id}/intel/asn/{asn}">client.Intel.ASN.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, asn <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#IntelASNParam">IntelASNParam</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNGetParams">ASNGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#IntelASN">IntelASN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/intel/asn/{asn}">client.Intel.ASN.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, asn <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#ASNParam">ASNParam</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNGetParams">ASNGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#ASN">ASN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Subnets

Expand All @@ -3303,7 +3297,7 @@ Response Types:

Methods:

- <code title="get /accounts/{account_id}/intel/asn/{asn}/subnets">client.Intel.ASN.Subnets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNSubnetService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, asn <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#IntelASNParam">IntelASNParam</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNSubnetGetParams">ASNSubnetGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNSubnetGetResponse">ASNSubnetGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/intel/asn/{asn}/subnets">client.Intel.ASN.Subnets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNSubnetService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, asn <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#ASNParam">ASNParam</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNSubnetGetParams">ASNSubnetGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel">intel</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/intel#ASNSubnetGetResponse">ASNSubnetGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## DNS

Expand Down
6 changes: 6 additions & 0 deletions argo/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions audit_logs/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions billing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions bot_management/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions brand_protection/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions cache/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions calls/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions certificate_authorities/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions challenges/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions client_certificates/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions cloudforce_one/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions custom_certificates/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions custom_hostnames/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions custom_nameservers/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions d1/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions dcv_delegation/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions diagnostics/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions dns/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions dnssec/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions durable_objects/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions email_routing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
6 changes: 6 additions & 0 deletions event_notifications/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down
Loading

0 comments on commit 1f0343b

Please sign in to comment.