GeoBoundsAggregation and GeoHashGridAggregation in OS 23+

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:
Hi, I want to upgrade from OS 1.3 to OS 2.9 but with the commits below I see some aggregations moved out of the rest-high-level-client. Therefore my client code does not compile anymore. Is there still a way of using these aggs or are they simply removed?

Configuration:

Relevant Logs or Screenshots: