@@ -288,6 +288,30 @@ partial void SetupNamespaces()
288288 /// </summary>
289289 public Task < ClearScrollResponse > ClearScrollAsync ( IClearScrollRequest request , CancellationToken ct = default ) => DoRequestAsync < IClearScrollRequest , ClearScrollResponse > ( request , request . RequestParameters , ct ) ;
290290 /// <summary>
291+ /// <c>DELETE</c> request to the <c>close_point_in_time</c> API, read more about this API online:
292+ /// <para></para>
293+ /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html</a>
294+ /// </summary>
295+ public ClosePointInTimeResponse ClosePointInTime ( Func < ClosePointInTimeDescriptor , IClosePointInTimeRequest > selector = null ) => ClosePointInTime ( selector . InvokeOrDefault ( new ClosePointInTimeDescriptor ( ) ) ) ;
296+ /// <summary>
297+ /// <c>DELETE</c> request to the <c>close_point_in_time</c> API, read more about this API online:
298+ /// <para></para>
299+ /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html</a>
300+ /// </summary>
301+ public Task < ClosePointInTimeResponse > ClosePointInTimeAsync ( Func < ClosePointInTimeDescriptor , IClosePointInTimeRequest > selector = null , CancellationToken ct = default ) => ClosePointInTimeAsync ( selector . InvokeOrDefault ( new ClosePointInTimeDescriptor ( ) ) , ct ) ;
302+ /// <summary>
303+ /// <c>DELETE</c> request to the <c>close_point_in_time</c> API, read more about this API online:
304+ /// <para></para>
305+ /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html</a>
306+ /// </summary>
307+ public ClosePointInTimeResponse ClosePointInTime ( IClosePointInTimeRequest request ) => DoRequest < IClosePointInTimeRequest , ClosePointInTimeResponse > ( request , request . RequestParameters ) ;
308+ /// <summary>
309+ /// <c>DELETE</c> request to the <c>close_point_in_time</c> API, read more about this API online:
310+ /// <para></para>
311+ /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html</a>
312+ /// </summary>
313+ public Task < ClosePointInTimeResponse > ClosePointInTimeAsync ( IClosePointInTimeRequest request , CancellationToken ct = default ) => DoRequestAsync < IClosePointInTimeRequest , ClosePointInTimeResponse > ( request , request . RequestParameters , ct ) ;
314+ /// <summary>
291315 /// <c>POST</c> request to the <c>count</c> API, read more about this API online:
292316 /// <para></para>
293317 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html</a>
@@ -774,6 +798,30 @@ public Task<IndexResponse> IndexAsync<TDocument>(IIndexRequest<TDocument> reques
774798 /// </summary>
775799 public Task < MultiTermVectorsResponse > MultiTermVectorsAsync ( IMultiTermVectorsRequest request , CancellationToken ct = default ) => DoRequestAsync < IMultiTermVectorsRequest , MultiTermVectorsResponse > ( request , request . RequestParameters , ct ) ;
776800 /// <summary>
801+ /// <c>POST</c> request to the <c>open_point_in_time</c> API, read more about this API online:
802+ /// <para></para>
803+ /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html</a>
804+ /// </summary>
805+ public OpenPointInTimeResponse OpenPointInTime ( Indices index = null , Func < OpenPointInTimeDescriptor , IOpenPointInTimeRequest > selector = null ) => OpenPointInTime ( selector . InvokeOrDefault ( new OpenPointInTimeDescriptor ( ) . Index ( index : index ) ) ) ;
806+ /// <summary>
807+ /// <c>POST</c> request to the <c>open_point_in_time</c> API, read more about this API online:
808+ /// <para></para>
809+ /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html</a>
810+ /// </summary>
811+ public Task < OpenPointInTimeResponse > OpenPointInTimeAsync ( Indices index = null , Func < OpenPointInTimeDescriptor , IOpenPointInTimeRequest > selector = null , CancellationToken ct = default ) => OpenPointInTimeAsync ( selector . InvokeOrDefault ( new OpenPointInTimeDescriptor ( ) . Index ( index : index ) ) , ct ) ;
812+ /// <summary>
813+ /// <c>POST</c> request to the <c>open_point_in_time</c> API, read more about this API online:
814+ /// <para></para>
815+ /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html</a>
816+ /// </summary>
817+ public OpenPointInTimeResponse OpenPointInTime ( IOpenPointInTimeRequest request ) => DoRequest < IOpenPointInTimeRequest , OpenPointInTimeResponse > ( request , request . RequestParameters ) ;
818+ /// <summary>
819+ /// <c>POST</c> request to the <c>open_point_in_time</c> API, read more about this API online:
820+ /// <para></para>
821+ /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html</a>
822+ /// </summary>
823+ public Task < OpenPointInTimeResponse > OpenPointInTimeAsync ( IOpenPointInTimeRequest request , CancellationToken ct = default ) => DoRequestAsync < IOpenPointInTimeRequest , OpenPointInTimeResponse > ( request , request . RequestParameters , ct ) ;
824+ /// <summary>
777825 /// <c>HEAD</c> request to the <c>ping</c> API, read more about this API online:
778826 /// <para></para>
779827 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html</a>
0 commit comments