import type { billing_PurchaseFields } from './billing_PurchaseFields'; import type { fields_models_LineItem } from './fields_models_LineItem'; import type { invoice_PaymentsAddress } from './invoice_PaymentsAddress'; import type { payment_PaymentPreferences } from './payment_PaymentPreferences'; export type billing_SubscriptionFields = { absorbTransactionFees?: boolean; /** * Address stores the selected billing address from custom fields */ address?: invoice_PaymentsAddress; allowPaymentViaACH?: boolean; allowPaymentViaCC?: boolean; attachment?: string; cancelledAt?: string; clientUserId?: string; collectionMethod?: string; companyId?: string; currency?: string; daysUntilDue?: number; /** * ForcePaused indicates this subscription was paused due to workspace plan lapse */ forcePaused?: boolean; interval?: string; lineItems?: Array; memo?: string; /** * new property to hold payment preferenced for the subscription */ paymentPreferences: payment_PaymentPreferences; prorate?: boolean; /** * Used to store a confirmation token to automatically pay the first invoice of a subscription created from a purchase */ purchaseFields?: billing_PurchaseFields; /** * not set by the front-end */ reactivatedBy?: string; resetBillingCycle?: boolean; scheduleEndDate?: number; scheduleIterations?: number; scheduleStartDate?: number; taxPercentage?: number; };