Skip to content

Commit 2362a75

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 2e34a77 commit 2362a75

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

packages/client-search/src/searchClient.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,8 @@ export function createSearchClient({
863863
*
864864
* Required API Key ACLs:
865865
* - admin
866+
*
867+
* @deprecated
866868
* @param assignUserId - The assignUserId object.
867869
* @param assignUserId.xAlgoliaUserID - Unique identifier of the user who makes the search request.
868870
* @param assignUserId.assignUserIdParams - The assignUserIdParams object.
@@ -943,6 +945,8 @@ export function createSearchClient({
943945
*
944946
* Required API Key ACLs:
945947
* - admin
948+
*
949+
* @deprecated
946950
* @param batchAssignUserIds - The batchAssignUserIds object.
947951
* @param batchAssignUserIds.xAlgoliaUserID - Unique identifier of the user who makes the search request.
948952
* @param batchAssignUserIds.batchAssignUserIdsParams - The batchAssignUserIdsParams object.
@@ -1905,6 +1909,8 @@ export function createSearchClient({
19051909
*
19061910
* Required API Key ACLs:
19071911
* - admin
1912+
*
1913+
* @deprecated
19081914
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
19091915
*/
19101916
getTopUserIds(requestOptions?: RequestOptions): Promise<GetTopUserIdsResponse> {
@@ -1927,6 +1933,8 @@ export function createSearchClient({
19271933
*
19281934
* Required API Key ACLs:
19291935
* - admin
1936+
*
1937+
* @deprecated
19301938
* @param getUserId - The getUserId object.
19311939
* @param getUserId.userID - Unique identifier of the user who makes the search request.
19321940
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1955,6 +1963,8 @@ export function createSearchClient({
19551963
*
19561964
* Required API Key ACLs:
19571965
* - admin
1966+
*
1967+
* @deprecated
19581968
* @param hasPendingMappings - The hasPendingMappings object.
19591969
* @param hasPendingMappings.getClusters - Whether to include the cluster\'s pending mapping state in the response.
19601970
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -2008,6 +2018,8 @@ export function createSearchClient({
20082018
*
20092019
* Required API Key ACLs:
20102020
* - admin
2021+
*
2022+
* @deprecated
20112023
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
20122024
*/
20132025
listClusters(requestOptions?: RequestOptions): Promise<ListClustersResponse> {
@@ -2066,6 +2078,8 @@ export function createSearchClient({
20662078
*
20672079
* Required API Key ACLs:
20682080
* - admin
2081+
*
2082+
* @deprecated
20692083
* @param listUserIds - The listUserIds object.
20702084
* @param listUserIds.page - Requested page of the API response. If `null`, the API response is not paginated.
20712085
* @param listUserIds.hitsPerPage - Number of hits per page.
@@ -2224,6 +2238,8 @@ export function createSearchClient({
22242238
*
22252239
* Required API Key ACLs:
22262240
* - admin
2241+
*
2242+
* @deprecated
22272243
* @param removeUserId - The removeUserId object.
22282244
* @param removeUserId.userID - Unique identifier of the user who makes the search request.
22292245
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -2810,6 +2826,8 @@ export function createSearchClient({
28102826
*
28112827
* Required API Key ACLs:
28122828
* - admin
2829+
*
2830+
* @deprecated
28132831
* @param searchUserIdsParams - The searchUserIdsParams object.
28142832
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
28152833
*/

packages/ingestion/src/ingestionClient.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ export function createIngestionClient({
399399

400400
/**
401401
* Creates a new task using the v1 endpoint, please use `createTask` instead.
402+
*
403+
* @deprecated
402404
* @param taskCreate - Request body for creating a task.
403405
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
404406
*/
@@ -716,6 +718,8 @@ export function createIngestionClient({
716718

717719
/**
718720
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
721+
*
722+
* @deprecated
719723
* @param deleteTaskV1 - The deleteTaskV1 object.
720724
* @param deleteTaskV1.taskID - Unique identifier of a task.
721725
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -807,6 +811,8 @@ export function createIngestionClient({
807811
* - addObject
808812
* - deleteIndex
809813
* - editSettings
814+
*
815+
* @deprecated
810816
* @param disableTaskV1 - The disableTaskV1 object.
811817
* @param disableTaskV1.taskID - Unique identifier of a task.
812818
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -867,6 +873,8 @@ export function createIngestionClient({
867873
* - addObject
868874
* - deleteIndex
869875
* - editSettings
876+
*
877+
* @deprecated
870878
* @param enableTaskV1 - The enableTaskV1 object.
871879
* @param enableTaskV1.taskID - Unique identifier of a task.
872880
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1093,6 +1101,8 @@ export function createIngestionClient({
10931101
* - addObject
10941102
* - deleteIndex
10951103
* - editSettings
1104+
*
1105+
* @deprecated
10961106
* @param getTaskV1 - The getTaskV1 object.
10971107
* @param getTaskV1.taskID - Unique identifier of a task.
10981108
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1579,6 +1589,8 @@ export function createIngestionClient({
15791589
* - addObject
15801590
* - deleteIndex
15811591
* - editSettings
1592+
*
1593+
* @deprecated
15821594
* @param listTasksV1 - The listTasksV1 object.
15831595
* @param listTasksV1.itemsPerPage - Number of items per page.
15841596
* @param listTasksV1.page - Page number of the paginated API response.
@@ -1825,6 +1837,8 @@ export function createIngestionClient({
18251837
* - addObject
18261838
* - deleteIndex
18271839
* - editSettings
1840+
*
1841+
* @deprecated
18281842
* @param runTaskV1 - The runTaskV1 object.
18291843
* @param runTaskV1.taskID - Unique identifier of a task.
18301844
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1999,6 +2013,8 @@ export function createIngestionClient({
19992013
* - addObject
20002014
* - deleteIndex
20012015
* - editSettings
2016+
*
2017+
* @deprecated
20022018
* @param taskSearch - The taskSearch object.
20032019
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
20042020
*/
@@ -2354,6 +2370,8 @@ export function createIngestionClient({
23542370

23552371
/**
23562372
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
2373+
*
2374+
* @deprecated
23572375
* @param updateTaskV1 - The updateTaskV1 object.
23582376
* @param updateTaskV1.taskID - Unique identifier of a task.
23592377
* @param updateTaskV1.taskUpdate - The taskUpdate object.

0 commit comments

Comments
 (0)