import { CreateRequestBuilder , DeleteRequestBuilder , DeSerializers , GetAllRequestBuilder , GetByKeyRequestBuilder , ODataBatchRequestBuilder , UpdateRequestBuilder , BatchChangeSet } from '@sap-cloud-sdk/odata-v2' ; import { variadicArgumentToArray } from '@sap-cloud-sdk/util' ; import { MultiSchemaTestEntity } 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 = 'VALUE_IS_UNDEFINED' ; export type ReadMultipleSchemasServiceRequestBuilder < DeSerializersT extends DeSerializers > = GetAllRequestBuilder < MultiSchemaTestEntity < DeSerializersT > , DeSerializersT > | GetByKeyRequestBuilder < MultiSchemaTestEntity < DeSerializersT > , DeSerializersT > ; export type WriteMultipleSchemasServiceRequestBuilder < DeSerializersT extends DeSerializers > = CreateRequestBuilder < MultiSchemaTestEntity < DeSerializersT > , DeSerializersT > | UpdateRequestBuilder < MultiSchemaTestEntity < DeSerializersT > , DeSerializersT > | DeleteRequestBuilder < MultiSchemaTestEntity < DeSerializersT > , DeSerializersT > ;