b2664b9f8c47035576b340547c452d311ba43b5c
[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 _0xa537=['rimraf','../../config/environment','./condition.attributes','exports','define','Condition','tools_conditions','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x334841,_0x2bbc4c){var _0x5beb4b=function(_0x4bea72){while(--_0x4bea72){_0x334841['push'](_0x334841['shift']());}};_0x5beb4b(++_0x2bbc4c);}(_0xa537,0x1c9));var _0x7a53=function(_0x2eccc2,_0x458210){_0x2eccc2=_0x2eccc2-0x0;var _0x3ecd1f=_0xa537[_0x2eccc2];return _0x3ecd1f;};'use strict';var _=require(_0x7a53('0x0'));var util=require(_0x7a53('0x1'));var logger=require(_0x7a53('0x2'))(_0x7a53('0x3'));var moment=require(_0x7a53('0x4'));var BPromise=require(_0x7a53('0x5'));var rp=require(_0x7a53('0x6'));var fs=require('fs');var path=require(_0x7a53('0x7'));var rimraf=require(_0x7a53('0x8'));var config=require(_0x7a53('0x9'));var attributes=require(_0x7a53('0xa'));module[_0x7a53('0xb')]=function(_0x3654b5,_0x3c4f9d){return _0x3654b5[_0x7a53('0xc')](_0x7a53('0xd'),attributes,{'tableName':_0x7a53('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};