heat-sfdx-metadata
Version:
 [](https://badge.fury.io/js/heat-sfdx-metadata) [ • 1.35 kB
TypeScript
/**
* @name common.ts
* @description common
*/
import * as soap from 'soap';
import { authorization } from 'heat-sfdx-common';
declare const UTF8 = "utf8";
/**
* @name METADATA_TYPE2FOLDER_MAP
* @description map of metadataType to metadata folder
*/
declare const METADATA_TYPE2FOLDER_MAP: any;
/**
* @name METADATA_FOLDER2TYPE_MAP
* @description map of metadata folder to metadataType
*/
declare const METADATA_FOLDER2TYPE_MAP: any;
/**
* @name createClient
* @description create client
*/
declare function createClient(authorization: authorization): Promise<soap.Client>;
/**
* @name invoke
* @description invoke a method
*/
declare const invoke: (method: any, args: any) => Promise<unknown>;
/**
* @name callFunction
* @description call a function
*/
declare function callFunction(authorization: authorization, config: any, _getMethod: any, _getArgs: any): Promise<string>;
/**
* @name methodsMetadata
* @description methods of Metadata WSDL
*/
declare function methodsMetadata(params: authorization): Promise<string>;
/**
* @name specificationMetadata
* @description specification of Metadata WSDL
*/
declare function specificationMetadata(params: authorization): Promise<string>;
export { UTF8, METADATA_TYPE2FOLDER_MAP, METADATA_FOLDER2TYPE_MAP, createClient, invoke, callFunction, methodsMetadata, specificationMetadata };