@@ -2424,15 +2424,15 @@ open class IngestionClient {
24242424 /// Connectors pipeline.
24252425 /// - parameter watch: (query) When provided, the push operation will be synchronous and the API will wait for the
24262426 /// ingestion to be finished before responding. (optional)
2427- /// - returns: RunResponse
2427+ /// - returns: WatchResponse
24282428 @available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
24292429 open func pushTask(
24302430 taskID: String ,
24312431 pushTaskPayload: PushTaskPayload ,
24322432 watch: Bool ? = nil ,
24332433 requestOptions: RequestOptions ? = nil
2434- ) async throws -> RunResponse {
2435- let response : Response < RunResponse > = try await pushTaskWithHTTPInfo (
2434+ ) async throws -> WatchResponse {
2435+ let response : Response < WatchResponse > = try await pushTaskWithHTTPInfo (
24362436 taskID: taskID,
24372437 pushTaskPayload: pushTaskPayload,
24382438 watch: watch,
@@ -2460,14 +2460,14 @@ open class IngestionClient {
24602460 //
24612461 // - parameter watch: (query) When provided, the push operation will be synchronous and the API will wait for the
24622462 // ingestion to be finished before responding. (optional)
2463- // - returns: RequestBuilder<RunResponse >
2463+ // - returns: RequestBuilder<WatchResponse >
24642464
24652465 open func pushTaskWithHTTPInfo(
24662466 taskID: String ,
24672467 pushTaskPayload: PushTaskPayload ,
24682468 watch: Bool ? = nil ,
24692469 requestOptions userRequestOptions: RequestOptions ? = nil
2470- ) async throws -> Response < RunResponse > {
2470+ ) async throws -> Response < WatchResponse > {
24712471 guard !taskID. isEmpty else {
24722472 throw AlgoliaError . invalidArgument ( " taskID " , " pushTask " )
24732473 }
@@ -2969,13 +2969,13 @@ open class IngestionClient {
29692969 }
29702970
29712971 /// - parameter sourceID: (path) Unique identifier of a source.
2972- /// - returns: SourceWatchResponse
2972+ /// - returns: WatchResponse
29732973 @available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
29742974 open func triggerDockerSourceDiscover(
29752975 sourceID: String ,
29762976 requestOptions: RequestOptions ? = nil
2977- ) async throws -> SourceWatchResponse {
2978- let response : Response < SourceWatchResponse > = try await triggerDockerSourceDiscoverWithHTTPInfo (
2977+ ) async throws -> WatchResponse {
2978+ let response : Response < WatchResponse > = try await triggerDockerSourceDiscoverWithHTTPInfo (
29792979 sourceID: sourceID,
29802980 requestOptions: requestOptions
29812981 )
@@ -2995,12 +2995,12 @@ open class IngestionClient {
29952995 // - editSettings
29962996 //
29972997 // - parameter sourceID: (path) Unique identifier of a source.
2998- // - returns: RequestBuilder<SourceWatchResponse >
2998+ // - returns: RequestBuilder<WatchResponse >
29992999
30003000 open func triggerDockerSourceDiscoverWithHTTPInfo(
30013001 sourceID: String ,
30023002 requestOptions userRequestOptions: RequestOptions ? = nil
3003- ) async throws -> Response < SourceWatchResponse > {
3003+ ) async throws -> Response < WatchResponse > {
30043004 guard !sourceID. isEmpty else {
30053005 throw AlgoliaError . invalidArgument ( " sourceID " , " triggerDockerSourceDiscover " )
30063006 }
@@ -3539,13 +3539,13 @@ open class IngestionClient {
35393539 }
35403540
35413541 /// - parameter sourceCreate: (body) (optional)
3542- /// - returns: SourceWatchResponse
3542+ /// - returns: WatchResponse
35433543 @available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
35443544 open func validateSource(
35453545 sourceCreate: SourceCreate ? = nil ,
35463546 requestOptions: RequestOptions ? = nil
3547- ) async throws -> SourceWatchResponse {
3548- let response : Response < SourceWatchResponse > = try await validateSourceWithHTTPInfo (
3547+ ) async throws -> WatchResponse {
3548+ let response : Response < WatchResponse > = try await validateSourceWithHTTPInfo (
35493549 sourceCreate: sourceCreate,
35503550 requestOptions: requestOptions
35513551 )
@@ -3564,12 +3564,12 @@ open class IngestionClient {
35643564 // - editSettings
35653565 //
35663566 // - parameter sourceCreate: (body) (optional)
3567- // - returns: RequestBuilder<SourceWatchResponse >
3567+ // - returns: RequestBuilder<WatchResponse >
35683568
35693569 open func validateSourceWithHTTPInfo(
35703570 sourceCreate: SourceCreate ? = nil ,
35713571 requestOptions userRequestOptions: RequestOptions ? = nil
3572- ) async throws -> Response < SourceWatchResponse > {
3572+ ) async throws -> Response < WatchResponse > {
35733573 let resourcePath = " /1/sources/validate "
35743574 let body = sourceCreate
35753575 let queryParameters : [ String : Any ? ] ? = nil
@@ -3588,14 +3588,14 @@ open class IngestionClient {
35883588
35893589 /// - parameter sourceID: (path) Unique identifier of a source.
35903590 /// - parameter sourceUpdate: (body)
3591- /// - returns: SourceWatchResponse
3591+ /// - returns: WatchResponse
35923592 @available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
35933593 open func validateSourceBeforeUpdate(
35943594 sourceID: String ,
35953595 sourceUpdate: SourceUpdate ,
35963596 requestOptions: RequestOptions ? = nil
3597- ) async throws -> SourceWatchResponse {
3598- let response : Response < SourceWatchResponse > = try await validateSourceBeforeUpdateWithHTTPInfo (
3597+ ) async throws -> WatchResponse {
3598+ let response : Response < WatchResponse > = try await validateSourceBeforeUpdateWithHTTPInfo (
35993599 sourceID: sourceID,
36003600 sourceUpdate: sourceUpdate,
36013601 requestOptions: requestOptions
@@ -3618,13 +3618,13 @@ open class IngestionClient {
36183618 // - parameter sourceID: (path) Unique identifier of a source.
36193619 //
36203620 // - parameter sourceUpdate: (body)
3621- // - returns: RequestBuilder<SourceWatchResponse >
3621+ // - returns: RequestBuilder<WatchResponse >
36223622
36233623 open func validateSourceBeforeUpdateWithHTTPInfo(
36243624 sourceID: String ,
36253625 sourceUpdate: SourceUpdate ,
36263626 requestOptions userRequestOptions: RequestOptions ? = nil
3627- ) async throws -> Response < SourceWatchResponse > {
3627+ ) async throws -> Response < WatchResponse > {
36283628 guard !sourceID. isEmpty else {
36293629 throw AlgoliaError . invalidArgument ( " sourceID " , " validateSourceBeforeUpdate " )
36303630 }
0 commit comments