aa04d2f40ed8adab9f4f4af4c94785baa5ff02ef
[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 _0xe49b=['lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','define','Condition','tools_conditions'];(function(_0x8de54f,_0x271987){var _0x14cba4=function(_0x58ed41){while(--_0x58ed41){_0x8de54f['push'](_0x8de54f['shift']());}};_0x14cba4(++_0x271987);}(_0xe49b,0xfc));var _0xbe49=function(_0x3d8c76,_0x4bf40e){_0x3d8c76=_0x3d8c76-0x0;var _0x3de364=_0xe49b[_0x3d8c76];return _0x3de364;};'use strict';var _=require(_0xbe49('0x0'));var util=require(_0xbe49('0x1'));var logger=require(_0xbe49('0x2'))(_0xbe49('0x3'));var moment=require(_0xbe49('0x4'));var BPromise=require('bluebird');var rp=require(_0xbe49('0x5'));var fs=require('fs');var path=require(_0xbe49('0x6'));var rimraf=require(_0xbe49('0x7'));var config=require(_0xbe49('0x8'));var attributes=require('./condition.attributes');module['exports']=function(_0x5c3837,_0x50b686){return _0x5c3837[_0xbe49('0x9')](_0xbe49('0xa'),attributes,{'tableName':_0xbe49('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};