@@ -1154,54 +1154,6 @@ open class IngestionClient {
11541154 )
11551155 }
11561156
1157- /// - parameter generateTransformationCodePayload: (body)
1158- /// - returns: GenerateTransformationCodeResponse
1159- @available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
1160- open func generateTransformationCode(
1161- generateTransformationCodePayload: GenerateTransformationCodePayload ,
1162- requestOptions: RequestOptions ? = nil
1163- ) async throws -> GenerateTransformationCodeResponse {
1164- let response : Response < GenerateTransformationCodeResponse > = try await generateTransformationCodeWithHTTPInfo (
1165- generateTransformationCodePayload: generateTransformationCodePayload,
1166- requestOptions: requestOptions
1167- )
1168-
1169- guard let body = response. body else {
1170- throw AlgoliaError . missingData
1171- }
1172-
1173- return body
1174- }
1175-
1176- // Generates code for the selected model based on the given prompt.
1177- // Required API Key ACLs:
1178- // - addObject
1179- // - deleteIndex
1180- // - editSettings
1181- //
1182- // - parameter generateTransformationCodePayload: (body)
1183- // - returns: RequestBuilder<GenerateTransformationCodeResponse>
1184-
1185- open func generateTransformationCodeWithHTTPInfo(
1186- generateTransformationCodePayload: GenerateTransformationCodePayload ,
1187- requestOptions userRequestOptions: RequestOptions ? = nil
1188- ) async throws -> Response < GenerateTransformationCodeResponse > {
1189- let resourcePath = " /1/transformations/models "
1190- let body = generateTransformationCodePayload
1191- let queryParameters : [ String : Any ? ] ? = nil
1192-
1193- let nillableHeaders : [ String : Any ? ] ? = nil
1194-
1195- let headers = APIHelper . rejectNilHeaders ( nillableHeaders)
1196-
1197- return try await self . transporter. send (
1198- method: " POST " ,
1199- path: resourcePath,
1200- data: body,
1201- requestOptions: RequestOptions ( headers: headers, queryParameters: queryParameters) + userRequestOptions
1202- )
1203- }
1204-
12051157 /// - parameter authenticationID: (path) Unique identifier of an authentication resource.
12061158 /// - returns: Authentication
12071159 @available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
@@ -2379,46 +2331,6 @@ open class IngestionClient {
23792331 )
23802332 }
23812333
2382- /// - returns: TransformationModels
2383- @available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
2384- open func listTransformationModels( requestOptions: RequestOptions ? = nil ) async throws -> TransformationModels {
2385- let response : Response < TransformationModels > =
2386- try await listTransformationModelsWithHTTPInfo ( requestOptions: requestOptions)
2387-
2388- guard let body = response. body else {
2389- throw AlgoliaError . missingData
2390- }
2391-
2392- return body
2393- }
2394-
2395- // Retrieves a list of existing LLM transformation helpers.
2396- // Required API Key ACLs:
2397- // - addObject
2398- // - deleteIndex
2399- // - editSettings
2400- // - returns: RequestBuilder<TransformationModels>
2401-
2402- open func listTransformationModelsWithHTTPInfo(
2403- requestOptions userRequestOptions: RequestOptions ? =
2404- nil
2405- ) async throws -> Response < TransformationModels > {
2406- let resourcePath = " /1/transformations/models "
2407- let body : AnyCodable ? = nil
2408- let queryParameters : [ String : Any ? ] ? = nil
2409-
2410- let nillableHeaders : [ String : Any ? ] ? = nil
2411-
2412- let headers = APIHelper . rejectNilHeaders ( nillableHeaders)
2413-
2414- return try await self . transporter. send (
2415- method: " GET " ,
2416- path: resourcePath,
2417- data: body,
2418- requestOptions: RequestOptions ( headers: headers, queryParameters: queryParameters) + userRequestOptions
2419- )
2420- }
2421-
24222334 /// - parameter itemsPerPage: (query) Number of items per page. (optional, default to 10)
24232335 /// - parameter page: (query) Page number of the paginated API response. (optional)
24242336 /// - parameter sort: (query) Property by which to sort the list. (optional)
0 commit comments