Built motion from commit 9d0783e6.|2.6.13
[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 _0x438e=['path','rimraf','../../config/environment','./automation.attributes','exports','define','tools_automations','util','../../config/logger','api','bluebird','request-promise'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x438e,0x1f3));var _0xe438=function(_0x3b56c0,_0xe100d8){_0x3b56c0=_0x3b56c0-0x0;var _0x377efe=_0x438e[_0x3b56c0];return _0x377efe;};'use strict';var _=require('lodash');var util=require(_0xe438('0x0'));var logger=require(_0xe438('0x1'))(_0xe438('0x2'));var moment=require('moment');var BPromise=require(_0xe438('0x3'));var rp=require(_0xe438('0x4'));var fs=require('fs');var path=require(_0xe438('0x5'));var rimraf=require(_0xe438('0x6'));var config=require(_0xe438('0x7'));var attributes=require(_0xe438('0x8'));module[_0xe438('0x9')]=function(_0x309d97,_0x2655c7){return _0x309d97[_0xe438('0xa')]('Automation',attributes,{'tableName':_0xe438('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};