@shi-corp/sdk-data-gateway
Version:
SDK client used to interface with the SHI Data Gateway service.
11 lines (10 loc) • 809 B
TypeScript
import type { TokenCredential } from "@azure/core-auth";
export type * from './sdk/models/index.js';
/**
* Function that initializes the Data Gateway SDK.
* @param credential Configured authentication session.
* @param baseUrl Root of the URL that should have endpoints appended to it by the query building system.
* @param scopeList Specific audience and or list of permissions to request on the access token when retrieved. Defaults to the global data gateway enterprise app with whatever credentials the current principal has assigned.
* @returns Configured API client that is able to make requests against SHI Data Gateway.
*/
export declare function dataGatewayClientFactory(credential: TokenCredential, baseUrl?: URL, scopeList?: string[]): import("./sdk/dataGatewayClient.js").DataGatewayClient;