Built motion from commit (unavailable).|2.5.9
[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 _0xbfe3=['../../config/environment','./action.attributes','define','Action','lodash','util','../../config/logger','bluebird','rimraf'];(function(_0x3f5316,_0x39e5cb){var _0x3d6857=function(_0x1ea2cc){while(--_0x1ea2cc){_0x3f5316['push'](_0x3f5316['shift']());}};_0x3d6857(++_0x39e5cb);}(_0xbfe3,0x13f));var _0x3bfe=function(_0x447a2c,_0x583d87){_0x447a2c=_0x447a2c-0x0;var _0x263f5d=_0xbfe3[_0x447a2c];return _0x263f5d;};'use strict';var _=require(_0x3bfe('0x0'));var util=require(_0x3bfe('0x1'));var logger=require(_0x3bfe('0x2'))('api');var moment=require('moment');var BPromise=require(_0x3bfe('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x3bfe('0x4'));var config=require(_0x3bfe('0x5'));var attributes=require(_0x3bfe('0x6'));module['exports']=function(_0x1e9c56,_0x5c84ef){return _0x1e9c56[_0x3bfe('0x7')](_0x3bfe('0x8'),attributes,{'tableName':'tools_actions','paranoid':![],'indexes':[],'timestamps':!![]});};