import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The status of the webhook subscription. */ export declare const WebhookSubscriptionStatus: { readonly Pending: "pending"; readonly Verified: "verified"; readonly Removed: "removed"; readonly Unreachable: "unreachable"; }; /** * The status of the webhook subscription. */ export type WebhookSubscriptionStatus = ClosedEnum; export declare const SubscriptionTypes: { readonly BankAccount: "BankAccount"; readonly Company: "Company"; readonly CompanyBenefit: "CompanyBenefit"; readonly Contractor: "Contractor"; readonly ContractorPayment: "ContractorPayment"; readonly Employee: "Employee"; readonly EmployeeBenefit: "EmployeeBenefit"; readonly EmployeeJobCompensation: "EmployeeJobCompensation"; readonly ExternalPayroll: "ExternalPayroll"; readonly Form: "Form"; readonly Location: "Location"; readonly Notification: "Notification"; readonly Payroll: "Payroll"; readonly PayrollSync: "PayrollSync"; readonly PaySchedule: "PaySchedule"; readonly Signatory: "Signatory"; }; export type SubscriptionTypes = ClosedEnum; /** * The representation of webhook subscription. */ export type WebhookSubscription = { /** * The UUID of the webhook subscription. */ uuid: string; /** * The webhook subscriber URL. Updates will be POSTed to this URL. */ url?: string | undefined; /** * The status of the webhook subscription. */ status?: WebhookSubscriptionStatus | undefined; /** * Receive updates for these types. */ subscriptionTypes?: Array | undefined; }; /** @internal */ export declare const WebhookSubscriptionStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const SubscriptionTypes$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const WebhookSubscription$inboundSchema: z.ZodType; export declare function webhookSubscriptionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhooksubscription.d.ts.map