36c5c20eccc6080431e4cc86d7923e636b315015
[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 _0x45ba=['../../config/environment','./automation.attributes','Automation','tools_automations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x503306,_0x356f2f){var _0x44a99d=function(_0x1a6ec4){while(--_0x1a6ec4){_0x503306['push'](_0x503306['shift']());}};_0x44a99d(++_0x356f2f);}(_0x45ba,0x1c0));var _0xa45b=function(_0x15bede,_0x26ec8b){_0x15bede=_0x15bede-0x0;var _0x27d498=_0x45ba[_0x15bede];return _0x27d498;};'use strict';var _=require(_0xa45b('0x0'));var util=require(_0xa45b('0x1'));var logger=require(_0xa45b('0x2'))(_0xa45b('0x3'));var moment=require(_0xa45b('0x4'));var BPromise=require(_0xa45b('0x5'));var rp=require(_0xa45b('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa45b('0x7'));var config=require(_0xa45b('0x8'));var attributes=require(_0xa45b('0x9'));module['exports']=function(_0x562491,_0x17110b){return _0x562491['define'](_0xa45b('0xa'),attributes,{'tableName':_0xa45b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};