@@ -157,6 +157,7 @@ public interface IIngestionClient
157
157
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
158
158
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
159
159
/// <returns>Task of TaskCreateResponse</returns>
160
+ [ Obsolete ]
160
161
Task < TaskCreateResponse > CreateTaskV1Async ( TaskCreateV1 taskCreate , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
161
162
162
163
/// <summary>
@@ -169,6 +170,7 @@ public interface IIngestionClient
169
170
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
170
171
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
171
172
/// <returns>TaskCreateResponse</returns>
173
+ [ Obsolete ]
172
174
TaskCreateResponse CreateTaskV1 ( TaskCreateV1 taskCreate , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
173
175
174
176
/// <summary>
@@ -439,6 +441,7 @@ public interface IIngestionClient
439
441
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
440
442
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
441
443
/// <returns>Task of DeleteResponse</returns>
444
+ [ Obsolete ]
442
445
Task < DeleteResponse > DeleteTaskV1Async ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
443
446
444
447
/// <summary>
@@ -451,6 +454,7 @@ public interface IIngestionClient
451
454
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
452
455
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
453
456
/// <returns>DeleteResponse</returns>
457
+ [ Obsolete ]
454
458
DeleteResponse DeleteTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
455
459
456
460
/// <summary>
@@ -596,6 +600,7 @@ public interface IIngestionClient
596
600
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
597
601
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
598
602
/// <returns>Task of TaskUpdateResponse</returns>
603
+ [ Obsolete ]
599
604
Task < TaskUpdateResponse > EnableTaskV1Async ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
600
605
601
606
/// <summary>
@@ -613,6 +618,7 @@ public interface IIngestionClient
613
618
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
614
619
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
615
620
/// <returns>TaskUpdateResponse</returns>
621
+ [ Obsolete ]
616
622
TaskUpdateResponse EnableTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
617
623
618
624
/// <summary>
@@ -836,6 +842,7 @@ public interface IIngestionClient
836
842
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
837
843
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
838
844
/// <returns>Task of TaskV1</returns>
845
+ [ Obsolete ]
839
846
Task < TaskV1 > GetTaskV1Async ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
840
847
841
848
/// <summary>
@@ -853,6 +860,7 @@ public interface IIngestionClient
853
860
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
854
861
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
855
862
/// <returns>TaskV1</returns>
863
+ [ Obsolete ]
856
864
TaskV1 GetTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
857
865
858
866
/// <summary>
@@ -1200,6 +1208,7 @@ public interface IIngestionClient
1200
1208
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1201
1209
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1202
1210
/// <returns>Task of ListTasksResponseV1</returns>
1211
+ [ Obsolete ]
1203
1212
Task < ListTasksResponseV1 > ListTasksV1Async ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1204
1213
1205
1214
/// <summary>
@@ -1225,6 +1234,7 @@ public interface IIngestionClient
1225
1234
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1226
1235
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1227
1236
/// <returns>ListTasksResponseV1</returns>
1237
+ [ Obsolete ]
1228
1238
ListTasksResponseV1 ListTasksV1 ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1229
1239
1230
1240
/// <summary>
@@ -1390,6 +1400,7 @@ public interface IIngestionClient
1390
1400
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1391
1401
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1392
1402
/// <returns>Task of RunResponse</returns>
1403
+ [ Obsolete ]
1393
1404
Task < RunResponse > RunTaskV1Async ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1394
1405
1395
1406
/// <summary>
@@ -1407,6 +1418,7 @@ public interface IIngestionClient
1407
1418
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1408
1419
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1409
1420
/// <returns>RunResponse</returns>
1421
+ [ Obsolete ]
1410
1422
RunResponse RunTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1411
1423
1412
1424
/// <summary>
@@ -1560,6 +1572,7 @@ public interface IIngestionClient
1560
1572
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1561
1573
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1562
1574
/// <returns>Task of List{TaskV1}</returns>
1575
+ [ Obsolete ]
1563
1576
Task < List < TaskV1 > > SearchTasksV1Async ( TaskSearch taskSearch , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1564
1577
1565
1578
/// <summary>
@@ -1577,6 +1590,7 @@ public interface IIngestionClient
1577
1590
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1578
1591
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1579
1592
/// <returns>List{TaskV1}</returns>
1593
+ [ Obsolete ]
1580
1594
List < TaskV1 > SearchTasksV1 ( TaskSearch taskSearch , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1581
1595
1582
1596
/// <summary>
@@ -1862,6 +1876,7 @@ public interface IIngestionClient
1862
1876
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1863
1877
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1864
1878
/// <returns>Task of TaskUpdateResponse</returns>
1879
+ [ Obsolete ]
1865
1880
Task < TaskUpdateResponse > UpdateTaskV1Async ( string taskID , TaskUpdateV1 taskUpdate , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1866
1881
1867
1882
/// <summary>
@@ -1875,6 +1890,7 @@ public interface IIngestionClient
1875
1890
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1876
1891
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1877
1892
/// <returns>TaskUpdateResponse</returns>
1893
+ [ Obsolete ]
1878
1894
TaskUpdateResponse UpdateTaskV1 ( string taskID , TaskUpdateV1 taskUpdate , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1879
1895
1880
1896
/// <summary>
@@ -2133,6 +2149,7 @@ public TaskCreateResponse CreateTask(TaskCreate taskCreate, RequestOptions optio
2133
2149
2134
2150
2135
2151
/// <inheritdoc />
2152
+ [ Obsolete ]
2136
2153
public async Task < TaskCreateResponse > CreateTaskV1Async ( TaskCreateV1 taskCreate , RequestOptions options = null , CancellationToken cancellationToken = default )
2137
2154
{
2138
2155
@@ -2148,6 +2165,7 @@ public async Task<TaskCreateResponse> CreateTaskV1Async(TaskCreateV1 taskCreate,
2148
2165
2149
2166
2150
2167
/// <inheritdoc />
2168
+ [ Obsolete ]
2151
2169
public TaskCreateResponse CreateTaskV1 ( TaskCreateV1 taskCreate , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2152
2170
AsyncHelper . RunSync ( ( ) => CreateTaskV1Async ( taskCreate , options , cancellationToken ) ) ;
2153
2171
@@ -2335,6 +2353,7 @@ public DeleteResponse DeleteTask(string taskID, RequestOptions options = null, C
2335
2353
2336
2354
2337
2355
/// <inheritdoc />
2356
+ [ Obsolete ]
2338
2357
public async Task < DeleteResponse > DeleteTaskV1Async ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default )
2339
2358
{
2340
2359
@@ -2350,6 +2369,7 @@ public async Task<DeleteResponse> DeleteTaskV1Async(string taskID, RequestOption
2350
2369
2351
2370
2352
2371
/// <inheritdoc />
2372
+ [ Obsolete ]
2353
2373
public DeleteResponse DeleteTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2354
2374
AsyncHelper . RunSync ( ( ) => DeleteTaskV1Async ( taskID , options , cancellationToken ) ) ;
2355
2375
@@ -2437,6 +2457,7 @@ public TaskUpdateResponse EnableTask(string taskID, RequestOptions options = nul
2437
2457
2438
2458
2439
2459
/// <inheritdoc />
2460
+ [ Obsolete ]
2440
2461
public async Task < TaskUpdateResponse > EnableTaskV1Async ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default )
2441
2462
{
2442
2463
@@ -2452,6 +2473,7 @@ public async Task<TaskUpdateResponse> EnableTaskV1Async(string taskID, RequestOp
2452
2473
2453
2474
2454
2475
/// <inheritdoc />
2476
+ [ Obsolete ]
2455
2477
public TaskUpdateResponse EnableTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2456
2478
AsyncHelper . RunSync ( ( ) => EnableTaskV1Async ( taskID , options , cancellationToken ) ) ;
2457
2479
@@ -2582,6 +2604,7 @@ public IngestionTask GetTask(string taskID, RequestOptions options = null, Cance
2582
2604
2583
2605
2584
2606
/// <inheritdoc />
2607
+ [ Obsolete ]
2585
2608
public async Task < TaskV1 > GetTaskV1Async ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default )
2586
2609
{
2587
2610
@@ -2597,6 +2620,7 @@ public async Task<TaskV1> GetTaskV1Async(string taskID, RequestOptions options =
2597
2620
2598
2621
2599
2622
/// <inheritdoc />
2623
+ [ Obsolete ]
2600
2624
public TaskV1 GetTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2601
2625
AsyncHelper . RunSync ( ( ) => GetTaskV1Async ( taskID , options , cancellationToken ) ) ;
2602
2626
@@ -2764,6 +2788,7 @@ public ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = defa
2764
2788
2765
2789
2766
2790
/// <inheritdoc />
2791
+ [ Obsolete ]
2767
2792
public async Task < ListTasksResponseV1 > ListTasksV1Async ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default )
2768
2793
{
2769
2794
var requestOptions = new InternalRequestOptions ( options ) ;
@@ -2783,6 +2808,7 @@ public async Task<ListTasksResponseV1> ListTasksV1Async(int? itemsPerPage = defa
2783
2808
2784
2809
2785
2810
/// <inheritdoc />
2811
+ [ Obsolete ]
2786
2812
public ListTasksResponseV1 ListTasksV1 ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2787
2813
AsyncHelper . RunSync ( ( ) => ListTasksV1Async ( itemsPerPage , page , action , enabled , sourceID , destinationID , triggerType , sort , order , options , cancellationToken ) ) ;
2788
2814
@@ -2877,6 +2903,7 @@ public RunResponse RunTask(string taskID, RequestOptions options = null, Cancell
2877
2903
2878
2904
2879
2905
/// <inheritdoc />
2906
+ [ Obsolete ]
2880
2907
public async Task < RunResponse > RunTaskV1Async ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default )
2881
2908
{
2882
2909
@@ -2892,6 +2919,7 @@ public async Task<RunResponse> RunTaskV1Async(string taskID, RequestOptions opti
2892
2919
2893
2920
2894
2921
/// <inheritdoc />
2922
+ [ Obsolete ]
2895
2923
public RunResponse RunTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2896
2924
AsyncHelper . RunSync ( ( ) => RunTaskV1Async ( taskID , options , cancellationToken ) ) ;
2897
2925
@@ -2977,6 +3005,7 @@ public List<IngestionTask> SearchTasks(TaskSearch taskSearch, RequestOptions opt
2977
3005
2978
3006
2979
3007
/// <inheritdoc />
3008
+ [ Obsolete ]
2980
3009
public async Task < List < TaskV1 > > SearchTasksV1Async ( TaskSearch taskSearch , RequestOptions options = null , CancellationToken cancellationToken = default )
2981
3010
{
2982
3011
@@ -2992,6 +3021,7 @@ public async Task<List<TaskV1>> SearchTasksV1Async(TaskSearch taskSearch, Reques
2992
3021
2993
3022
2994
3023
/// <inheritdoc />
3024
+ [ Obsolete ]
2995
3025
public List < TaskV1 > SearchTasksV1 ( TaskSearch taskSearch , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2996
3026
AsyncHelper . RunSync ( ( ) => SearchTasksV1Async ( taskSearch , options , cancellationToken ) ) ;
2997
3027
@@ -3185,6 +3215,7 @@ public TaskUpdateResponse UpdateTask(string taskID, TaskUpdate taskUpdate, Reque
3185
3215
3186
3216
3187
3217
/// <inheritdoc />
3218
+ [ Obsolete ]
3188
3219
public async Task < TaskUpdateResponse > UpdateTaskV1Async ( string taskID , TaskUpdateV1 taskUpdate , RequestOptions options = null , CancellationToken cancellationToken = default )
3189
3220
{
3190
3221
@@ -3205,6 +3236,7 @@ public async Task<TaskUpdateResponse> UpdateTaskV1Async(string taskID, TaskUpdat
3205
3236
3206
3237
3207
3238
/// <inheritdoc />
3239
+ [ Obsolete ]
3208
3240
public TaskUpdateResponse UpdateTaskV1 ( string taskID , TaskUpdateV1 taskUpdate , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
3209
3241
AsyncHelper . RunSync ( ( ) => UpdateTaskV1Async ( taskID , taskUpdate , options , cancellationToken ) ) ;
3210
3242
0 commit comments