// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface PhoneNumberCallEndingHookFilter {
    /** This is the type of filter - currently only "oneOf" is supported */
    type: Vapi.PhoneNumberCallEndingHookFilterType;
    /** This is the key to filter on - only "call.endedReason" is allowed for phone number call ending hooks */
    key: Vapi.PhoneNumberCallEndingHookFilterKey;
    /** This is the array of assistant-request related ended reasons to match against */
    oneOf: Vapi.PhoneNumberCallEndingHookFilterOneOfItem[];
}
