Built motion from commit 9e1399f3.|2.5.37
[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 _0xe5de=['../../config/environment','./condition.attributes','exports','define','tools_conditions','lodash','util','../../config/logger','api','moment','request-promise','rimraf'];(function(_0x1ab06f,_0xe0a037){var _0x22e906=function(_0x4a1128){while(--_0x4a1128){_0x1ab06f['push'](_0x1ab06f['shift']());}};_0x22e906(++_0xe0a037);}(_0xe5de,0xd1));var _0xee5d=function(_0x47f767,_0x123e20){_0x47f767=_0x47f767-0x0;var _0x5a00d6=_0xe5de[_0x47f767];return _0x5a00d6;};'use strict';var _=require(_0xee5d('0x0'));var util=require(_0xee5d('0x1'));var logger=require(_0xee5d('0x2'))(_0xee5d('0x3'));var moment=require(_0xee5d('0x4'));var BPromise=require('bluebird');var rp=require(_0xee5d('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xee5d('0x6'));var config=require(_0xee5d('0x7'));var attributes=require(_0xee5d('0x8'));module[_0xee5d('0x9')]=function(_0xfe2de3,_0x4cf99c){return _0xfe2de3[_0xee5d('0xa')]('Condition',attributes,{'tableName':_0xee5d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};