1cee7fc613906d81f3c945c5597d522f32553be5
[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 _0x4de4=['lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./condition.attributes','exports','define','Condition','tools_conditions'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x4de4,0x15f));var _0x44de=function(_0x55c612,_0x2d1eaf){_0x55c612=_0x55c612-0x0;var _0x27bc76=_0x4de4[_0x55c612];return _0x27bc76;};'use strict';var _=require(_0x44de('0x0'));var util=require(_0x44de('0x1'));var logger=require(_0x44de('0x2'))(_0x44de('0x3'));var moment=require('moment');var BPromise=require(_0x44de('0x4'));var rp=require(_0x44de('0x5'));var fs=require('fs');var path=require(_0x44de('0x6'));var rimraf=require(_0x44de('0x7'));var config=require('../../config/environment');var attributes=require(_0x44de('0x8'));module[_0x44de('0x9')]=function(_0x5393bc,_0x52d09e){return _0x5393bc[_0x44de('0xa')](_0x44de('0xb'),attributes,{'tableName':_0x44de('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};