Built motion from commit dc14b02d.|2.6.27
[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 _0x9c2e=['tools_actions','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./action.attributes','Action'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9c2e,0x161));var _0xe9c2=function(_0x3f4e6a,_0x467be1){_0x3f4e6a=_0x3f4e6a-0x0;var _0x4beff8=_0x9c2e[_0x3f4e6a];return _0x4beff8;};'use strict';var _=require('lodash');var util=require(_0xe9c2('0x0'));var logger=require(_0xe9c2('0x1'))(_0xe9c2('0x2'));var moment=require(_0xe9c2('0x3'));var BPromise=require(_0xe9c2('0x4'));var rp=require(_0xe9c2('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe9c2('0x6'));var config=require(_0xe9c2('0x7'));var attributes=require(_0xe9c2('0x8'));module['exports']=function(_0x160096,_0x405cac){return _0x160096['define'](_0xe9c2('0x9'),attributes,{'tableName':_0xe9c2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};