diff --git a/.stats.yml b/.stats.yml
index 89f6fddf0ad..98a24d65fa8 100755
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,2 +1,2 @@
configured_endpoints: 1330
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ea95e471db65d57580c06b1de0d935126032f6492afb2925529c97602f28b67d.yml
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5a7699d48a3501819863f8c6568b8b0d67aa3cf5353e435b53ed47f7fe767f64.yml
diff --git a/api.md b/api.md
index 85938abf92c..43df12cda2a 100755
--- a/api.md
+++ b/api.md
@@ -6787,13 +6787,13 @@ Methods:
Response Types:
-- origin_post_quantum_encryption.OriginPostQuantumEncryptionUpdateResponse
-- origin_post_quantum_encryption.OriginPostQuantumEncryptionGetResponse
+- origin_post_quantum_encryption.OriginPostQuantumEncryptionUpdateResponseUnion
+- origin_post_quantum_encryption.OriginPostQuantumEncryptionGetResponseUnion
Methods:
-- client.OriginPostQuantumEncryption.Update(ctx context.Context, params origin_post_quantum_encryption.OriginPostQuantumEncryptionUpdateParams) (origin_post_quantum_encryption.OriginPostQuantumEncryptionUpdateResponse, error)
-- client.OriginPostQuantumEncryption.Get(ctx context.Context, query origin_post_quantum_encryption.OriginPostQuantumEncryptionGetParams) (origin_post_quantum_encryption.OriginPostQuantumEncryptionGetResponse, error)
+- client.OriginPostQuantumEncryption.Update(ctx context.Context, params origin_post_quantum_encryption.OriginPostQuantumEncryptionUpdateParams) (origin_post_quantum_encryption.OriginPostQuantumEncryptionUpdateResponseUnion, error)
+- client.OriginPostQuantumEncryption.Get(ctx context.Context, query origin_post_quantum_encryption.OriginPostQuantumEncryptionGetParams) (origin_post_quantum_encryption.OriginPostQuantumEncryptionGetResponseUnion, error)
# Speed
diff --git a/argo/smartrouting.go b/argo/smartrouting.go
index 765f828f2b2..500bbe600b0 100755
--- a/argo/smartrouting.go
+++ b/argo/smartrouting.go
@@ -70,9 +70,8 @@ func (r *SmartRoutingService) Get(ctx context.Context, query SmartRoutingGetPara
return
}
-// Union satisfied by
-// [argo.SmartRoutingEditResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [argo.SmartRoutingEditResponseUnknown] or
+// [shared.UnionString].
type SmartRoutingEditResponseUnion interface {
ImplementsArgoSmartRoutingEditResponseUnion()
}
@@ -88,9 +87,8 @@ func init() {
)
}
-// Union satisfied by
-// [argo.SmartRoutingGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [argo.SmartRoutingGetResponseUnknown] or
+// [shared.UnionString].
type SmartRoutingGetResponseUnion interface {
ImplementsArgoSmartRoutingGetResponseUnion()
}
diff --git a/argo/tieredcaching.go b/argo/tieredcaching.go
index d5902b21325..da5468e3338 100755
--- a/argo/tieredcaching.go
+++ b/argo/tieredcaching.go
@@ -191,11 +191,11 @@ func (r TieredCachingEditParamsValue) IsKnown() bool {
}
type TieredCachingEditResponseEnvelope struct {
- Errors []shared.ResponseInfo `json:"errors,required"`
- Messages []shared.ResponseInfo `json:"messages,required"`
+ Errors []shared.ResponseInfo `json:"errors,required"`
+ Messages []shared.ResponseInfo `json:"messages,required"`
+ Result TieredCachingEditResponse `json:"result,required"`
// Whether the API call was successful
Success TieredCachingEditResponseEnvelopeSuccess `json:"success,required"`
- Result TieredCachingEditResponse `json:"result"`
JSON tieredCachingEditResponseEnvelopeJSON `json:"-"`
}
@@ -204,8 +204,8 @@ type TieredCachingEditResponseEnvelope struct {
type tieredCachingEditResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -239,11 +239,11 @@ type TieredCachingGetParams struct {
}
type TieredCachingGetResponseEnvelope struct {
- Errors []shared.ResponseInfo `json:"errors,required"`
- Messages []shared.ResponseInfo `json:"messages,required"`
+ Errors []shared.ResponseInfo `json:"errors,required"`
+ Messages []shared.ResponseInfo `json:"messages,required"`
+ Result TieredCachingGetResponse `json:"result,required"`
// Whether the API call was successful
Success TieredCachingGetResponseEnvelopeSuccess `json:"success,required"`
- Result TieredCachingGetResponse `json:"result"`
JSON tieredCachingGetResponseEnvelopeJSON `json:"-"`
}
@@ -252,8 +252,8 @@ type TieredCachingGetResponseEnvelope struct {
type tieredCachingGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
diff --git a/cache/cachereserve.go b/cache/cachereserve.go
index 27e271a2d3c..819e199f831 100755
--- a/cache/cachereserve.go
+++ b/cache/cachereserve.go
@@ -354,14 +354,14 @@ func (r CacheReserveClearParams) MarshalJSON() (data []byte, err error) {
type CacheReserveClearResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success CacheReserveClearResponseEnvelopeSuccess `json:"success,required"`
// You can use Cache Reserve Clear to clear your Cache Reserve, but you must first
// disable Cache Reserve. In most cases, this will be accomplished within 24 hours.
// You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind
// that you cannot undo or cancel this operation.
- Result CacheReserveClearResponse `json:"result"`
- JSON cacheReserveClearResponseEnvelopeJSON `json:"-"`
+ Result CacheReserveClearResponse `json:"result,required"`
+ // Whether the API call was successful
+ Success CacheReserveClearResponseEnvelopeSuccess `json:"success,required"`
+ JSON cacheReserveClearResponseEnvelopeJSON `json:"-"`
}
// cacheReserveClearResponseEnvelopeJSON contains the JSON metadata for the struct
@@ -369,8 +369,8 @@ type CacheReserveClearResponseEnvelope struct {
type cacheReserveClearResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -428,16 +428,16 @@ func (r CacheReserveEditParamsValue) IsKnown() bool {
type CacheReserveEditResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success CacheReserveEditResponseEnvelopeSuccess `json:"success,required"`
// Increase cache lifetimes by automatically storing all cacheable files into
// Cloudflare's persistent object storage buckets. Requires Cache Reserve
// subscription. Note: using Tiered Cache with Cache Reserve is highly recommended
// to reduce Reserve operations costs. See the
// [developer docs](https://developers.cloudflare.com/cache/about/cache-reserve)
// for more information.
- Result CacheReserveEditResponse `json:"result"`
- JSON cacheReserveEditResponseEnvelopeJSON `json:"-"`
+ Result CacheReserveEditResponse `json:"result,required"`
+ // Whether the API call was successful
+ Success CacheReserveEditResponseEnvelopeSuccess `json:"success,required"`
+ JSON cacheReserveEditResponseEnvelopeJSON `json:"-"`
}
// cacheReserveEditResponseEnvelopeJSON contains the JSON metadata for the struct
@@ -445,8 +445,8 @@ type CacheReserveEditResponseEnvelope struct {
type cacheReserveEditResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -482,16 +482,16 @@ type CacheReserveGetParams struct {
type CacheReserveGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success CacheReserveGetResponseEnvelopeSuccess `json:"success,required"`
// Increase cache lifetimes by automatically storing all cacheable files into
// Cloudflare's persistent object storage buckets. Requires Cache Reserve
// subscription. Note: using Tiered Cache with Cache Reserve is highly recommended
// to reduce Reserve operations costs. See the
// [developer docs](https://developers.cloudflare.com/cache/about/cache-reserve)
// for more information.
- Result CacheReserveGetResponse `json:"result"`
- JSON cacheReserveGetResponseEnvelopeJSON `json:"-"`
+ Result CacheReserveGetResponse `json:"result,required"`
+ // Whether the API call was successful
+ Success CacheReserveGetResponseEnvelopeSuccess `json:"success,required"`
+ JSON cacheReserveGetResponseEnvelopeJSON `json:"-"`
}
// cacheReserveGetResponseEnvelopeJSON contains the JSON metadata for the struct
@@ -499,8 +499,8 @@ type CacheReserveGetResponseEnvelope struct {
type cacheReserveGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -536,14 +536,14 @@ type CacheReserveStatusParams struct {
type CacheReserveStatusResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success CacheReserveStatusResponseEnvelopeSuccess `json:"success,required"`
// You can use Cache Reserve Clear to clear your Cache Reserve, but you must first
// disable Cache Reserve. In most cases, this will be accomplished within 24 hours.
// You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind
// that you cannot undo or cancel this operation.
- Result CacheReserveStatusResponse `json:"result"`
- JSON cacheReserveStatusResponseEnvelopeJSON `json:"-"`
+ Result CacheReserveStatusResponse `json:"result,required"`
+ // Whether the API call was successful
+ Success CacheReserveStatusResponseEnvelopeSuccess `json:"success,required"`
+ JSON cacheReserveStatusResponseEnvelopeJSON `json:"-"`
}
// cacheReserveStatusResponseEnvelopeJSON contains the JSON metadata for the struct
@@ -551,8 +551,8 @@ type CacheReserveStatusResponseEnvelope struct {
type cacheReserveStatusResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
diff --git a/cache/regionaltieredcache.go b/cache/regionaltieredcache.go
index 1572296c0aa..4598dbe2737 100755
--- a/cache/regionaltieredcache.go
+++ b/cache/regionaltieredcache.go
@@ -240,13 +240,13 @@ func (r RegionalTieredCacheEditParamsValue) IsKnown() bool {
type RegionalTieredCacheEditResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success RegionalTieredCacheEditResponseEnvelopeSuccess `json:"success,required"`
// Instructs Cloudflare to check a regional hub data center on the way to your
// upper tier. This can help improve performance for smart and custom tiered cache
// topologies.
- Result RegionalTieredCacheEditResponse `json:"result"`
- JSON regionalTieredCacheEditResponseEnvelopeJSON `json:"-"`
+ Result RegionalTieredCacheEditResponse `json:"result,required"`
+ // Whether the API call was successful
+ Success RegionalTieredCacheEditResponseEnvelopeSuccess `json:"success,required"`
+ JSON regionalTieredCacheEditResponseEnvelopeJSON `json:"-"`
}
// regionalTieredCacheEditResponseEnvelopeJSON contains the JSON metadata for the
@@ -254,8 +254,8 @@ type RegionalTieredCacheEditResponseEnvelope struct {
type regionalTieredCacheEditResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -291,13 +291,13 @@ type RegionalTieredCacheGetParams struct {
type RegionalTieredCacheGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success RegionalTieredCacheGetResponseEnvelopeSuccess `json:"success,required"`
// Instructs Cloudflare to check a regional hub data center on the way to your
// upper tier. This can help improve performance for smart and custom tiered cache
// topologies.
- Result RegionalTieredCacheGetResponse `json:"result"`
- JSON regionalTieredCacheGetResponseEnvelopeJSON `json:"-"`
+ Result RegionalTieredCacheGetResponse `json:"result,required"`
+ // Whether the API call was successful
+ Success RegionalTieredCacheGetResponseEnvelopeSuccess `json:"success,required"`
+ JSON regionalTieredCacheGetResponseEnvelopeJSON `json:"-"`
}
// regionalTieredCacheGetResponseEnvelopeJSON contains the JSON metadata for the
@@ -305,8 +305,8 @@ type RegionalTieredCacheGetResponseEnvelope struct {
type regionalTieredCacheGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
diff --git a/cache/smarttieredcache.go b/cache/smarttieredcache.go
index 4b651a65e21..37bea55b024 100755
--- a/cache/smarttieredcache.go
+++ b/cache/smarttieredcache.go
@@ -233,11 +233,11 @@ type SmartTieredCacheDeleteParams struct {
}
type SmartTieredCacheDeleteResponseEnvelope struct {
- Errors []shared.ResponseInfo `json:"errors,required"`
- Messages []shared.ResponseInfo `json:"messages,required"`
+ Errors []shared.ResponseInfo `json:"errors,required"`
+ Messages []shared.ResponseInfo `json:"messages,required"`
+ Result SmartTieredCacheDeleteResponse `json:"result,required"`
// Whether the API call was successful
Success SmartTieredCacheDeleteResponseEnvelopeSuccess `json:"success,required"`
- Result SmartTieredCacheDeleteResponse `json:"result"`
JSON smartTieredCacheDeleteResponseEnvelopeJSON `json:"-"`
}
@@ -246,8 +246,8 @@ type SmartTieredCacheDeleteResponseEnvelope struct {
type smartTieredCacheDeleteResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -303,11 +303,11 @@ func (r SmartTieredCacheEditParamsValue) IsKnown() bool {
}
type SmartTieredCacheEditResponseEnvelope struct {
- Errors []shared.ResponseInfo `json:"errors,required"`
- Messages []shared.ResponseInfo `json:"messages,required"`
+ Errors []shared.ResponseInfo `json:"errors,required"`
+ Messages []shared.ResponseInfo `json:"messages,required"`
+ Result SmartTieredCacheEditResponse `json:"result,required"`
// Whether the API call was successful
Success SmartTieredCacheEditResponseEnvelopeSuccess `json:"success,required"`
- Result SmartTieredCacheEditResponse `json:"result"`
JSON smartTieredCacheEditResponseEnvelopeJSON `json:"-"`
}
@@ -316,8 +316,8 @@ type SmartTieredCacheEditResponseEnvelope struct {
type smartTieredCacheEditResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -351,11 +351,11 @@ type SmartTieredCacheGetParams struct {
}
type SmartTieredCacheGetResponseEnvelope struct {
- Errors []shared.ResponseInfo `json:"errors,required"`
- Messages []shared.ResponseInfo `json:"messages,required"`
+ Errors []shared.ResponseInfo `json:"errors,required"`
+ Messages []shared.ResponseInfo `json:"messages,required"`
+ Result SmartTieredCacheGetResponse `json:"result,required"`
// Whether the API call was successful
Success SmartTieredCacheGetResponseEnvelopeSuccess `json:"success,required"`
- Result SmartTieredCacheGetResponse `json:"result"`
JSON smartTieredCacheGetResponseEnvelopeJSON `json:"-"`
}
@@ -364,8 +364,8 @@ type SmartTieredCacheGetResponseEnvelope struct {
type smartTieredCacheGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
diff --git a/cache/variant.go b/cache/variant.go
index 7f5a4bfd15d..87d416922db 100755
--- a/cache/variant.go
+++ b/cache/variant.go
@@ -344,15 +344,15 @@ type VariantDeleteParams struct {
type VariantDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success VariantDeleteResponseEnvelopeSuccess `json:"success,required"`
// Variant support enables caching variants of images with certain file extensions
// in addition to the original. This only applies when the origin server sends the
// 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but
// does not serve the variant requested, the response will not be cached. This will
// be indicated with BYPASS cache status in the response headers.
- Result CacheVariant `json:"result"`
- JSON variantDeleteResponseEnvelopeJSON `json:"-"`
+ Result CacheVariant `json:"result,required"`
+ // Whether the API call was successful
+ Success VariantDeleteResponseEnvelopeSuccess `json:"success,required"`
+ JSON variantDeleteResponseEnvelopeJSON `json:"-"`
}
// variantDeleteResponseEnvelopeJSON contains the JSON metadata for the struct
@@ -360,8 +360,8 @@ type VariantDeleteResponseEnvelope struct {
type variantDeleteResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -444,15 +444,15 @@ func (r VariantEditParamsValue) MarshalJSON() (data []byte, err error) {
type VariantEditResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success VariantEditResponseEnvelopeSuccess `json:"success,required"`
// Variant support enables caching variants of images with certain file extensions
// in addition to the original. This only applies when the origin server sends the
// 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but
// does not serve the variant requested, the response will not be cached. This will
// be indicated with BYPASS cache status in the response headers.
- Result VariantEditResponse `json:"result"`
- JSON variantEditResponseEnvelopeJSON `json:"-"`
+ Result VariantEditResponse `json:"result,required"`
+ // Whether the API call was successful
+ Success VariantEditResponseEnvelopeSuccess `json:"success,required"`
+ JSON variantEditResponseEnvelopeJSON `json:"-"`
}
// variantEditResponseEnvelopeJSON contains the JSON metadata for the struct
@@ -460,8 +460,8 @@ type VariantEditResponseEnvelope struct {
type variantEditResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -497,15 +497,15 @@ type VariantGetParams struct {
type VariantGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- // Whether the API call was successful
- Success VariantGetResponseEnvelopeSuccess `json:"success,required"`
// Variant support enables caching variants of images with certain file extensions
// in addition to the original. This only applies when the origin server sends the
// 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but
// does not serve the variant requested, the response will not be cached. This will
// be indicated with BYPASS cache status in the response headers.
- Result VariantGetResponse `json:"result"`
- JSON variantGetResponseEnvelopeJSON `json:"-"`
+ Result VariantGetResponse `json:"result,required"`
+ // Whether the API call was successful
+ Success VariantGetResponseEnvelopeSuccess `json:"success,required"`
+ JSON variantGetResponseEnvelopeJSON `json:"-"`
}
// variantGetResponseEnvelopeJSON contains the JSON metadata for the struct
@@ -513,8 +513,8 @@ type VariantGetResponseEnvelope struct {
type variantGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
diff --git a/d1/database.go b/d1/database.go
index 3b6719f24ba..cf140c44357 100755
--- a/d1/database.go
+++ b/d1/database.go
@@ -616,7 +616,7 @@ func (r databaseRawResponseResultsJSON) RawJSON() string {
}
// Union satisfied by [shared.UnionFloat], [shared.UnionString] or
-// [d1.DatabaseRawResponseResultsRowsUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a].
+// [d1.DatabaseRawResponseResultsRowsUnknown].
type DatabaseRawResponseResultsRowsUnion interface {
ImplementsD1DatabaseRawResponseResultsRowsUnion()
}
diff --git a/dnssec/dnssec.go b/dnssec/dnssec.go
index d7096a7785f..b27c998ae67 100755
--- a/dnssec/dnssec.go
+++ b/dnssec/dnssec.go
@@ -177,9 +177,7 @@ func (r DNSSECStatus) IsKnown() bool {
return false
}
-// Union satisfied by
-// [dnssec.DNSSECDeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a] or
-// [shared.UnionString].
+// Union satisfied by [dnssec.DNSSECDeleteResponseUnknown] or [shared.UnionString].
type DNSSECDeleteResponseUnion interface {
ImplementsDNSSECDNSSECDeleteResponseUnion()
}
diff --git a/event_notifications/r2configurationqueue.go b/event_notifications/r2configurationqueue.go
index 0467d80cfc6..11229b18771 100755
--- a/event_notifications/r2configurationqueue.go
+++ b/event_notifications/r2configurationqueue.go
@@ -110,7 +110,7 @@ func (r r2ConfigurationQueueUpdateResponseJSON) RawJSON() string {
}
// Union satisfied by
-// [event_notifications.R2ConfigurationQueueDeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// [event_notifications.R2ConfigurationQueueDeleteResponseUnknown],
// [event_notifications.R2ConfigurationQueueDeleteResponseArray] or
// [shared.UnionString].
type R2ConfigurationQueueDeleteResponseUnion interface {
diff --git a/firewall/accessrule.go b/firewall/accessrule.go
index 9cab2f070fb..cd38723d374 100755
--- a/firewall/accessrule.go
+++ b/firewall/accessrule.go
@@ -412,9 +412,8 @@ func (r IPV6ConfigurationTarget) IsKnown() bool {
return false
}
-// Union satisfied by
-// [firewall.AccessRuleNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [firewall.AccessRuleNewResponseUnknown] or
+// [shared.UnionString].
type AccessRuleNewResponseUnion interface {
ImplementsFirewallAccessRuleNewResponseUnion()
}
@@ -454,9 +453,8 @@ func (r accessRuleDeleteResponseJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [firewall.AccessRuleEditResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [firewall.AccessRuleEditResponseUnknown] or
+// [shared.UnionString].
type AccessRuleEditResponseUnion interface {
ImplementsFirewallAccessRuleEditResponseUnion()
}
@@ -472,9 +470,8 @@ func init() {
)
}
-// Union satisfied by
-// [firewall.AccessRuleGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [firewall.AccessRuleGetResponseUnknown] or
+// [shared.UnionString].
type AccessRuleGetResponseUnion interface {
ImplementsFirewallAccessRuleGetResponseUnion()
}
diff --git a/firewall/uarule.go b/firewall/uarule.go
index fe660e9ef55..2f53af62878 100755
--- a/firewall/uarule.go
+++ b/firewall/uarule.go
@@ -148,9 +148,7 @@ func (r *UARuleService) Get(ctx context.Context, zoneIdentifier string, id strin
return
}
-// Union satisfied by
-// [firewall.UARuleNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a] or
-// [shared.UnionString].
+// Union satisfied by [firewall.UARuleNewResponseUnknown] or [shared.UnionString].
type UARuleNewResponseUnion interface {
ImplementsFirewallUARuleNewResponseUnion()
}
@@ -166,9 +164,8 @@ func init() {
)
}
-// Union satisfied by
-// [firewall.UARuleUpdateResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [firewall.UARuleUpdateResponseUnknown] or
+// [shared.UnionString].
type UARuleUpdateResponseUnion interface {
ImplementsFirewallUARuleUpdateResponseUnion()
}
@@ -286,9 +283,7 @@ func (r uaRuleDeleteResponseJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [firewall.UARuleGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a] or
-// [shared.UnionString].
+// Union satisfied by [firewall.UARuleGetResponseUnknown] or [shared.UnionString].
type UARuleGetResponseUnion interface {
ImplementsFirewallUARuleGetResponseUnion()
}
diff --git a/firewall/wafpackage.go b/firewall/wafpackage.go
index ae7f1b13dfc..6eb50b6d384 100755
--- a/firewall/wafpackage.go
+++ b/firewall/wafpackage.go
@@ -204,7 +204,7 @@ func (r WAFPackageListResponseFirewallAPIResponseCollection) implementsFirewallW
}
// Union satisfied by
-// [firewall.WAFPackageListResponseFirewallAPIResponseCollectionResultUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// [firewall.WAFPackageListResponseFirewallAPIResponseCollectionResultUnknown],
// [firewall.WAFPackageListResponseFirewallAPIResponseCollectionResultArray] or
// [shared.UnionString].
type WAFPackageListResponseFirewallAPIResponseCollectionResultUnion interface {
@@ -790,8 +790,8 @@ func (r wafPackageGetResponseFirewallAPIResponseSingleJSON) RawJSON() string {
func (r WAFPackageGetResponseFirewallAPIResponseSingle) implementsFirewallWAFPackageGetResponse() {}
// Union satisfied by
-// [firewall.WAFPackageGetResponseFirewallAPIResponseSingleResultUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// [firewall.WAFPackageGetResponseFirewallAPIResponseSingleResultUnknown] or
+// [shared.UnionString].
type WAFPackageGetResponseFirewallAPIResponseSingleResultUnion interface {
ImplementsFirewallWAFPackageGetResponseFirewallAPIResponseSingleResultUnion()
}
diff --git a/firewall/wafpackagegroup.go b/firewall/wafpackagegroup.go
index 517beb9c4f4..3c773cfb46c 100755
--- a/firewall/wafpackagegroup.go
+++ b/firewall/wafpackagegroup.go
@@ -211,9 +211,8 @@ func (r GroupAllowedMode) IsKnown() bool {
return false
}
-// Union satisfied by
-// [firewall.WAFPackageGroupEditResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [firewall.WAFPackageGroupEditResponseUnknown] or
+// [shared.UnionString].
type WAFPackageGroupEditResponseUnion interface {
ImplementsFirewallWAFPackageGroupEditResponseUnion()
}
@@ -229,9 +228,8 @@ func init() {
)
}
-// Union satisfied by
-// [firewall.WAFPackageGroupGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [firewall.WAFPackageGroupGetResponseUnknown] or
+// [shared.UnionString].
type WAFPackageGroupGetResponseUnion interface {
ImplementsFirewallWAFPackageGroupGetResponseUnion()
}
diff --git a/firewall/wafpackagerule.go b/firewall/wafpackagerule.go
index 81ab58ab027..b98bf0f1a92 100755
--- a/firewall/wafpackagerule.go
+++ b/firewall/wafpackagerule.go
@@ -890,9 +890,8 @@ func (r WAFPackageRuleEditResponseDefaultMode) IsKnown() bool {
return false
}
-// Union satisfied by
-// [firewall.WAFPackageRuleGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [firewall.WAFPackageRuleGetResponseUnknown] or
+// [shared.UnionString].
type WAFPackageRuleGetResponseUnion interface {
ImplementsFirewallWAFPackageRuleGetResponseUnion()
}
diff --git a/hyperdrive/config.go b/hyperdrive/config.go
index 4ab1ac41a9a..4e491db59ab 100755
--- a/hyperdrive/config.go
+++ b/hyperdrive/config.go
@@ -166,9 +166,8 @@ func (r *ConfigService) Get(ctx context.Context, hyperdriveID string, query Conf
return
}
-// Union satisfied by
-// [hyperdrive.ConfigDeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [hyperdrive.ConfigDeleteResponseUnknown] or
+// [shared.UnionString].
type ConfigDeleteResponseUnion interface {
ImplementsHyperdriveConfigDeleteResponseUnion()
}
@@ -303,7 +302,7 @@ type ConfigDeleteParams struct {
type ConfigDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result ConfigDeleteResponseUnion `json:"result,required,nullable"`
+ Result ConfigDeleteResponseUnion `json:"result,required"`
// Whether the API call was successful
Success ConfigDeleteResponseEnvelopeSuccess `json:"success,required"`
JSON configDeleteResponseEnvelopeJSON `json:"-"`
diff --git a/images/v1.go b/images/v1.go
index f71d2044e5c..1a2d6a702d4 100755
--- a/images/v1.go
+++ b/images/v1.go
@@ -265,9 +265,7 @@ func (r V1ListResponseSuccess) IsKnown() bool {
return false
}
-// Union satisfied by
-// [images.V1DeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a] or
-// [shared.UnionString].
+// Union satisfied by [images.V1DeleteResponseUnknown] or [shared.UnionString].
type V1DeleteResponseUnion interface {
ImplementsImagesV1DeleteResponseUnion()
}
diff --git a/images/v1variant.go b/images/v1variant.go
index b8c940e928a..246f8d814a8 100755
--- a/images/v1variant.go
+++ b/images/v1variant.go
@@ -390,9 +390,8 @@ func (r V1VariantNewResponseVariantOptionsMetadata) IsKnown() bool {
return false
}
-// Union satisfied by
-// [images.V1VariantDeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [images.V1VariantDeleteResponseUnknown] or
+// [shared.UnionString].
type V1VariantDeleteResponseUnion interface {
ImplementsImagesV1VariantDeleteResponseUnion()
}
diff --git a/intel/attacksurfacereportissue.go b/intel/attacksurfacereportissue.go
index c7cbd04f0ff..b35c235563a 100755
--- a/intel/attacksurfacereportissue.go
+++ b/intel/attacksurfacereportissue.go
@@ -326,9 +326,8 @@ func (r attackSurfaceReportIssueClassResponseJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [intel.AttackSurfaceReportIssueDismissResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [intel.AttackSurfaceReportIssueDismissResponseUnknown] or
+// [shared.UnionString].
type AttackSurfaceReportIssueDismissResponseUnion interface {
ImplementsIntelAttackSurfaceReportIssueDismissResponseUnion()
}
diff --git a/kv/namespace.go b/kv/namespace.go
index 60e8043626d..a49b83fa42a 100755
--- a/kv/namespace.go
+++ b/kv/namespace.go
@@ -182,9 +182,43 @@ func (r namespaceJSON) RawJSON() string {
return r.raw
}
-type NamespaceUpdateResponse = interface{}
+type NamespaceUpdateResponse struct {
+ JSON namespaceUpdateResponseJSON `json:"-"`
+}
+
+// namespaceUpdateResponseJSON contains the JSON metadata for the struct
+// [NamespaceUpdateResponse]
+type namespaceUpdateResponseJSON struct {
+ raw string
+ ExtraFields map[string]apijson.Field
+}
+
+func (r *NamespaceUpdateResponse) UnmarshalJSON(data []byte) (err error) {
+ return apijson.UnmarshalRoot(data, r)
+}
+
+func (r namespaceUpdateResponseJSON) RawJSON() string {
+ return r.raw
+}
-type NamespaceDeleteResponse = interface{}
+type NamespaceDeleteResponse struct {
+ JSON namespaceDeleteResponseJSON `json:"-"`
+}
+
+// namespaceDeleteResponseJSON contains the JSON metadata for the struct
+// [NamespaceDeleteResponse]
+type namespaceDeleteResponseJSON struct {
+ raw string
+ ExtraFields map[string]apijson.Field
+}
+
+func (r *NamespaceDeleteResponse) UnmarshalJSON(data []byte) (err error) {
+ return apijson.UnmarshalRoot(data, r)
+}
+
+func (r namespaceDeleteResponseJSON) RawJSON() string {
+ return r.raw
+}
type NamespaceNewParams struct {
// Identifier
@@ -256,7 +290,7 @@ type NamespaceUpdateResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success NamespaceUpdateResponseEnvelopeSuccess `json:"success,required"`
- Result NamespaceUpdateResponse `json:"result"`
+ Result NamespaceUpdateResponse `json:"result,nullable"`
JSON namespaceUpdateResponseEnvelopeJSON `json:"-"`
}
@@ -357,7 +391,7 @@ type NamespaceDeleteResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success NamespaceDeleteResponseEnvelopeSuccess `json:"success,required"`
- Result NamespaceDeleteResponse `json:"result"`
+ Result NamespaceDeleteResponse `json:"result,nullable"`
JSON namespaceDeleteResponseEnvelopeJSON `json:"-"`
}
diff --git a/kv/namespacebulk.go b/kv/namespacebulk.go
index 83dad1b35b1..9adcd256cde 100755
--- a/kv/namespacebulk.go
+++ b/kv/namespacebulk.go
@@ -82,9 +82,43 @@ func (r *NamespaceBulkService) Delete(ctx context.Context, namespaceID string, b
return
}
-type NamespaceBulkUpdateResponse = interface{}
+type NamespaceBulkUpdateResponse struct {
+ JSON namespaceBulkUpdateResponseJSON `json:"-"`
+}
+
+// namespaceBulkUpdateResponseJSON contains the JSON metadata for the struct
+// [NamespaceBulkUpdateResponse]
+type namespaceBulkUpdateResponseJSON struct {
+ raw string
+ ExtraFields map[string]apijson.Field
+}
+
+func (r *NamespaceBulkUpdateResponse) UnmarshalJSON(data []byte) (err error) {
+ return apijson.UnmarshalRoot(data, r)
+}
+
+func (r namespaceBulkUpdateResponseJSON) RawJSON() string {
+ return r.raw
+}
-type NamespaceBulkDeleteResponse = interface{}
+type NamespaceBulkDeleteResponse struct {
+ JSON namespaceBulkDeleteResponseJSON `json:"-"`
+}
+
+// namespaceBulkDeleteResponseJSON contains the JSON metadata for the struct
+// [NamespaceBulkDeleteResponse]
+type namespaceBulkDeleteResponseJSON struct {
+ raw string
+ ExtraFields map[string]apijson.Field
+}
+
+func (r *NamespaceBulkDeleteResponse) UnmarshalJSON(data []byte) (err error) {
+ return apijson.UnmarshalRoot(data, r)
+}
+
+func (r namespaceBulkDeleteResponseJSON) RawJSON() string {
+ return r.raw
+}
type NamespaceBulkUpdateParams struct {
// Identifier
@@ -125,7 +159,7 @@ type NamespaceBulkUpdateResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success NamespaceBulkUpdateResponseEnvelopeSuccess `json:"success,required"`
- Result NamespaceBulkUpdateResponse `json:"result"`
+ Result NamespaceBulkUpdateResponse `json:"result,nullable"`
JSON namespaceBulkUpdateResponseEnvelopeJSON `json:"-"`
}
@@ -173,7 +207,7 @@ type NamespaceBulkDeleteResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success NamespaceBulkDeleteResponseEnvelopeSuccess `json:"success,required"`
- Result NamespaceBulkDeleteResponse `json:"result"`
+ Result NamespaceBulkDeleteResponse `json:"result,nullable"`
JSON namespaceBulkDeleteResponseEnvelopeJSON `json:"-"`
}
diff --git a/kv/namespacevalue.go b/kv/namespacevalue.go
index 43ecbbc49f5..fa554569d8b 100755
--- a/kv/namespacevalue.go
+++ b/kv/namespacevalue.go
@@ -118,9 +118,43 @@ func (r *NamespaceValueService) Get(ctx context.Context, namespaceID string, key
return
}
-type NamespaceValueUpdateResponse = interface{}
+type NamespaceValueUpdateResponse struct {
+ JSON namespaceValueUpdateResponseJSON `json:"-"`
+}
+
+// namespaceValueUpdateResponseJSON contains the JSON metadata for the struct
+// [NamespaceValueUpdateResponse]
+type namespaceValueUpdateResponseJSON struct {
+ raw string
+ ExtraFields map[string]apijson.Field
+}
+
+func (r *NamespaceValueUpdateResponse) UnmarshalJSON(data []byte) (err error) {
+ return apijson.UnmarshalRoot(data, r)
+}
+
+func (r namespaceValueUpdateResponseJSON) RawJSON() string {
+ return r.raw
+}
-type NamespaceValueDeleteResponse = interface{}
+type NamespaceValueDeleteResponse struct {
+ JSON namespaceValueDeleteResponseJSON `json:"-"`
+}
+
+// namespaceValueDeleteResponseJSON contains the JSON metadata for the struct
+// [NamespaceValueDeleteResponse]
+type namespaceValueDeleteResponseJSON struct {
+ raw string
+ ExtraFields map[string]apijson.Field
+}
+
+func (r *NamespaceValueDeleteResponse) UnmarshalJSON(data []byte) (err error) {
+ return apijson.UnmarshalRoot(data, r)
+}
+
+func (r namespaceValueDeleteResponseJSON) RawJSON() string {
+ return r.raw
+}
type NamespaceValueUpdateParams struct {
// Identifier
@@ -151,7 +185,7 @@ type NamespaceValueUpdateResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success NamespaceValueUpdateResponseEnvelopeSuccess `json:"success,required"`
- Result NamespaceValueUpdateResponse `json:"result"`
+ Result NamespaceValueUpdateResponse `json:"result,nullable"`
JSON namespaceValueUpdateResponseEnvelopeJSON `json:"-"`
}
@@ -199,7 +233,7 @@ type NamespaceValueDeleteResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success NamespaceValueDeleteResponseEnvelopeSuccess `json:"success,required"`
- Result NamespaceValueDeleteResponse `json:"result"`
+ Result NamespaceValueDeleteResponse `json:"result,nullable"`
JSON namespaceValueDeleteResponseEnvelopeJSON `json:"-"`
}
diff --git a/load_balancers/region.go b/load_balancers/region.go
index 5204cd99366..26bb578a9be 100755
--- a/load_balancers/region.go
+++ b/load_balancers/region.go
@@ -72,9 +72,8 @@ func (r *RegionService) Get(ctx context.Context, regionID RegionGetParamsRegionI
return
}
-// Union satisfied by
-// [load_balancers.RegionListResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [load_balancers.RegionListResponseUnknown] or
+// [shared.UnionString].
type RegionListResponseUnion interface {
ImplementsLoadBalancersRegionListResponseUnion()
}
@@ -92,9 +91,8 @@ func init() {
// A list of countries and subdivisions mapped to a region.
//
-// Union satisfied by
-// [load_balancers.RegionGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [load_balancers.RegionGetResponseUnknown] or
+// [shared.UnionString].
type RegionGetResponseUnion interface {
ImplementsLoadBalancersRegionGetResponseUnion()
}
diff --git a/logs/rayid.go b/logs/rayid.go
index 480189b2ac7..fa77cfa44eb 100755
--- a/logs/rayid.go
+++ b/logs/rayid.go
@@ -55,8 +55,7 @@ func (r *RayIDService) Get(ctx context.Context, RayID string, params RayIDGetPar
return
}
-// Union satisfied by [shared.UnionString] or
-// [logs.RayIDGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a].
+// Union satisfied by [shared.UnionString] or [logs.RayIDGetResponseUnknown].
type RayIDGetResponseUnion interface {
ImplementsLogsRayIDGetResponseUnion()
}
diff --git a/logs/received.go b/logs/received.go
index 7ab303a21ee..69528312f36 100755
--- a/logs/received.go
+++ b/logs/received.go
@@ -59,8 +59,7 @@ func (r *ReceivedService) Get(ctx context.Context, params ReceivedGetParams, opt
return
}
-// Union satisfied by [shared.UnionString] or
-// [logs.ReceivedGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a].
+// Union satisfied by [shared.UnionString] or [logs.ReceivedGetResponseUnknown].
type ReceivedGetResponseUnion interface {
ImplementsLogsReceivedGetResponseUnion()
}
diff --git a/origin_post_quantum_encryption/originpostquantumencryption.go b/origin_post_quantum_encryption/originpostquantumencryption.go
index 7d4b3ea59ff..8c329c56b4e 100755
--- a/origin_post_quantum_encryption/originpostquantumencryption.go
+++ b/origin_post_quantum_encryption/originpostquantumencryption.go
@@ -7,12 +7,14 @@ import (
"errors"
"fmt"
"net/http"
+ "reflect"
"github.com/cloudflare/cloudflare-go/v2/internal/apijson"
"github.com/cloudflare/cloudflare-go/v2/internal/param"
"github.com/cloudflare/cloudflare-go/v2/internal/requestconfig"
"github.com/cloudflare/cloudflare-go/v2/option"
"github.com/cloudflare/cloudflare-go/v2/shared"
+ "github.com/tidwall/gjson"
)
// OriginPostQuantumEncryptionService contains methods and other services that help
@@ -40,7 +42,7 @@ func NewOriginPostQuantumEncryptionService(opts ...option.RequestOption) (r *Ori
// connections when the origin supports and prefers PQ), supported means that PQ
// algorithms are advertised but only used when requested by the origin, and off
// means that PQ algorithms are not advertised
-func (r *OriginPostQuantumEncryptionService) Update(ctx context.Context, params OriginPostQuantumEncryptionUpdateParams, opts ...option.RequestOption) (res *OriginPostQuantumEncryptionUpdateResponse, err error) {
+func (r *OriginPostQuantumEncryptionService) Update(ctx context.Context, params OriginPostQuantumEncryptionUpdateParams, opts ...option.RequestOption) (res *OriginPostQuantumEncryptionUpdateResponseUnion, err error) {
var env OriginPostQuantumEncryptionUpdateResponseEnvelope
opts = append(r.Options[:], opts...)
if params.ZoneID.Value == "" {
@@ -62,7 +64,7 @@ func (r *OriginPostQuantumEncryptionService) Update(ctx context.Context, params
// connections when the origin supports and prefers PQ), supported means that PQ
// algorithms are advertised but only used when requested by the origin, and off
// means that PQ algorithms are not advertised
-func (r *OriginPostQuantumEncryptionService) Get(ctx context.Context, query OriginPostQuantumEncryptionGetParams, opts ...option.RequestOption) (res *OriginPostQuantumEncryptionGetResponse, err error) {
+func (r *OriginPostQuantumEncryptionService) Get(ctx context.Context, query OriginPostQuantumEncryptionGetParams, opts ...option.RequestOption) (res *OriginPostQuantumEncryptionGetResponseUnion, err error) {
var env OriginPostQuantumEncryptionGetResponseEnvelope
opts = append(r.Options[:], opts...)
if query.ZoneID.Value == "" {
@@ -78,9 +80,41 @@ func (r *OriginPostQuantumEncryptionService) Get(ctx context.Context, query Orig
return
}
-type OriginPostQuantumEncryptionUpdateResponse = interface{}
+// Union satisfied by
+// [origin_post_quantum_encryption.OriginPostQuantumEncryptionUpdateResponseUnknown]
+// or [shared.UnionString].
+type OriginPostQuantumEncryptionUpdateResponseUnion interface {
+ ImplementsOriginPostQuantumEncryptionOriginPostQuantumEncryptionUpdateResponseUnion()
+}
+
+func init() {
+ apijson.RegisterUnion(
+ reflect.TypeOf((*OriginPostQuantumEncryptionUpdateResponseUnion)(nil)).Elem(),
+ "",
+ apijson.UnionVariant{
+ TypeFilter: gjson.String,
+ Type: reflect.TypeOf(shared.UnionString("")),
+ },
+ )
+}
+
+// Union satisfied by
+// [origin_post_quantum_encryption.OriginPostQuantumEncryptionGetResponseUnknown]
+// or [shared.UnionString].
+type OriginPostQuantumEncryptionGetResponseUnion interface {
+ ImplementsOriginPostQuantumEncryptionOriginPostQuantumEncryptionGetResponseUnion()
+}
-type OriginPostQuantumEncryptionGetResponse = interface{}
+func init() {
+ apijson.RegisterUnion(
+ reflect.TypeOf((*OriginPostQuantumEncryptionGetResponseUnion)(nil)).Elem(),
+ "",
+ apijson.UnionVariant{
+ TypeFilter: gjson.String,
+ Type: reflect.TypeOf(shared.UnionString("")),
+ },
+ )
+}
type OriginPostQuantumEncryptionUpdateParams struct {
// Identifier
@@ -111,11 +145,11 @@ func (r OriginPostQuantumEncryptionUpdateParamsValue) IsKnown() bool {
}
type OriginPostQuantumEncryptionUpdateResponseEnvelope struct {
- Errors []shared.ResponseInfo `json:"errors,required"`
- Messages []shared.ResponseInfo `json:"messages,required"`
+ Errors []shared.ResponseInfo `json:"errors,required"`
+ Messages []shared.ResponseInfo `json:"messages,required"`
+ Result OriginPostQuantumEncryptionUpdateResponseUnion `json:"result,required"`
// Whether the API call was successful
Success OriginPostQuantumEncryptionUpdateResponseEnvelopeSuccess `json:"success,required"`
- Result OriginPostQuantumEncryptionUpdateResponse `json:"result"`
JSON originPostQuantumEncryptionUpdateResponseEnvelopeJSON `json:"-"`
}
@@ -124,8 +158,8 @@ type OriginPostQuantumEncryptionUpdateResponseEnvelope struct {
type originPostQuantumEncryptionUpdateResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
@@ -159,11 +193,11 @@ type OriginPostQuantumEncryptionGetParams struct {
}
type OriginPostQuantumEncryptionGetResponseEnvelope struct {
- Errors []shared.ResponseInfo `json:"errors,required"`
- Messages []shared.ResponseInfo `json:"messages,required"`
+ Errors []shared.ResponseInfo `json:"errors,required"`
+ Messages []shared.ResponseInfo `json:"messages,required"`
+ Result OriginPostQuantumEncryptionGetResponseUnion `json:"result,required"`
// Whether the API call was successful
Success OriginPostQuantumEncryptionGetResponseEnvelopeSuccess `json:"success,required"`
- Result OriginPostQuantumEncryptionGetResponse `json:"result"`
JSON originPostQuantumEncryptionGetResponseEnvelopeJSON `json:"-"`
}
@@ -172,8 +206,8 @@ type OriginPostQuantumEncryptionGetResponseEnvelope struct {
type originPostQuantumEncryptionGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
- Success apijson.Field
Result apijson.Field
+ Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
diff --git a/pagerules/pagerule.go b/pagerules/pagerule.go
index 56332167507..6887e22a230 100755
--- a/pagerules/pagerule.go
+++ b/pagerules/pagerule.go
@@ -465,9 +465,8 @@ func (r TargetConstraintParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}
-// Union satisfied by
-// [pagerules.PageruleNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [pagerules.PageruleNewResponseUnknown] or
+// [shared.UnionString].
type PageruleNewResponseUnion interface {
ImplementsPagerulesPageruleNewResponseUnion()
}
@@ -483,9 +482,8 @@ func init() {
)
}
-// Union satisfied by
-// [pagerules.PageruleUpdateResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [pagerules.PageruleUpdateResponseUnknown] or
+// [shared.UnionString].
type PageruleUpdateResponseUnion interface {
ImplementsPagerulesPageruleUpdateResponseUnion()
}
@@ -523,9 +521,8 @@ func (r pageruleDeleteResponseJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [pagerules.PageruleEditResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [pagerules.PageruleEditResponseUnknown] or
+// [shared.UnionString].
type PageruleEditResponseUnion interface {
ImplementsPagerulesPageruleEditResponseUnion()
}
@@ -541,9 +538,8 @@ func init() {
)
}
-// Union satisfied by
-// [pagerules.PageruleGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [pagerules.PageruleGetResponseUnknown] or
+// [shared.UnionString].
type PageruleGetResponseUnion interface {
ImplementsPagerulesPageruleGetResponseUnion()
}
diff --git a/pages/project.go b/pages/project.go
index 1b7255d69ec..47184bfe53f 100755
--- a/pages/project.go
+++ b/pages/project.go
@@ -2030,7 +2030,7 @@ type ProjectDeleteParams struct {
type ProjectDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result ProjectDeleteResponse `json:"result,required"`
+ Result ProjectDeleteResponse `json:"result,required,nullable"`
// Whether the API call was successful
Success ProjectDeleteResponseEnvelopeSuccess `json:"success,required"`
JSON projectDeleteResponseEnvelopeJSON `json:"-"`
@@ -2182,7 +2182,7 @@ type ProjectPurgeBuildCacheParams struct {
type ProjectPurgeBuildCacheResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result ProjectPurgeBuildCacheResponse `json:"result,required"`
+ Result ProjectPurgeBuildCacheResponse `json:"result,required,nullable"`
// Whether the API call was successful
Success ProjectPurgeBuildCacheResponseEnvelopeSuccess `json:"success,required"`
JSON projectPurgeBuildCacheResponseEnvelopeJSON `json:"-"`
diff --git a/pages/projectdeployment.go b/pages/projectdeployment.go
index 348501dbe33..c135f8d7cb0 100755
--- a/pages/projectdeployment.go
+++ b/pages/projectdeployment.go
@@ -305,7 +305,7 @@ type ProjectDeploymentDeleteParams struct {
type ProjectDeploymentDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result ProjectDeploymentDeleteResponse `json:"result,required"`
+ Result ProjectDeploymentDeleteResponse `json:"result,required,nullable"`
// Whether the API call was successful
Success ProjectDeploymentDeleteResponseEnvelopeSuccess `json:"success,required"`
JSON projectDeploymentDeleteResponseEnvelopeJSON `json:"-"`
diff --git a/pages/projectdomain.go b/pages/projectdomain.go
index c604f833f2c..5262cdce1ce 100755
--- a/pages/projectdomain.go
+++ b/pages/projectdomain.go
@@ -927,7 +927,7 @@ type ProjectDomainDeleteParams struct {
type ProjectDomainDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result ProjectDomainDeleteResponse `json:"result,required"`
+ Result ProjectDomainDeleteResponse `json:"result,required,nullable"`
// Whether the API call was successful
Success ProjectDomainDeleteResponseEnvelopeSuccess `json:"success,required"`
JSON projectDomainDeleteResponseEnvelopeJSON `json:"-"`
diff --git a/queues/consumer.go b/queues/consumer.go
index f914d9fbfef..b24c42e2092 100755
--- a/queues/consumer.go
+++ b/queues/consumer.go
@@ -299,8 +299,7 @@ func (r consumerUpdateResponseSettingsJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [queues.ConsumerDeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// Union satisfied by [queues.ConsumerDeleteResponseUnknown],
// [queues.ConsumerDeleteResponseArray] or [shared.UnionString].
type ConsumerDeleteResponseUnion interface {
ImplementsQueuesConsumerDeleteResponseUnion()
diff --git a/queues/queue.go b/queues/queue.go
index 18f9c57a9dd..cdba740c668 100755
--- a/queues/queue.go
+++ b/queues/queue.go
@@ -256,8 +256,7 @@ func (r queueUpdatedJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [queues.QueueDeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// Union satisfied by [queues.QueueDeleteResponseUnknown],
// [queues.QueueDeleteResponseArray] or [shared.UnionString].
type QueueDeleteResponseUnion interface {
ImplementsQueuesQueueDeleteResponseUnion()
diff --git a/rate_limits/ratelimit.go b/rate_limits/ratelimit.go
index dece27ff369..b733b6a1df3 100755
--- a/rate_limits/ratelimit.go
+++ b/rate_limits/ratelimit.go
@@ -524,9 +524,8 @@ func (r rateLimitMatchResponseJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [rate_limits.RateLimitNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [rate_limits.RateLimitNewResponseUnknown] or
+// [shared.UnionString].
type RateLimitNewResponseUnion interface {
ImplementsRateLimitsRateLimitNewResponseUnion()
}
@@ -564,9 +563,8 @@ func (r rateLimitDeleteResponseJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [rate_limits.RateLimitEditResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [rate_limits.RateLimitEditResponseUnknown] or
+// [shared.UnionString].
type RateLimitEditResponseUnion interface {
ImplementsRateLimitsRateLimitEditResponseUnion()
}
@@ -582,9 +580,8 @@ func init() {
)
}
-// Union satisfied by
-// [rate_limits.RateLimitGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [rate_limits.RateLimitGetResponseUnknown] or
+// [shared.UnionString].
type RateLimitGetResponseUnion interface {
ImplementsRateLimitsRateLimitGetResponseUnion()
}
diff --git a/registrar/domain.go b/registrar/domain.go
index a19ab4b44da..0f1c5bb5fbf 100755
--- a/registrar/domain.go
+++ b/registrar/domain.go
@@ -106,8 +106,7 @@ func (r *DomainService) Get(ctx context.Context, domainName string, query Domain
return
}
-// Union satisfied by
-// [registrar.DomainUpdateResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// Union satisfied by [registrar.DomainUpdateResponseUnknown],
// [registrar.DomainUpdateResponseArray] or [shared.UnionString].
type DomainUpdateResponseUnion interface {
ImplementsRegistrarDomainUpdateResponseUnion()
@@ -162,8 +161,7 @@ func (r domainListResponseJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [registrar.DomainListResponseResultUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// Union satisfied by [registrar.DomainListResponseResultUnknown],
// [registrar.DomainListResponseResultArray] or [shared.UnionString].
type DomainListResponseResultUnion interface {
ImplementsRegistrarDomainListResponseResultUnion()
@@ -234,8 +232,7 @@ func (r domainListResponseResultInfoJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [registrar.DomainGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// Union satisfied by [registrar.DomainGetResponseUnknown],
// [registrar.DomainGetResponseArray] or [shared.UnionString].
type DomainGetResponseUnion interface {
ImplementsRegistrarDomainGetResponseUnion()
diff --git a/shared/union.go b/shared/union.go
index c4a7ab8544a..6ff7d6bb731 100755
--- a/shared/union.go
+++ b/shared/union.go
@@ -86,11 +86,15 @@ func (UnionString) ImplementsZeroTrustAccessApplicationUpdateParamsBodyDeviceEnr
}
func (UnionString) ImplementsZeroTrustAccessApplicationUpdateParamsBodyBrowserIsolationPermissionsApplicationPolicyUnion() {
}
-func (UnionString) ImplementsZeroTrustTunnelTokenGetResponseUnion() {}
-func (UnionString) ImplementsZeroTrustTunnelManagementNewResponseUnion() {}
-func (UnionString) ImplementsHyperdriveConfigDeleteResponseUnion() {}
-func (UnionString) ImplementsVectorizeIndexDeleteResponseUnion() {}
-func (UnionString) ImplementsRadarRankingTimeseriesGroupsResponseSerie0Union() {}
+func (UnionString) ImplementsZeroTrustTunnelTokenGetResponseUnion() {}
+func (UnionString) ImplementsZeroTrustTunnelManagementNewResponseUnion() {}
+func (UnionString) ImplementsHyperdriveConfigDeleteResponseUnion() {}
+func (UnionString) ImplementsVectorizeIndexDeleteResponseUnion() {}
+func (UnionString) ImplementsRadarRankingTimeseriesGroupsResponseSerie0Union() {}
+func (UnionString) ImplementsOriginPostQuantumEncryptionOriginPostQuantumEncryptionUpdateResponseUnion() {
+}
+func (UnionString) ImplementsOriginPostQuantumEncryptionOriginPostQuantumEncryptionGetResponseUnion() {
+}
func (UnionString) ImplementsHostnamesSettingValueUnionParam() {}
func (UnionString) ImplementsHostnamesSettingValueUnion() {}
func (UnionString) ImplementsEventNotificationsR2ConfigurationQueueDeleteResponseUnion() {}
diff --git a/subscriptions/subscription.go b/subscriptions/subscription.go
index 94fcfceba68..aa26eaf057c 100755
--- a/subscriptions/subscription.go
+++ b/subscriptions/subscription.go
@@ -141,9 +141,8 @@ func (r *SubscriptionService) Get(ctx context.Context, identifier string, opts .
return
}
-// Union satisfied by
-// [subscriptions.SubscriptionNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [subscriptions.SubscriptionNewResponseUnknown] or
+// [shared.UnionString].
type SubscriptionNewResponseUnion interface {
ImplementsSubscriptionsSubscriptionNewResponseUnion()
}
@@ -159,9 +158,8 @@ func init() {
)
}
-// Union satisfied by
-// [subscriptions.SubscriptionUpdateResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [subscriptions.SubscriptionUpdateResponseUnknown] or
+// [shared.UnionString].
type SubscriptionUpdateResponseUnion interface {
ImplementsSubscriptionsSubscriptionUpdateResponseUnion()
}
@@ -199,9 +197,8 @@ func (r subscriptionDeleteResponseJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [subscriptions.SubscriptionGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [subscriptions.SubscriptionGetResponseUnknown] or
+// [shared.UnionString].
type SubscriptionGetResponseUnion interface {
ImplementsSubscriptionsSubscriptionGetResponseUnion()
}
diff --git a/user/subscription.go b/user/subscription.go
index 0d1b3460007..b19830cbc74 100755
--- a/user/subscription.go
+++ b/user/subscription.go
@@ -234,9 +234,8 @@ func (r SubscriptionParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}
-// Union satisfied by
-// [user.SubscriptionUpdateResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [user.SubscriptionUpdateResponseUnknown] or
+// [shared.UnionString].
type SubscriptionUpdateResponseUnion interface {
ImplementsUserSubscriptionUpdateResponseUnion()
}
diff --git a/vectorize/index.go b/vectorize/index.go
index 1eb6c6b3dee..db60628bd9d 100755
--- a/vectorize/index.go
+++ b/vectorize/index.go
@@ -346,9 +346,8 @@ func (r IndexDimensionConfigurationParam) MarshalJSON() (data []byte, err error)
func (r IndexDimensionConfigurationParam) implementsVectorizeIndexNewParamsConfigUnion() {}
-// Union satisfied by
-// [vectorize.IndexDeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [vectorize.IndexDeleteResponseUnknown] or
+// [shared.UnionString].
type IndexDeleteResponseUnion interface {
ImplementsVectorizeIndexDeleteResponseUnion()
}
@@ -470,7 +469,7 @@ func (r indexQueryResponseJSON) RawJSON() string {
type IndexQueryResponseMatch struct {
// Identifier for a Vector
ID string `json:"id"`
- Metadata interface{} `json:"metadata"`
+ Metadata interface{} `json:"metadata,nullable"`
Namespace string `json:"namespace,nullable"`
// The score of the vector according to the index's distance metric
Score float64 `json:"score"`
@@ -682,7 +681,7 @@ type IndexDeleteParams struct {
type IndexDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result IndexDeleteResponseUnion `json:"result,required,nullable"`
+ Result IndexDeleteResponseUnion `json:"result,required"`
// Whether the API call was successful
Success IndexDeleteResponseEnvelopeSuccess `json:"success,required"`
JSON indexDeleteResponseEnvelopeJSON `json:"-"`
diff --git a/warp_connector/warpconnector.go b/warp_connector/warpconnector.go
index f7ee24eeef4..53c3652d1a9 100755
--- a/warp_connector/warpconnector.go
+++ b/warp_connector/warpconnector.go
@@ -1624,8 +1624,7 @@ func (r WARPConnectorGetResponseTunType) IsKnown() bool {
return false
}
-// Union satisfied by
-// [warp_connector.WARPConnectorTokenResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// Union satisfied by [warp_connector.WARPConnectorTokenResponseUnknown],
// [warp_connector.WARPConnectorTokenResponseArray] or [shared.UnionString].
type WARPConnectorTokenResponseUnion interface {
ImplementsWARPConnectorWARPConnectorTokenResponseUnion()
diff --git a/zero_trust/accessapplication.go b/zero_trust/accessapplication.go
index 53e104e136d..81e6cba7fed 100755
--- a/zero_trust/accessapplication.go
+++ b/zero_trust/accessapplication.go
@@ -16732,7 +16732,7 @@ type AccessApplicationRevokeTokensParams struct {
}
type AccessApplicationRevokeTokensResponseEnvelope struct {
- Result AccessApplicationRevokeTokensResponse `json:"result"`
+ Result AccessApplicationRevokeTokensResponse `json:"result,nullable"`
Success AccessApplicationRevokeTokensResponseEnvelopeSuccess `json:"success"`
JSON accessApplicationRevokeTokensResponseEnvelopeJSON `json:"-"`
}
diff --git a/zero_trust/device.go b/zero_trust/device.go
index 1b2f9ff1bb0..76c552b26c6 100755
--- a/zero_trust/device.go
+++ b/zero_trust/device.go
@@ -223,9 +223,8 @@ func (r deviceUserJSON) RawJSON() string {
return r.raw
}
-// Union satisfied by
-// [zero_trust.DeviceGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zero_trust.DeviceGetResponseUnknown] or
+// [shared.UnionString].
type DeviceGetResponseUnion interface {
ImplementsZeroTrustDeviceGetResponseUnion()
}
@@ -252,7 +251,7 @@ type DeviceGetParams struct {
type DeviceGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result DeviceGetResponseUnion `json:"result,required,nullable"`
+ Result DeviceGetResponseUnion `json:"result,required"`
// Whether the API call was successful.
Success DeviceGetResponseEnvelopeSuccess `json:"success,required"`
JSON deviceGetResponseEnvelopeJSON `json:"-"`
diff --git a/zero_trust/devicepolicycertificate.go b/zero_trust/devicepolicycertificate.go
index 30d175f9500..f4377d0617e 100755
--- a/zero_trust/devicepolicycertificate.go
+++ b/zero_trust/devicepolicycertificate.go
@@ -82,9 +82,8 @@ func (r DevicePolicyCertificatesParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}
-// Union satisfied by
-// [zero_trust.DevicePolicyCertificateUpdateResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zero_trust.DevicePolicyCertificateUpdateResponseUnknown] or
+// [shared.UnionString].
type DevicePolicyCertificateUpdateResponseUnion interface {
ImplementsZeroTrustDevicePolicyCertificateUpdateResponseUnion()
}
@@ -100,9 +99,8 @@ func init() {
)
}
-// Union satisfied by
-// [zero_trust.DevicePolicyCertificateGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zero_trust.DevicePolicyCertificateGetResponseUnknown] or
+// [shared.UnionString].
type DevicePolicyCertificateGetResponseUnion interface {
ImplementsZeroTrustDevicePolicyCertificateGetResponseUnion()
}
@@ -129,7 +127,7 @@ func (r DevicePolicyCertificateUpdateParams) MarshalJSON() (data []byte, err err
type DevicePolicyCertificateUpdateResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result DevicePolicyCertificateUpdateResponseUnion `json:"result,required,nullable"`
+ Result DevicePolicyCertificateUpdateResponseUnion `json:"result,required"`
// Whether the API call was successful.
Success DevicePolicyCertificateUpdateResponseEnvelopeSuccess `json:"success,required"`
JSON devicePolicyCertificateUpdateResponseEnvelopeJSON `json:"-"`
@@ -172,7 +170,7 @@ func (r DevicePolicyCertificateUpdateResponseEnvelopeSuccess) IsKnown() bool {
type DevicePolicyCertificateGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result DevicePolicyCertificateGetResponseUnion `json:"result,required,nullable"`
+ Result DevicePolicyCertificateGetResponseUnion `json:"result,required"`
// Whether the API call was successful.
Success DevicePolicyCertificateGetResponseEnvelopeSuccess `json:"success,required"`
JSON devicePolicyCertificateGetResponseEnvelopeJSON `json:"-"`
diff --git a/zero_trust/devicepostureintegration.go b/zero_trust/devicepostureintegration.go
index 3aaf01862e7..dcc703b0d5a 100755
--- a/zero_trust/devicepostureintegration.go
+++ b/zero_trust/devicepostureintegration.go
@@ -228,9 +228,8 @@ func (r IntegrationType) IsKnown() bool {
return false
}
-// Union satisfied by
-// [zero_trust.DevicePostureIntegrationDeleteResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zero_trust.DevicePostureIntegrationDeleteResponseUnknown] or
+// [shared.UnionString].
type DevicePostureIntegrationDeleteResponseUnion interface {
ImplementsZeroTrustDevicePostureIntegrationDeleteResponseUnion()
}
@@ -500,7 +499,7 @@ type DevicePostureIntegrationDeleteParams struct {
type DevicePostureIntegrationDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result DevicePostureIntegrationDeleteResponseUnion `json:"result,required,nullable"`
+ Result DevicePostureIntegrationDeleteResponseUnion `json:"result,required"`
// Whether the API call was successful.
Success DevicePostureIntegrationDeleteResponseEnvelopeSuccess `json:"success,required"`
JSON devicePostureIntegrationDeleteResponseEnvelopeJSON `json:"-"`
diff --git a/zero_trust/devicerevoke.go b/zero_trust/devicerevoke.go
index d80635b5816..61aa60698f7 100755
--- a/zero_trust/devicerevoke.go
+++ b/zero_trust/devicerevoke.go
@@ -53,9 +53,8 @@ func (r *DeviceRevokeService) New(ctx context.Context, params DeviceRevokeNewPar
return
}
-// Union satisfied by
-// [zero_trust.DeviceRevokeNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zero_trust.DeviceRevokeNewResponseUnknown] or
+// [shared.UnionString].
type DeviceRevokeNewResponseUnion interface {
ImplementsZeroTrustDeviceRevokeNewResponseUnion()
}
@@ -84,7 +83,7 @@ func (r DeviceRevokeNewParams) MarshalJSON() (data []byte, err error) {
type DeviceRevokeNewResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result DeviceRevokeNewResponseUnion `json:"result,required,nullable"`
+ Result DeviceRevokeNewResponseUnion `json:"result,required"`
// Whether the API call was successful.
Success DeviceRevokeNewResponseEnvelopeSuccess `json:"success,required"`
JSON deviceRevokeNewResponseEnvelopeJSON `json:"-"`
diff --git a/zero_trust/deviceunrevoke.go b/zero_trust/deviceunrevoke.go
index c970969ab1a..3d281e50926 100755
--- a/zero_trust/deviceunrevoke.go
+++ b/zero_trust/deviceunrevoke.go
@@ -53,9 +53,8 @@ func (r *DeviceUnrevokeService) New(ctx context.Context, params DeviceUnrevokeNe
return
}
-// Union satisfied by
-// [zero_trust.DeviceUnrevokeNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zero_trust.DeviceUnrevokeNewResponseUnknown] or
+// [shared.UnionString].
type DeviceUnrevokeNewResponseUnion interface {
ImplementsZeroTrustDeviceUnrevokeNewResponseUnion()
}
@@ -84,7 +83,7 @@ func (r DeviceUnrevokeNewParams) MarshalJSON() (data []byte, err error) {
type DeviceUnrevokeNewResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
- Result DeviceUnrevokeNewResponseUnion `json:"result,required,nullable"`
+ Result DeviceUnrevokeNewResponseUnion `json:"result,required"`
// Whether the API call was successful.
Success DeviceUnrevokeNewResponseEnvelopeSuccess `json:"success,required"`
JSON deviceUnrevokeNewResponseEnvelopeJSON `json:"-"`
diff --git a/zero_trust/dlpprofilecustom.go b/zero_trust/dlpprofilecustom.go
index ca387e32ddc..99b8e5c96eb 100755
--- a/zero_trust/dlpprofilecustom.go
+++ b/zero_trust/dlpprofilecustom.go
@@ -667,7 +667,7 @@ type DLPProfileCustomDeleteResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success DLPProfileCustomDeleteResponseEnvelopeSuccess `json:"success,required"`
- Result DLPProfileCustomDeleteResponse `json:"result"`
+ Result DLPProfileCustomDeleteResponse `json:"result,nullable"`
JSON dlpProfileCustomDeleteResponseEnvelopeJSON `json:"-"`
}
diff --git a/zero_trust/riskscoring.go b/zero_trust/riskscoring.go
index 2698316326b..ae999a06e01 100755
--- a/zero_trust/riskscoring.go
+++ b/zero_trust/riskscoring.go
@@ -264,7 +264,7 @@ type RiskScoringResetResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success RiskScoringResetResponseEnvelopeSuccess `json:"success,required"`
- Result RiskScoringResetResponse `json:"result"`
+ Result RiskScoringResetResponse `json:"result,nullable"`
JSON riskScoringResetResponseEnvelopeJSON `json:"-"`
}
diff --git a/zero_trust/riskscoringintegration.go b/zero_trust/riskscoringintegration.go
index 4aa39a7e554..05e039fb5a2 100755
--- a/zero_trust/riskscoringintegration.go
+++ b/zero_trust/riskscoringintegration.go
@@ -532,7 +532,7 @@ type RiskScoringIntegrationDeleteResponseEnvelope struct {
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success RiskScoringIntegrationDeleteResponseEnvelopeSuccess `json:"success,required"`
- Result RiskScoringIntegrationDeleteResponse `json:"result"`
+ Result RiskScoringIntegrationDeleteResponse `json:"result,nullable"`
JSON riskScoringIntegrationDeleteResponseEnvelopeJSON `json:"-"`
}
diff --git a/zero_trust/tunnelmanagement.go b/zero_trust/tunnelmanagement.go
index e97b835e0f6..c4215e9a152 100755
--- a/zero_trust/tunnelmanagement.go
+++ b/zero_trust/tunnelmanagement.go
@@ -58,8 +58,7 @@ func (r *TunnelManagementService) New(ctx context.Context, tunnelID string, para
return
}
-// Union satisfied by
-// [zero_trust.TunnelManagementNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// Union satisfied by [zero_trust.TunnelManagementNewResponseUnknown],
// [zero_trust.TunnelManagementNewResponseArray] or [shared.UnionString].
type TunnelManagementNewResponseUnion interface {
ImplementsZeroTrustTunnelManagementNewResponseUnion()
diff --git a/zero_trust/tunneltoken.go b/zero_trust/tunneltoken.go
index 8fed4e70b3f..cf0ec9f7e4e 100755
--- a/zero_trust/tunneltoken.go
+++ b/zero_trust/tunneltoken.go
@@ -57,8 +57,7 @@ func (r *TunnelTokenService) Get(ctx context.Context, tunnelID string, query Tun
return
}
-// Union satisfied by
-// [zero_trust.TunnelTokenGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a],
+// Union satisfied by [zero_trust.TunnelTokenGetResponseUnknown],
// [zero_trust.TunnelTokenGetResponseArray] or [shared.UnionString].
type TunnelTokenGetResponseUnion interface {
ImplementsZeroTrustTunnelTokenGetResponseUnion()
diff --git a/zones/subscription.go b/zones/subscription.go
index 43a293ea29b..0ec172886d5 100755
--- a/zones/subscription.go
+++ b/zones/subscription.go
@@ -87,9 +87,8 @@ func (r *SubscriptionService) Get(ctx context.Context, identifier string, opts .
return
}
-// Union satisfied by
-// [zones.SubscriptionNewResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zones.SubscriptionNewResponseUnknown] or
+// [shared.UnionString].
type SubscriptionNewResponseUnion interface {
ImplementsZonesSubscriptionNewResponseUnion()
}
@@ -105,9 +104,8 @@ func init() {
)
}
-// Union satisfied by
-// [zones.SubscriptionUpdateResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zones.SubscriptionUpdateResponseUnknown] or
+// [shared.UnionString].
type SubscriptionUpdateResponseUnion interface {
ImplementsZonesSubscriptionUpdateResponseUnion()
}
@@ -123,9 +121,8 @@ func init() {
)
}
-// Union satisfied by
-// [zones.SubscriptionGetResponseUnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
-// or [shared.UnionString].
+// Union satisfied by [zones.SubscriptionGetResponseUnknown] or
+// [shared.UnionString].
type SubscriptionGetResponseUnion interface {
ImplementsZonesSubscriptionGetResponseUnion()
}