*/ public const FULL_SET_IDS = [ 'change_booking_status', 'add_internal_note', 'add_customer_tag', 'fire_webhook', 'log_activity', ]; /** * Whether this action id is Business+ on the commercial matrix. * * @param string $type Action identifier. */ public static function requires_full_set( string $type ): bool { return in_array( $type, self::FULL_SET_IDS, true ); } /** * Whether any step needs the full set. * * @param list $steps Steps. */ public static function steps_require_full_set( array $steps ): bool { foreach ( $steps as $step ) { if ( self::requires_full_set( $step->type() ) ) { return true; } } return false; } }