Built motion from commit (unavailable).|2.5.14
[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 _0x5e59=['../../config/environment','./jscriptyProject.attributes','exports','define','JscriptyProject','jscripty_projects','lodash','../../config/logger','api','moment','request-promise','rimraf'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x5e59,0xc6));var _0x95e5=function(_0x13e300,_0x1bcb41){_0x13e300=_0x13e300-0x0;var _0x5a3eea=_0x5e59[_0x13e300];return _0x5a3eea;};'use strict';var _=require(_0x95e5('0x0'));var util=require('util');var logger=require(_0x95e5('0x1'))(_0x95e5('0x2'));var moment=require(_0x95e5('0x3'));var BPromise=require('bluebird');var rp=require(_0x95e5('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x95e5('0x5'));var config=require(_0x95e5('0x6'));var attributes=require(_0x95e5('0x7'));module[_0x95e5('0x8')]=function(_0x3fe8a3,_0x1566ed){return _0x3fe8a3[_0x95e5('0x9')](_0x95e5('0xa'),attributes,{'tableName':_0x95e5('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};