Built motion from commit (unavailable).|2.5.1
[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 _0xe51c=['api','moment','request-promise','path','rimraf','../../config/environment','./action.attributes','exports','define','Action','lodash','util','../../config/logger'];(function(_0x5c78d9,_0x2736c7){var _0x69ae1f=function(_0x4b31ac){while(--_0x4b31ac){_0x5c78d9['push'](_0x5c78d9['shift']());}};_0x69ae1f(++_0x2736c7);}(_0xe51c,0x99));var _0xce51=function(_0x2646bc,_0xc54066){_0x2646bc=_0x2646bc-0x0;var _0x26a1b7=_0xe51c[_0x2646bc];return _0x26a1b7;};'use strict';var _=require(_0xce51('0x0'));var util=require(_0xce51('0x1'));var logger=require(_0xce51('0x2'))(_0xce51('0x3'));var moment=require(_0xce51('0x4'));var BPromise=require('bluebird');var rp=require(_0xce51('0x5'));var fs=require('fs');var path=require(_0xce51('0x6'));var rimraf=require(_0xce51('0x7'));var config=require(_0xce51('0x8'));var attributes=require(_0xce51('0x9'));module[_0xce51('0xa')]=function(_0x27b582,_0x428bd2){return _0x27b582[_0xce51('0xb')](_0xce51('0xc'),attributes,{'tableName':'tools_actions','paranoid':![],'indexes':[],'timestamps':!![]});};