Built motion from commit (unavailable).|2.5.25
[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 _0xc9cb=['./automation.attributes','define','tools_automations','lodash','../../config/logger','api','moment','request-promise','rimraf','../../config/environment'];(function(_0x124d50,_0x43c6f3){var _0x583e84=function(_0x1310cd){while(--_0x1310cd){_0x124d50['push'](_0x124d50['shift']());}};_0x583e84(++_0x43c6f3);}(_0xc9cb,0x14d));var _0xbc9c=function(_0x58323a,_0x1587ff){_0x58323a=_0x58323a-0x0;var _0x4c4136=_0xc9cb[_0x58323a];return _0x4c4136;};'use strict';var _=require(_0xbc9c('0x0'));var util=require('util');var logger=require(_0xbc9c('0x1'))(_0xbc9c('0x2'));var moment=require(_0xbc9c('0x3'));var BPromise=require('bluebird');var rp=require(_0xbc9c('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbc9c('0x5'));var config=require(_0xbc9c('0x6'));var attributes=require(_0xbc9c('0x7'));module['exports']=function(_0x65dfdf,_0x14525c){return _0x65dfdf[_0xbc9c('0x8')]('Automation',attributes,{'tableName':_0xbc9c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};