import { Values } from '@salto-io/adapter-api'; import { Credentials, MarketoMetadata } from './types'; import { MarketoClientOpts, MarketoObjectAPI, RequestOptions } from './marketo'; export default class MarketoClient { private readonly conn; static validateCredentials(credentials: Credentials, connection?: MarketoObjectAPI): Promise; constructor({ credentials, connection }: MarketoClientOpts); getAllInstances(typeName: string): Promise; describe(typeName: string, options?: RequestOptions): Promise; createInstance(typeName: string, name: string, _marketoMetadata: MarketoMetadata): Promise; getCustomObjects(qs?: object): Promise; createOrUpdateCustomObject(object: Values): Promise; approveCustomObject(apiName: string): Promise; addCustomObjectField(apiName: string, object: Values): Promise; updateCustomObjectField(apiName: string, fieldApiName: string, object: Values): Promise; removeCustomObjectField(apiName: string, object: Values): Promise; deleteCustomObject(apiName: string): Promise; updateInstance(typeName: string, marketoMetadata: MarketoMetadata): Promise; deleteInstance(typeName: string, name: string, deleteRequest: Values): Promise; } //# sourceMappingURL=client.d.ts.map