From d5b488f4dde6dc6b02108ee8b6692712d257d07f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:01:56 +0000 Subject: [PATCH] feat(api): update via SDK Studio (#3650) --- .stats.yml | 2 +- zero_trust/accessapplication.go | 72 ++++++++++++++++++++++----------- 2 files changed, 49 insertions(+), 25 deletions(-) diff --git a/.stats.yml b/.stats.yml index 779e8bdeefd..eb9a4584a3e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/zero_trust/accessapplication.go b/zero_trust/accessapplication.go index 6f28e5fe79d..e327a018fe5 100644 --- a/zero_trust/accessapplication.go +++ b/zero_trust/accessapplication.go @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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,