import { z } from 'zod';

/**
 * Generated by orval v7.10.0 🍺
 * Do not edit manually.
 * ows-abacus-event
 * OpenAPI spec version: 1.0.0
 */

/**
 * Create an Abacus event
 */
declare const createAbacusEventHeader: z.ZodObject<{
    "Correlation-Id": z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    "Correlation-Id"?: string | undefined;
}, {
    "Correlation-Id"?: string | undefined;
}>;
declare const createAbacusEventBodyStatementPeriodIdMin = 0;
declare const createAbacusEventBodyTargetIdMin = 0;
declare const createAbacusEventBody: z.ZodObject<{
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodNumber;
    target_type: z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>;
}, "strip", z.ZodTypeAny, {
    event_name: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval";
    target_id: number;
    target_type: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance";
    event_date?: string | undefined;
    statement_period_id?: number | undefined;
}, {
    event_name: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval";
    target_id: number;
    target_type: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance";
    event_date?: string | undefined;
    statement_period_id?: number | undefined;
}>;
/**
 * Get an Abacus event by ID
 */
declare const getAbacusEventPathAbacusEventIdMin = 0;
declare const getAbacusEventParams: z.ZodObject<{
    abacus_event_id: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    abacus_event_id: number;
}, {
    abacus_event_id: number;
}>;
declare const getAbacusEventHeader: z.ZodObject<{
    "Correlation-Id": z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    "Correlation-Id"?: string | undefined;
}, {
    "Correlation-Id"?: string | undefined;
}>;
declare const getAbacusEventResponseAbacusEventIdMin = 0;
declare const getAbacusEventResponsePreviousAbacusEventIdMin = 0;
declare const getAbacusEventResponseStatementPeriodIdMin = 0;
declare const getAbacusEventResponseTargetIdMin = 0;
declare const getAbacusEventResponse: z.ZodObject<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, "strip", z.ZodTypeAny, {
    abacus_event_id?: number | undefined;
    created_by?: string | undefined;
    event_date?: string | undefined;
    event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
    statement_period_id?: number | undefined;
    target_id?: number | undefined;
    target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
    previous_abacus_event_id?: number | undefined;
    rolled_back_at?: string | undefined;
}, {
    abacus_event_id?: number | undefined;
    created_by?: string | undefined;
    event_date?: string | undefined;
    event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
    statement_period_id?: number | undefined;
    target_id?: number | undefined;
    target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
    previous_abacus_event_id?: number | undefined;
    rolled_back_at?: string | undefined;
}>;
/**
 * Get all events for a specified target type / id
 */
declare const getAbacusEventsByTargetPathTargetIdMin = 0;
declare const getAbacusEventsByTargetParams: z.ZodObject<{
    target_id: z.ZodNumber;
    target_type: z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>;
}, "strip", z.ZodTypeAny, {
    target_id: number;
    target_type: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance";
}, {
    target_id: number;
    target_type: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance";
}>;
declare const getAbacusEventsByTargetHeader: z.ZodObject<{
    "Correlation-Id": z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    "Correlation-Id"?: string | undefined;
}, {
    "Correlation-Id"?: string | undefined;
}>;
declare const getAbacusEventsByTargetResponseAbacusEventIdMin = 0;
declare const getAbacusEventsByTargetResponsePreviousAbacusEventIdMin = 0;
declare const getAbacusEventsByTargetResponseStatementPeriodIdMin = 0;
declare const getAbacusEventsByTargetResponseTargetIdMin = 0;
declare const getAbacusEventsByTargetResponseItem: z.ZodObject<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, "strip", z.ZodTypeAny, {
    abacus_event_id?: number | undefined;
    created_by?: string | undefined;
    event_date?: string | undefined;
    event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
    statement_period_id?: number | undefined;
    target_id?: number | undefined;
    target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
    previous_abacus_event_id?: number | undefined;
    rolled_back_at?: string | undefined;
}, {
    abacus_event_id?: number | undefined;
    created_by?: string | undefined;
    event_date?: string | undefined;
    event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
    statement_period_id?: number | undefined;
    target_id?: number | undefined;
    target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
    previous_abacus_event_id?: number | undefined;
    rolled_back_at?: string | undefined;
}>;
declare const getAbacusEventsByTargetResponse: z.ZodArray<z.ZodObject<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, "strip", z.ZodTypeAny, {
    abacus_event_id?: number | undefined;
    created_by?: string | undefined;
    event_date?: string | undefined;
    event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
    statement_period_id?: number | undefined;
    target_id?: number | undefined;
    target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
    previous_abacus_event_id?: number | undefined;
    rolled_back_at?: string | undefined;
}, {
    abacus_event_id?: number | undefined;
    created_by?: string | undefined;
    event_date?: string | undefined;
    event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
    statement_period_id?: number | undefined;
    target_id?: number | undefined;
    target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
    previous_abacus_event_id?: number | undefined;
    rolled_back_at?: string | undefined;
}>, "many">;
/**
 * Dataload Abacus events by Abacus event IDs
 */
declare const dataloadAbacusEventsHeader: z.ZodObject<{
    "Correlation-Id": z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    "Correlation-Id"?: string | undefined;
}, {
    "Correlation-Id"?: string | undefined;
}>;
declare const dataloadAbacusEventsBodyMin = 0;
declare const dataloadAbacusEventsBodyItem: z.ZodNumber;
declare const dataloadAbacusEventsBody: z.ZodArray<z.ZodNumber, "many">;
declare const dataloadAbacusEventsResponseItemsItemDataAbacusEventIdMin = 0;
declare const dataloadAbacusEventsResponseItemsItemDataPreviousAbacusEventIdMin = 0;
declare const dataloadAbacusEventsResponseItemsItemDataStatementPeriodIdMin = 0;
declare const dataloadAbacusEventsResponseItemsItemDataTargetIdMin = 0;
declare const dataloadAbacusEventsResponse: z.ZodObject<{
    items: z.ZodArray<z.ZodObject<{
        data: z.ZodObject<{
            abacus_event_id: z.ZodOptional<z.ZodNumber>;
            created_by: z.ZodOptional<z.ZodString>;
            event_date: z.ZodOptional<z.ZodString>;
            event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
            previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
            rolled_back_at: z.ZodOptional<z.ZodString>;
            statement_period_id: z.ZodOptional<z.ZodNumber>;
            target_id: z.ZodOptional<z.ZodNumber>;
            target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
        }, "strip", z.ZodTypeAny, {
            abacus_event_id?: number | undefined;
            created_by?: string | undefined;
            event_date?: string | undefined;
            event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
            statement_period_id?: number | undefined;
            target_id?: number | undefined;
            target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
            previous_abacus_event_id?: number | undefined;
            rolled_back_at?: string | undefined;
        }, {
            abacus_event_id?: number | undefined;
            created_by?: string | undefined;
            event_date?: string | undefined;
            event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
            statement_period_id?: number | undefined;
            target_id?: number | undefined;
            target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
            previous_abacus_event_id?: number | undefined;
            rolled_back_at?: string | undefined;
        }>;
    }, "strip", z.ZodTypeAny, {
        data: {
            abacus_event_id?: number | undefined;
            created_by?: string | undefined;
            event_date?: string | undefined;
            event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
            statement_period_id?: number | undefined;
            target_id?: number | undefined;
            target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
            previous_abacus_event_id?: number | undefined;
            rolled_back_at?: string | undefined;
        };
    }, {
        data: {
            abacus_event_id?: number | undefined;
            created_by?: string | undefined;
            event_date?: string | undefined;
            event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
            statement_period_id?: number | undefined;
            target_id?: number | undefined;
            target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
            previous_abacus_event_id?: number | undefined;
            rolled_back_at?: string | undefined;
        };
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    items: {
        data: {
            abacus_event_id?: number | undefined;
            created_by?: string | undefined;
            event_date?: string | undefined;
            event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
            statement_period_id?: number | undefined;
            target_id?: number | undefined;
            target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
            previous_abacus_event_id?: number | undefined;
            rolled_back_at?: string | undefined;
        };
    }[];
}, {
    items: {
        data: {
            abacus_event_id?: number | undefined;
            created_by?: string | undefined;
            event_date?: string | undefined;
            event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
            statement_period_id?: number | undefined;
            target_id?: number | undefined;
            target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
            previous_abacus_event_id?: number | undefined;
            rolled_back_at?: string | undefined;
        };
    }[];
}>;
/**
 * Get the number of current approval events for a Payment Group Payment
 */
declare const getPaymentGroupPaymentApprovalCountPathPaymentGroupPaymentIdMin = 0;
declare const getPaymentGroupPaymentApprovalCountParams: z.ZodObject<{
    payment_group_payment_id: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    payment_group_payment_id: number;
}, {
    payment_group_payment_id: number;
}>;
declare const getPaymentGroupPaymentApprovalCountHeader: z.ZodObject<{
    "Correlation-Id": z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    "Correlation-Id"?: string | undefined;
}, {
    "Correlation-Id"?: string | undefined;
}>;
declare const getPaymentGroupPaymentApprovalCountResponseApprovalCountMin = 0;
declare const getPaymentGroupPaymentApprovalCountResponsePaymentGroupPaymentIdMin = 0;
declare const getPaymentGroupPaymentApprovalCountResponse: z.ZodObject<{
    approval_count: z.ZodNumber;
    payment_group_payment_id: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    payment_group_payment_id: number;
    approval_count: number;
}, {
    payment_group_payment_id: number;
    approval_count: number;
}>;
/**
 * @summary Rolls back an Abacus event
 */
declare const rollbackAbacusEventHeader: z.ZodObject<{
    "Correlation-Id": z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    "Correlation-Id"?: string | undefined;
}, {
    "Correlation-Id"?: string | undefined;
}>;
declare const rollbackAbacusEventBodyTargetIdMin = 0;
declare const rollbackAbacusEventBody: z.ZodObject<{
    event_name: z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>;
    target_id: z.ZodNumber;
    target_type: z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>;
}, "strip", z.ZodTypeAny, {
    event_name: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval";
    target_id: number;
    target_type: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance";
}, {
    event_name: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval";
    target_id: number;
    target_type: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance";
}>;
declare const rollbackAbacusEventResponseAbacusEventIdMin = 0;
declare const rollbackAbacusEventResponsePreviousAbacusEventIdMin = 0;
declare const rollbackAbacusEventResponseStatementPeriodIdMin = 0;
declare const rollbackAbacusEventResponseTargetIdMin = 0;
declare const rollbackAbacusEventResponse: z.ZodObject<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, "strip", z.ZodTypeAny, {
    abacus_event_id?: number | undefined;
    created_by?: string | undefined;
    event_date?: string | undefined;
    event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
    statement_period_id?: number | undefined;
    target_id?: number | undefined;
    target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
    previous_abacus_event_id?: number | undefined;
    rolled_back_at?: string | undefined;
}, {
    abacus_event_id?: number | undefined;
    created_by?: string | undefined;
    event_date?: string | undefined;
    event_name?: "approve_sales_files" | "accounting_period_close" | "accounting_period_mechanicals" | "accounting_run_calculate" | "accounting_run_calculate_nr" | "accounting_run_commit" | "adjustment_file_upload" | "adjustment_file_worksheet_import" | "apply_pending_adjustments" | "apply_royalty_correction" | "apply_royalty_reversal" | "backfill" | "calculate_payments" | "close_balance" | "collaborators_auto_report_run" | "commit_advance_payment" | "commit_batch_payment" | "commit_mechanicals" | "commit_reversal_to_subledger" | "commit_royalties" | "commit_to_subledger" | "commit_vat" | "commit_vat_summary" | "commit_withholding_tax" | "confirm_advance_approval" | "confirm_advance_payment" | "confirm_approval" | "confirm_funds" | "generate_export" | "ingest_vat_summary" | "legacy_sync_contract" | "payment_accepted" | "payment_approval" | "payments_generate" | "payment_returned" | "release_reserves" | "return_advance_payment" | "return_batch_payment" | "return_vat_summary" | "return_withholding_tax" | "approve_sales" | "get_eligible_sales" | "ingest_sales_distro" | "ingest_sales_nr" | "sap_sync_contract" | "schedule_reserves" | "send_payments" | "stage_royalty_correction" | "stage_royalty_reversal" | "statement_period_close" | "take_reserves" | "tax_withholding" | "upload_approval" | undefined;
    statement_period_id?: number | undefined;
    target_id?: number | undefined;
    target_type?: "accounting_period" | "contract" | "statement_period_adjustment_file" | "worksheet_payment_contract_advance" | undefined;
    previous_abacus_event_id?: number | undefined;
    rolled_back_at?: string | undefined;
}>;
/**
 * Check the health of the application.
 */
declare const getHealthHeader: z.ZodObject<{
    "Correlation-Id": z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    "Correlation-Id"?: string | undefined;
}, {
    "Correlation-Id"?: string | undefined;
}>;
declare const getHealthResponse: z.ZodObject<{
    status: z.ZodEnum<["ok"]>;
}, "strip", z.ZodTypeAny, {
    status: "ok";
}, {
    status: "ok";
}>;
declare const dateTime: z.ZodString;
declare const abacusEventName: z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>;
declare const statementPeriodId: z.ZodNumber;
declare const targetId: z.ZodNumber;
declare const targetType: z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>;
declare const abacusEventId: z.ZodNumber;
declare const partialAbacusEvent: z.ZodObject<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, z.ZodTypeAny, "passthrough">>;
declare const abacusEvent: z.ZodObject<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    abacus_event_id: z.ZodOptional<z.ZodNumber>;
    created_by: z.ZodOptional<z.ZodString>;
    event_date: z.ZodOptional<z.ZodString>;
    event_name: z.ZodOptional<z.ZodEnum<["approve_sales_files", "accounting_period_close", "accounting_period_mechanicals", "accounting_run_calculate", "accounting_run_calculate_nr", "accounting_run_commit", "adjustment_file_upload", "adjustment_file_worksheet_import", "apply_pending_adjustments", "apply_royalty_correction", "apply_royalty_reversal", "backfill", "calculate_payments", "close_balance", "collaborators_auto_report_run", "commit_advance_payment", "commit_batch_payment", "commit_mechanicals", "commit_reversal_to_subledger", "commit_royalties", "commit_to_subledger", "commit_vat", "commit_vat_summary", "commit_withholding_tax", "confirm_advance_approval", "confirm_advance_payment", "confirm_approval", "confirm_funds", "generate_export", "ingest_vat_summary", "legacy_sync_contract", "payment_accepted", "payment_approval", "payments_generate", "payment_returned", "release_reserves", "return_advance_payment", "return_batch_payment", "return_vat_summary", "return_withholding_tax", "approve_sales", "get_eligible_sales", "ingest_sales_distro", "ingest_sales_nr", "sap_sync_contract", "schedule_reserves", "send_payments", "stage_royalty_correction", "stage_royalty_reversal", "statement_period_close", "take_reserves", "tax_withholding", "upload_approval"]>>;
    previous_abacus_event_id: z.ZodOptional<z.ZodNumber>;
    rolled_back_at: z.ZodOptional<z.ZodString>;
    statement_period_id: z.ZodOptional<z.ZodNumber>;
    target_id: z.ZodOptional<z.ZodNumber>;
    target_type: z.ZodOptional<z.ZodEnum<["accounting_period", "contract", "statement_period_adjustment_file", "worksheet_payment_contract_advance"]>>;
}, z.ZodTypeAny, "passthrough">>;
declare const paymentGroupPaymentId: z.ZodNumber;
declare const paymentGroupPaymentApprovalCount: z.ZodObject<{
    approval_count: z.ZodNumber;
    payment_group_payment_id: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    approval_count: z.ZodNumber;
    payment_group_payment_id: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    approval_count: z.ZodNumber;
    payment_group_payment_id: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
declare const health: z.ZodObject<{
    status: z.ZodLiteral<"ok">;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    status: z.ZodLiteral<"ok">;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    status: z.ZodLiteral<"ok">;
}, z.ZodTypeAny, "passthrough">>;

export { abacusEvent, abacusEventId, abacusEventName, createAbacusEventBody, createAbacusEventBodyStatementPeriodIdMin, createAbacusEventBodyTargetIdMin, createAbacusEventHeader, dataloadAbacusEventsBody, dataloadAbacusEventsBodyItem, dataloadAbacusEventsBodyMin, dataloadAbacusEventsHeader, dataloadAbacusEventsResponse, dataloadAbacusEventsResponseItemsItemDataAbacusEventIdMin, dataloadAbacusEventsResponseItemsItemDataPreviousAbacusEventIdMin, dataloadAbacusEventsResponseItemsItemDataStatementPeriodIdMin, dataloadAbacusEventsResponseItemsItemDataTargetIdMin, dateTime, getAbacusEventHeader, getAbacusEventParams, getAbacusEventPathAbacusEventIdMin, getAbacusEventResponse, getAbacusEventResponseAbacusEventIdMin, getAbacusEventResponsePreviousAbacusEventIdMin, getAbacusEventResponseStatementPeriodIdMin, getAbacusEventResponseTargetIdMin, getAbacusEventsByTargetHeader, getAbacusEventsByTargetParams, getAbacusEventsByTargetPathTargetIdMin, getAbacusEventsByTargetResponse, getAbacusEventsByTargetResponseAbacusEventIdMin, getAbacusEventsByTargetResponseItem, getAbacusEventsByTargetResponsePreviousAbacusEventIdMin, getAbacusEventsByTargetResponseStatementPeriodIdMin, getAbacusEventsByTargetResponseTargetIdMin, getHealthHeader, getHealthResponse, getPaymentGroupPaymentApprovalCountHeader, getPaymentGroupPaymentApprovalCountParams, getPaymentGroupPaymentApprovalCountPathPaymentGroupPaymentIdMin, getPaymentGroupPaymentApprovalCountResponse, getPaymentGroupPaymentApprovalCountResponseApprovalCountMin, getPaymentGroupPaymentApprovalCountResponsePaymentGroupPaymentIdMin, health, partialAbacusEvent, paymentGroupPaymentApprovalCount, paymentGroupPaymentId, rollbackAbacusEventBody, rollbackAbacusEventBodyTargetIdMin, rollbackAbacusEventHeader, rollbackAbacusEventResponse, rollbackAbacusEventResponseAbacusEventIdMin, rollbackAbacusEventResponsePreviousAbacusEventIdMin, rollbackAbacusEventResponseStatementPeriodIdMin, rollbackAbacusEventResponseTargetIdMin, statementPeriodId, targetId, targetType };
