diff --git a/src/resources/accounts/members.ts b/src/resources/accounts/members.ts index 0578e01285..c7cf9ca499 100644 --- a/src/resources/accounts/members.ts +++ b/src/resources/accounts/members.ts @@ -99,7 +99,7 @@ export type MemberCreateParams = | MemberCreateParams.IAMCreateMemberWithRoles | MemberCreateParams.IAMCreateMemberWithPolicies; -export namespace MemberCreateParams { +export declare namespace MemberCreateParams { export interface IAMCreateMemberWithRoles { /** * Path param: Account identifier tag. @@ -190,7 +190,7 @@ export type MemberUpdateParams = | MemberUpdateParams.IAMUpdateMemberWithRoles | MemberUpdateParams.IAMUpdateMemberWithPolicies; -export namespace MemberUpdateParams { +export declare namespace MemberUpdateParams { export interface IAMUpdateMemberWithRoles { /** * Path param: Account identifier tag. diff --git a/src/resources/ai/ai.ts b/src/resources/ai/ai.ts index f7a8433c25..5688651c05 100644 --- a/src/resources/ai/ai.ts +++ b/src/resources/ai/ai.ts @@ -241,7 +241,7 @@ export type AIRunParams = | AIRunParams.Summarization | AIRunParams.ImageToText; -export namespace AIRunParams { +export declare namespace AIRunParams { export interface TextClassification { /** * Path param: diff --git a/src/resources/bot-management.ts b/src/resources/bot-management.ts index bf940e3103..7a6976dd47 100644 --- a/src/resources/bot-management.ts +++ b/src/resources/bot-management.ts @@ -511,7 +511,7 @@ export type BotManagementUpdateParams = | BotManagementUpdateParams.SuperBotFightModeLikelyConfiguration | BotManagementUpdateParams.SubscriptionConfiguration; -export namespace BotManagementUpdateParams { +export declare namespace BotManagementUpdateParams { export interface BotFightModeConfiguration { /** * Path param: Identifier diff --git a/src/resources/cache/cache.ts b/src/resources/cache/cache.ts index 8fadfddc12..caa6b78a62 100644 --- a/src/resources/cache/cache.ts +++ b/src/resources/cache/cache.ts @@ -150,7 +150,7 @@ export type CachePurgeParams = | CachePurgeParams.CachePurgeSingleFile | CachePurgeParams.CachePurgeSingleFileWithURLAndHeaders; -export namespace CachePurgeParams { +export declare namespace CachePurgeParams { export interface CachePurgeFlexPurgeByTags { /** * Path param: diff --git a/src/resources/d1/database.ts b/src/resources/d1/database.ts index 211f9e51fb..f9c39fe386 100644 --- a/src/resources/d1/database.ts +++ b/src/resources/d1/database.ts @@ -442,7 +442,7 @@ export type DatabaseImportParams = | DatabaseImportParams.Variant1 | DatabaseImportParams.Variant2; -export namespace DatabaseImportParams { +export declare namespace DatabaseImportParams { export interface Variant0 { /** * Path param: Account identifier tag. diff --git a/src/resources/dns/records.ts b/src/resources/dns/records.ts index d40225e5ca..a8f0c9e8f9 100644 --- a/src/resources/dns/records.ts +++ b/src/resources/dns/records.ts @@ -4889,7 +4889,7 @@ export type RecordCreateParams = | RecordCreateParams.TXTRecord | RecordCreateParams.URIRecord; -export namespace RecordCreateParams { +export declare namespace RecordCreateParams { export interface ARecord { /** * Path param: Identifier @@ -6861,7 +6861,7 @@ export type RecordUpdateParams = | RecordUpdateParams.TXTRecord | RecordUpdateParams.URIRecord; -export namespace RecordUpdateParams { +export declare namespace RecordUpdateParams { export interface ARecord { /** * Path param: Identifier @@ -9091,7 +9091,7 @@ export type RecordEditParams = | RecordEditParams.TXTRecord | RecordEditParams.URIRecord; -export namespace RecordEditParams { +export declare namespace RecordEditParams { export interface ARecord { /** * Path param: Identifier diff --git a/src/resources/email-security/settings/trusted-domains.ts b/src/resources/email-security/settings/trusted-domains.ts index 9b0a161ad4..44eb965593 100644 --- a/src/resources/email-security/settings/trusted-domains.ts +++ b/src/resources/email-security/settings/trusted-domains.ts @@ -252,7 +252,7 @@ export type TrustedDomainCreateParams = | TrustedDomainCreateParams.EmailSecurityCreateTrustedDomain | TrustedDomainCreateParams.Variant1; -export namespace TrustedDomainCreateParams { +export declare namespace TrustedDomainCreateParams { export interface EmailSecurityCreateTrustedDomain { /** * Path param: Account Identifier diff --git a/src/resources/magic-transit/apps.ts b/src/resources/magic-transit/apps.ts index 12ab124031..ca4e6c791b 100644 --- a/src/resources/magic-transit/apps.ts +++ b/src/resources/magic-transit/apps.ts @@ -223,7 +223,7 @@ export interface AppDeleteResponse { export type AppCreateParams = AppCreateParams.Hostnames | AppCreateParams.Subnets; -export namespace AppCreateParams { +export declare namespace AppCreateParams { export interface Hostnames { /** * Path param: Identifier @@ -255,7 +255,7 @@ export type AppUpdateParams = | AppUpdateParams.UpdateAppHostnames | AppUpdateParams.UpdateAppSubnets; -export namespace AppUpdateParams { +export declare namespace AppUpdateParams { export interface UpdateAppName { /** * Path param: Identifier diff --git a/src/resources/magic-transit/pcaps/pcaps.ts b/src/resources/magic-transit/pcaps/pcaps.ts index 4895324353..932036f5cc 100644 --- a/src/resources/magic-transit/pcaps/pcaps.ts +++ b/src/resources/magic-transit/pcaps/pcaps.ts @@ -395,7 +395,7 @@ export type PCAPCreateParams = | PCAPCreateParams.MagicVisibilityPCAPsPCAPsRequestSimple | PCAPCreateParams.MagicVisibilityPCAPsPCAPsRequestFull; -export namespace PCAPCreateParams { +export declare namespace PCAPCreateParams { export interface MagicVisibilityPCAPsPCAPsRequestSimple { /** * Path param: Identifier diff --git a/src/resources/queues/consumers.ts b/src/resources/queues/consumers.ts index a6826a19f8..932ea6e45c 100644 --- a/src/resources/queues/consumers.ts +++ b/src/resources/queues/consumers.ts @@ -190,7 +190,7 @@ export type ConsumerCreateParams = | ConsumerCreateParams.MqWorkerConsumer | ConsumerCreateParams.MqHTTPConsumer; -export namespace ConsumerCreateParams { +export declare namespace ConsumerCreateParams { export interface MqWorkerConsumer { /** * Path param: A Resource identifier. @@ -293,7 +293,7 @@ export type ConsumerUpdateParams = | ConsumerUpdateParams.MqWorkerConsumer | ConsumerUpdateParams.MqHTTPConsumer; -export namespace ConsumerUpdateParams { +export declare namespace ConsumerUpdateParams { export interface MqWorkerConsumer { /** * Path param: A Resource identifier. diff --git a/src/resources/r2/buckets/sippy.ts b/src/resources/r2/buckets/sippy.ts index cc28925543..46d185c7fd 100644 --- a/src/resources/r2/buckets/sippy.ts +++ b/src/resources/r2/buckets/sippy.ts @@ -134,7 +134,7 @@ export interface SippyDeleteResponse { export type SippyUpdateParams = SippyUpdateParams.R2EnableSippyAws | SippyUpdateParams.R2EnableSippyGcs; -export namespace SippyUpdateParams { +export declare namespace SippyUpdateParams { export interface R2EnableSippyAws { /** * Path param: Account ID diff --git a/src/resources/rulesets/rules.ts b/src/resources/rulesets/rules.ts index a345154096..5d3de76c64 100644 --- a/src/resources/rulesets/rules.ts +++ b/src/resources/rulesets/rules.ts @@ -7366,7 +7366,7 @@ export type RuleCreateParams = | RuleCreateParams.DDoSDynamicRule | RuleCreateParams.ForceConnectionCloseRule; -export namespace RuleCreateParams { +export declare namespace RuleCreateParams { export interface BlockRule { /** * Path param: The Account ID to use for this endpoint. Mutually exclusive with the @@ -10747,7 +10747,7 @@ export type RuleEditParams = | RuleEditParams.DDoSDynamicRule | RuleEditParams.ForceConnectionCloseRule; -export namespace RuleEditParams { +export declare namespace RuleEditParams { export interface BlockRule { /** * Path param: The Account ID to use for this endpoint. Mutually exclusive with the diff --git a/src/resources/spectrum/apps.ts b/src/resources/spectrum/apps.ts index e691de597f..9c629e195f 100644 --- a/src/resources/spectrum/apps.ts +++ b/src/resources/spectrum/apps.ts @@ -598,7 +598,7 @@ export type AppCreateParams = | AppCreateParams.SpectrumConfigAppConfig | AppCreateParams.SpectrumConfigPaygoAppConfig; -export namespace AppCreateParams { +export declare namespace AppCreateParams { export interface SpectrumConfigAppConfig { /** * Path param: Zone identifier. @@ -708,7 +708,7 @@ export type AppUpdateParams = | AppUpdateParams.SpectrumConfigAppConfig | AppUpdateParams.SpectrumConfigPaygoAppConfig; -export namespace AppUpdateParams { +export declare namespace AppUpdateParams { export interface SpectrumConfigAppConfig { /** * Path param: Zone identifier. diff --git a/src/resources/zero-trust/access/applications/applications.ts b/src/resources/zero-trust/access/applications/applications.ts index 84df13f0bd..dc70dc37bd 100644 --- a/src/resources/zero-trust/access/applications/applications.ts +++ b/src/resources/zero-trust/access/applications/applications.ts @@ -10634,7 +10634,7 @@ export type ApplicationCreateParams = | ApplicationCreateParams.BookmarkApplication | ApplicationCreateParams.InfrastructureApplication; -export namespace ApplicationCreateParams { +export declare namespace ApplicationCreateParams { export interface SelfHostedApplication { /** * Body param: The primary hostname and path secured by Access. This domain will be @@ -13073,7 +13073,7 @@ export type ApplicationUpdateParams = | ApplicationUpdateParams.BookmarkApplication | ApplicationUpdateParams.InfrastructureApplication; -export namespace ApplicationUpdateParams { +export declare namespace ApplicationUpdateParams { export interface SelfHostedApplication { /** * Body param: The primary hostname and path secured by Access. This domain will be diff --git a/src/resources/zero-trust/dlp/entries.ts b/src/resources/zero-trust/dlp/entries.ts index 9da7159e2f..284fbdfbdc 100644 --- a/src/resources/zero-trust/dlp/entries.ts +++ b/src/resources/zero-trust/dlp/entries.ts @@ -441,7 +441,7 @@ export type EntryUpdateParams = | EntryUpdateParams.Variant1 | EntryUpdateParams.Variant2; -export namespace EntryUpdateParams { +export declare namespace EntryUpdateParams { export interface Variant0 { /** * Path param: diff --git a/src/resources/zero-trust/dlp/profiles/custom.ts b/src/resources/zero-trust/dlp/profiles/custom.ts index 9806f1fcb1..b6bc609b98 100644 --- a/src/resources/zero-trust/dlp/profiles/custom.ts +++ b/src/resources/zero-trust/dlp/profiles/custom.ts @@ -641,7 +641,7 @@ export type CustomDeleteResponse = unknown; export type CustomCreateParams = CustomCreateParams.Variant0 | CustomCreateParams.DLPNewCustomProfile; -export namespace CustomCreateParams { +export declare namespace CustomCreateParams { export interface Variant0 { /** * Path param: diff --git a/src/resources/zero-trust/identity-providers.ts b/src/resources/zero-trust/identity-providers.ts index 59b185b720..4de578d563 100644 --- a/src/resources/zero-trust/identity-providers.ts +++ b/src/resources/zero-trust/identity-providers.ts @@ -2737,7 +2737,7 @@ export type IdentityProviderCreateParams = | IdentityProviderCreateParams.AccessYandex | IdentityProviderCreateParams.AccessOnetimepin; -export namespace IdentityProviderCreateParams { +export declare namespace IdentityProviderCreateParams { export interface AzureAD { /** * Body param: The configuration parameters for the identity provider. To view the @@ -3690,7 +3690,7 @@ export type IdentityProviderUpdateParams = | IdentityProviderUpdateParams.AccessYandex | IdentityProviderUpdateParams.AccessOnetimepin; -export namespace IdentityProviderUpdateParams { +export declare namespace IdentityProviderUpdateParams { export interface AzureAD { /** * Body param: The configuration parameters for the identity provider. To view the diff --git a/src/resources/zones/settings.ts b/src/resources/zones/settings.ts index 0ab2c2e85e..ebd5c97fc9 100644 --- a/src/resources/zones/settings.ts +++ b/src/resources/zones/settings.ts @@ -3776,7 +3776,7 @@ export type SettingEditParams = | SettingEditParams.WebP | SettingEditParams.Websocket; -export namespace SettingEditParams { +export declare namespace SettingEditParams { export interface ZeroRTT { /** * Path param: Identifier