30ea96d6709d5c4c98461933cd385fe7065732b1
[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 _0xecfe=['path','rimraf','./condition.attributes','exports','define','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x2fe58e,_0x5c97b7){var _0x18b7f3=function(_0x28070d){while(--_0x28070d){_0x2fe58e['push'](_0x2fe58e['shift']());}};_0x18b7f3(++_0x5c97b7);}(_0xecfe,0x68));var _0xeecf=function(_0x26fc81,_0x57fc19){_0x26fc81=_0x26fc81-0x0;var _0x9feece=_0xecfe[_0x26fc81];return _0x9feece;};'use strict';var _=require(_0xeecf('0x0'));var util=require(_0xeecf('0x1'));var logger=require(_0xeecf('0x2'))(_0xeecf('0x3'));var moment=require(_0xeecf('0x4'));var BPromise=require(_0xeecf('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xeecf('0x6'));var rimraf=require(_0xeecf('0x7'));var config=require('../../config/environment');var attributes=require(_0xeecf('0x8'));module[_0xeecf('0x9')]=function(_0x170ae9,_0x44b11b){return _0x170ae9[_0xeecf('0xa')]('Condition',attributes,{'tableName':'tools_conditions','paranoid':![],'indexes':[],'timestamps':!![]});};