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 _0xb579=['request-promise','./condition.attributes','exports','Condition','lodash','util','../../config/logger','moment'];(function(_0x285a08,_0x36726d){var _0x16d137=function(_0x329e){while(--_0x329e){_0x285a08['push'](_0x285a08['shift']());}};_0x16d137(++_0x36726d);}(_0xb579,0x9c));var _0x9b57=function(_0x1c1aff,_0x564494){_0x1c1aff=_0x1c1aff-0x0;var _0x35a0b3=_0xb579[_0x1c1aff];return _0x35a0b3;};'use strict';var _=require(_0x9b57('0x0'));var util=require(_0x9b57('0x1'));var logger=require(_0x9b57('0x2'))('api');var moment=require(_0x9b57('0x3'));var BPromise=require('bluebird');var rp=require(_0x9b57('0x4'));var attributes=require(_0x9b57('0x5'));module[_0x9b57('0x6')]=function(_0x2c1ae1,_0x229e9e){return _0x2c1ae1['define'](_0x9b57('0x7'),attributes,{'tableName':'tools_conditions','paranoid':![],'indexes':[],'timestamps':!![]});};