0aecb3a95bfdd190af200dfdaacbce289636ff1d
[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 _0x0f13=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./action.attributes','define','Action','tools_actions','lodash','util'];(function(_0x1aa899,_0x140215){var _0x5332d5=function(_0x399517){while(--_0x399517){_0x1aa899['push'](_0x1aa899['shift']());}};_0x5332d5(++_0x140215);}(_0x0f13,0x16a));var _0x30f1=function(_0x549376,_0x2b2ca3){_0x549376=_0x549376-0x0;var _0x10b732=_0x0f13[_0x549376];return _0x10b732;};'use strict';var _=require(_0x30f1('0x0'));var util=require(_0x30f1('0x1'));var logger=require(_0x30f1('0x2'))('api');var moment=require(_0x30f1('0x3'));var BPromise=require(_0x30f1('0x4'));var rp=require(_0x30f1('0x5'));var fs=require('fs');var path=require(_0x30f1('0x6'));var rimraf=require(_0x30f1('0x7'));var config=require(_0x30f1('0x8'));var attributes=require(_0x30f1('0x9'));module['exports']=function(_0x3d96dc,_0x4a99f0){return _0x3d96dc[_0x30f1('0xa')](_0x30f1('0xb'),attributes,{'tableName':_0x30f1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};