import { FunctionImportRequestBuilder , DeSerializers , transformReturnValueForEntity , DefaultDeSerializers , defaultDeSerializers , FunctionImportParameter } from '@sap-cloud-sdk/odata-v4' ; import { multipleSchemasService } from './service' ; import { TestEntity1 } from './TestEntity1' ; import { TestEntity1Api } from './TestEntity1Api' ; import { TestEntity2 } from './TestEntity2' ; import { TestEntity2Api } from './TestEntity2Api' ; /**
 * Type of the parameters to be passed to [[testFunctionImportEntityReturnType1]].
 */ export interface TestFunctionImportEntityReturnType1Parameters < DeSerializersT extends DeSerializers > { } param parameters returns export function testFunctionImportEntityReturnType1 < DeSerializersT extends DeSerializers = DefaultDeSerializers > ( parameters , deSerializers = defaultDeSerializers as any ) { const params = { } ; return new FunctionImportRequestBuilder ( '/sap/opu/odata/sap/API_TEST_SRV' , 'TestFunctionImportEntityReturnType1' , data => transformReturnValueForEntity ( data , multipleSchemasService ( deSerializers ) . testEntity1Api ) , params , deSerializers ) ; } /**
 * Type of the parameters to be passed to [[testFunctionImportEntityReturnType2]].
 */ export interface TestFunctionImportEntityReturnType2Parameters < DeSerializersT extends DeSerializers > { } param parameters returns export function testFunctionImportEntityReturnType2 < DeSerializersT extends DeSerializers = DefaultDeSerializers > ( parameters , deSerializers = defaultDeSerializers as any ) { const params = { } ; return new FunctionImportRequestBuilder ( '/sap/opu/odata/sap/API_TEST_SRV' , 'TestFunctionImportEntityReturnType2' , data => transformReturnValueForEntity ( data , multipleSchemasService ( deSerializers ) . testEntity2Api ) , params , deSerializers ) ; } export const functionImports = { testFunctionImportEntityReturnType1 , testFunctionImportEntityReturnType2 } ;