63a7ce66e9f9705e0fb2b6804e531d4d8403dd10
[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 _0x12fe=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./condition.attributes','exports','define','Condition','tools_conditions','lodash','util','../../config/logger'];(function(_0x4810ea,_0x487aca){var _0x430c93=function(_0x5aff90){while(--_0x5aff90){_0x4810ea['push'](_0x4810ea['shift']());}};_0x430c93(++_0x487aca);}(_0x12fe,0xc1));var _0xe12f=function(_0x41baa0,_0x50ea4a){_0x41baa0=_0x41baa0-0x0;var _0x3eb277=_0x12fe[_0x41baa0];return _0x3eb277;};'use strict';var _=require(_0xe12f('0x0'));var util=require(_0xe12f('0x1'));var logger=require(_0xe12f('0x2'))('api');var moment=require(_0xe12f('0x3'));var BPromise=require(_0xe12f('0x4'));var rp=require(_0xe12f('0x5'));var fs=require('fs');var path=require(_0xe12f('0x6'));var rimraf=require(_0xe12f('0x7'));var config=require(_0xe12f('0x8'));var attributes=require(_0xe12f('0x9'));module[_0xe12f('0xa')]=function(_0x1ecb0d,_0x44112a){return _0x1ecb0d[_0xe12f('0xb')](_0xe12f('0xc'),attributes,{'tableName':_0xe12f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};