39b66d0c84f8cf6f17719ea07882dbce19a7531c
[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 _0x6002=['Action','tools_actions','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./action.attributes','define'];(function(_0x57564c,_0x1845cf){var _0x5702ed=function(_0x30d8b6){while(--_0x30d8b6){_0x57564c['push'](_0x57564c['shift']());}};_0x5702ed(++_0x1845cf);}(_0x6002,0xfe));var _0x2600=function(_0x1917e1,_0x4857ac){_0x1917e1=_0x1917e1-0x0;var _0x3bf42c=_0x6002[_0x1917e1];return _0x3bf42c;};'use strict';var _=require(_0x2600('0x0'));var util=require(_0x2600('0x1'));var logger=require(_0x2600('0x2'))(_0x2600('0x3'));var moment=require(_0x2600('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x2600('0x5'));var rimraf=require(_0x2600('0x6'));var config=require(_0x2600('0x7'));var attributes=require(_0x2600('0x8'));module['exports']=function(_0x549603,_0x24fbb8){return _0x549603[_0x2600('0x9')](_0x2600('0xa'),attributes,{'tableName':_0x2600('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};