import { CreateRequestBuilder , DeleteRequestBuilder , DeSerializers , GetAllRequestBuilder , GetByKeyRequestBuilder , ODataBatchRequestBuilder , UpdateRequestBuilder , BatchChangeSet } from '@sap-cloud-sdk/odata-v4' ; import { variadicArgumentToArray } from '@sap-cloud-sdk/util' ; import { TestEntity1 , TestEntity2 , TestEntity3 , TestEntity4 } from './index' ; param requests returns export function batch < DeSerializersT extends DeSerializers > ( ... requests ) ; export function batch < DeSerializersT extends DeSerializers > ( requests ) ; export function batch < DeSerializersT extends DeSerializers > ( first , ... rest ) { return new ODataBatchRequestBuilder ( defaultMultipleSchemasServicePath , variadicArgumentToArray ( first , rest ) ) ; } param requests returns export function changeset < DeSerializersT extends DeSerializers > ( ... requests ) ; export function changeset < DeSerializersT extends DeSerializers > ( requests ) ; export function changeset < DeSerializersT extends DeSerializers > ( first , ... rest ) { return new BatchChangeSet ( variadicArgumentToArray ( first , rest ) ) ; } export const defaultMultipleSchemasServicePath = '/sap/opu/odata/sap/API_TEST_SRV' ; export type ReadMultipleSchemasServiceRequestBuilder < DeSerializersT extends DeSerializers > = GetAllRequestBuilder < TestEntity1 < DeSerializersT > , DeSerializersT > | GetAllRequestBuilder < TestEntity2 < DeSerializersT > , DeSerializersT > | GetAllRequestBuilder < TestEntity3 < DeSerializersT > , DeSerializersT > | GetAllRequestBuilder < TestEntity4 < DeSerializersT > , DeSerializersT > | GetByKeyRequestBuilder < TestEntity1 < DeSerializersT > , DeSerializersT > | GetByKeyRequestBuilder < TestEntity2 < DeSerializersT > , DeSerializersT > | GetByKeyRequestBuilder < TestEntity3 < DeSerializersT > , DeSerializersT > | GetByKeyRequestBuilder < TestEntity4 < DeSerializersT > , DeSerializersT > ; export type WriteMultipleSchemasServiceRequestBuilder < DeSerializersT extends DeSerializers > = CreateRequestBuilder < TestEntity1 < DeSerializersT > , DeSerializersT > | UpdateRequestBuilder < TestEntity1 < DeSerializersT > , DeSerializersT > | DeleteRequestBuilder < TestEntity1 < DeSerializersT > , DeSerializersT > | CreateRequestBuilder < TestEntity2 < DeSerializersT > , DeSerializersT > | UpdateRequestBuilder < TestEntity2 < DeSerializersT > , DeSerializersT > | DeleteRequestBuilder < TestEntity2 < DeSerializersT > , DeSerializersT > | CreateRequestBuilder < TestEntity3 < DeSerializersT > , DeSerializersT > | UpdateRequestBuilder < TestEntity3 < DeSerializersT > , DeSerializersT > | DeleteRequestBuilder < TestEntity3 < DeSerializersT > , DeSerializersT > | CreateRequestBuilder < TestEntity4 < DeSerializersT > , DeSerializersT > | UpdateRequestBuilder < TestEntity4 < DeSerializersT > , DeSerializersT > | DeleteRequestBuilder < TestEntity4 < DeSerializersT > , DeSerializersT > ;