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 declare const PostApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents: { readonly TriggerEventUnspecified: "TRIGGER_EVENT_UNSPECIFIED"; readonly TriggerEventJobStarted: "TRIGGER_EVENT_JOB_STARTED"; readonly TriggerEventJobCompleted: "TRIGGER_EVENT_JOB_COMPLETED"; readonly TriggerEventJobFailed: "TRIGGER_EVENT_JOB_FAILED"; readonly TriggerEventLeadFound: "TRIGGER_EVENT_LEAD_FOUND"; readonly TriggerEventQuotaExceeded: "TRIGGER_EVENT_QUOTA_EXCEEDED"; readonly TriggerEventErrorThresholdReached: "TRIGGER_EVENT_ERROR_THRESHOLD_REACHED"; readonly TriggerEventRateLimitReached: "TRIGGER_EVENT_RATE_LIMIT_REACHED"; readonly TriggerEventDataValidationFailed: "TRIGGER_EVENT_DATA_VALIDATION_FAILED"; readonly TriggerEventNewProxyNeeded: "TRIGGER_EVENT_NEW_PROXY_NEEDED"; readonly TriggerEventScheduledMaintenance: "TRIGGER_EVENT_SCHEDULED_MAINTENANCE"; }; export type PostApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents = ClosedEnum; export declare const PostApiLeadScraperMicroserviceApiV1WebhooksIncludedFields: { readonly IncludedFieldUnspecified: "INCLUDED_FIELD_UNSPECIFIED"; readonly IncludedFieldName: "INCLUDED_FIELD_NAME"; readonly IncludedFieldWebsite: "INCLUDED_FIELD_WEBSITE"; readonly IncludedFieldPhone: "INCLUDED_FIELD_PHONE"; readonly IncludedFieldAddress: "INCLUDED_FIELD_ADDRESS"; readonly IncludedFieldLocation: "INCLUDED_FIELD_LOCATION"; readonly IncludedFieldCoordinates: "INCLUDED_FIELD_COORDINATES"; readonly IncludedFieldGoogleRating: "INCLUDED_FIELD_GOOGLE_RATING"; readonly IncludedFieldReviewCount: "INCLUDED_FIELD_REVIEW_COUNT"; readonly IncludedFieldReviews: "INCLUDED_FIELD_REVIEWS"; readonly IncludedFieldBusinessHours: "INCLUDED_FIELD_BUSINESS_HOURS"; readonly IncludedFieldBusinessStatus: "INCLUDED_FIELD_BUSINESS_STATUS"; readonly IncludedFieldPlaceId: "INCLUDED_FIELD_PLACE_ID"; readonly IncludedFieldGoogleMapsUrl: "INCLUDED_FIELD_GOOGLE_MAPS_URL"; readonly IncludedFieldPhotos: "INCLUDED_FIELD_PHOTOS"; readonly IncludedFieldMainPhoto: "INCLUDED_FIELD_MAIN_PHOTO"; readonly IncludedFieldBusinessTypes: "INCLUDED_FIELD_BUSINESS_TYPES"; readonly IncludedFieldAmenities: "INCLUDED_FIELD_AMENITIES"; readonly IncludedFieldPaymentMethods: "INCLUDED_FIELD_PAYMENT_METHODS"; readonly IncludedFieldSocialProfiles: "INCLUDED_FIELD_SOCIAL_PROFILES"; readonly IncludedFieldEmployeeCount: "INCLUDED_FIELD_EMPLOYEE_COUNT"; readonly IncludedFieldRevenueInfo: "INCLUDED_FIELD_REVENUE_INFO"; readonly IncludedFieldFoundedYear: "INCLUDED_FIELD_FOUNDED_YEAR"; readonly IncludedFieldCertifications: "INCLUDED_FIELD_CERTIFICATIONS"; readonly IncludedFieldNaicsCode: "INCLUDED_FIELD_NAICS_CODE"; readonly IncludedFieldSicCode: "INCLUDED_FIELD_SIC_CODE"; readonly IncludedFieldScrapingMetadata: "INCLUDED_FIELD_SCRAPING_METADATA"; readonly IncludedFieldComplianceInfo: "INCLUDED_FIELD_COMPLIANCE_INFO"; readonly IncludedFieldAlternatePhones: "INCLUDED_FIELD_ALTERNATE_PHONES"; readonly IncludedFieldContactPerson: "INCLUDED_FIELD_CONTACT_PERSON"; readonly IncludedFieldContactEmail: "INCLUDED_FIELD_CONTACT_EMAIL"; }; export type PostApiLeadScraperMicroserviceApiV1WebhooksIncludedFields = ClosedEnum; export declare const PostApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat: { readonly PayloadFormatUnspecified: "PAYLOAD_FORMAT_UNSPECIFIED"; readonly PayloadFormatJson: "PAYLOAD_FORMAT_JSON"; readonly PayloadFormatXml: "PAYLOAD_FORMAT_XML"; readonly PayloadFormatFormData: "PAYLOAD_FORMAT_FORM_DATA"; readonly PayloadFormatProtobuf: "PAYLOAD_FORMAT_PROTOBUF"; readonly PayloadFormatYaml: "PAYLOAD_FORMAT_YAML"; }; export type PostApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat = ClosedEnum; export type PostApiLeadScraperMicroserviceApiV1WebhooksMetadata = {}; export type Webhook = { id?: string | undefined; url?: string | undefined; authType?: string | undefined; authToken?: string | undefined; customHeaders?: { [k: string]: string; } | undefined; maxRetries?: number | undefined; retryInterval?: string | undefined; triggerEvents?: Array | undefined; includedFields?: Array | undefined; includeFullResults?: boolean | undefined; payloadFormat?: PostApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat | undefined; verifySsl?: boolean | undefined; signingSecret?: string | undefined; rateLimit?: number | undefined; rateLimitInterval?: string | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; lastTriggeredAt?: Date | undefined; successfulCalls?: number | undefined; failedCalls?: number | undefined; metadata?: PostApiLeadScraperMicroserviceApiV1WebhooksMetadata | undefined; webhookName?: string | undefined; }; export type PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody = { organizationId?: string | undefined; workspaceId?: string | undefined; tenantId?: string | undefined; accountId?: string | undefined; webhook?: Webhook | undefined; }; export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents: { readonly TriggerEventUnspecified: "TRIGGER_EVENT_UNSPECIFIED"; readonly TriggerEventJobStarted: "TRIGGER_EVENT_JOB_STARTED"; readonly TriggerEventJobCompleted: "TRIGGER_EVENT_JOB_COMPLETED"; readonly TriggerEventJobFailed: "TRIGGER_EVENT_JOB_FAILED"; readonly TriggerEventLeadFound: "TRIGGER_EVENT_LEAD_FOUND"; readonly TriggerEventQuotaExceeded: "TRIGGER_EVENT_QUOTA_EXCEEDED"; readonly TriggerEventErrorThresholdReached: "TRIGGER_EVENT_ERROR_THRESHOLD_REACHED"; readonly TriggerEventRateLimitReached: "TRIGGER_EVENT_RATE_LIMIT_REACHED"; readonly TriggerEventDataValidationFailed: "TRIGGER_EVENT_DATA_VALIDATION_FAILED"; readonly TriggerEventNewProxyNeeded: "TRIGGER_EVENT_NEW_PROXY_NEEDED"; readonly TriggerEventScheduledMaintenance: "TRIGGER_EVENT_SCHEDULED_MAINTENANCE"; }; export type PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents = ClosedEnum; export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields: { readonly IncludedFieldUnspecified: "INCLUDED_FIELD_UNSPECIFIED"; readonly IncludedFieldName: "INCLUDED_FIELD_NAME"; readonly IncludedFieldWebsite: "INCLUDED_FIELD_WEBSITE"; readonly IncludedFieldPhone: "INCLUDED_FIELD_PHONE"; readonly IncludedFieldAddress: "INCLUDED_FIELD_ADDRESS"; readonly IncludedFieldLocation: "INCLUDED_FIELD_LOCATION"; readonly IncludedFieldCoordinates: "INCLUDED_FIELD_COORDINATES"; readonly IncludedFieldGoogleRating: "INCLUDED_FIELD_GOOGLE_RATING"; readonly IncludedFieldReviewCount: "INCLUDED_FIELD_REVIEW_COUNT"; readonly IncludedFieldReviews: "INCLUDED_FIELD_REVIEWS"; readonly IncludedFieldBusinessHours: "INCLUDED_FIELD_BUSINESS_HOURS"; readonly IncludedFieldBusinessStatus: "INCLUDED_FIELD_BUSINESS_STATUS"; readonly IncludedFieldPlaceId: "INCLUDED_FIELD_PLACE_ID"; readonly IncludedFieldGoogleMapsUrl: "INCLUDED_FIELD_GOOGLE_MAPS_URL"; readonly IncludedFieldPhotos: "INCLUDED_FIELD_PHOTOS"; readonly IncludedFieldMainPhoto: "INCLUDED_FIELD_MAIN_PHOTO"; readonly IncludedFieldBusinessTypes: "INCLUDED_FIELD_BUSINESS_TYPES"; readonly IncludedFieldAmenities: "INCLUDED_FIELD_AMENITIES"; readonly IncludedFieldPaymentMethods: "INCLUDED_FIELD_PAYMENT_METHODS"; readonly IncludedFieldSocialProfiles: "INCLUDED_FIELD_SOCIAL_PROFILES"; readonly IncludedFieldEmployeeCount: "INCLUDED_FIELD_EMPLOYEE_COUNT"; readonly IncludedFieldRevenueInfo: "INCLUDED_FIELD_REVENUE_INFO"; readonly IncludedFieldFoundedYear: "INCLUDED_FIELD_FOUNDED_YEAR"; readonly IncludedFieldCertifications: "INCLUDED_FIELD_CERTIFICATIONS"; readonly IncludedFieldNaicsCode: "INCLUDED_FIELD_NAICS_CODE"; readonly IncludedFieldSicCode: "INCLUDED_FIELD_SIC_CODE"; readonly IncludedFieldScrapingMetadata: "INCLUDED_FIELD_SCRAPING_METADATA"; readonly IncludedFieldComplianceInfo: "INCLUDED_FIELD_COMPLIANCE_INFO"; readonly IncludedFieldAlternatePhones: "INCLUDED_FIELD_ALTERNATE_PHONES"; readonly IncludedFieldContactPerson: "INCLUDED_FIELD_CONTACT_PERSON"; readonly IncludedFieldContactEmail: "INCLUDED_FIELD_CONTACT_EMAIL"; }; export type PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields = ClosedEnum; export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat: { readonly PayloadFormatUnspecified: "PAYLOAD_FORMAT_UNSPECIFIED"; readonly PayloadFormatJson: "PAYLOAD_FORMAT_JSON"; readonly PayloadFormatXml: "PAYLOAD_FORMAT_XML"; readonly PayloadFormatFormData: "PAYLOAD_FORMAT_FORM_DATA"; readonly PayloadFormatProtobuf: "PAYLOAD_FORMAT_PROTOBUF"; readonly PayloadFormatYaml: "PAYLOAD_FORMAT_YAML"; }; export type PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat = ClosedEnum; export type PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata = {}; export type PostApiLeadScraperMicroserviceApiV1WebhooksWebhook = { id?: string | undefined; url?: string | undefined; authType?: string | undefined; authToken?: string | undefined; customHeaders?: { [k: string]: string; } | undefined; maxRetries?: number | undefined; retryInterval?: string | undefined; triggerEvents?: Array | undefined; includedFields?: Array | undefined; includeFullResults?: boolean | undefined; payloadFormat?: PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat | undefined; verifySsl?: boolean | undefined; signingSecret?: string | undefined; rateLimit?: number | undefined; rateLimitInterval?: string | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; lastTriggeredAt?: Date | undefined; successfulCalls?: number | undefined; failedCalls?: number | undefined; metadata?: PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata | undefined; webhookName?: string | undefined; }; /** * Creates a new webhook configuration for event notifications */ export type PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody = { webhook?: PostApiLeadScraperMicroserviceApiV1WebhooksWebhook | undefined; }; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$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 PostApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly TriggerEventUnspecified: "TRIGGER_EVENT_UNSPECIFIED"; readonly TriggerEventJobStarted: "TRIGGER_EVENT_JOB_STARTED"; readonly TriggerEventJobCompleted: "TRIGGER_EVENT_JOB_COMPLETED"; readonly TriggerEventJobFailed: "TRIGGER_EVENT_JOB_FAILED"; readonly TriggerEventLeadFound: "TRIGGER_EVENT_LEAD_FOUND"; readonly TriggerEventQuotaExceeded: "TRIGGER_EVENT_QUOTA_EXCEEDED"; readonly TriggerEventErrorThresholdReached: "TRIGGER_EVENT_ERROR_THRESHOLD_REACHED"; readonly TriggerEventRateLimitReached: "TRIGGER_EVENT_RATE_LIMIT_REACHED"; readonly TriggerEventDataValidationFailed: "TRIGGER_EVENT_DATA_VALIDATION_FAILED"; readonly TriggerEventNewProxyNeeded: "TRIGGER_EVENT_NEW_PROXY_NEEDED"; readonly TriggerEventScheduledMaintenance: "TRIGGER_EVENT_SCHEDULED_MAINTENANCE"; }>; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly TriggerEventUnspecified: "TRIGGER_EVENT_UNSPECIFIED"; readonly TriggerEventJobStarted: "TRIGGER_EVENT_JOB_STARTED"; readonly TriggerEventJobCompleted: "TRIGGER_EVENT_JOB_COMPLETED"; readonly TriggerEventJobFailed: "TRIGGER_EVENT_JOB_FAILED"; readonly TriggerEventLeadFound: "TRIGGER_EVENT_LEAD_FOUND"; readonly TriggerEventQuotaExceeded: "TRIGGER_EVENT_QUOTA_EXCEEDED"; readonly TriggerEventErrorThresholdReached: "TRIGGER_EVENT_ERROR_THRESHOLD_REACHED"; readonly TriggerEventRateLimitReached: "TRIGGER_EVENT_RATE_LIMIT_REACHED"; readonly TriggerEventDataValidationFailed: "TRIGGER_EVENT_DATA_VALIDATION_FAILED"; readonly TriggerEventNewProxyNeeded: "TRIGGER_EVENT_NEW_PROXY_NEEDED"; readonly TriggerEventScheduledMaintenance: "TRIGGER_EVENT_SCHEDULED_MAINTENANCE"; }>; } /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$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 PostApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly IncludedFieldUnspecified: "INCLUDED_FIELD_UNSPECIFIED"; readonly IncludedFieldName: "INCLUDED_FIELD_NAME"; readonly IncludedFieldWebsite: "INCLUDED_FIELD_WEBSITE"; readonly IncludedFieldPhone: "INCLUDED_FIELD_PHONE"; readonly IncludedFieldAddress: "INCLUDED_FIELD_ADDRESS"; readonly IncludedFieldLocation: "INCLUDED_FIELD_LOCATION"; readonly IncludedFieldCoordinates: "INCLUDED_FIELD_COORDINATES"; readonly IncludedFieldGoogleRating: "INCLUDED_FIELD_GOOGLE_RATING"; readonly IncludedFieldReviewCount: "INCLUDED_FIELD_REVIEW_COUNT"; readonly IncludedFieldReviews: "INCLUDED_FIELD_REVIEWS"; readonly IncludedFieldBusinessHours: "INCLUDED_FIELD_BUSINESS_HOURS"; readonly IncludedFieldBusinessStatus: "INCLUDED_FIELD_BUSINESS_STATUS"; readonly IncludedFieldPlaceId: "INCLUDED_FIELD_PLACE_ID"; readonly IncludedFieldGoogleMapsUrl: "INCLUDED_FIELD_GOOGLE_MAPS_URL"; readonly IncludedFieldPhotos: "INCLUDED_FIELD_PHOTOS"; readonly IncludedFieldMainPhoto: "INCLUDED_FIELD_MAIN_PHOTO"; readonly IncludedFieldBusinessTypes: "INCLUDED_FIELD_BUSINESS_TYPES"; readonly IncludedFieldAmenities: "INCLUDED_FIELD_AMENITIES"; readonly IncludedFieldPaymentMethods: "INCLUDED_FIELD_PAYMENT_METHODS"; readonly IncludedFieldSocialProfiles: "INCLUDED_FIELD_SOCIAL_PROFILES"; readonly IncludedFieldEmployeeCount: "INCLUDED_FIELD_EMPLOYEE_COUNT"; readonly IncludedFieldRevenueInfo: "INCLUDED_FIELD_REVENUE_INFO"; readonly IncludedFieldFoundedYear: "INCLUDED_FIELD_FOUNDED_YEAR"; readonly IncludedFieldCertifications: "INCLUDED_FIELD_CERTIFICATIONS"; readonly IncludedFieldNaicsCode: "INCLUDED_FIELD_NAICS_CODE"; readonly IncludedFieldSicCode: "INCLUDED_FIELD_SIC_CODE"; readonly IncludedFieldScrapingMetadata: "INCLUDED_FIELD_SCRAPING_METADATA"; readonly IncludedFieldComplianceInfo: "INCLUDED_FIELD_COMPLIANCE_INFO"; readonly IncludedFieldAlternatePhones: "INCLUDED_FIELD_ALTERNATE_PHONES"; readonly IncludedFieldContactPerson: "INCLUDED_FIELD_CONTACT_PERSON"; readonly IncludedFieldContactEmail: "INCLUDED_FIELD_CONTACT_EMAIL"; }>; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly IncludedFieldUnspecified: "INCLUDED_FIELD_UNSPECIFIED"; readonly IncludedFieldName: "INCLUDED_FIELD_NAME"; readonly IncludedFieldWebsite: "INCLUDED_FIELD_WEBSITE"; readonly IncludedFieldPhone: "INCLUDED_FIELD_PHONE"; readonly IncludedFieldAddress: "INCLUDED_FIELD_ADDRESS"; readonly IncludedFieldLocation: "INCLUDED_FIELD_LOCATION"; readonly IncludedFieldCoordinates: "INCLUDED_FIELD_COORDINATES"; readonly IncludedFieldGoogleRating: "INCLUDED_FIELD_GOOGLE_RATING"; readonly IncludedFieldReviewCount: "INCLUDED_FIELD_REVIEW_COUNT"; readonly IncludedFieldReviews: "INCLUDED_FIELD_REVIEWS"; readonly IncludedFieldBusinessHours: "INCLUDED_FIELD_BUSINESS_HOURS"; readonly IncludedFieldBusinessStatus: "INCLUDED_FIELD_BUSINESS_STATUS"; readonly IncludedFieldPlaceId: "INCLUDED_FIELD_PLACE_ID"; readonly IncludedFieldGoogleMapsUrl: "INCLUDED_FIELD_GOOGLE_MAPS_URL"; readonly IncludedFieldPhotos: "INCLUDED_FIELD_PHOTOS"; readonly IncludedFieldMainPhoto: "INCLUDED_FIELD_MAIN_PHOTO"; readonly IncludedFieldBusinessTypes: "INCLUDED_FIELD_BUSINESS_TYPES"; readonly IncludedFieldAmenities: "INCLUDED_FIELD_AMENITIES"; readonly IncludedFieldPaymentMethods: "INCLUDED_FIELD_PAYMENT_METHODS"; readonly IncludedFieldSocialProfiles: "INCLUDED_FIELD_SOCIAL_PROFILES"; readonly IncludedFieldEmployeeCount: "INCLUDED_FIELD_EMPLOYEE_COUNT"; readonly IncludedFieldRevenueInfo: "INCLUDED_FIELD_REVENUE_INFO"; readonly IncludedFieldFoundedYear: "INCLUDED_FIELD_FOUNDED_YEAR"; readonly IncludedFieldCertifications: "INCLUDED_FIELD_CERTIFICATIONS"; readonly IncludedFieldNaicsCode: "INCLUDED_FIELD_NAICS_CODE"; readonly IncludedFieldSicCode: "INCLUDED_FIELD_SIC_CODE"; readonly IncludedFieldScrapingMetadata: "INCLUDED_FIELD_SCRAPING_METADATA"; readonly IncludedFieldComplianceInfo: "INCLUDED_FIELD_COMPLIANCE_INFO"; readonly IncludedFieldAlternatePhones: "INCLUDED_FIELD_ALTERNATE_PHONES"; readonly IncludedFieldContactPerson: "INCLUDED_FIELD_CONTACT_PERSON"; readonly IncludedFieldContactEmail: "INCLUDED_FIELD_CONTACT_EMAIL"; }>; } /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$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 PostApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly PayloadFormatUnspecified: "PAYLOAD_FORMAT_UNSPECIFIED"; readonly PayloadFormatJson: "PAYLOAD_FORMAT_JSON"; readonly PayloadFormatXml: "PAYLOAD_FORMAT_XML"; readonly PayloadFormatFormData: "PAYLOAD_FORMAT_FORM_DATA"; readonly PayloadFormatProtobuf: "PAYLOAD_FORMAT_PROTOBUF"; readonly PayloadFormatYaml: "PAYLOAD_FORMAT_YAML"; }>; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly PayloadFormatUnspecified: "PAYLOAD_FORMAT_UNSPECIFIED"; readonly PayloadFormatJson: "PAYLOAD_FORMAT_JSON"; readonly PayloadFormatXml: "PAYLOAD_FORMAT_XML"; readonly PayloadFormatFormData: "PAYLOAD_FORMAT_FORM_DATA"; readonly PayloadFormatProtobuf: "PAYLOAD_FORMAT_PROTOBUF"; readonly PayloadFormatYaml: "PAYLOAD_FORMAT_YAML"; }>; } /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$inboundSchema: z.ZodType; /** @internal */ export type PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$Outbound = {}; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$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 PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$Outbound` instead. */ type Outbound = PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$Outbound; } export declare function postApiLeadScraperMicroserviceApiV1WebhooksMetadataToJSON(postApiLeadScraperMicroserviceApiV1WebhooksMetadata: PostApiLeadScraperMicroserviceApiV1WebhooksMetadata): string; export declare function postApiLeadScraperMicroserviceApiV1WebhooksMetadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Webhook$inboundSchema: z.ZodType; /** @internal */ export type Webhook$Outbound = { id?: string | undefined; url?: string | undefined; authType?: string | undefined; authToken?: string | undefined; customHeaders?: { [k: string]: string; } | undefined; maxRetries?: number | undefined; retryInterval?: string | undefined; triggerEvents?: Array | undefined; includedFields?: Array | undefined; includeFullResults?: boolean | undefined; payloadFormat: string; verifySsl?: boolean | undefined; signingSecret?: string | undefined; rateLimit?: number | undefined; rateLimitInterval?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; lastTriggeredAt?: string | undefined; successfulCalls?: number | undefined; failedCalls?: number | undefined; metadata?: PostApiLeadScraperMicroserviceApiV1WebhooksMetadata$Outbound | undefined; webhookName?: string | undefined; }; /** @internal */ export declare const Webhook$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 Webhook$ { /** @deprecated use `Webhook$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Webhook$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Webhook$Outbound` instead. */ type Outbound = Webhook$Outbound; } export declare function webhookToJSON(webhook: Webhook): string; export declare function webhookFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody$inboundSchema: z.ZodType; /** @internal */ export type PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody$Outbound = { organizationId?: string | undefined; workspaceId?: string | undefined; tenantId?: string | undefined; accountId?: string | undefined; webhook?: Webhook$Outbound | undefined; }; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody$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 PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody$Outbound` instead. */ type Outbound = PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody$Outbound; } export declare function postApiLeadScraperMicroserviceApiV1WebhooksRequestBodyToJSON(postApiLeadScraperMicroserviceApiV1WebhooksRequestBody: PostApiLeadScraperMicroserviceApiV1WebhooksRequestBody): string; export declare function postApiLeadScraperMicroserviceApiV1WebhooksRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$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 PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly TriggerEventUnspecified: "TRIGGER_EVENT_UNSPECIFIED"; readonly TriggerEventJobStarted: "TRIGGER_EVENT_JOB_STARTED"; readonly TriggerEventJobCompleted: "TRIGGER_EVENT_JOB_COMPLETED"; readonly TriggerEventJobFailed: "TRIGGER_EVENT_JOB_FAILED"; readonly TriggerEventLeadFound: "TRIGGER_EVENT_LEAD_FOUND"; readonly TriggerEventQuotaExceeded: "TRIGGER_EVENT_QUOTA_EXCEEDED"; readonly TriggerEventErrorThresholdReached: "TRIGGER_EVENT_ERROR_THRESHOLD_REACHED"; readonly TriggerEventRateLimitReached: "TRIGGER_EVENT_RATE_LIMIT_REACHED"; readonly TriggerEventDataValidationFailed: "TRIGGER_EVENT_DATA_VALIDATION_FAILED"; readonly TriggerEventNewProxyNeeded: "TRIGGER_EVENT_NEW_PROXY_NEEDED"; readonly TriggerEventScheduledMaintenance: "TRIGGER_EVENT_SCHEDULED_MAINTENANCE"; }>; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly TriggerEventUnspecified: "TRIGGER_EVENT_UNSPECIFIED"; readonly TriggerEventJobStarted: "TRIGGER_EVENT_JOB_STARTED"; readonly TriggerEventJobCompleted: "TRIGGER_EVENT_JOB_COMPLETED"; readonly TriggerEventJobFailed: "TRIGGER_EVENT_JOB_FAILED"; readonly TriggerEventLeadFound: "TRIGGER_EVENT_LEAD_FOUND"; readonly TriggerEventQuotaExceeded: "TRIGGER_EVENT_QUOTA_EXCEEDED"; readonly TriggerEventErrorThresholdReached: "TRIGGER_EVENT_ERROR_THRESHOLD_REACHED"; readonly TriggerEventRateLimitReached: "TRIGGER_EVENT_RATE_LIMIT_REACHED"; readonly TriggerEventDataValidationFailed: "TRIGGER_EVENT_DATA_VALIDATION_FAILED"; readonly TriggerEventNewProxyNeeded: "TRIGGER_EVENT_NEW_PROXY_NEEDED"; readonly TriggerEventScheduledMaintenance: "TRIGGER_EVENT_SCHEDULED_MAINTENANCE"; }>; } /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$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 PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly IncludedFieldUnspecified: "INCLUDED_FIELD_UNSPECIFIED"; readonly IncludedFieldName: "INCLUDED_FIELD_NAME"; readonly IncludedFieldWebsite: "INCLUDED_FIELD_WEBSITE"; readonly IncludedFieldPhone: "INCLUDED_FIELD_PHONE"; readonly IncludedFieldAddress: "INCLUDED_FIELD_ADDRESS"; readonly IncludedFieldLocation: "INCLUDED_FIELD_LOCATION"; readonly IncludedFieldCoordinates: "INCLUDED_FIELD_COORDINATES"; readonly IncludedFieldGoogleRating: "INCLUDED_FIELD_GOOGLE_RATING"; readonly IncludedFieldReviewCount: "INCLUDED_FIELD_REVIEW_COUNT"; readonly IncludedFieldReviews: "INCLUDED_FIELD_REVIEWS"; readonly IncludedFieldBusinessHours: "INCLUDED_FIELD_BUSINESS_HOURS"; readonly IncludedFieldBusinessStatus: "INCLUDED_FIELD_BUSINESS_STATUS"; readonly IncludedFieldPlaceId: "INCLUDED_FIELD_PLACE_ID"; readonly IncludedFieldGoogleMapsUrl: "INCLUDED_FIELD_GOOGLE_MAPS_URL"; readonly IncludedFieldPhotos: "INCLUDED_FIELD_PHOTOS"; readonly IncludedFieldMainPhoto: "INCLUDED_FIELD_MAIN_PHOTO"; readonly IncludedFieldBusinessTypes: "INCLUDED_FIELD_BUSINESS_TYPES"; readonly IncludedFieldAmenities: "INCLUDED_FIELD_AMENITIES"; readonly IncludedFieldPaymentMethods: "INCLUDED_FIELD_PAYMENT_METHODS"; readonly IncludedFieldSocialProfiles: "INCLUDED_FIELD_SOCIAL_PROFILES"; readonly IncludedFieldEmployeeCount: "INCLUDED_FIELD_EMPLOYEE_COUNT"; readonly IncludedFieldRevenueInfo: "INCLUDED_FIELD_REVENUE_INFO"; readonly IncludedFieldFoundedYear: "INCLUDED_FIELD_FOUNDED_YEAR"; readonly IncludedFieldCertifications: "INCLUDED_FIELD_CERTIFICATIONS"; readonly IncludedFieldNaicsCode: "INCLUDED_FIELD_NAICS_CODE"; readonly IncludedFieldSicCode: "INCLUDED_FIELD_SIC_CODE"; readonly IncludedFieldScrapingMetadata: "INCLUDED_FIELD_SCRAPING_METADATA"; readonly IncludedFieldComplianceInfo: "INCLUDED_FIELD_COMPLIANCE_INFO"; readonly IncludedFieldAlternatePhones: "INCLUDED_FIELD_ALTERNATE_PHONES"; readonly IncludedFieldContactPerson: "INCLUDED_FIELD_CONTACT_PERSON"; readonly IncludedFieldContactEmail: "INCLUDED_FIELD_CONTACT_EMAIL"; }>; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly IncludedFieldUnspecified: "INCLUDED_FIELD_UNSPECIFIED"; readonly IncludedFieldName: "INCLUDED_FIELD_NAME"; readonly IncludedFieldWebsite: "INCLUDED_FIELD_WEBSITE"; readonly IncludedFieldPhone: "INCLUDED_FIELD_PHONE"; readonly IncludedFieldAddress: "INCLUDED_FIELD_ADDRESS"; readonly IncludedFieldLocation: "INCLUDED_FIELD_LOCATION"; readonly IncludedFieldCoordinates: "INCLUDED_FIELD_COORDINATES"; readonly IncludedFieldGoogleRating: "INCLUDED_FIELD_GOOGLE_RATING"; readonly IncludedFieldReviewCount: "INCLUDED_FIELD_REVIEW_COUNT"; readonly IncludedFieldReviews: "INCLUDED_FIELD_REVIEWS"; readonly IncludedFieldBusinessHours: "INCLUDED_FIELD_BUSINESS_HOURS"; readonly IncludedFieldBusinessStatus: "INCLUDED_FIELD_BUSINESS_STATUS"; readonly IncludedFieldPlaceId: "INCLUDED_FIELD_PLACE_ID"; readonly IncludedFieldGoogleMapsUrl: "INCLUDED_FIELD_GOOGLE_MAPS_URL"; readonly IncludedFieldPhotos: "INCLUDED_FIELD_PHOTOS"; readonly IncludedFieldMainPhoto: "INCLUDED_FIELD_MAIN_PHOTO"; readonly IncludedFieldBusinessTypes: "INCLUDED_FIELD_BUSINESS_TYPES"; readonly IncludedFieldAmenities: "INCLUDED_FIELD_AMENITIES"; readonly IncludedFieldPaymentMethods: "INCLUDED_FIELD_PAYMENT_METHODS"; readonly IncludedFieldSocialProfiles: "INCLUDED_FIELD_SOCIAL_PROFILES"; readonly IncludedFieldEmployeeCount: "INCLUDED_FIELD_EMPLOYEE_COUNT"; readonly IncludedFieldRevenueInfo: "INCLUDED_FIELD_REVENUE_INFO"; readonly IncludedFieldFoundedYear: "INCLUDED_FIELD_FOUNDED_YEAR"; readonly IncludedFieldCertifications: "INCLUDED_FIELD_CERTIFICATIONS"; readonly IncludedFieldNaicsCode: "INCLUDED_FIELD_NAICS_CODE"; readonly IncludedFieldSicCode: "INCLUDED_FIELD_SIC_CODE"; readonly IncludedFieldScrapingMetadata: "INCLUDED_FIELD_SCRAPING_METADATA"; readonly IncludedFieldComplianceInfo: "INCLUDED_FIELD_COMPLIANCE_INFO"; readonly IncludedFieldAlternatePhones: "INCLUDED_FIELD_ALTERNATE_PHONES"; readonly IncludedFieldContactPerson: "INCLUDED_FIELD_CONTACT_PERSON"; readonly IncludedFieldContactEmail: "INCLUDED_FIELD_CONTACT_EMAIL"; }>; } /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$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 PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly PayloadFormatUnspecified: "PAYLOAD_FORMAT_UNSPECIFIED"; readonly PayloadFormatJson: "PAYLOAD_FORMAT_JSON"; readonly PayloadFormatXml: "PAYLOAD_FORMAT_XML"; readonly PayloadFormatFormData: "PAYLOAD_FORMAT_FORM_DATA"; readonly PayloadFormatProtobuf: "PAYLOAD_FORMAT_PROTOBUF"; readonly PayloadFormatYaml: "PAYLOAD_FORMAT_YAML"; }>; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly PayloadFormatUnspecified: "PAYLOAD_FORMAT_UNSPECIFIED"; readonly PayloadFormatJson: "PAYLOAD_FORMAT_JSON"; readonly PayloadFormatXml: "PAYLOAD_FORMAT_XML"; readonly PayloadFormatFormData: "PAYLOAD_FORMAT_FORM_DATA"; readonly PayloadFormatProtobuf: "PAYLOAD_FORMAT_PROTOBUF"; readonly PayloadFormatYaml: "PAYLOAD_FORMAT_YAML"; }>; } /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$inboundSchema: z.ZodType; /** @internal */ export type PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$Outbound = {}; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$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 PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$Outbound` instead. */ type Outbound = PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$Outbound; } export declare function postApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadataToJSON(postApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata: PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata): string; export declare function postApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$inboundSchema: z.ZodType; /** @internal */ export type PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$Outbound = { id?: string | undefined; url?: string | undefined; authType?: string | undefined; authToken?: string | undefined; customHeaders?: { [k: string]: string; } | undefined; maxRetries?: number | undefined; retryInterval?: string | undefined; triggerEvents?: Array | undefined; includedFields?: Array | undefined; includeFullResults?: boolean | undefined; payloadFormat: string; verifySsl?: boolean | undefined; signingSecret?: string | undefined; rateLimit?: number | undefined; rateLimitInterval?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; lastTriggeredAt?: string | undefined; successfulCalls?: number | undefined; failedCalls?: number | undefined; metadata?: PostApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$Outbound | undefined; webhookName?: string | undefined; }; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$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 PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$Outbound` instead. */ type Outbound = PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$Outbound; } export declare function postApiLeadScraperMicroserviceApiV1WebhooksWebhookToJSON(postApiLeadScraperMicroserviceApiV1WebhooksWebhook: PostApiLeadScraperMicroserviceApiV1WebhooksWebhook): string; export declare function postApiLeadScraperMicroserviceApiV1WebhooksWebhookFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody$inboundSchema: z.ZodType; /** @internal */ export type PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody$Outbound = { webhook?: PostApiLeadScraperMicroserviceApiV1WebhooksWebhook$Outbound | undefined; }; /** @internal */ export declare const PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody$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 PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody$ { /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody$Outbound` instead. */ type Outbound = PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody$Outbound; } export declare function postApiLeadScraperMicroserviceApiV1WebhooksResponseBodyToJSON(postApiLeadScraperMicroserviceApiV1WebhooksResponseBody: PostApiLeadScraperMicroserviceApiV1WebhooksResponseBody): string; export declare function postApiLeadScraperMicroserviceApiV1WebhooksResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postapileadscrapermicroserviceapiv1webhooks.d.ts.map