UNPKG

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.

29 lines (24 loc) 533 B
import ListObject from './list-object.mjs'; /** * Class returned by getSystemSettings operations. * @extends ListObject */ class SystemSettings extends ListObject { constructor(remoteAPI) { super(remoteAPI); this.api.registerObject(this); } /** @protected */ asJsonRpc() { const api = { "@name": "systemsettings" } const requestObject = this.requestObject = { "#id": this.id, "@name": "api", "@func": [api] }; return requestObject; } } export default SystemSettings;