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 _0xba8e=['exports','define','Condition','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x386ee7,_0x22c4cb){var _0x5798c1=function(_0x47b87a){while(--_0x47b87a){_0x386ee7['push'](_0x386ee7['shift']());}};_0x5798c1(++_0x22c4cb);}(_0xba8e,0x153));var _0xeba8=function(_0x170772,_0x1f1ee7){_0x170772=_0x170772-0x0;var _0x3ef69c=_0xba8e[_0x170772];return _0x3ef69c;};'use strict';var _=require(_0xeba8('0x0'));var util=require(_0xeba8('0x1'));var logger=require(_0xeba8('0x2'))('api');var moment=require(_0xeba8('0x3'));var BPromise=require(_0xeba8('0x4'));var rp=require(_0xeba8('0x5'));var fs=require('fs');var path=require(_0xeba8('0x6'));var rimraf=require(_0xeba8('0x7'));var config=require(_0xeba8('0x8'));var attributes=require('./condition.attributes');module[_0xeba8('0x9')]=function(_0x34e721,_0x252ff4){return _0x34e721[_0xeba8('0xa')](_0xeba8('0xb'),attributes,{'tableName':'tools_conditions','paranoid':![],'indexes':[],'timestamps':!![]});};