1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x33f2=['util','../../config/logger','request-promise','exports','define','Plugin','plugins','lodash'];(function(_0x3485f8,_0x1b66cf){var _0x1fbba7=function(_0x135b73){while(--_0x135b73){_0x3485f8['push'](_0x3485f8['shift']());}};_0x1fbba7(++_0x1b66cf);}(_0x33f2,0x117));var _0x233f=function(_0x2dbcef,_0x1cfecb){_0x2dbcef=_0x2dbcef-0x0;var _0x5a90ea=_0x33f2[_0x2dbcef];return _0x5a90ea;};'use strict';var _=require(_0x233f('0x0'));var util=require(_0x233f('0x1'));var logger=require(_0x233f('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x233f('0x3'));var attributes=require('./plugin.attributes');module[_0x233f('0x4')]=function(_0x59cd43,_0x39bf51){return _0x59cd43[_0x233f('0x5')](_0x233f('0x6'),attributes,{'tableName':_0x233f('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};