Built motion from commit (unavailable).|2.5.17
[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 _0x19ec=['./trigger.attributes','exports','define','Trigger','tools_triggers','lodash','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x26291f,_0x1e158d){var _0x41ad8b=function(_0x381a72){while(--_0x381a72){_0x26291f['push'](_0x26291f['shift']());}};_0x41ad8b(++_0x1e158d);}(_0x19ec,0x94));var _0xc19e=function(_0x4b055c,_0x4b870b){_0x4b055c=_0x4b055c-0x0;var _0x4b62bb=_0x19ec[_0x4b055c];return _0x4b62bb;};'use strict';var _=require(_0xc19e('0x0'));var util=require('util');var logger=require(_0xc19e('0x1'))(_0xc19e('0x2'));var moment=require(_0xc19e('0x3'));var BPromise=require(_0xc19e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc19e('0x5'));var rimraf=require(_0xc19e('0x6'));var config=require(_0xc19e('0x7'));var attributes=require(_0xc19e('0x8'));module[_0xc19e('0x9')]=function(_0x4f5324,_0x541521){return _0x4f5324[_0xc19e('0xa')](_0xc19e('0xb'),attributes,{'tableName':_0xc19e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};