Built motion from commit (unavailable).|2.0.78
[motion2.git] / server / api / automation / automation.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 _0x29c7=['../../config/logger','api','moment','bluebird','./automation.attributes','Automation','util'];(function(_0xf55e73,_0x3fecc5){var _0x116b99=function(_0x314e0c){while(--_0x314e0c){_0xf55e73['push'](_0xf55e73['shift']());}};_0x116b99(++_0x3fecc5);}(_0x29c7,0x68));var _0x729c=function(_0x2b57e1,_0x2eb486){_0x2b57e1=_0x2b57e1-0x0;var _0x5d012f=_0x29c7[_0x2b57e1];return _0x5d012f;};'use strict';var _=require('lodash');var util=require(_0x729c('0x0'));var logger=require(_0x729c('0x1'))(_0x729c('0x2'));var moment=require(_0x729c('0x3'));var BPromise=require(_0x729c('0x4'));var rp=require('request-promise');var attributes=require(_0x729c('0x5'));module['exports']=function(_0x5b148a,_0x2c7df0){return _0x5b148a['define'](_0x729c('0x6'),attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});};