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 _0x0b7a=['request-promise','path','rimraf','../../config/environment','./condition.attributes','exports','define','tools_conditions','../../config/logger','bluebird'];(function(_0x1dc8a1,_0x43450b){var _0x4e663e=function(_0x3409de){while(--_0x3409de){_0x1dc8a1['push'](_0x1dc8a1['shift']());}};_0x4e663e(++_0x43450b);}(_0x0b7a,0xbc));var _0xa0b7=function(_0x1c8539,_0x107438){_0x1c8539=_0x1c8539-0x0;var _0x5d9716=_0x0b7a[_0x1c8539];return _0x5d9716;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xa0b7('0x0'))('api');var moment=require('moment');var BPromise=require(_0xa0b7('0x1'));var rp=require(_0xa0b7('0x2'));var fs=require('fs');var path=require(_0xa0b7('0x3'));var rimraf=require(_0xa0b7('0x4'));var config=require(_0xa0b7('0x5'));var attributes=require(_0xa0b7('0x6'));module[_0xa0b7('0x7')]=function(_0x5f4e88,_0x1457d0){return _0x5f4e88[_0xa0b7('0x8')]('Condition',attributes,{'tableName':_0xa0b7('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};