8b08af732619ce65c96539a6d7b3e25f4c44a366
[motion2.git] / server / api / trigger / trigger.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 _0xeb54=['./trigger.attributes','Trigger','tools_triggers','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x5eacff,_0x22e19d){var _0xae98de=function(_0x48899a){while(--_0x48899a){_0x5eacff['push'](_0x5eacff['shift']());}};_0xae98de(++_0x22e19d);}(_0xeb54,0x1a3));var _0x4eb5=function(_0x11fe50,_0x41615a){_0x11fe50=_0x11fe50-0x0;var _0x853bda=_0xeb54[_0x11fe50];return _0x853bda;};'use strict';var _=require(_0x4eb5('0x0'));var util=require(_0x4eb5('0x1'));var logger=require(_0x4eb5('0x2'))(_0x4eb5('0x3'));var moment=require(_0x4eb5('0x4'));var BPromise=require(_0x4eb5('0x5'));var rp=require(_0x4eb5('0x6'));var fs=require('fs');var path=require(_0x4eb5('0x7'));var rimraf=require(_0x4eb5('0x8'));var config=require(_0x4eb5('0x9'));var attributes=require(_0x4eb5('0xa'));module['exports']=function(_0xa7e07f,_0x33b502){return _0xa7e07f['define'](_0x4eb5('0xb'),attributes,{'tableName':_0x4eb5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};