Skip to content

Commit

Permalink
feat(api): api update (#3567)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and Stainless Bot committed Nov 5, 2024
1 parent 8f581c8 commit f53c2f0
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 100 deletions.
22 changes: 11 additions & 11 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6994,23 6994,23 @@ Methods:

# Calls

## Sfu
## SFU

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuNewResponse">SfuNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuUpdateResponse">SfuUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuListResponse">SfuListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuDeleteResponse">SfuDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuGetResponse">SfuGetResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUNewResponse">SFUNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUUpdateResponse">SFUUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUListResponse">SFUListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUDeleteResponse">SFUDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUGetResponse">SFUGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/calls/apps">client.Calls.Sfu.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuNewParams">SfuNewParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuNewResponse">SfuNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/calls/apps/{app_id}">client.Calls.Sfu.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, appID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuUpdateParams">SfuUpdateParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuUpdateResponse">SfuUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/calls/apps">client.Calls.Sfu.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuListParams">SfuListParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuListResponse">SfuListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/calls/apps/{app_id}">client.Calls.Sfu.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, appID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuDeleteParams">SfuDeleteParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuDeleteResponse">SfuDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/calls/apps/{app_id}">client.Calls.Sfu.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, appID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuGetParams">SfuGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SfuGetResponse">SfuGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/calls/apps">client.Calls.SFU.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUNewParams">SFUNewParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUNewResponse">SFUNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/calls/apps/{app_id}">client.Calls.SFU.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, appID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUUpdateParams">SFUUpdateParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUUpdateResponse">SFUUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/calls/apps">client.Calls.SFU.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUListParams">SFUListParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUListResponse">SFUListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/calls/apps/{app_id}">client.Calls.SFU.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, appID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUDeleteParams">SFUDeleteParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUDeleteResponse">SFUDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/calls/apps/{app_id}">client.Calls.SFU.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, appID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUGetParams">SFUGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls">calls</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3/calls#SFUGetResponse">SFUGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## TURN

Expand Down
4 changes: 2 additions & 2 deletions calls/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 14,7 @@ import (
// the [NewCallService] method instead.
type CallService struct {
Options []option.RequestOption
Sfu *SfuService
SFU *SFUService
TURN *TURNService
}

Expand All @@ -24,7 24,7 @@ type CallService struct {
func NewCallService(opts ...option.RequestOption) (r *CallService) {
r = &CallService{}
r.Options = opts
r.Sfu = NewSfuService(opts...)
r.SFU = NewSFUService(opts...)
r.TURN = NewTURNService(opts...)
return
}
Loading

0 comments on commit f53c2f0

Please sign in to comment.