@linode/validation
Version:
Yup validation schemas for use with the Linode APIv4
26 lines • 863 B
TypeScript
export declare const createPartnerReferralSchema: import("yup").ObjectSchema<{
partner_id: number;
name: string;
email: string;
additional_emails: (string | undefined)[] | undefined;
country_code: string;
phone_country_code: string;
phone: string;
company_name: string | null | undefined;
account_executive_email: string | undefined;
comments: string | null | undefined;
tc_consent_given: NonNullable<boolean | undefined>;
}, import("yup").AnyObject, {
partner_id: undefined;
name: undefined;
email: undefined;
additional_emails: "";
country_code: undefined;
phone_country_code: undefined;
phone: undefined;
company_name: undefined;
account_executive_email: undefined;
comments: undefined;
tc_consent_given: undefined;
}, "">;
//# sourceMappingURL=marketplace.schema.d.ts.map