Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#3650)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 20, 2024
1 parent 2e75c36 commit d5b488f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1448
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4d2f05325a71a386987074fbab49673b6a1172a173789df9ed0d6db31a293904.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a87c8380ec40a8719b4385109e29fd5ec40c54f39d6fe216861c55e43ab74fd3.yml
72 changes: 48 additions & 24 deletions zero_trust/accessapplication.go
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,8 @@ type AccessApplicationNewResponse struct {
SCIMConfig interface{} `json:"scim_config"`
// This field can have the runtime type of [[]SelfHostedDomains].
SelfHostedDomains interface{} `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -2163,7 +2164,8 @@ type AccessApplicationNewResponseSelfHostedApplication struct {
SCIMConfig AccessApplicationNewResponseSelfHostedApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -2830,7 +2832,8 @@ type AccessApplicationNewResponseBrowserSSHApplication struct {
SCIMConfig AccessApplicationNewResponseBrowserSSHApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -3114,7 +3117,8 @@ type AccessApplicationNewResponseBrowserVNCApplication struct {
SCIMConfig AccessApplicationNewResponseBrowserVNCApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -4846,7 +4850,8 @@ type AccessApplicationUpdateResponse struct {
SCIMConfig interface{} `json:"scim_config"`
// This field can have the runtime type of [[]SelfHostedDomains].
SelfHostedDomains interface{} `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -5060,7 +5065,8 @@ type AccessApplicationUpdateResponseSelfHostedApplication struct {
SCIMConfig AccessApplicationUpdateResponseSelfHostedApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -5728,7 +5734,8 @@ type AccessApplicationUpdateResponseBrowserSSHApplication struct {
SCIMConfig AccessApplicationUpdateResponseBrowserSSHApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -6012,7 +6019,8 @@ type AccessApplicationUpdateResponseBrowserVNCApplication struct {
SCIMConfig AccessApplicationUpdateResponseBrowserVNCApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -7745,7 +7753,8 @@ type AccessApplicationListResponse struct {
SCIMConfig interface{} `json:"scim_config"`
// This field can have the runtime type of [[]SelfHostedDomains].
SelfHostedDomains interface{} `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -7959,7 +7968,8 @@ type AccessApplicationListResponseSelfHostedApplication struct {
SCIMConfig AccessApplicationListResponseSelfHostedApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -8626,7 +8636,8 @@ type AccessApplicationListResponseBrowserSSHApplication struct {
SCIMConfig AccessApplicationListResponseBrowserSSHApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -8910,7 +8921,8 @@ type AccessApplicationListResponseBrowserVNCApplication struct {
SCIMConfig AccessApplicationListResponseBrowserVNCApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -10664,7 +10676,8 @@ type AccessApplicationGetResponse struct {
SCIMConfig interface{} `json:"scim_config"`
// This field can have the runtime type of [[]SelfHostedDomains].
SelfHostedDomains interface{} `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -10878,7 +10891,8 @@ type AccessApplicationGetResponseSelfHostedApplication struct {
SCIMConfig AccessApplicationGetResponseSelfHostedApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -11545,7 +11559,8 @@ type AccessApplicationGetResponseBrowserSSHApplication struct {
SCIMConfig AccessApplicationGetResponseBrowserSSHApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -11829,7 +11844,8 @@ type AccessApplicationGetResponseBrowserVNCApplication struct {
SCIMConfig AccessApplicationGetResponseBrowserVNCApplicationSCIMConfig `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains []SelfHostedDomains `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect bool `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -13545,7 +13561,8 @@ type AccessApplicationNewParamsBody struct {
SameSiteCookieAttribute param.Field[string] `json:"same_site_cookie_attribute"`
SCIMConfig param.Field[interface{}] `json:"scim_config"`
SelfHostedDomains param.Field[interface{}] `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect param.Field[bool] `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -13640,7 +13657,8 @@ type AccessApplicationNewParamsBodySelfHostedApplication struct {
SCIMConfig param.Field[AccessApplicationNewParamsBodySelfHostedApplicationSCIMConfig] `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains param.Field[[]SelfHostedDomainsParam] `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect param.Field[bool] `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -14194,7 +14212,8 @@ type AccessApplicationNewParamsBodyBrowserSSHApplication struct {
SCIMConfig param.Field[AccessApplicationNewParamsBodyBrowserSSHApplicationSCIMConfig] `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains param.Field[[]SelfHostedDomainsParam] `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect param.Field[bool] `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -14450,7 +14469,8 @@ type AccessApplicationNewParamsBodyBrowserVNCApplication struct {
SCIMConfig param.Field[AccessApplicationNewParamsBodyBrowserVNCApplicationSCIMConfig] `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains param.Field[[]SelfHostedDomainsParam] `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect param.Field[bool] `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -15679,7 +15699,8 @@ type AccessApplicationUpdateParamsBody struct {
SameSiteCookieAttribute param.Field[string] `json:"same_site_cookie_attribute"`
SCIMConfig param.Field[interface{}] `json:"scim_config"`
SelfHostedDomains param.Field[interface{}] `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect param.Field[bool] `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -15776,7 +15797,8 @@ type AccessApplicationUpdateParamsBodySelfHostedApplication struct {
SCIMConfig param.Field[AccessApplicationUpdateParamsBodySelfHostedApplicationSCIMConfig] `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains param.Field[[]SelfHostedDomainsParam] `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect param.Field[bool] `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -16330,7 +16352,8 @@ type AccessApplicationUpdateParamsBodyBrowserSSHApplication struct {
SCIMConfig param.Field[AccessApplicationUpdateParamsBodyBrowserSSHApplicationSCIMConfig] `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains param.Field[[]SelfHostedDomainsParam] `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect param.Field[bool] `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -16586,7 +16609,8 @@ type AccessApplicationUpdateParamsBodyBrowserVNCApplication struct {
SCIMConfig param.Field[AccessApplicationUpdateParamsBodyBrowserVNCApplicationSCIMConfig] `json:"scim_config"`
// List of domains that Access will secure.
SelfHostedDomains param.Field[[]SelfHostedDomainsParam] `json:"self_hosted_domains"`
// Returns a 401 status code when the request is blocked by a Service Auth policy.
// Returns a 401 status code when the request is blocked by a Service Auth policy
// foo.
ServiceAuth401Redirect param.Field[bool] `json:"service_auth_401_redirect"`
// The amount of time that tokens issued for this application will be valid. Must
// be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down

0 comments on commit d5b488f

Please sign in to comment.