From 6465d1d44cb0382c67d7ed9ba814f85f3a862e84 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 03:22:49 +0000 Subject: [PATCH] feat(api): update via SDK Studio (#312) --- api.md | 1 - src/resources/hyperdrive/hyperdrive.ts | 55 ++++++++++-- .../intel/attack-surface-report/issues.ts | 75 ++++++++-------- src/resources/magic-transit/routes.ts | 12 +-- src/resources/rulesets/phases/phases.ts | 6 +- src/resources/rulesets/phases/versions.ts | 2 +- src/resources/rulesets/rules.ts | 6 +- src/resources/rulesets/rulesets.ts | 24 +++-- src/resources/rulesets/versions/by-tag.ts | 2 +- src/resources/rulesets/versions/versions.ts | 2 +- src/resources/secondary-dns/incoming.ts | 13 ++- src/resources/secondary-dns/index.ts | 2 +- .../secondary-dns/outgoing/outgoing.ts | 13 ++- src/resources/secondary-dns/peers.ts | 3 - src/resources/warp-connector.ts | 20 ++--- .../zero-trust/tunnels/connections.ts | 2 +- src/resources/zero-trust/tunnels/tunnels.ts | 87 ++++++++++--------- 17 files changed, 189 insertions(+), 136 deletions(-) diff --git a/api.md b/api.md index 2119c6ef4e..b6af5cec60 100644 --- a/api.md +++ b/api.md @@ -2075,7 +2075,6 @@ Methods: Types: - Peer -- Peers - PeerDeleteResponse Methods: diff --git a/src/resources/hyperdrive/hyperdrive.ts b/src/resources/hyperdrive/hyperdrive.ts index eed7d8d542..ffedb6a36a 100644 --- a/src/resources/hyperdrive/hyperdrive.ts +++ b/src/resources/hyperdrive/hyperdrive.ts @@ -12,17 +12,58 @@ export class HyperdrivesSinglePage extends SinglePage {} export interface Configuration { /** - * The password required to access your origin database. This value is write-only - * and never returned by the API. + * The name of your origin database. */ - password: string; -} + database: string; + + /** + * The host (hostname or IP) of your origin database. + */ + host: string; + + /** + * The port (default: 5432 for Postgres) of your origin database. + */ + port: number; + + /** + * Specifies the URL scheme used to connect to your origin database. + */ + scheme: 'postgres' | 'postgresql' | 'mysql'; -export interface Hyperdrive { /** - * Identifier + * The user of your origin database. */ - id?: string; + user: string; +} + +export interface Hyperdrive { + caching?: Hyperdrive.Caching; + + name?: string; + + origin?: Configuration; +} + +export namespace Hyperdrive { + export interface Caching { + /** + * When set to true, disables the caching of SQL responses. (Default: false) + */ + disabled?: boolean; + + /** + * When present, specifies max duration for which items should persist in the + * cache. (Default: 60) + */ + max_age?: number; + + /** + * When present, indicates the number of seconds cache may serve the response after + * it becomes stale. (Default: 15) + */ + stale_while_revalidate?: number; + } } export namespace HyperdriveResource { diff --git a/src/resources/intel/attack-surface-report/issues.ts b/src/resources/intel/attack-surface-report/issues.ts index 879be269db..dbdd9601fc 100644 --- a/src/resources/intel/attack-surface-report/issues.ts +++ b/src/resources/intel/attack-surface-report/issues.ts @@ -84,20 +84,21 @@ export class Issues extends APIResource { export class IssueListResponsesV4PagePagination extends V4PagePagination {} -export type IssueClass = string; +export type IssueClass = Array; -export type IssueType = +export type IssueType = Array< | 'compliance_violation' | 'email_security' | 'exposed_infrastructure' | 'insecure_configuration' - | 'weak_authentication'; + | 'weak_authentication' +>; -export type Product = string; +export type Product = Array; export type SeverityQueryParam = 'low' | 'moderate' | 'critical'; -export type Subject = string; +export type Subject = Array; export interface IssueListResponse { errors: Array; @@ -210,32 +211,32 @@ export interface IssueListParams extends V4PagePaginationParams { /** * Query param: */ - issue_class?: Array; + issue_class?: IssueClass; /** * Query param: */ - 'issue_class~neq'?: Array; + 'issue_class~neq'?: IssueClass; /** * Query param: */ - issue_type?: Array; + issue_type?: IssueType; /** * Query param: */ - 'issue_type~neq'?: Array; + 'issue_type~neq'?: IssueType; /** * Query param: */ - product?: Array; + product?: Product; /** * Query param: */ - 'product~neq'?: Array; + 'product~neq'?: Product; /** * Query param: @@ -250,12 +251,12 @@ export interface IssueListParams extends V4PagePaginationParams { /** * Query param: */ - subject?: Array; + subject?: Subject; /** * Query param: */ - 'subject~neq'?: Array; + 'subject~neq'?: Subject; } export interface IssueClassParams { @@ -272,32 +273,32 @@ export interface IssueClassParams { /** * Query param: */ - issue_class?: Array; + issue_class?: IssueClass; /** * Query param: */ - 'issue_class~neq'?: Array; + 'issue_class~neq'?: IssueClass; /** * Query param: */ - issue_type?: Array; + issue_type?: IssueType; /** * Query param: */ - 'issue_type~neq'?: Array; + 'issue_type~neq'?: IssueType; /** * Query param: */ - product?: Array; + product?: Product; /** * Query param: */ - 'product~neq'?: Array; + 'product~neq'?: Product; /** * Query param: @@ -312,12 +313,12 @@ export interface IssueClassParams { /** * Query param: */ - subject?: Array; + subject?: Subject; /** * Query param: */ - 'subject~neq'?: Array; + 'subject~neq'?: Subject; } export interface IssueDismissParams { @@ -346,32 +347,32 @@ export interface IssueSeverityParams { /** * Query param: */ - issue_class?: Array; + issue_class?: IssueClass; /** * Query param: */ - 'issue_class~neq'?: Array; + 'issue_class~neq'?: IssueClass; /** * Query param: */ - issue_type?: Array; + issue_type?: IssueType; /** * Query param: */ - 'issue_type~neq'?: Array; + 'issue_type~neq'?: IssueType; /** * Query param: */ - product?: Array; + product?: Product; /** * Query param: */ - 'product~neq'?: Array; + 'product~neq'?: Product; /** * Query param: @@ -386,12 +387,12 @@ export interface IssueSeverityParams { /** * Query param: */ - subject?: Array; + subject?: Subject; /** * Query param: */ - 'subject~neq'?: Array; + 'subject~neq'?: Subject; } export interface IssueTypeParams { @@ -408,32 +409,32 @@ export interface IssueTypeParams { /** * Query param: */ - issue_class?: Array; + issue_class?: IssueClass; /** * Query param: */ - 'issue_class~neq'?: Array; + 'issue_class~neq'?: IssueClass; /** * Query param: */ - issue_type?: Array; + issue_type?: IssueType; /** * Query param: */ - 'issue_type~neq'?: Array; + 'issue_type~neq'?: IssueType; /** * Query param: */ - product?: Array; + product?: Product; /** * Query param: */ - 'product~neq'?: Array; + 'product~neq'?: Product; /** * Query param: @@ -448,12 +449,12 @@ export interface IssueTypeParams { /** * Query param: */ - subject?: Array; + subject?: Subject; /** * Query param: */ - 'subject~neq'?: Array; + 'subject~neq'?: Subject; } export namespace Issues { diff --git a/src/resources/magic-transit/routes.ts b/src/resources/magic-transit/routes.ts index 011d5280fe..b9346023e4 100644 --- a/src/resources/magic-transit/routes.ts +++ b/src/resources/magic-transit/routes.ts @@ -97,14 +97,14 @@ export class Routes extends APIResource { } /** - * Scope colo name. + * List of colo names for the ECMP scope. */ -export type ColoName = string; +export type ColoName = Array; /** - * Scope colo region. + * List of colo regions for the ECMP scope. */ -export type ColoRegion = string; +export type ColoRegion = Array; /** * Used only for ECMP routes. @@ -113,12 +113,12 @@ export interface Scope { /** * List of colo names for the ECMP scope. */ - colo_names?: Array; + colo_names?: ColoName; /** * List of colo regions for the ECMP scope. */ - colo_regions?: Array; + colo_regions?: ColoRegion; } export interface RouteCreateResponse { diff --git a/src/resources/rulesets/phases/phases.ts b/src/resources/rulesets/phases/phases.ts index 33c1d7b730..fccc52f4d0 100644 --- a/src/resources/rulesets/phases/phases.ts +++ b/src/resources/rulesets/phases/phases.ts @@ -238,7 +238,7 @@ export interface PhaseUpdateResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.ResponeRule; /** * The version of the ruleset. @@ -306,7 +306,7 @@ export interface PhaseGetResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.ResponeRule; /** * The version of the ruleset. @@ -323,7 +323,7 @@ export interface PhaseUpdateParams { /** * Body param: The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.RequestRule; /** * Path param: The Account ID to use for this endpoint. Mutually exclusive with the diff --git a/src/resources/rulesets/phases/versions.ts b/src/resources/rulesets/phases/versions.ts index d190b06d55..31ac4a63d3 100644 --- a/src/resources/rulesets/phases/versions.ts +++ b/src/resources/rulesets/phases/versions.ts @@ -295,7 +295,7 @@ export interface VersionGetResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.ResponeRule; /** * The version of the ruleset. diff --git a/src/resources/rulesets/rules.ts b/src/resources/rulesets/rules.ts index 24cb83298c..96016c165f 100644 --- a/src/resources/rulesets/rules.ts +++ b/src/resources/rulesets/rules.ts @@ -694,7 +694,7 @@ export interface RuleCreateResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.ResponeRule; /** * The version of the ruleset. @@ -762,7 +762,7 @@ export interface RuleDeleteResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.ResponeRule; /** * The version of the ruleset. @@ -830,7 +830,7 @@ export interface RuleEditResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.ResponeRule; /** * The version of the ruleset. diff --git a/src/resources/rulesets/rulesets.ts b/src/resources/rulesets/rulesets.ts index d3a32516f9..3ea85115d1 100644 --- a/src/resources/rulesets/rulesets.ts +++ b/src/resources/rulesets/rulesets.ts @@ -200,9 +200,19 @@ export class Rulesets extends APIResource { export class RulesetsSinglePage extends SinglePage {} -export type RequestRule = RulesAPI.BlockRule | RulesAPI.ExecuteRule | RulesAPI.LogRule | RulesAPI.SkipRule; +/** + * The list of rules in the ruleset. + */ +export type RequestRule = Array< + RulesAPI.BlockRule | RulesAPI.ExecuteRule | RulesAPI.LogRule | RulesAPI.SkipRule +>; -export type ResponeRule = RulesAPI.BlockRule | RulesAPI.ExecuteRule | RulesAPI.LogRule | RulesAPI.SkipRule; +/** + * The list of rules in the ruleset. + */ +export type ResponeRule = Array< + RulesAPI.BlockRule | RulesAPI.ExecuteRule | RulesAPI.LogRule | RulesAPI.SkipRule +>; /** * A ruleset object. @@ -322,7 +332,7 @@ export interface RulesetCreateResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: ResponeRule; /** * The version of the ruleset. @@ -390,7 +400,7 @@ export interface RulesetUpdateResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: ResponeRule; /** * The version of the ruleset. @@ -458,7 +468,7 @@ export interface RulesetGetResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: ResponeRule; /** * The version of the ruleset. @@ -513,7 +523,7 @@ export interface RulesetCreateParams { /** * Body param: The list of rules in the ruleset. */ - rules: Array; + rules: RequestRule; /** * Path param: The Account ID to use for this endpoint. Mutually exclusive with the @@ -537,7 +547,7 @@ export interface RulesetUpdateParams { /** * Body param: The list of rules in the ruleset. */ - rules: Array; + rules: RequestRule; /** * Path param: The Account ID to use for this endpoint. Mutually exclusive with the diff --git a/src/resources/rulesets/versions/by-tag.ts b/src/resources/rulesets/versions/by-tag.ts index 077a833ec4..4a86da8b4f 100644 --- a/src/resources/rulesets/versions/by-tag.ts +++ b/src/resources/rulesets/versions/by-tag.ts @@ -81,7 +81,7 @@ export interface ByTagGetResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.ResponeRule; /** * The version of the ruleset. diff --git a/src/resources/rulesets/versions/versions.ts b/src/resources/rulesets/versions/versions.ts index 0381f4c5b4..e92b4b36ea 100644 --- a/src/resources/rulesets/versions/versions.ts +++ b/src/resources/rulesets/versions/versions.ts @@ -202,7 +202,7 @@ export interface VersionGetResponse { /** * The list of rules in the ruleset. */ - rules: Array; + rules: RulesetsAPI.ResponeRule; /** * The version of the ruleset. diff --git a/src/resources/secondary-dns/incoming.ts b/src/resources/secondary-dns/incoming.ts index 74f07676fa..1db7e1b250 100644 --- a/src/resources/secondary-dns/incoming.ts +++ b/src/resources/secondary-dns/incoming.ts @@ -3,7 +3,6 @@ import * as Core from 'cloudflare/core'; import { APIResource } from 'cloudflare/resource'; import * as IncomingAPI from 'cloudflare/resources/secondary-dns/incoming'; -import * as PeersAPI from 'cloudflare/resources/secondary-dns/peers'; export class IncomingResource extends APIResource { /** @@ -97,7 +96,7 @@ export interface Incoming { /** * A list of peer tags. */ - peers?: Array; + peers?: Array; /** * The serial number of the SOA for the given zone. @@ -137,7 +136,7 @@ export interface IncomingCreateResponse { /** * A list of peer tags. */ - peers?: Array; + peers?: Array; /** * The serial number of the SOA for the given zone. @@ -177,7 +176,7 @@ export interface IncomingUpdateResponse { /** * A list of peer tags. */ - peers?: Array; + peers?: Array; /** * The serial number of the SOA for the given zone. @@ -221,7 +220,7 @@ export interface IncomingGetResponse { /** * A list of peer tags. */ - peers?: Array; + peers?: Array; /** * The serial number of the SOA for the given zone. @@ -249,7 +248,7 @@ export interface IncomingCreateParams { /** * Body param: A list of peer tags. */ - peers: Array; + peers: Array; } export interface IncomingUpdateParams { @@ -272,7 +271,7 @@ export interface IncomingUpdateParams { /** * Body param: A list of peer tags. */ - peers: Array; + peers: Array; } export interface IncomingDeleteParams { diff --git a/src/resources/secondary-dns/index.ts b/src/resources/secondary-dns/index.ts index 336558cb9a..8bf7098c70 100644 --- a/src/resources/secondary-dns/index.ts +++ b/src/resources/secondary-dns/index.ts @@ -45,7 +45,6 @@ export { } from './incoming'; export { Peer, - Peers, PeerDeleteResponse, PeerCreateParams, PeerUpdateParams, @@ -53,6 +52,7 @@ export { PeerDeleteParams, PeerGetParams, PeersSinglePage, + Peers, } from './peers'; export { SecondaryDNS } from './secondary-dns'; export { diff --git a/src/resources/secondary-dns/outgoing/outgoing.ts b/src/resources/secondary-dns/outgoing/outgoing.ts index 33d424196a..33a24b1bb0 100644 --- a/src/resources/secondary-dns/outgoing/outgoing.ts +++ b/src/resources/secondary-dns/outgoing/outgoing.ts @@ -3,7 +3,6 @@ import * as Core from 'cloudflare/core'; import { APIResource } from 'cloudflare/resource'; import * as OutgoingAPI from 'cloudflare/resources/secondary-dns/outgoing/outgoing'; -import * as PeersAPI from 'cloudflare/resources/secondary-dns/peers'; import * as StatusAPI from 'cloudflare/resources/secondary-dns/outgoing/status'; export class OutgoingResource extends APIResource { @@ -147,7 +146,7 @@ export interface Outgoing { /** * A list of peer tags. */ - peers?: Array; + peers?: Array; /** * The serial number of the SOA for the given zone. @@ -186,7 +185,7 @@ export interface OutgoingCreateResponse { /** * A list of peer tags. */ - peers?: Array; + peers?: Array; /** * The serial number of the SOA for the given zone. @@ -220,7 +219,7 @@ export interface OutgoingUpdateResponse { /** * A list of peer tags. */ - peers?: Array; + peers?: Array; /** * The serial number of the SOA for the given zone. @@ -264,7 +263,7 @@ export interface OutgoingGetResponse { /** * A list of peer tags. */ - peers?: Array; + peers?: Array; /** * The serial number of the SOA for the given zone. @@ -286,7 +285,7 @@ export interface OutgoingCreateParams { /** * Body param: A list of peer tags. */ - peers: Array; + peers: Array; } export interface OutgoingUpdateParams { @@ -303,7 +302,7 @@ export interface OutgoingUpdateParams { /** * Body param: A list of peer tags. */ - peers: Array; + peers: Array; } export interface OutgoingDeleteParams { diff --git a/src/resources/secondary-dns/peers.ts b/src/resources/secondary-dns/peers.ts index e37692a807..ed3c5eadc2 100644 --- a/src/resources/secondary-dns/peers.ts +++ b/src/resources/secondary-dns/peers.ts @@ -107,8 +107,6 @@ export interface Peer { tsig_id?: string; } -export type Peers = unknown; - export interface PeerDeleteResponse { id?: string; } @@ -185,7 +183,6 @@ export interface PeerGetParams { export namespace Peers { export import Peer = PeersAPI.Peer; - export import Peers = PeersAPI.Peers; export import PeerDeleteResponse = PeersAPI.PeerDeleteResponse; export import PeersSinglePage = PeersAPI.PeersSinglePage; export import PeerCreateParams = PeersAPI.PeerCreateParams; diff --git a/src/resources/warp-connector.ts b/src/resources/warp-connector.ts index 54a05006b2..44165c61a5 100644 --- a/src/resources/warp-connector.ts +++ b/src/resources/warp-connector.ts @@ -132,7 +132,7 @@ export namespace WARPConnectorCreateResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -204,7 +204,7 @@ export namespace WARPConnectorCreateResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -279,7 +279,7 @@ export namespace WARPConnectorListResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -351,7 +351,7 @@ export namespace WARPConnectorListResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -426,7 +426,7 @@ export namespace WARPConnectorDeleteResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -498,7 +498,7 @@ export namespace WARPConnectorDeleteResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -573,7 +573,7 @@ export namespace WARPConnectorEditResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -645,7 +645,7 @@ export namespace WARPConnectorEditResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -720,7 +720,7 @@ export namespace WARPConnectorGetResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -792,7 +792,7 @@ export namespace WARPConnectorGetResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's diff --git a/src/resources/zero-trust/tunnels/connections.ts b/src/resources/zero-trust/tunnels/connections.ts index 9a299ec2f3..43951848cf 100644 --- a/src/resources/zero-trust/tunnels/connections.ts +++ b/src/resources/zero-trust/tunnels/connections.ts @@ -66,7 +66,7 @@ export interface Client { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - conns?: Array; + conns?: TunnelsAPI.Connection; /** * Features enabled for the Cloudflare Tunnel. diff --git a/src/resources/zero-trust/tunnels/tunnels.ts b/src/resources/zero-trust/tunnels/tunnels.ts index 79489691b8..d92ffd55c4 100644 --- a/src/resources/zero-trust/tunnels/tunnels.ts +++ b/src/resources/zero-trust/tunnels/tunnels.ts @@ -93,49 +93,56 @@ export class Tunnels extends APIResource { export class TunnelListResponsesV4PagePaginationArray extends V4PagePaginationArray {} -export interface Connection { - /** - * UUID of the Cloudflare Tunnel connection. - */ - id?: string; +/** + * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. + */ +export type Connection = Array; - /** - * UUID of the cloudflared instance. - */ - client_id?: unknown; +export namespace Connection { + export interface ConnectionItem { + /** + * UUID of the Cloudflare Tunnel connection. + */ + id?: string; - /** - * The cloudflared version used to establish this connection. - */ - client_version?: string; + /** + * UUID of the cloudflared instance. + */ + client_id?: unknown; - /** - * The Cloudflare data center used for this connection. - */ - colo_name?: string; + /** + * The cloudflared version used to establish this connection. + */ + client_version?: string; - /** - * Cloudflare continues to track connections for several minutes after they - * disconnect. This is an optimization to improve latency and reliability of - * reconnecting. If `true`, the connection has disconnected but is still being - * tracked. If `false`, the connection is actively serving traffic. - */ - is_pending_reconnect?: boolean; + /** + * The Cloudflare data center used for this connection. + */ + colo_name?: string; - /** - * Timestamp of when the connection was established. - */ - opened_at?: string; + /** + * Cloudflare continues to track connections for several minutes after they + * disconnect. This is an optimization to improve latency and reliability of + * reconnecting. If `true`, the connection has disconnected but is still being + * tracked. If `false`, the connection is actively serving traffic. + */ + is_pending_reconnect?: boolean; - /** - * The public IP address of the host running cloudflared. - */ - origin_ip?: string; + /** + * Timestamp of when the connection was established. + */ + opened_at?: string; - /** - * UUID of the Cloudflare Tunnel connection. - */ - uuid?: string; + /** + * The public IP address of the host running cloudflared. + */ + origin_ip?: string; + + /** + * UUID of the Cloudflare Tunnel connection. + */ + uuid?: string; + } } export interface Tunnel { @@ -213,7 +220,7 @@ export namespace TunnelListResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -285,7 +292,7 @@ export namespace TunnelListResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -360,7 +367,7 @@ export namespace TunnelEditResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's @@ -432,7 +439,7 @@ export namespace TunnelEditResponse { /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ - connections?: Array; + connections?: TunnelsAPI.Connection; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's