Built motion from commit (unavailable).|2.5.22
[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 _0x15ff=['tools_triggers','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x2f3daf,_0x296006){var _0x51b2fb=function(_0x16ac38){while(--_0x16ac38){_0x2f3daf['push'](_0x2f3daf['shift']());}};_0x51b2fb(++_0x296006);}(_0x15ff,0xcd));var _0xf15f=function(_0x32bbaa,_0x2bc8f3){_0x32bbaa=_0x32bbaa-0x0;var _0x34077b=_0x15ff[_0x32bbaa];return _0x34077b;};'use strict';var _=require(_0xf15f('0x0'));var util=require(_0xf15f('0x1'));var logger=require(_0xf15f('0x2'))(_0xf15f('0x3'));var moment=require(_0xf15f('0x4'));var BPromise=require(_0xf15f('0x5'));var rp=require(_0xf15f('0x6'));var fs=require('fs');var path=require(_0xf15f('0x7'));var rimraf=require(_0xf15f('0x8'));var config=require(_0xf15f('0x9'));var attributes=require('./trigger.attributes');module[_0xf15f('0xa')]=function(_0x3eda86,_0x44e541){return _0x3eda86['define']('Trigger',attributes,{'tableName':_0xf15f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};