Built motion from commit ae138b72.|2.6.28
[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 _0x6349=['lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./action.attributes','exports','define','Action','tools_actions'];(function(_0x276525,_0x31e9ca){var _0x95ef1c=function(_0x5a4fd2){while(--_0x5a4fd2){_0x276525['push'](_0x276525['shift']());}};_0x95ef1c(++_0x31e9ca);}(_0x6349,0x193));var _0x9634=function(_0x5ab14c,_0x2926a1){_0x5ab14c=_0x5ab14c-0x0;var _0x546147=_0x6349[_0x5ab14c];return _0x546147;};'use strict';var _=require(_0x9634('0x0'));var util=require(_0x9634('0x1'));var logger=require(_0x9634('0x2'))(_0x9634('0x3'));var moment=require(_0x9634('0x4'));var BPromise=require('bluebird');var rp=require(_0x9634('0x5'));var fs=require('fs');var path=require(_0x9634('0x6'));var rimraf=require('rimraf');var config=require(_0x9634('0x7'));var attributes=require(_0x9634('0x8'));module[_0x9634('0x9')]=function(_0x335483,_0x2f5992){return _0x335483[_0x9634('0xa')](_0x9634('0xb'),attributes,{'tableName':_0x9634('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};