/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { AbstractServerClient, ContentType, type PlainObject } from '@finos/legend-shared'; import type { IngestDefinitionDeploymentResponse, IngestDefinitionValidationResponse } from './models/LakehouseIngestionDeploymentResponse.js'; import type { IngestDeploymentServerConfig, ProducerEnvironment } from './models/IngestDeploymentServerConfig.js'; import type { AdhocDataProductDeployResponse } from './models/AdhocDataProductDeployResponse.js'; import type { V1_IngestEnvironment, V1_IngestDefinition, V1_ProducerEnvironment } from '@finos/legend-graph'; export declare class LakehouseIngestServerClient extends AbstractServerClient { environmentClassification: string | undefined; protected DATA_PRODUCT_URL: string; constructor(config: IngestDeploymentServerConfig | undefined); protected _token: (token?: string) => { Authorization: string; }; protected _tokenWithTextPlain: (token?: string) => { "Content-Type": ContentType; Authorization: string; }; protected _tokenWithAcceptTextPlain: (token?: string) => { Accept: ContentType; Authorization: string; }; protected _dataProduct: (serverUrl?: string | undefined) => string; protected _ingestDefinitions: () => string; protected _ingest: (serverUrl?: string | undefined) => string; changeServer(serverConfig: IngestDeploymentServerConfig): void; validate(validateGrammar: string, token: string | undefined, options?: { abortController?: AbortController | undefined; }): Promise>; deploy(deployGrammar: string, token: string | undefined, options?: { abortController?: AbortController | undefined; }): Promise; write_location(urn: string, token: string | undefined, options?: { abortController?: AbortController | undefined; }): Promise; deployDataProduct(fullGrammar: string, token: string | undefined, options?: { abortController?: AbortController | undefined; }): Promise>; getIngestEnvironment: (ingestServerUrl: string | undefined, token: string | undefined, options?: { abortController?: AbortController | undefined; }) => Promise>; getProducerEnvironment: (deploymentId: number, ingestServerUrl: string | undefined, token: string | undefined, options?: { abortController?: AbortController | undefined; }) => Promise>; getProducerEnvironments: (ingestServerUrl: string | undefined, token: string | undefined, options?: { abortController?: AbortController | undefined; }) => Promise; getIngestDefinitions: (producerEnvironmentUrn: string, ingestServerUrl: string | undefined, token: string | undefined, options?: { abortController?: AbortController | undefined; }) => Promise; getProducerEnvironmentDetails: (producerEnvironmentUrn: string, ingestServerUrl: string | undefined, token: string | undefined, options?: { abortController?: AbortController | undefined; }) => Promise>; getIngestDefinitionDetail: (ingestDefinitionUrn: string, ingestServerUrl: string | undefined, token: string | undefined, options?: { abortController?: AbortController | undefined; }) => Promise>; getIngestDefinitionGrammar: (ingestDefinitionUrn: string, ingestServerUrl: string | undefined, token: string | undefined, options?: { abortController?: AbortController | undefined; }) => Promise; } //# sourceMappingURL=LakehouseIngestServerClient.d.ts.map