Skip to content

Commit 92624d0

Browse files
feat(specs): allow filtering transformations type (generated)
algolia/api-clients-automation#5363 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 64c4778 commit 92624d0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/Ingestion/IngestionClient.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,20 +2472,24 @@ open class IngestionClient {
24722472
/// - parameter page: (query) Page number of the paginated API response. (optional)
24732473
/// - parameter sort: (query) Property by which to sort the list of transformations. (optional)
24742474
/// - parameter order: (query) Sort order of the response, ascending or descending. (optional)
2475+
/// - parameter type: (query) Whether to filter the list of transformations by the type of transformation.
2476+
/// (optional)
24752477
/// - returns: ListTransformationsResponse
24762478
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
24772479
open func listTransformations(
24782480
itemsPerPage: Int? = nil,
24792481
page: Int? = nil,
24802482
sort: TransformationSortKeys? = nil,
24812483
order: OrderKeys? = nil,
2484+
type: TransformationType? = nil,
24822485
requestOptions: RequestOptions? = nil
24832486
) async throws -> ListTransformationsResponse {
24842487
let response: Response<ListTransformationsResponse> = try await listTransformationsWithHTTPInfo(
24852488
itemsPerPage: itemsPerPage,
24862489
page: page,
24872490
sort: sort,
24882491
order: order,
2492+
type: type,
24892493
requestOptions: requestOptions
24902494
)
24912495

@@ -2509,13 +2513,16 @@ open class IngestionClient {
25092513
// - parameter sort: (query) Property by which to sort the list of transformations. (optional)
25102514
//
25112515
// - parameter order: (query) Sort order of the response, ascending or descending. (optional)
2516+
//
2517+
// - parameter type: (query) Whether to filter the list of transformations by the type of transformation. (optional)
25122518
// - returns: RequestBuilder<ListTransformationsResponse>
25132519

25142520
open func listTransformationsWithHTTPInfo(
25152521
itemsPerPage: Int? = nil,
25162522
page: Int? = nil,
25172523
sort: TransformationSortKeys? = nil,
25182524
order: OrderKeys? = nil,
2525+
type: TransformationType? = nil,
25192526
requestOptions userRequestOptions: RequestOptions? = nil
25202527
) async throws -> Response<ListTransformationsResponse> {
25212528
let resourcePath = "/1/transformations"
@@ -2525,6 +2532,7 @@ open class IngestionClient {
25252532
"page": page?.encodeToJSON(),
25262533
"sort": sort?.encodeToJSON(),
25272534
"order": order?.encodeToJSON(),
2535+
"type": type?.encodeToJSON(),
25282536
]
25292537

25302538
let nillableHeaders: [String: Any?]? = nil

0 commit comments

Comments
 (0)