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 _0xaf31=['lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./automation.attributes','exports','define','tools_automations'];(function(_0x1f3823,_0x539071){var _0x422b3f=function(_0x9a95f3){while(--_0x9a95f3){_0x1f3823['push'](_0x1f3823['shift']());}};_0x422b3f(++_0x539071);}(_0xaf31,0xb4));var _0x1af3=function(_0x3652aa,_0x2d0c65){_0x3652aa=_0x3652aa-0x0;var _0x62b75f=_0xaf31[_0x3652aa];return _0x62b75f;};'use strict';var _=require(_0x1af3('0x0'));var util=require(_0x1af3('0x1'));var logger=require(_0x1af3('0x2'))('api');var moment=require(_0x1af3('0x3'));var BPromise=require(_0x1af3('0x4'));var rp=require(_0x1af3('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1af3('0x6'));var config=require(_0x1af3('0x7'));var attributes=require(_0x1af3('0x8'));module[_0x1af3('0x9')]=function(_0x36a06c,_0x5297a1){return _0x36a06c[_0x1af3('0xa')]('Automation',attributes,{'tableName':_0x1af3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};