Built motion from commit (unavailable).|2.0.76
[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 _0xb2de=['lodash','../../config/logger','api','request-promise','./automation.attributes','exports','define','tools_automations'];(function(_0x47c6e4,_0x1fc750){var _0x2e655e=function(_0x8c2221){while(--_0x8c2221){_0x47c6e4['push'](_0x47c6e4['shift']());}};_0x2e655e(++_0x1fc750);}(_0xb2de,0x130));var _0xeb2d=function(_0x330336,_0xb8cb41){_0x330336=_0x330336-0x0;var _0x2055ee=_0xb2de[_0x330336];return _0x2055ee;};'use strict';var _=require(_0xeb2d('0x0'));var util=require('util');var logger=require(_0xeb2d('0x1'))(_0xeb2d('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xeb2d('0x3'));var attributes=require(_0xeb2d('0x4'));module[_0xeb2d('0x5')]=function(_0xef62e2,_0x5d1058){return _0xef62e2[_0xeb2d('0x6')]('Automation',attributes,{'tableName':_0xeb2d('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};