efficy-enterprise-api
Version:
The Efficy Enterprise API is developed for server-side usage in a Node.js environment (e.g. for integrations) and also bundled for usage inside an Efficy browser session for client-side JSON RPC requests.
32 lines (27 loc) • 493 B
JavaScript
/**
* Class representing a remotely fetched Attachment
*/
class AttachmentObject {
key;
constructor(key) {
this.key = key;
}
setStream(stream) {
this.
}
/**
* get the base64 encoded attachment stream
* @type {string}
*/
get base64Stream() {
return this.
}
get func() {
const func = {};
func["@name"] = "attachment";
func["key"] = this.key;
return func;
};
}
export default AttachmentObject;