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 PutApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents: { 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 PutApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents = ClosedEnum; export declare const PutApiLeadScraperMicroserviceApiV1WebhooksIncludedFields: { 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 PutApiLeadScraperMicroserviceApiV1WebhooksIncludedFields = ClosedEnum; export declare const PutApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat: { 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 PutApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat = ClosedEnum; export type PutApiLeadScraperMicroserviceApiV1WebhooksMetadata = {}; export type PutApiLeadScraperMicroserviceApiV1WebhooksWebhook = { 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?: PutApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat | 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?: PutApiLeadScraperMicroserviceApiV1WebhooksMetadata | undefined; webhookName?: string | undefined; }; export type PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody = { webhook?: PutApiLeadScraperMicroserviceApiV1WebhooksWebhook | undefined; }; export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents: { 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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents = ClosedEnum; export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields: { 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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields = ClosedEnum; export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat: { 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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat = ClosedEnum; export type PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata = {}; export type PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook = { 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?: PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat | 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?: PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata | undefined; webhookName?: string | undefined; }; /** * Updates an existing webhook configuration */ export type PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody = { webhook?: PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook | undefined; }; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$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 PutApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$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 `PutApiLeadScraperMicroserviceApiV1WebhooksTriggerEvents$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 PutApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$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 PutApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$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 `PutApiLeadScraperMicroserviceApiV1WebhooksIncludedFields$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 PutApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$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 PutApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$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 `PutApiLeadScraperMicroserviceApiV1WebhooksPayloadFormat$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 PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$inboundSchema: z.ZodType; /** @internal */ export type PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$Outbound = {}; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$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 PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$Outbound` instead. */ type Outbound = PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$Outbound; } export declare function putApiLeadScraperMicroserviceApiV1WebhooksMetadataToJSON(putApiLeadScraperMicroserviceApiV1WebhooksMetadata: PutApiLeadScraperMicroserviceApiV1WebhooksMetadata): string; export declare function putApiLeadScraperMicroserviceApiV1WebhooksMetadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$inboundSchema: z.ZodType; /** @internal */ export type PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$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?: PutApiLeadScraperMicroserviceApiV1WebhooksMetadata$Outbound | undefined; webhookName?: string | undefined; }; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$Outbound` instead. */ type Outbound = PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$Outbound; } export declare function putApiLeadScraperMicroserviceApiV1WebhooksWebhookToJSON(putApiLeadScraperMicroserviceApiV1WebhooksWebhook: PutApiLeadScraperMicroserviceApiV1WebhooksWebhook): string; export declare function putApiLeadScraperMicroserviceApiV1WebhooksWebhookFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody$inboundSchema: z.ZodType; /** @internal */ export type PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody$Outbound = { webhook?: PutApiLeadScraperMicroserviceApiV1WebhooksWebhook$Outbound | undefined; }; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody$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 PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody$Outbound` instead. */ type Outbound = PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody$Outbound; } export declare function putApiLeadScraperMicroserviceApiV1WebhooksRequestBodyToJSON(putApiLeadScraperMicroserviceApiV1WebhooksRequestBody: PutApiLeadScraperMicroserviceApiV1WebhooksRequestBody): string; export declare function putApiLeadScraperMicroserviceApiV1WebhooksRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$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 `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksTriggerEvents$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$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 `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksIncludedFields$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$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 `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksPayloadFormat$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$inboundSchema: z.ZodType; /** @internal */ export type PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$Outbound = {}; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$Outbound` instead. */ type Outbound = PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$Outbound; } export declare function putApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadataToJSON(putApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata: PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata): string; export declare function putApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$inboundSchema: z.ZodType; /** @internal */ export type PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$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?: PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksMetadata$Outbound | undefined; webhookName?: string | undefined; }; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$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 PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$Outbound` instead. */ type Outbound = PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$Outbound; } export declare function putApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhookToJSON(putApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook: PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook): string; export declare function putApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhookFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody$inboundSchema: z.ZodType; /** @internal */ export type PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody$Outbound = { webhook?: PutApiLeadScraperMicroserviceApiV1WebhooksWebhooksWebhook$Outbound | undefined; }; /** @internal */ export declare const PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody$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 PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody$ { /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody$Outbound` instead. */ type Outbound = PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody$Outbound; } export declare function putApiLeadScraperMicroserviceApiV1WebhooksResponseBodyToJSON(putApiLeadScraperMicroserviceApiV1WebhooksResponseBody: PutApiLeadScraperMicroserviceApiV1WebhooksResponseBody): string; export declare function putApiLeadScraperMicroserviceApiV1WebhooksResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putapileadscrapermicroserviceapiv1webhooks.d.ts.map