import { testService } from '@sap-cloud-sdk/test-services/v2/test-service' ; import { and , asc , desc , or } from '@sap-cloud-sdk/odata-common/internal' ; const { testEntityApi } = testService ( ) ; const testEntitySchema = testEntityApi . schema ; testEntitySchema . COMPLEX_TYPE_PROPERTY ; testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty ; const getAllTSE = testEntityApi . requestBuilder ( ) . getAll ( ) ; getAllTSE . select ( testEntitySchema . COMPLEX_TYPE_PROPERTY ) ; getAllTSE . select ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty ) ; getAllTSE . filter ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty . equals ( 'test' ) ) ; getAllTSE . filter ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty . equals ( 'test' ) , testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty . notEquals ( 'test' ) ) ; getAllTSE . filter ( and ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty . equals ( 'test' ) , testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty . notEquals ( 'test' ) ) ) ; getAllTSE . filter ( or ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty . equals ( 'test' ) , testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty . notEquals ( 'test' ) ) ) ; getAllTSE . orderBy ( asc ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty ) ) ; getAllTSE . orderBy ( desc ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty ) ) ; getAllTSE . orderBy ( asc ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty ) , desc ( testEntitySchema . COMPLEX_TYPE_PROPERTY . stringProperty ) ) ; getAllTSE . orderBy ( asc ( testEntitySchema . COMPLEX_TYPE_PROPERTY ) ) ;