@sap/subaccount-destination-service-provider
Version:
Provide service consumption of SAP subaccount services
22 lines (21 loc) • 1.22 kB
TypeScript
import { DataType, ProxyType } from "@sap/service-provider-apis";
import { BusinessItem, BusinessItemSpec, ProviderOptions, ProviderSystemBusiness } from "../types/moveToBase";
import { AbapBusinessRetrieverRepository } from "../retrievers/abapBusinessRetrieverRepository";
export declare class SubaccountDestinationProviderSystemBusiness implements ProviderSystemBusiness {
private readonly logger;
readonly name: string;
readonly url: string;
readonly dataType: DataType;
readonly proxyType: ProxyType;
private readonly repository;
readonly authenticationType: string;
readonly product: string;
readonly description: string;
readonly sapClient?: string;
constructor(name: string, url: string, dataType: DataType, proxyType: ProxyType, authType: string, product: string, description: string, abapBusinessRetrieverRepository: AbapBusinessRetrieverRepository, sapClient?: string);
getBOs(options?: ProviderOptions): Promise<BusinessItem[]>;
getCDS(options?: ProviderOptions): Promise<BusinessItem[]>;
getSpecBo(businessItemId: string): Promise<BusinessItemSpec>;
getSpecCds(businessItemId: string): Promise<BusinessItemSpec>;
private validateDataType;
}