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 PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody = { organizationId?: string | undefined; workspaceId?: string | undefined; tenantId?: string | undefined; accountId?: string | undefined; name?: string | undefined; description?: string | undefined; scopes?: Array | undefined; expiresAt?: Date | undefined; maxUses?: number | undefined; allowedIps?: Array | undefined; rateLimit?: number | undefined; enforceSigning?: boolean | undefined; allowedSignatureAlgorithms?: Array | undefined; enforceMutualTls?: boolean | undefined; alertEmails?: Array | undefined; alertOnQuotaThreshold?: boolean | undefined; quotaAlertThreshold?: number | undefined; }; export declare const PostApiLeadScraperMicroserviceApiV1ApiKeysStatus: { 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 PostApiLeadScraperMicroserviceApiV1ApiKeysStatus = ClosedEnum; export type PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey = { 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?: PostApiLeadScraperMicroserviceApiV1ApiKeysStatus | 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; }; /** * Creates a new API key with specified permissions and settings */ export type PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody = { apiKey?: PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey | undefined; keyValue?: string | undefined; }; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody$inboundSchema: z.ZodType; /** @internal */ export type PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody$Outbound = { organizationId?: string | undefined; workspaceId?: string | undefined; tenantId?: string | undefined; accountId?: string | undefined; name?: string | undefined; description?: string | undefined; scopes?: Array | undefined; expiresAt?: string | undefined; maxUses?: number | undefined; allowedIps?: Array | undefined; rateLimit?: number | undefined; enforceSigning?: boolean | undefined; allowedSignatureAlgorithms?: Array | undefined; enforceMutualTls?: boolean | undefined; alertEmails?: Array | undefined; alertOnQuotaThreshold?: boolean | undefined; quotaAlertThreshold?: number | undefined; }; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody$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 PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody$Outbound` instead. */ type Outbound = PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody$Outbound; } export declare function postApiLeadScraperMicroserviceApiV1ApiKeysRequestBodyToJSON(postApiLeadScraperMicroserviceApiV1ApiKeysRequestBody: PostApiLeadScraperMicroserviceApiV1ApiKeysRequestBody): string; export declare function postApiLeadScraperMicroserviceApiV1ApiKeysRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1ApiKeysStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1ApiKeysStatus$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 PostApiLeadScraperMicroserviceApiV1ApiKeysStatus$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysStatus$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 `PostApiLeadScraperMicroserviceApiV1ApiKeysStatus$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 PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$inboundSchema: z.ZodType; /** @internal */ export type PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$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 PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$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 PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$Outbound` instead. */ type Outbound = PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$Outbound; } export declare function postApiLeadScraperMicroserviceApiV1ApiKeysApiKeyToJSON(postApiLeadScraperMicroserviceApiV1ApiKeysApiKey: PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey): string; export declare function postApiLeadScraperMicroserviceApiV1ApiKeysApiKeyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody$inboundSchema: z.ZodType; /** @internal */ export type PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody$Outbound = { apiKey?: PostApiLeadScraperMicroserviceApiV1ApiKeysApiKey$Outbound | undefined; keyValue?: string | undefined; }; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody$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 PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody$Outbound` instead. */ type Outbound = PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody$Outbound; } export declare function postApiLeadScraperMicroserviceApiV1ApiKeysResponseBodyToJSON(postApiLeadScraperMicroserviceApiV1ApiKeysResponseBody: PostApiLeadScraperMicroserviceApiV1ApiKeysResponseBody): string; export declare function postApiLeadScraperMicroserviceApiV1ApiKeysResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postapileadscrapermicroserviceapiv1apikeys.d.ts.map