Built motion from commit 08fb8613.|2.6.31
[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 _0x9dc2=['define','lodash','util','../../config/logger','api','moment','request-promise','rimraf','./automation.attributes','exports'];(function(_0x4b4107,_0x220da9){var _0x1e7248=function(_0x3581bd){while(--_0x3581bd){_0x4b4107['push'](_0x4b4107['shift']());}};_0x1e7248(++_0x220da9);}(_0x9dc2,0x1b9));var _0x29dc=function(_0x3d3edb,_0x7888d3){_0x3d3edb=_0x3d3edb-0x0;var _0x503601=_0x9dc2[_0x3d3edb];return _0x503601;};'use strict';var _=require(_0x29dc('0x0'));var util=require(_0x29dc('0x1'));var logger=require(_0x29dc('0x2'))(_0x29dc('0x3'));var moment=require(_0x29dc('0x4'));var BPromise=require('bluebird');var rp=require(_0x29dc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x29dc('0x6'));var config=require('../../config/environment');var attributes=require(_0x29dc('0x7'));module[_0x29dc('0x8')]=function(_0x316b7f,_0x1db84e){return _0x316b7f[_0x29dc('0x9')]('Automation',attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});};