Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): update via SDK Studio #1774

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions accounts/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,39 @@ type ErrorData = shared.ErrorData

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

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type Tunnel = shared.Tunnel

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

// The type of tunnel.
//
// This is an alias to an internal type.
type TunnelTunType = shared.TunnelTunType

// This is an alias to an internal value.
const TunnelTunTypeCfdTunnel = shared.TunnelTunTypeCfdTunnel

// This is an alias to an internal value.
const TunnelTunTypeWARPConnector = shared.TunnelTunTypeWARPConnector

// This is an alias to an internal value.
const TunnelTunTypeIPSec = shared.TunnelTunTypeIPSec

// This is an alias to an internal value.
const TunnelTunTypeGRE = shared.TunnelTunTypeGRE

// This is an alias to an internal value.
const TunnelTunTypeCni = shared.TunnelTunTypeCni

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type TunnelParam = shared.TunnelParam

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
36 changes: 36 additions & 0 deletions acm/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,39 @@ type ErrorData = shared.ErrorData

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

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type Tunnel = shared.Tunnel

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

// The type of tunnel.
//
// This is an alias to an internal type.
type TunnelTunType = shared.TunnelTunType

// This is an alias to an internal value.
const TunnelTunTypeCfdTunnel = shared.TunnelTunTypeCfdTunnel

// This is an alias to an internal value.
const TunnelTunTypeWARPConnector = shared.TunnelTunTypeWARPConnector

// This is an alias to an internal value.
const TunnelTunTypeIPSec = shared.TunnelTunTypeIPSec

// This is an alias to an internal value.
const TunnelTunTypeGRE = shared.TunnelTunTypeGRE

// This is an alias to an internal value.
const TunnelTunTypeCni = shared.TunnelTunTypeCni

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type TunnelParam = shared.TunnelParam

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
36 changes: 36 additions & 0 deletions addressing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,39 @@ type ErrorData = shared.ErrorData

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

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type Tunnel = shared.Tunnel

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

// The type of tunnel.
//
// This is an alias to an internal type.
type TunnelTunType = shared.TunnelTunType

// This is an alias to an internal value.
const TunnelTunTypeCfdTunnel = shared.TunnelTunTypeCfdTunnel

// This is an alias to an internal value.
const TunnelTunTypeWARPConnector = shared.TunnelTunTypeWARPConnector

// This is an alias to an internal value.
const TunnelTunTypeIPSec = shared.TunnelTunTypeIPSec

// This is an alias to an internal value.
const TunnelTunTypeGRE = shared.TunnelTunTypeGRE

// This is an alias to an internal value.
const TunnelTunTypeCni = shared.TunnelTunTypeCni

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type TunnelParam = shared.TunnelParam

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
36 changes: 36 additions & 0 deletions alerting/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,39 @@ type ErrorData = shared.ErrorData

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

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type Tunnel = shared.Tunnel

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

// The type of tunnel.
//
// This is an alias to an internal type.
type TunnelTunType = shared.TunnelTunType

// This is an alias to an internal value.
const TunnelTunTypeCfdTunnel = shared.TunnelTunTypeCfdTunnel

// This is an alias to an internal value.
const TunnelTunTypeWARPConnector = shared.TunnelTunTypeWARPConnector

// This is an alias to an internal value.
const TunnelTunTypeIPSec = shared.TunnelTunTypeIPSec

// This is an alias to an internal value.
const TunnelTunTypeGRE = shared.TunnelTunTypeGRE

// This is an alias to an internal value.
const TunnelTunTypeCni = shared.TunnelTunTypeCni

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type TunnelParam = shared.TunnelParam

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
36 changes: 36 additions & 0 deletions aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,39 @@ type ErrorData = shared.ErrorData

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

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type Tunnel = shared.Tunnel

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

// The type of tunnel.
//
// This is an alias to an internal type.
type TunnelTunType = shared.TunnelTunType

// This is an alias to an internal value.
const TunnelTunTypeCfdTunnel = shared.TunnelTunTypeCfdTunnel

// This is an alias to an internal value.
const TunnelTunTypeWARPConnector = shared.TunnelTunTypeWARPConnector

// This is an alias to an internal value.
const TunnelTunTypeIPSec = shared.TunnelTunTypeIPSec

// This is an alias to an internal value.
const TunnelTunTypeGRE = shared.TunnelTunTypeGRE

// This is an alias to an internal value.
const TunnelTunTypeCni = shared.TunnelTunTypeCni

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type TunnelParam = shared.TunnelParam

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
15 changes: 7 additions & 8 deletions api.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# 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#TunnelParam">TunnelParam</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#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#ErrorData">ErrorData</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#ResponseInfo">ResponseInfo</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#Tunnel">Tunnel</a>

# Accounts

Expand Down Expand Up @@ -2843,7 +2848,7 @@ Params Types:
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#ChallengeRuleParam">ChallengeRuleParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#CompressResponseRuleParam">CompressResponseRuleParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#ExecuteRuleParam">ExecuteRuleParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#JsChallengeRuleParam">JsChallengeRuleParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#JSChallengeRuleParam">JSChallengeRuleParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#LogRuleParam">LogRuleParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#LoggingParam">LoggingParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#ManagedChallengeRuleParam">ManagedChallengeRuleParam</a>
Expand All @@ -2863,7 +2868,7 @@ Response Types:
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#ChallengeRule">ChallengeRule</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#CompressResponseRule">CompressResponseRule</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#ExecuteRule">ExecuteRule</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#JsChallengeRule">JsChallengeRule</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#JSChallengeRule">JSChallengeRule</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#LogRule">LogRule</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Logging">Logging</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#ManagedChallengeRule">ManagedChallengeRule</a>
Expand Down Expand Up @@ -4297,7 +4302,6 @@ Methods:

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/warp_connector">warp_connector</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/warp_connector#WARPConnector">WARPConnector</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/warp_connector">warp_connector</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/warp_connector#WARPConnectorNewResponse">WARPConnectorNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/warp_connector">warp_connector</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/warp_connector#WARPConnectorListResponse">WARPConnectorListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/warp_connector">warp_connector</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/warp_connector#WARPConnectorDeleteResponse">WARPConnectorDeleteResponse</a>
Expand Down Expand Up @@ -5122,14 +5126,9 @@ Methods:

## Tunnels

Params Types:

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

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#Connection">Connection</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#Tunnel">Tunnel</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#TunnelNewResponse">TunnelNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#TunnelListResponse">TunnelListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust">zero_trust</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zero_trust#TunnelDeleteResponse">TunnelDeleteResponse</a>
Expand Down
36 changes: 36 additions & 0 deletions argo/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,39 @@ type ErrorData = shared.ErrorData

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

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type Tunnel = shared.Tunnel

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

// The type of tunnel.
//
// This is an alias to an internal type.
type TunnelTunType = shared.TunnelTunType

// This is an alias to an internal value.
const TunnelTunTypeCfdTunnel = shared.TunnelTunTypeCfdTunnel

// This is an alias to an internal value.
const TunnelTunTypeWARPConnector = shared.TunnelTunTypeWARPConnector

// This is an alias to an internal value.
const TunnelTunTypeIPSec = shared.TunnelTunTypeIPSec

// This is an alias to an internal value.
const TunnelTunTypeGRE = shared.TunnelTunTypeGRE

// This is an alias to an internal value.
const TunnelTunTypeCni = shared.TunnelTunTypeCni

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type TunnelParam = shared.TunnelParam

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
36 changes: 36 additions & 0 deletions audit_logs/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,39 @@ type ErrorData = shared.ErrorData

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

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type Tunnel = shared.Tunnel

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

// The type of tunnel.
//
// This is an alias to an internal type.
type TunnelTunType = shared.TunnelTunType

// This is an alias to an internal value.
const TunnelTunTypeCfdTunnel = shared.TunnelTunTypeCfdTunnel

// This is an alias to an internal value.
const TunnelTunTypeWARPConnector = shared.TunnelTunTypeWARPConnector

// This is an alias to an internal value.
const TunnelTunTypeIPSec = shared.TunnelTunTypeIPSec

// This is an alias to an internal value.
const TunnelTunTypeGRE = shared.TunnelTunTypeGRE

// This is an alias to an internal value.
const TunnelTunTypeCni = shared.TunnelTunTypeCni

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type TunnelParam = shared.TunnelParam

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
36 changes: 36 additions & 0 deletions billing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,39 @@ type ErrorData = shared.ErrorData

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

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type Tunnel = shared.Tunnel

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

// The type of tunnel.
//
// This is an alias to an internal type.
type TunnelTunType = shared.TunnelTunType

// This is an alias to an internal value.
const TunnelTunTypeCfdTunnel = shared.TunnelTunTypeCfdTunnel

// This is an alias to an internal value.
const TunnelTunTypeWARPConnector = shared.TunnelTunTypeWARPConnector

// This is an alias to an internal value.
const TunnelTunTypeIPSec = shared.TunnelTunTypeIPSec

// This is an alias to an internal value.
const TunnelTunTypeGRE = shared.TunnelTunTypeGRE

// This is an alias to an internal value.
const TunnelTunTypeCni = shared.TunnelTunTypeCni

// A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
//
// This is an alias to an internal type.
type TunnelParam = shared.TunnelParam

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
Loading