Built motion from commit ba71417a.|2.6.28
[motion2.git] / server / api / jscriptyProject / jscriptyProject.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 _0x27a8=['exports','define','JscriptyProject','jscripty_projects','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./jscriptyProject.attributes'];(function(_0x36e1e6,_0x40bc02){var _0x5af840=function(_0x31b166){while(--_0x31b166){_0x36e1e6['push'](_0x36e1e6['shift']());}};_0x5af840(++_0x40bc02);}(_0x27a8,0x170));var _0x827a=function(_0x505108,_0x573bbd){_0x505108=_0x505108-0x0;var _0x376bdc=_0x27a8[_0x505108];return _0x376bdc;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x827a('0x0'))(_0x827a('0x1'));var moment=require(_0x827a('0x2'));var BPromise=require(_0x827a('0x3'));var rp=require(_0x827a('0x4'));var fs=require('fs');var path=require(_0x827a('0x5'));var rimraf=require(_0x827a('0x6'));var config=require(_0x827a('0x7'));var attributes=require(_0x827a('0x8'));module[_0x827a('0x9')]=function(_0x19d10d,_0x61767e){return _0x19d10d[_0x827a('0xa')](_0x827a('0xb'),attributes,{'tableName':_0x827a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};