/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
import { lazy, number, object, optional, string, unknown, } from '../schema';
import { pricingSchemeSchema } from './pricingScheme';
import { tenureTypeSchema } from './tenureType';
export const billingCycleSchema = object({
    tenureType: ['tenure_type', tenureTypeSchema],
    pricingScheme: ['pricing_scheme', optional(lazy(() => pricingSchemeSchema))],
    frequency: ['frequency', optional(unknown())],
    totalCycles: ['total_cycles', optional(number())],
    sequence: ['sequence', optional(number())],
    startDate: ['start_date', optional(string())],
});
//# sourceMappingURL=billingCycle.js.map