import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest = { keyId: string; organizationId?: string | undefined; tenantId?: string | undefined; accountId?: string | undefined; workspaceId?: string | undefined; }; export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdStatus: { readonly StatusUnspecified: "STATUS_UNSPECIFIED"; readonly StatusActive: "STATUS_ACTIVE"; readonly StatusSuspended: "STATUS_SUSPENDED"; readonly StatusPendingVerification: "STATUS_PENDING_VERIFICATION"; readonly StatusRevoked: "STATUS_REVOKED"; readonly StatusExpired: "STATUS_EXPIRED"; readonly StatusRateLimited: "STATUS_RATE_LIMITED"; readonly StatusPendingReview: "STATUS_PENDING_REVIEW"; readonly StatusDeprecated: "STATUS_DEPRECATED"; readonly StatusMaintenance: "STATUS_MAINTENANCE"; }; export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdStatus = ClosedEnum; export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey = { id?: string | undefined; name?: string | undefined; keyHash?: string | undefined; keyPrefix?: string | undefined; scopes?: Array | undefined; allowedIps?: Array | undefined; allowedDomains?: Array | undefined; allowedEnvironments?: Array | undefined; isTestKey?: boolean | undefined; requestsPerSecond?: number | undefined; requestsPerDay?: number | undefined; concurrentRequests?: number | undefined; monthlyRequestQuota?: string | undefined; costPerRequest?: number | undefined; billingTier?: string | undefined; totalRequests?: string | undefined; totalErrors?: string | undefined; lastUsedAt?: Date | undefined; averageResponseTime?: number | undefined; endpointUsageJson?: string | undefined; errorRatesJson?: string | undefined; recentErrors?: string | undefined; successfulRequestsCount?: number | undefined; successRate?: number | undefined; status?: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdStatus | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; expiresAt?: Date | undefined; deletedAt?: Date | undefined; lastRotatedAt?: Date | undefined; lastSecurityReviewAt?: Date | undefined; requiresClientSecret?: boolean | undefined; clientSecretHash?: string | undefined; enforceHttps?: boolean | undefined; enforceSigning?: boolean | undefined; allowedSignatureAlgorithms?: Array | undefined; enforceMutualTls?: boolean | undefined; clientCertificateHash?: string | undefined; requireRequestSigning?: boolean | undefined; description?: string | undefined; metadataJson?: string | undefined; tags?: Array | undefined; apiVersion?: string | undefined; supportedFeatures?: Array | undefined; documentationUrl?: string | undefined; supportContact?: string | undefined; logAllRequests?: boolean | undefined; lastRotationReason?: string | undefined; lastRotationDate?: Date | undefined; rotationFrequencyDays?: number | undefined; complianceStandards?: Array | undefined; requiresAuditLogging?: boolean | undefined; dataResidency?: string | undefined; approvedIntegrations?: Array | undefined; alertEmails?: Array | undefined; webhookUrl?: string | undefined; alertOnQuotaThreshold?: boolean | undefined; quotaAlertThreshold?: number | undefined; alertOnErrorSpike?: boolean | undefined; errorAlertThreshold?: number | undefined; monitoringIntegrations?: Array | undefined; encrypted?: boolean | undefined; dataClassification?: string | undefined; maxUses?: number | undefined; rateLimit?: number | undefined; }; export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData = { apiKey?: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey | undefined; }; /** * Retrieves details of a specific API key */ export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody = { data: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest$Outbound = { keyId: string; organizationId?: string | undefined; tenantId?: string | undefined; accountId?: string | undefined; workspaceId?: string | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequestToJSON(getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequest): string; export declare function getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdStatus$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdStatus$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly StatusUnspecified: "STATUS_UNSPECIFIED"; readonly StatusActive: "STATUS_ACTIVE"; readonly StatusSuspended: "STATUS_SUSPENDED"; readonly StatusPendingVerification: "STATUS_PENDING_VERIFICATION"; readonly StatusRevoked: "STATUS_REVOKED"; readonly StatusExpired: "STATUS_EXPIRED"; readonly StatusRateLimited: "STATUS_RATE_LIMITED"; readonly StatusPendingReview: "STATUS_PENDING_REVIEW"; readonly StatusDeprecated: "STATUS_DEPRECATED"; readonly StatusMaintenance: "STATUS_MAINTENANCE"; }>; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly StatusUnspecified: "STATUS_UNSPECIFIED"; readonly StatusActive: "STATUS_ACTIVE"; readonly StatusSuspended: "STATUS_SUSPENDED"; readonly StatusPendingVerification: "STATUS_PENDING_VERIFICATION"; readonly StatusRevoked: "STATUS_REVOKED"; readonly StatusExpired: "STATUS_EXPIRED"; readonly StatusRateLimited: "STATUS_RATE_LIMITED"; readonly StatusPendingReview: "STATUS_PENDING_REVIEW"; readonly StatusDeprecated: "STATUS_DEPRECATED"; readonly StatusMaintenance: "STATUS_MAINTENANCE"; }>; } /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$Outbound = { id?: string | undefined; name?: string | undefined; keyHash?: string | undefined; keyPrefix?: string | undefined; scopes?: Array | undefined; allowedIps?: Array | undefined; allowedDomains?: Array | undefined; allowedEnvironments?: Array | undefined; isTestKey?: boolean | undefined; requestsPerSecond?: number | undefined; requestsPerDay?: number | undefined; concurrentRequests?: number | undefined; monthlyRequestQuota?: string | undefined; costPerRequest?: number | undefined; billingTier?: string | undefined; totalRequests?: string | undefined; totalErrors?: string | undefined; lastUsedAt?: string | undefined; averageResponseTime?: number | undefined; endpointUsageJson?: string | undefined; errorRatesJson?: string | undefined; recentErrors?: string | undefined; successfulRequestsCount?: number | undefined; successRate?: number | undefined; status: string; createdAt?: string | undefined; updatedAt?: string | undefined; expiresAt?: string | undefined; deletedAt?: string | undefined; lastRotatedAt?: string | undefined; lastSecurityReviewAt?: string | undefined; requiresClientSecret?: boolean | undefined; clientSecretHash?: string | undefined; enforceHttps?: boolean | undefined; enforceSigning?: boolean | undefined; allowedSignatureAlgorithms?: Array | undefined; enforceMutualTls?: boolean | undefined; clientCertificateHash?: string | undefined; requireRequestSigning?: boolean | undefined; description?: string | undefined; metadataJson?: string | undefined; tags?: Array | undefined; apiVersion?: string | undefined; supportedFeatures?: Array | undefined; documentationUrl?: string | undefined; supportContact?: string | undefined; logAllRequests?: boolean | undefined; lastRotationReason?: string | undefined; lastRotationDate?: string | undefined; rotationFrequencyDays?: number | undefined; complianceStandards?: Array | undefined; requiresAuditLogging?: boolean | undefined; dataResidency?: string | undefined; approvedIntegrations?: Array | undefined; alertEmails?: Array | undefined; webhookUrl?: string | undefined; alertOnQuotaThreshold?: boolean | undefined; quotaAlertThreshold?: number | undefined; alertOnErrorSpike?: boolean | undefined; errorAlertThreshold?: number | undefined; monitoringIntegrations?: Array | undefined; encrypted?: boolean | undefined; dataClassification?: string | undefined; maxUses?: number | undefined; rateLimit?: number | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKeyToJSON(getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey): string; export declare function getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKeyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$Outbound = { apiKey?: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdApiKey$Outbound | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdDataToJSON(getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData): string; export declare function getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody$Outbound = { data: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdData$Outbound; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBodyToJSON(getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody: GetApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBody): string; export declare function getApiLeadScraperMicroserviceApiV1ApiKeysKeyIdResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapileadscrapermicroserviceapiv1apikeyskeyid.d.ts.map