/** * YNAB API Endpoints * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ import type { TransactionFlagColor } from './TransactionFlagColor'; /** * * @export * @interface ScheduledTransactionSummaryBase */ export interface ScheduledTransactionSummaryBase { /** * * @type {string} * @memberof ScheduledTransactionSummaryBase */ id: string; /** * The first date for which the Scheduled Transaction was scheduled. * @type {string} * @memberof ScheduledTransactionSummaryBase */ date_first: string; /** * The next date for which the Scheduled Transaction is scheduled. * @type {string} * @memberof ScheduledTransactionSummaryBase */ date_next: string; /** * * @type {ScheduledTransactionSummaryBaseFrequencyEnum} * @memberof ScheduledTransactionSummaryBase */ frequency: ScheduledTransactionSummaryBaseFrequencyEnum; /** * The scheduled transaction amount in milliunits format * @type {number} * @memberof ScheduledTransactionSummaryBase */ amount: number; /** * * @type {string} * @memberof ScheduledTransactionSummaryBase */ memo?: string | null; /** * * @type {TransactionFlagColor} * @memberof ScheduledTransactionSummaryBase */ flag_color?: TransactionFlagColor | null; /** * The customized name of a transaction flag * @type {string} * @memberof ScheduledTransactionSummaryBase */ flag_name?: string | null; /** * * @type {string} * @memberof ScheduledTransactionSummaryBase */ account_id: string; /** * * @type {string} * @memberof ScheduledTransactionSummaryBase */ payee_id?: string | null; /** * * @type {string} * @memberof ScheduledTransactionSummaryBase */ category_id?: string | null; /** * If a transfer, the account_id which the scheduled transaction transfers to * @type {string} * @memberof ScheduledTransactionSummaryBase */ transfer_account_id?: string | null; /** * Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests. * @type {boolean} * @memberof ScheduledTransactionSummaryBase */ deleted: boolean; } /** * @export */ export declare const ScheduledTransactionSummaryBaseFrequencyEnum: { readonly Never: "never"; readonly Daily: "daily"; readonly Weekly: "weekly"; readonly EveryOtherWeek: "everyOtherWeek"; readonly TwiceAMonth: "twiceAMonth"; readonly Every4Weeks: "every4Weeks"; readonly Monthly: "monthly"; readonly EveryOtherMonth: "everyOtherMonth"; readonly Every3Months: "every3Months"; readonly Every4Months: "every4Months"; readonly TwiceAYear: "twiceAYear"; readonly Yearly: "yearly"; readonly EveryOtherYear: "everyOtherYear"; }; export type ScheduledTransactionSummaryBaseFrequencyEnum = typeof ScheduledTransactionSummaryBaseFrequencyEnum[keyof typeof ScheduledTransactionSummaryBaseFrequencyEnum]; /** * Check if a given object implements the ScheduledTransactionSummaryBase interface. */ export declare function instanceOfScheduledTransactionSummaryBase(value: object): value is ScheduledTransactionSummaryBase; export declare function ScheduledTransactionSummaryBaseFromJSON(json: any): ScheduledTransactionSummaryBase; export declare function ScheduledTransactionSummaryBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduledTransactionSummaryBase; export declare function ScheduledTransactionSummaryBaseToJSON(json: any): ScheduledTransactionSummaryBase; export declare function ScheduledTransactionSummaryBaseToJSONTyped(value?: ScheduledTransactionSummaryBase | null, ignoreDiscriminator?: boolean): any;