d9b350913909c6dacb5df6658754a233bd0e6d56
[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 _0xaf81=['define','Automation','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./automation.attributes'];(function(_0x1c284,_0x23c148){var _0x5c21a7=function(_0x32ae41){while(--_0x32ae41){_0x1c284['push'](_0x1c284['shift']());}};_0x5c21a7(++_0x23c148);}(_0xaf81,0x86));var _0x1af8=function(_0x387777,_0x356171){_0x387777=_0x387777-0x0;var _0x3f84c0=_0xaf81[_0x387777];return _0x3f84c0;};'use strict';var _=require(_0x1af8('0x0'));var util=require(_0x1af8('0x1'));var logger=require(_0x1af8('0x2'))(_0x1af8('0x3'));var moment=require(_0x1af8('0x4'));var BPromise=require(_0x1af8('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1af8('0x6'));var rimraf=require(_0x1af8('0x7'));var config=require(_0x1af8('0x8'));var attributes=require(_0x1af8('0x9'));module['exports']=function(_0x49fe5a,_0x3bbbcf){return _0x49fe5a[_0x1af8('0xa')](_0x1af8('0xb'),attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});};