Built motion from commit 5b761a7b.|2.5.36
[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 _0x9cb3=['define','tools_actions','lodash','../../config/logger','api','moment','path','rimraf','../../config/environment','./action.attributes','exports'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x9cb3,0x1e6));var _0x39cb=function(_0x3cb9eb,_0x3fd4b9){_0x3cb9eb=_0x3cb9eb-0x0;var _0x4d5970=_0x9cb3[_0x3cb9eb];return _0x4d5970;};'use strict';var _=require(_0x39cb('0x0'));var util=require('util');var logger=require(_0x39cb('0x1'))(_0x39cb('0x2'));var moment=require(_0x39cb('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x39cb('0x4'));var rimraf=require(_0x39cb('0x5'));var config=require(_0x39cb('0x6'));var attributes=require(_0x39cb('0x7'));module[_0x39cb('0x8')]=function(_0x1b25d8,_0x5dbc8e){return _0x1b25d8[_0x39cb('0x9')]('Action',attributes,{'tableName':_0x39cb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};