import { TransactionID } from '../transaction/stateTypes/transactionID'; import { generateJEOneTimeAccrualKey, generateJEScheduleKey } from './jeScheduleHelper'; export interface ScheduleTransactionID extends TransactionID { lineId: string; } export declare const getJEScheduleTransactionKey: (scheduleTransactionId: ScheduleTransactionID) => `${string}_expense_${string}` | `${string}_check_${string}` | `${string}_invoice_${string}` | `${string}_payment_${string}` | `${string}_credit_memo_${string}` | `${string}_sales_receipt_${string}` | `${string}_delayed_credit_${string}` | `${string}_delayed_charge_${string}` | `${string}_refund_${string}` | `${string}_bill_${string}` | `${string}_bill_payment_${string}` | `${string}_bill_payment_check_${string}` | `${string}_bill_payment_credit_card_${string}` | `${string}_vendor_credit_${string}` | `${string}_credit_card_credit_${string}` | `${string}_transfer_${string}` | `${string}_credit_card_payment_${string}` | `${string}_deposit_${string}` | `${string}_journal_entry_${string}`; export type JEScheduleTransactionKey = ReturnType; export type JEScheduleKey = ReturnType; export type JEOneTimeAccrualKey = ReturnType; export declare const ALL_SCHEDULES_TYPES: readonly ["prepaid_expenses", "fixed_assets", "accrued_expenses", "deferred_revenue"]; export declare const toScheduleTypesType: (v: string) => "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"; export type ScheduleTypes = ReturnType; export declare const toScheduleTypesTypeStrict: (v?: string) => "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue" | undefined; export declare const toScheduleJournalEntryStatusCodeType: (v: string) => "unknown" | "pending" | "posted" | "canceled" | "recorded"; export type ScheduleJournalEntryStatusCodeType = ReturnType; export declare const toScheduleStatusCodeType: (v: string) => "completed" | "draft" | "new" | "ongoing" | "marked_as_completed"; export type ScheduleStatusCodeType = ReturnType; export declare const toOneTimeAccrualStatusCodeType: (v: string) => "draft" | "posted" | "posting" | "posting_blocked" | "reversing" | "reversed" | "reverted"; export type OneTimeAccrualStatusCodeType = ReturnType; export declare const toOneTimeAccrualOriginType: (v: string) => "agent" | "human"; export type OneTimeAccrualOriginType = ReturnType; export declare const toOneTimeAccrualAutomationTierType: (v: string) => "auto" | "draft" | "manual"; export type OneTimeAccrualAutomationTierType = ReturnType; export declare const toOneTimeAccrualReversalPolicyType: (v: string) => "on_bill_match" | "scheduled_date"; export type OneTimeAccrualReversalPolicyType = ReturnType; export declare const toOneTimeAccrualReversalTriggerType: (v?: string) => "scheduled_date" | "bill_match" | "manual_reverse" | undefined; export type OneTimeAccrualReversalTriggerType = ReturnType; export declare const toOneTimeAccrualIgnoreReasonType: (v: string) => "paused" | "no_activity" | "too_small" | "need_invoice" | "other_ignore"; export type OneTimeAccrualIgnoreReasonType = ReturnType; export declare const ALL_ONE_TIME_ACCRUAL_IGNORE_REASONS: readonly OneTimeAccrualIgnoreReasonType[]; export declare const toJEScheduleIgnoreReasonType: (v: string) => "other_ignore" | "not_needed" | "wrong_account" | "duplicate" | "already_handled"; export type JEScheduleIgnoreReasonType = ReturnType; export declare const ALL_JE_SCHEDULE_IGNORE_REASONS: readonly JEScheduleIgnoreReasonType[]; export declare const toJEScheduleRevertReasonType: (v: string) => "duplicate" | "amount_off" | "wrong_period" | "created_by_mistake" | "other_revert"; export type JEScheduleRevertReasonType = ReturnType; export declare const ALL_JE_SCHEDULE_REVERT_REASONS: readonly JEScheduleRevertReasonType[]; export declare const toOneTimeAccrualRevertReasonType: (v: string) => "duplicate" | "amount_off" | "wrong_period" | "other_revert" | "not_accrual"; export type OneTimeAccrualRevertReasonType = ReturnType; export declare const ALL_ONE_TIME_ACCRUAL_REVERT_REASONS: readonly OneTimeAccrualRevertReasonType[]; export declare const toJournalEntryErrorCodeType: (v: string) => "vendor_deleted" | "debit_category_deleted" | "credit_category_deleted" | "qbo_error" | "qbo_authorization_error" | "qbo_invalid_company_status_error" | "qbo_book_close_date_error"; export type JournalEntryErrorCodeType = ReturnType;