@@ -129,6 +129,7 @@ public partial interface ISearchClient
129
129
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
130
130
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
131
131
/// <returns>Task of CreatedAtResponse</returns>
132
+ [ Obsolete ]
132
133
Task < CreatedAtResponse > AssignUserIdAsync ( string xAlgoliaUserID , AssignUserIdParams assignUserIdParams , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
133
134
134
135
/// <summary>
@@ -145,6 +146,7 @@ public partial interface ISearchClient
145
146
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
146
147
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
147
148
/// <returns>CreatedAtResponse</returns>
149
+ [ Obsolete ]
148
150
CreatedAtResponse AssignUserId ( string xAlgoliaUserID , AssignUserIdParams assignUserIdParams , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
149
151
150
152
/// <summary>
@@ -187,6 +189,7 @@ public partial interface ISearchClient
187
189
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
188
190
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
189
191
/// <returns>Task of CreatedAtResponse</returns>
192
+ [ Obsolete ]
190
193
Task < CreatedAtResponse > BatchAssignUserIdsAsync ( string xAlgoliaUserID , BatchAssignUserIdsParams batchAssignUserIdsParams , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
191
194
192
195
/// <summary>
@@ -203,6 +206,7 @@ public partial interface ISearchClient
203
206
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
204
207
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
205
208
/// <returns>CreatedAtResponse</returns>
209
+ [ Obsolete ]
206
210
CreatedAtResponse BatchAssignUserIds ( string xAlgoliaUserID , BatchAssignUserIdsParams batchAssignUserIdsParams , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
207
211
208
212
/// <summary>
@@ -1069,6 +1073,7 @@ public partial interface ISearchClient
1069
1073
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1070
1074
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1071
1075
/// <returns>Task of GetTopUserIdsResponse</returns>
1076
+ [ Obsolete ]
1072
1077
Task < GetTopUserIdsResponse > GetTopUserIdsAsync ( RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1073
1078
1074
1079
/// <summary>
@@ -1083,6 +1088,7 @@ public partial interface ISearchClient
1083
1088
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1084
1089
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1085
1090
/// <returns>GetTopUserIdsResponse</returns>
1091
+ [ Obsolete ]
1086
1092
GetTopUserIdsResponse GetTopUserIds ( RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1087
1093
1088
1094
/// <summary>
@@ -1098,6 +1104,7 @@ public partial interface ISearchClient
1098
1104
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1099
1105
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1100
1106
/// <returns>Task of UserId</returns>
1107
+ [ Obsolete ]
1101
1108
Task < UserId > GetUserIdAsync ( string userID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1102
1109
1103
1110
/// <summary>
@@ -1113,6 +1120,7 @@ public partial interface ISearchClient
1113
1120
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1114
1121
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1115
1122
/// <returns>UserId</returns>
1123
+ [ Obsolete ]
1116
1124
UserId GetUserId ( string userID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1117
1125
1118
1126
/// <summary>
@@ -1128,6 +1136,7 @@ public partial interface ISearchClient
1128
1136
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1129
1137
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1130
1138
/// <returns>Task of HasPendingMappingsResponse</returns>
1139
+ [ Obsolete ]
1131
1140
Task < HasPendingMappingsResponse > HasPendingMappingsAsync ( bool ? getClusters = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1132
1141
1133
1142
/// <summary>
@@ -1143,6 +1152,7 @@ public partial interface ISearchClient
1143
1152
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1144
1153
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1145
1154
/// <returns>HasPendingMappingsResponse</returns>
1155
+ [ Obsolete ]
1146
1156
HasPendingMappingsResponse HasPendingMappings ( bool ? getClusters = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1147
1157
1148
1158
/// <summary>
@@ -1185,6 +1195,7 @@ public partial interface ISearchClient
1185
1195
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1186
1196
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1187
1197
/// <returns>Task of ListClustersResponse</returns>
1198
+ [ Obsolete ]
1188
1199
Task < ListClustersResponse > ListClustersAsync ( RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1189
1200
1190
1201
/// <summary>
@@ -1199,6 +1210,7 @@ public partial interface ISearchClient
1199
1210
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1200
1211
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1201
1212
/// <returns>ListClustersResponse</returns>
1213
+ [ Obsolete ]
1202
1214
ListClustersResponse ListClusters ( RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1203
1215
1204
1216
/// <summary>
@@ -1247,6 +1259,7 @@ public partial interface ISearchClient
1247
1259
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1248
1260
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1249
1261
/// <returns>Task of ListUserIdsResponse</returns>
1262
+ [ Obsolete ]
1250
1263
Task < ListUserIdsResponse > ListUserIdsAsync ( int ? page = default , int ? hitsPerPage = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1251
1264
1252
1265
/// <summary>
@@ -1263,6 +1276,7 @@ public partial interface ISearchClient
1263
1276
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1264
1277
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1265
1278
/// <returns>ListUserIdsResponse</returns>
1279
+ [ Obsolete ]
1266
1280
ListUserIdsResponse ListUserIds ( int ? page = default , int ? hitsPerPage = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1267
1281
1268
1282
/// <summary>
@@ -1370,6 +1384,7 @@ public partial interface ISearchClient
1370
1384
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1371
1385
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1372
1386
/// <returns>Task of RemoveUserIdResponse</returns>
1387
+ [ Obsolete ]
1373
1388
Task < RemoveUserIdResponse > RemoveUserIdAsync ( string userID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1374
1389
1375
1390
/// <summary>
@@ -1385,6 +1400,7 @@ public partial interface ISearchClient
1385
1400
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1386
1401
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1387
1402
/// <returns>RemoveUserIdResponse</returns>
1403
+ [ Obsolete ]
1388
1404
RemoveUserIdResponse RemoveUserId ( string userID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1389
1405
1390
1406
/// <summary>
@@ -1828,6 +1844,7 @@ public partial interface ISearchClient
1828
1844
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1829
1845
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1830
1846
/// <returns>Task of SearchUserIdsResponse</returns>
1847
+ [ Obsolete ]
1831
1848
Task < SearchUserIdsResponse > SearchUserIdsAsync ( SearchUserIdsParams searchUserIdsParams , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1832
1849
1833
1850
/// <summary>
@@ -1843,6 +1860,7 @@ public partial interface ISearchClient
1843
1860
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1844
1861
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1845
1862
/// <returns>SearchUserIdsResponse</returns>
1863
+ [ Obsolete ]
1846
1864
SearchUserIdsResponse SearchUserIds ( SearchUserIdsParams searchUserIdsParams , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1847
1865
1848
1866
/// <summary>
@@ -2091,6 +2109,7 @@ public CreatedAtResponse AppendSource(Source source, RequestOptions options = nu
2091
2109
2092
2110
2093
2111
/// <inheritdoc />
2112
+ [ Obsolete ]
2094
2113
public async Task < CreatedAtResponse > AssignUserIdAsync ( string xAlgoliaUserID , AssignUserIdParams assignUserIdParams , RequestOptions options = null , CancellationToken cancellationToken = default )
2095
2114
{
2096
2115
@@ -2111,6 +2130,7 @@ public async Task<CreatedAtResponse> AssignUserIdAsync(string xAlgoliaUserID, As
2111
2130
2112
2131
2113
2132
/// <inheritdoc />
2133
+ [ Obsolete ]
2114
2134
public CreatedAtResponse AssignUserId ( string xAlgoliaUserID , AssignUserIdParams assignUserIdParams , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2115
2135
AsyncHelper . RunSync ( ( ) => AssignUserIdAsync ( xAlgoliaUserID , assignUserIdParams , options , cancellationToken ) ) ;
2116
2136
@@ -2141,6 +2161,7 @@ public BatchResponse Batch(string indexName, BatchWriteParams batchWriteParams,
2141
2161
2142
2162
2143
2163
/// <inheritdoc />
2164
+ [ Obsolete ]
2144
2165
public async Task < CreatedAtResponse > BatchAssignUserIdsAsync ( string xAlgoliaUserID , BatchAssignUserIdsParams batchAssignUserIdsParams , RequestOptions options = null , CancellationToken cancellationToken = default )
2145
2166
{
2146
2167
@@ -2161,6 +2182,7 @@ public async Task<CreatedAtResponse> BatchAssignUserIdsAsync(string xAlgoliaUser
2161
2182
2162
2183
2163
2184
/// <inheritdoc />
2185
+ [ Obsolete ]
2164
2186
public CreatedAtResponse BatchAssignUserIds ( string xAlgoliaUserID , BatchAssignUserIdsParams batchAssignUserIdsParams , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2165
2187
AsyncHelper . RunSync ( ( ) => BatchAssignUserIdsAsync ( xAlgoliaUserID , batchAssignUserIdsParams , options , cancellationToken ) ) ;
2166
2188
@@ -2756,6 +2778,7 @@ public GetTaskResponse GetTask(string indexName, long taskID, RequestOptions opt
2756
2778
2757
2779
2758
2780
/// <inheritdoc />
2781
+ [ Obsolete ]
2759
2782
public async Task < GetTopUserIdsResponse > GetTopUserIdsAsync ( RequestOptions options = null , CancellationToken cancellationToken = default )
2760
2783
{
2761
2784
var requestOptions = new InternalRequestOptions ( options ) ;
@@ -2766,11 +2789,13 @@ public async Task<GetTopUserIdsResponse> GetTopUserIdsAsync(RequestOptions optio
2766
2789
2767
2790
2768
2791
/// <inheritdoc />
2792
+ [ Obsolete ]
2769
2793
public GetTopUserIdsResponse GetTopUserIds ( RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2770
2794
AsyncHelper . RunSync ( ( ) => GetTopUserIdsAsync ( options , cancellationToken ) ) ;
2771
2795
2772
2796
2773
2797
/// <inheritdoc />
2798
+ [ Obsolete ]
2774
2799
public async Task < UserId > GetUserIdAsync ( string userID , RequestOptions options = null , CancellationToken cancellationToken = default )
2775
2800
{
2776
2801
@@ -2786,11 +2811,13 @@ public async Task<UserId> GetUserIdAsync(string userID, RequestOptions options =
2786
2811
2787
2812
2788
2813
/// <inheritdoc />
2814
+ [ Obsolete ]
2789
2815
public UserId GetUserId ( string userID , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2790
2816
AsyncHelper . RunSync ( ( ) => GetUserIdAsync ( userID , options , cancellationToken ) ) ;
2791
2817
2792
2818
2793
2819
/// <inheritdoc />
2820
+ [ Obsolete ]
2794
2821
public async Task < HasPendingMappingsResponse > HasPendingMappingsAsync ( bool ? getClusters = default , RequestOptions options = null , CancellationToken cancellationToken = default )
2795
2822
{
2796
2823
var requestOptions = new InternalRequestOptions ( options ) ;
@@ -2802,6 +2829,7 @@ public async Task<HasPendingMappingsResponse> HasPendingMappingsAsync(bool? getC
2802
2829
2803
2830
2804
2831
/// <inheritdoc />
2832
+ [ Obsolete ]
2805
2833
public HasPendingMappingsResponse HasPendingMappings ( bool ? getClusters = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2806
2834
AsyncHelper . RunSync ( ( ) => HasPendingMappingsAsync ( getClusters , options , cancellationToken ) ) ;
2807
2835
@@ -2822,6 +2850,7 @@ public ListApiKeysResponse ListApiKeys(RequestOptions options = null, Cancellati
2822
2850
2823
2851
2824
2852
/// <inheritdoc />
2853
+ [ Obsolete ]
2825
2854
public async Task < ListClustersResponse > ListClustersAsync ( RequestOptions options = null , CancellationToken cancellationToken = default )
2826
2855
{
2827
2856
var requestOptions = new InternalRequestOptions ( options ) ;
@@ -2832,6 +2861,7 @@ public async Task<ListClustersResponse> ListClustersAsync(RequestOptions options
2832
2861
2833
2862
2834
2863
/// <inheritdoc />
2864
+ [ Obsolete ]
2835
2865
public ListClustersResponse ListClusters ( RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2836
2866
AsyncHelper . RunSync ( ( ) => ListClustersAsync ( options , cancellationToken ) ) ;
2837
2867
@@ -2854,6 +2884,7 @@ public ListIndicesResponse ListIndices(int? page = default, int? hitsPerPage = d
2854
2884
2855
2885
2856
2886
/// <inheritdoc />
2887
+ [ Obsolete ]
2857
2888
public async Task < ListUserIdsResponse > ListUserIdsAsync ( int ? page = default , int ? hitsPerPage = default , RequestOptions options = null , CancellationToken cancellationToken = default )
2858
2889
{
2859
2890
var requestOptions = new InternalRequestOptions ( options ) ;
@@ -2866,6 +2897,7 @@ public async Task<ListUserIdsResponse> ListUserIdsAsync(int? page = default, int
2866
2897
2867
2898
2868
2899
/// <inheritdoc />
2900
+ [ Obsolete ]
2869
2901
public ListUserIdsResponse ListUserIds ( int ? page = default , int ? hitsPerPage = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2870
2902
AsyncHelper . RunSync ( ( ) => ListUserIdsAsync ( page , hitsPerPage , options , cancellationToken ) ) ;
2871
2903
@@ -2947,6 +2979,7 @@ public UpdatedAtWithObjectIdResponse PartialUpdateObject(string indexName, strin
2947
2979
2948
2980
2949
2981
/// <inheritdoc />
2982
+ [ Obsolete ]
2950
2983
public async Task < RemoveUserIdResponse > RemoveUserIdAsync ( string userID , RequestOptions options = null , CancellationToken cancellationToken = default )
2951
2984
{
2952
2985
@@ -2962,6 +2995,7 @@ public async Task<RemoveUserIdResponse> RemoveUserIdAsync(string userID, Request
2962
2995
2963
2996
2964
2997
/// <inheritdoc />
2998
+ [ Obsolete ]
2965
2999
public RemoveUserIdResponse RemoveUserId ( string userID , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2966
3000
AsyncHelper . RunSync ( ( ) => RemoveUserIdAsync ( userID , options , cancellationToken ) ) ;
2967
3001
@@ -3285,6 +3319,7 @@ public SearchSynonymsResponse SearchSynonyms(string indexName, SearchSynonymsPar
3285
3319
3286
3320
3287
3321
/// <inheritdoc />
3322
+ [ Obsolete ]
3288
3323
public async Task < SearchUserIdsResponse > SearchUserIdsAsync ( SearchUserIdsParams searchUserIdsParams , RequestOptions options = null , CancellationToken cancellationToken = default )
3289
3324
{
3290
3325
@@ -3301,6 +3336,7 @@ public async Task<SearchUserIdsResponse> SearchUserIdsAsync(SearchUserIdsParams
3301
3336
3302
3337
3303
3338
/// <inheritdoc />
3339
+ [ Obsolete ]
3304
3340
public SearchUserIdsResponse SearchUserIds ( SearchUserIdsParams searchUserIdsParams , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
3305
3341
AsyncHelper . RunSync ( ( ) => SearchUserIdsAsync ( searchUserIdsParams , options , cancellationToken ) ) ;
3306
3342
0 commit comments