92e722efe55c7318c903f80c4f2b792d7bda5806
[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 _0xaff9=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./condition.attributes','define','Condition','tools_conditions','lodash','util'];(function(_0x3d4e2c,_0x5ad034){var _0xa49ee7=function(_0x22aecd){while(--_0x22aecd){_0x3d4e2c['push'](_0x3d4e2c['shift']());}};_0xa49ee7(++_0x5ad034);}(_0xaff9,0x8a));var _0x9aff=function(_0x3321e2,_0x46629c){_0x3321e2=_0x3321e2-0x0;var _0x2ebf85=_0xaff9[_0x3321e2];return _0x2ebf85;};'use strict';var _=require(_0x9aff('0x0'));var util=require(_0x9aff('0x1'));var logger=require(_0x9aff('0x2'))(_0x9aff('0x3'));var moment=require(_0x9aff('0x4'));var BPromise=require(_0x9aff('0x5'));var rp=require(_0x9aff('0x6'));var fs=require('fs');var path=require(_0x9aff('0x7'));var rimraf=require(_0x9aff('0x8'));var config=require(_0x9aff('0x9'));var attributes=require(_0x9aff('0xa'));module['exports']=function(_0x47b8a7,_0x420ce4){return _0x47b8a7[_0x9aff('0xb')](_0x9aff('0xc'),attributes,{'tableName':_0x9aff('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};