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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest = { keyId: string; organizationId?: string | undefined; tenantId?: string | undefined; }; export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdStatus: { 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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdStatus = ClosedEnum; export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdScopes: { readonly TenantApiKeyScopeUnspecified: "TENANT_API_KEY_SCOPE_UNSPECIFIED"; readonly TenantApiKeyScopeReadJobs: "TENANT_API_KEY_SCOPE_READ_JOBS"; readonly TenantApiKeyScopeReadLeads: "TENANT_API_KEY_SCOPE_READ_LEADS"; readonly TenantApiKeyScopeReadWorkflows: "TENANT_API_KEY_SCOPE_READ_WORKFLOWS"; readonly TenantApiKeyScopeReadAnalytics: "TENANT_API_KEY_SCOPE_READ_ANALYTICS"; readonly TenantApiKeyScopeReadSettings: "TENANT_API_KEY_SCOPE_READ_SETTINGS"; readonly TenantApiKeyScopeWriteJobs: "TENANT_API_KEY_SCOPE_WRITE_JOBS"; readonly TenantApiKeyScopeWriteLeads: "TENANT_API_KEY_SCOPE_WRITE_LEADS"; readonly TenantApiKeyScopeWriteWorkflows: "TENANT_API_KEY_SCOPE_WRITE_WORKFLOWS"; readonly TenantApiKeyScopeWriteSettings: "TENANT_API_KEY_SCOPE_WRITE_SETTINGS"; readonly TenantApiKeyScopeDeleteJobs: "TENANT_API_KEY_SCOPE_DELETE_JOBS"; readonly TenantApiKeyScopeDeleteLeads: "TENANT_API_KEY_SCOPE_DELETE_LEADS"; readonly TenantApiKeyScopeDeleteWorkflows: "TENANT_API_KEY_SCOPE_DELETE_WORKFLOWS"; readonly TenantApiKeyScopeExportData: "TENANT_API_KEY_SCOPE_EXPORT_DATA"; readonly TenantApiKeyScopeManageKeys: "TENANT_API_KEY_SCOPE_MANAGE_KEYS"; readonly TenantApiKeyScopeBillingRead: "TENANT_API_KEY_SCOPE_BILLING_READ"; readonly TenantApiKeyScopeBillingWrite: "TENANT_API_KEY_SCOPE_BILLING_WRITE"; readonly TenantApiKeyScopeAdmin: "TENANT_API_KEY_SCOPE_ADMIN"; }; export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdScopes = ClosedEnum; export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey = { id?: string | undefined; keyHash?: string | undefined; keyPrefix?: string | undefined; name?: string | undefined; description?: string | undefined; status?: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdStatus | undefined; scopes?: Array | undefined; maxUses?: number | undefined; allowedIps?: Array | undefined; useCount?: number | undefined; expiresAt?: Date | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; deletedAt?: Date | undefined; }; export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData = { apiKey?: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey | undefined; }; /** * Retrieves details of a specific tenant API key */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody = { data: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest$Outbound = { keyId: string; organizationId?: string | undefined; tenantId?: string | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequestToJSON(getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequest): string; export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdStatus$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdStatus$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdStatus$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 `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdStatus$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdScopes$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdScopes$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdScopes$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdScopes$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly TenantApiKeyScopeUnspecified: "TENANT_API_KEY_SCOPE_UNSPECIFIED"; readonly TenantApiKeyScopeReadJobs: "TENANT_API_KEY_SCOPE_READ_JOBS"; readonly TenantApiKeyScopeReadLeads: "TENANT_API_KEY_SCOPE_READ_LEADS"; readonly TenantApiKeyScopeReadWorkflows: "TENANT_API_KEY_SCOPE_READ_WORKFLOWS"; readonly TenantApiKeyScopeReadAnalytics: "TENANT_API_KEY_SCOPE_READ_ANALYTICS"; readonly TenantApiKeyScopeReadSettings: "TENANT_API_KEY_SCOPE_READ_SETTINGS"; readonly TenantApiKeyScopeWriteJobs: "TENANT_API_KEY_SCOPE_WRITE_JOBS"; readonly TenantApiKeyScopeWriteLeads: "TENANT_API_KEY_SCOPE_WRITE_LEADS"; readonly TenantApiKeyScopeWriteWorkflows: "TENANT_API_KEY_SCOPE_WRITE_WORKFLOWS"; readonly TenantApiKeyScopeWriteSettings: "TENANT_API_KEY_SCOPE_WRITE_SETTINGS"; readonly TenantApiKeyScopeDeleteJobs: "TENANT_API_KEY_SCOPE_DELETE_JOBS"; readonly TenantApiKeyScopeDeleteLeads: "TENANT_API_KEY_SCOPE_DELETE_LEADS"; readonly TenantApiKeyScopeDeleteWorkflows: "TENANT_API_KEY_SCOPE_DELETE_WORKFLOWS"; readonly TenantApiKeyScopeExportData: "TENANT_API_KEY_SCOPE_EXPORT_DATA"; readonly TenantApiKeyScopeManageKeys: "TENANT_API_KEY_SCOPE_MANAGE_KEYS"; readonly TenantApiKeyScopeBillingRead: "TENANT_API_KEY_SCOPE_BILLING_READ"; readonly TenantApiKeyScopeBillingWrite: "TENANT_API_KEY_SCOPE_BILLING_WRITE"; readonly TenantApiKeyScopeAdmin: "TENANT_API_KEY_SCOPE_ADMIN"; }>; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdScopes$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly TenantApiKeyScopeUnspecified: "TENANT_API_KEY_SCOPE_UNSPECIFIED"; readonly TenantApiKeyScopeReadJobs: "TENANT_API_KEY_SCOPE_READ_JOBS"; readonly TenantApiKeyScopeReadLeads: "TENANT_API_KEY_SCOPE_READ_LEADS"; readonly TenantApiKeyScopeReadWorkflows: "TENANT_API_KEY_SCOPE_READ_WORKFLOWS"; readonly TenantApiKeyScopeReadAnalytics: "TENANT_API_KEY_SCOPE_READ_ANALYTICS"; readonly TenantApiKeyScopeReadSettings: "TENANT_API_KEY_SCOPE_READ_SETTINGS"; readonly TenantApiKeyScopeWriteJobs: "TENANT_API_KEY_SCOPE_WRITE_JOBS"; readonly TenantApiKeyScopeWriteLeads: "TENANT_API_KEY_SCOPE_WRITE_LEADS"; readonly TenantApiKeyScopeWriteWorkflows: "TENANT_API_KEY_SCOPE_WRITE_WORKFLOWS"; readonly TenantApiKeyScopeWriteSettings: "TENANT_API_KEY_SCOPE_WRITE_SETTINGS"; readonly TenantApiKeyScopeDeleteJobs: "TENANT_API_KEY_SCOPE_DELETE_JOBS"; readonly TenantApiKeyScopeDeleteLeads: "TENANT_API_KEY_SCOPE_DELETE_LEADS"; readonly TenantApiKeyScopeDeleteWorkflows: "TENANT_API_KEY_SCOPE_DELETE_WORKFLOWS"; readonly TenantApiKeyScopeExportData: "TENANT_API_KEY_SCOPE_EXPORT_DATA"; readonly TenantApiKeyScopeManageKeys: "TENANT_API_KEY_SCOPE_MANAGE_KEYS"; readonly TenantApiKeyScopeBillingRead: "TENANT_API_KEY_SCOPE_BILLING_READ"; readonly TenantApiKeyScopeBillingWrite: "TENANT_API_KEY_SCOPE_BILLING_WRITE"; readonly TenantApiKeyScopeAdmin: "TENANT_API_KEY_SCOPE_ADMIN"; }>; } /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$Outbound = { id?: string | undefined; keyHash?: string | undefined; keyPrefix?: string | undefined; name?: string | undefined; description?: string | undefined; status: string; scopes?: Array | undefined; maxUses?: number | undefined; allowedIps?: Array | undefined; useCount?: number | undefined; expiresAt?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; deletedAt?: string | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKeyToJSON(getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey): string; export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKeyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$Outbound = { apiKey?: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdApiKey$Outbound | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdDataToJSON(getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData): string; export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody$Outbound = { data: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdData$Outbound; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBodyToJSON(getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBody): string; export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysKeyIdResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapileadscrapermicroserviceapiv1organizationstenantsapikeyskeyid.d.ts.map