Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#1775)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 12, 2024
1 parent e3f2252 commit 946dfa3
Show file tree
Hide file tree
Showing 95 changed files with 1,087 additions and 1,812 deletions.
28 changes: 10 additions & 18 deletions accounts/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,36 @@ type AuditLogOwner = shared.AuditLogOwner
// This is an alias to an internal type.
type AuditLogResource = shared.AuditLogResource

// This is an alias to an internal type.
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
type CloudflareTunnel = shared.CloudflareTunnel

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

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

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

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

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

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

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

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

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
type ResponseInfo = shared.ResponseInfo
28 changes: 10 additions & 18 deletions acm/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,36 @@ type AuditLogOwner = shared.AuditLogOwner
// This is an alias to an internal type.
type AuditLogResource = shared.AuditLogResource

// This is an alias to an internal type.
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
type CloudflareTunnel = shared.CloudflareTunnel

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

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

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

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

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

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

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

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

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
type ResponseInfo = shared.ResponseInfo
28 changes: 10 additions & 18 deletions addressing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,36 @@ type AuditLogOwner = shared.AuditLogOwner
// This is an alias to an internal type.
type AuditLogResource = shared.AuditLogResource

// This is an alias to an internal type.
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
type CloudflareTunnel = shared.CloudflareTunnel

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

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

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

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

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

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

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

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

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
type ResponseInfo = shared.ResponseInfo
28 changes: 10 additions & 18 deletions alerting/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,36 @@ type AuditLogOwner = shared.AuditLogOwner
// This is an alias to an internal type.
type AuditLogResource = shared.AuditLogResource

// This is an alias to an internal type.
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
type CloudflareTunnel = shared.CloudflareTunnel

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

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

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

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

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

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

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

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

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
type ResponseInfo = shared.ResponseInfo
28 changes: 10 additions & 18 deletions aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,36 @@ type AuditLogOwner = shared.AuditLogOwner
// This is an alias to an internal type.
type AuditLogResource = shared.AuditLogResource

// This is an alias to an internal type.
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
type CloudflareTunnel = shared.CloudflareTunnel

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

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

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

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

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

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

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

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

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
type ResponseInfo = shared.ResponseInfo
6 changes: 1 addition & 5 deletions api.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# 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#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>
- <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
28 changes: 10 additions & 18 deletions argo/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,36 @@ type AuditLogOwner = shared.AuditLogOwner
// This is an alias to an internal type.
type AuditLogResource = shared.AuditLogResource

// This is an alias to an internal type.
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
type CloudflareTunnel = shared.CloudflareTunnel

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

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

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

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

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

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

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

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

// This is an alias to an internal type.
type TunnelConnectionParam = shared.TunnelConnectionParam
type ResponseInfo = shared.ResponseInfo
28 changes: 10 additions & 18 deletions audit_logs/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,36 @@ type AuditLogOwner = shared.AuditLogOwner
// This is an alias to an internal type.
type AuditLogResource = shared.AuditLogResource

// This is an alias to an internal type.
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
type CloudflareTunnel = shared.CloudflareTunnel

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

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

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

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

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

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

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

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

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

0 comments on commit 946dfa3

Please sign in to comment.