Built motion from commit (unavailable).|2.3.4
[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 _0xb4ac=['util','../../config/logger','api','request-promise','./action.attributes','define','Action','tools_actions','lodash'];(function(_0x7d62cb,_0x7622c){var _0x3a6266=function(_0x1cc5fa){while(--_0x1cc5fa){_0x7d62cb['push'](_0x7d62cb['shift']());}};_0x3a6266(++_0x7622c);}(_0xb4ac,0x1a6));var _0xcb4a=function(_0x56312f,_0x685233){_0x56312f=_0x56312f-0x0;var _0x8b273d=_0xb4ac[_0x56312f];return _0x8b273d;};'use strict';var _=require(_0xcb4a('0x0'));var util=require(_0xcb4a('0x1'));var logger=require(_0xcb4a('0x2'))(_0xcb4a('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xcb4a('0x4'));var attributes=require(_0xcb4a('0x5'));module['exports']=function(_0x213eb9,_0x889ff3){return _0x213eb9[_0xcb4a('0x6')](_0xcb4a('0x7'),attributes,{'tableName':_0xcb4a('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};