Built motion from commit (unavailable).|2.2.1
[motion2.git] / server / api / action / action.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 _0xf58b=['lodash','util','../../config/logger','moment','request-promise','exports','Action'];(function(_0x4dbaad,_0x730318){var _0x226c72=function(_0x501972){while(--_0x501972){_0x4dbaad['push'](_0x4dbaad['shift']());}};_0x226c72(++_0x730318);}(_0xf58b,0x165));var _0xbf58=function(_0xaa0309,_0x1c8008){_0xaa0309=_0xaa0309-0x0;var _0x5de7ce=_0xf58b[_0xaa0309];return _0x5de7ce;};'use strict';var _=require(_0xbf58('0x0'));var util=require(_0xbf58('0x1'));var logger=require(_0xbf58('0x2'))('api');var moment=require(_0xbf58('0x3'));var BPromise=require('bluebird');var rp=require(_0xbf58('0x4'));var attributes=require('./action.attributes');module[_0xbf58('0x5')]=function(_0x5ac56e,_0x5a5a2a){return _0x5ac56e['define'](_0xbf58('0x6'),attributes,{'tableName':'tools_actions','paranoid':![],'indexes':[],'timestamps':!![]});};