type Response = { data: T; status: number; }; export type Runtimeversionsresponse = Response; export type ReleaseChannelName = 'edge' | 'lts'; export type Runtimeversion = { displayName: string; }; type Releasechannel = { name: string; versions: Runtimeversion[]; }; export type Runtimeversionsbychannel = { channels: { [K in ReleaseChannelName]: Releasechannel; }; }; type Gatewayconfiguration = { ingress: Ingressconfiguration; logging: Loggingconfiguration; properties: Propertiesconfiguration; tracing?: Tracingconfiguration; }; type Ingressconfiguration = { forwardSslSession: boolean; lastMileSecurity: boolean; publicUrl: string; internalUrl?: string; }; type Loggingconfiguration = { forwardLogs: boolean; level: string; }; type Propertiesconfiguration = { connectionIdleTimeout: number; upstreamResponseTimeout: number; }; export type Tracinglabels = { type: 'environment' | 'requestHeader'; name: string; keyName: string; defaultValue: string; } | { type: 'literal'; name: string; defaultValue: string; }; type Tracingconfiguration = { enabled: boolean; labels?: Tracinglabels[]; sampling?: number; }; type Target = { id: string; provider: string; }; type Deployment = { target: Target; spec: { target: { environment: Target; annotations: { [key: string]: string; }; }; }; }; export type Managedgatewaydataresponse = Response; type Managedgatewaydata = { id: string; name: string; targetName: string; deployment: Deployment; apiLimits: number; status: string; ready: boolean; running: boolean; lastUpdated: string; kind: string; targetId: string; targetType: string; runtimeVersion: string; releaseChannel: ReleaseChannelName; minRuntimeVersion: string; size: string; dateCreated: string; configuration: Gatewayconfiguration; }; export type Managedgatewaycreateupdatebody = { name: string; targetId: string; runtimeVersion: string; releaseChannel: ReleaseChannelName; size: string; configuration: Gatewayconfiguration; }; type Managedgatewaycreatedediteddata = Omit & { gatewayId: string; desiredStatus: string; statusMessage: string; }; export type Managedgatewaycreateupdateresponse = Response; export type Desiredstatus = 'STARTED' | 'STOPPED'; export type Desiredstatusresponse = Response; type Desiredstatusresponsedata = { desiredStatus: Desiredstatus; }; export type Targetsresponse = Response; type Targetsresponsedata = { content: { id: string; name: string; type: string; }[]; }; export type Managedgatewayapisresponse = Response; type Managedgatewayapisresponsedata = { content: { id: string; apiName: string; version: string; label: string; instanceId: string; dateAdded: string; }[]; pageSize: number; pageNumber: number; totalElements: number; }; export type Createflagstype = { publicUrl: string; lastMileSecurity: boolean; forwardSslSession: boolean; upstreamResponseTimeout: number; connectionIdleTimeout: number; loggingLevel: string; forwardLogs: boolean; tracingEnabled: boolean; tracingSampling: number; tracingLabels: string; version?: string; releaseChannel: string; }; export type Editflagstype = { publicUrl?: string; lastMileSecurity?: boolean; forwardSslSession?: boolean; upstreamResponseTimeout?: number; connectionIdleTimeout?: number; loggingLevel?: string; forwardLogs?: boolean; tracingEnabled?: boolean; tracingSampling?: number; tracingLabels?: string; version?: string; releaseChannel?: string; }; export declare enum ReleaseChannelType { edge = "edge", lts = "lts" } export declare enum LoggingLevelType { debug = "debug", info = "info", warn = "warn", error = "error", fatal = "fatal" } export {};