Built motion from commit (unavailable).|2.3.4
[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 _0x2755=['../../config/logger','api','bluebird','request-promise','Trigger','lodash','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x2755,0xc9));var _0x5275=function(_0x467f16,_0x437cc3){_0x467f16=_0x467f16-0x0;var _0x28338b=_0x2755[_0x467f16];return _0x28338b;};'use strict';var _=require(_0x5275('0x0'));var util=require(_0x5275('0x1'));var logger=require(_0x5275('0x2'))(_0x5275('0x3'));var moment=require('moment');var BPromise=require(_0x5275('0x4'));var rp=require(_0x5275('0x5'));var attributes=require('./trigger.attributes');module['exports']=function(_0x9638f6,_0x550c12){return _0x9638f6['define'](_0x5275('0x6'),attributes,{'tableName':'tools_triggers','paranoid':![],'indexes':[],'timestamps':!![]});};