Built motion from commit b0a9a629.|2.6.33
[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 _0x7400=['./action.attributes','Action','tools_actions','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2f087e,_0x24ae0c){var _0x2146c5=function(_0x4b755f){while(--_0x4b755f){_0x2f087e['push'](_0x2f087e['shift']());}};_0x2146c5(++_0x24ae0c);}(_0x7400,0x1d7));var _0x0740=function(_0x290c31,_0x534b8a){_0x290c31=_0x290c31-0x0;var _0x2eb0ac=_0x7400[_0x290c31];return _0x2eb0ac;};'use strict';var _=require('lodash');var util=require(_0x0740('0x0'));var logger=require(_0x0740('0x1'))(_0x0740('0x2'));var moment=require(_0x0740('0x3'));var BPromise=require(_0x0740('0x4'));var rp=require(_0x0740('0x5'));var fs=require('fs');var path=require(_0x0740('0x6'));var rimraf=require(_0x0740('0x7'));var config=require(_0x0740('0x8'));var attributes=require(_0x0740('0x9'));module['exports']=function(_0x430d15,_0x25cdee){return _0x430d15['define'](_0x0740('0xa'),attributes,{'tableName':_0x0740('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};