Skip to content

Commit b5a3853

Browse files
algolia-botkai687shortcuts
committed
chore: deprecate mcm methods (generated)
algolia/api-clients-automation#4694 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 74bf05d commit b5a3853

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

lib/Api/SearchClient.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ public function appendSource($source, $requestOptions = [])
319319
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
320320
*
321321
* @return array<string, mixed>|CreatedAtResponse
322+
*
323+
* @deprecated
322324
*/
323325
public function assignUserId($xAlgoliaUserID, $assignUserIdParams, $requestOptions = [])
324326
{
@@ -406,6 +408,8 @@ public function batch($indexName, $batchWriteParams, $requestOptions = [])
406408
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
407409
*
408410
* @return array<string, mixed>|CreatedAtResponse
411+
*
412+
* @deprecated
409413
*/
410414
public function batchAssignUserIds($xAlgoliaUserID, $batchAssignUserIdsParams, $requestOptions = [])
411415
{
@@ -1602,6 +1606,8 @@ public function getTask($indexName, $taskID, $requestOptions = [])
16021606
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
16031607
*
16041608
* @return array<string, mixed>|GetTopUserIdsResponse
1609+
*
1610+
* @deprecated
16051611
*/
16061612
public function getTopUserIds($requestOptions = [])
16071613
{
@@ -1623,6 +1629,8 @@ public function getTopUserIds($requestOptions = [])
16231629
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
16241630
*
16251631
* @return array<string, mixed>|UserId
1632+
*
1633+
* @deprecated
16261634
*/
16271635
public function getUserId($userID, $requestOptions = [])
16281636
{
@@ -1660,6 +1668,8 @@ public function getUserId($userID, $requestOptions = [])
16601668
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
16611669
*
16621670
* @return array<string, mixed>|HasPendingMappingsResponse
1671+
*
1672+
* @deprecated
16631673
*/
16641674
public function hasPendingMappings($getClusters = null, $requestOptions = [])
16651675
{
@@ -1704,6 +1714,8 @@ public function listApiKeys($requestOptions = [])
17041714
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
17051715
*
17061716
* @return array<string, mixed>|ListClustersResponse
1717+
*
1718+
* @deprecated
17071719
*/
17081720
public function listClusters($requestOptions = [])
17091721
{
@@ -1756,6 +1768,8 @@ public function listIndices($page = null, $hitsPerPage = null, $requestOptions =
17561768
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
17571769
*
17581770
* @return array<string, mixed>|ListUserIdsResponse
1771+
*
1772+
* @deprecated
17591773
*/
17601774
public function listUserIds($page = null, $hitsPerPage = null, $requestOptions = [])
17611775
{
@@ -1929,6 +1943,8 @@ public function partialUpdateObject($indexName, $objectID, $attributesToUpdate,
19291943
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
19301944
*
19311945
* @return array<string, mixed>|RemoveUserIdResponse
1946+
*
1947+
* @deprecated
19321948
*/
19331949
public function removeUserId($userID, $requestOptions = [])
19341950
{
@@ -2617,6 +2633,8 @@ public function searchSynonyms($indexName, $searchSynonymsParams = null, $reques
26172633
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
26182634
*
26192635
* @return array<string, mixed>|SearchUserIdsResponse
2636+
*
2637+
* @deprecated
26202638
*/
26212639
public function searchUserIds($searchUserIdsParams, $requestOptions = [])
26222640
{

0 commit comments

Comments
 (0)