Built motion from commit (unavailable).|2.5.23
[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 _0x569f=['rimraf','./trigger.attributes','exports','define','Trigger','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0x55e461,_0x260d5e){var _0x26e885=function(_0xf3121f){while(--_0xf3121f){_0x55e461['push'](_0x55e461['shift']());}};_0x26e885(++_0x260d5e);}(_0x569f,0xf5));var _0xf569=function(_0x47d6b5,_0x1abfb8){_0x47d6b5=_0x47d6b5-0x0;var _0xc7e7f6=_0x569f[_0x47d6b5];return _0xc7e7f6;};'use strict';var _=require(_0xf569('0x0'));var util=require(_0xf569('0x1'));var logger=require(_0xf569('0x2'))(_0xf569('0x3'));var moment=require(_0xf569('0x4'));var BPromise=require(_0xf569('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf569('0x6'));var rimraf=require(_0xf569('0x7'));var config=require('../../config/environment');var attributes=require(_0xf569('0x8'));module[_0xf569('0x9')]=function(_0x5b9860,_0x4ada9a){return _0x5b9860[_0xf569('0xa')](_0xf569('0xb'),attributes,{'tableName':'tools_triggers','paranoid':![],'indexes':[],'timestamps':!![]});};