salesforce-alm
Version:
This package contains tools, and APIs, for an improved salesforce.com developer experience.
14 lines (13 loc) • 542 B
TypeScript
declare const _default: {
/**
* clones a validated config object. this will automatically decrypt or encrypt those attributes defined as secret.
*
* @param config - the object to validate
* @param attributes - attribute object to validate config against
* {NAME: {name: [attribute name] secret: [true if the field should be encrypted.]}}
* @param encrypt - See Crypto.js
* @returns {Promise.<*>}
*/
getCleanObject(config: any, attributes: any, encrypt: any): Promise<{}>;
};
export = _default;