Built motion from commit d301b742.|2.6.29
[motion2.git] / server / api / condition / condition.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x23a5=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./condition.attributes','exports','define','Condition','tools_conditions','lodash','util'];(function(_0x2152f3,_0x502ac8){var _0x3c8499=function(_0x154b5d){while(--_0x154b5d){_0x2152f3['push'](_0x2152f3['shift']());}};_0x3c8499(++_0x502ac8);}(_0x23a5,0x1a2));var _0x523a=function(_0x405911,_0xcd61ab){_0x405911=_0x405911-0x0;var _0x33b1ff=_0x23a5[_0x405911];return _0x33b1ff;};'use strict';var _=require(_0x523a('0x0'));var util=require(_0x523a('0x1'));var logger=require(_0x523a('0x2'))(_0x523a('0x3'));var moment=require(_0x523a('0x4'));var BPromise=require(_0x523a('0x5'));var rp=require(_0x523a('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x523a('0x7'));var config=require(_0x523a('0x8'));var attributes=require(_0x523a('0x9'));module[_0x523a('0xa')]=function(_0x2a02c5,_0x3459ac){return _0x2a02c5[_0x523a('0xb')](_0x523a('0xc'),attributes,{'tableName':_0x523a('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};