import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "./models/index.js"; export declare class ScheduledTasks extends ClientSDK { /** * List scheduled tasks * * @remarks * Use when listing or managing scheduled tasks in an admin UI. Returns a list; supports filtering by status, type, and pagination. */ listScheduledTasks(request?: models.ListScheduledTasksRequest | undefined, options?: RequestOptions): Promise; /** * Create scheduled task * * @remarks * Use when setting up recurring data exports or other scheduled jobs. Ideal for report generation or syncing data on a schedule. */ createScheduledTask(request: models.CreateScheduledTaskRequest, options?: RequestOptions): Promise; /** * Schedule draft finalization * * @remarks * Triggers the draft invoice finalization workflow that scans computed draft invoices whose finalization delay has elapsed and finalizes them (assign invoice number, sync to vendors, attempt payment). */ scheduleDraftFinalization(options?: RequestOptions): Promise; /** * Schedule update billing period * * @remarks * Use when you need to trigger a billing-period update workflow (e.g. to recalculate or sync billing windows). */ scheduleUpdateBillingPeriod(request: models.ScheduleUpdateBillingPeriodRequest, options?: RequestOptions): Promise; /** * Get scheduled task * * @remarks * Use when you need to load a single scheduled task (e.g. to show details in a UI or check its configuration). */ getScheduledTask(id: string, options?: RequestOptions): Promise; /** * Update a scheduled task * * @remarks * Use when pausing or resuming a scheduled task. Only the enabled field can be changed. */ updateScheduledTask(id: string, body: models.UpdateScheduledTaskRequest, options?: RequestOptions): Promise; /** * Delete a scheduled task * * @remarks * Use when removing a scheduled task from the active roster. Archives the task and removes it from the scheduler (soft delete). */ deleteScheduledTask(id: string, options?: RequestOptions): Promise; /** * Trigger force run * * @remarks * Use when you need to run a scheduled export immediately (e.g. on-demand report or catch-up). Supports optional custom time range. */ triggerScheduledTaskRun(id: string, body?: models.TriggerForceRunRequest | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=scheduled-tasks.d.ts.map