import { FetchResult, AdapterOperations, DeployOptions, DeployResult, DeployModifiers } from '@salto-io/adapter-api'; import MarketoClient from './client/client'; export interface MarketoAdapterParams { client: MarketoClient; } export default class MarketoAdapter implements AdapterOperations { private readonly client; constructor({ client, }: MarketoAdapterParams); /** * Fetch configuration elements: objects, types and instances for the given Marketo account. */ fetch(): Promise; private getAllMarketoObjects; private getAllMarketoObjectTypes; deploy({ changeGroup }: DeployOptions): Promise; /** * Add new instance * @param change the instance to add * @returns the updated element * @throws error in case of failure */ private add; private addObjectType; /** * Remove an instance * @param change to remove * @throws error in case of failure */ private remove; /** * Updates an Element * @param _before The metadata of the old element * @param after The new metadata of the element to replace * @returns the updated element */ private update; private updateObjectType; private updateCustomObject; private createCustomObject; private addCustomObjectField; private getCustomObjectByName; private approveCustomObjectIfNeeded; get deployModifiers(): DeployModifiers; } //# sourceMappingURL=adapter.d.ts.map