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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest = { organizationId?: string | undefined; tenantId?: string | undefined; pageSize?: number | undefined; pageNumber?: number | undefined; status?: string | undefined; }; export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListStatus: { 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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListStatus = ClosedEnum; export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListScopes: { 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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListScopes = ClosedEnum; export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys = { id?: string | undefined; keyHash?: string | undefined; keyPrefix?: string | undefined; name?: string | undefined; description?: string | undefined; status?: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListStatus | 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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData = { apiKeys?: Array | undefined; nextPageNumber?: number | undefined; totalCount?: number | undefined; }; /** * Retrieves all API keys for a specific tenant */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody = { data: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest$Outbound = { organizationId?: string | undefined; tenantId?: string | undefined; pageSize?: number | undefined; pageNumber?: number | undefined; status?: string | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequestToJSON(getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequest): string; export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListStatus$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListStatus$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListStatus$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 `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListStatus$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListScopes$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListScopes$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListScopes$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListScopes$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 `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListScopes$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeysToJSON(getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeys): string; export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListApiKeysFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$Outbound = { apiKeys?: Array | undefined; nextPageNumber?: number | undefined; totalCount?: number | undefined; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListDataToJSON(getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData): string; export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody$Outbound = { data: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListData$Outbound; }; /** @internal */ export declare const GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody$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 GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody$ { /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody$Outbound` instead. */ type Outbound = GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody$Outbound; } export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBodyToJSON(getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody: GetApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBody): string; export declare function getApiLeadScraperMicroserviceApiV1OrganizationsTenantsApiKeysListResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapileadscrapermicroserviceapiv1organizationstenantsapikeyslist.d.ts.map