6d90caaeb35f1480c8d2500b1aa29221feda0a05
[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 _0x1839=['../../config/logger','api','request-promise','rimraf','../../config/environment','./jscriptyProject.attributes','exports','define','JscriptyProject','jscripty_projects','util'];(function(_0xcfdef4,_0x4e38d3){var _0x3319e4=function(_0x459c0){while(--_0x459c0){_0xcfdef4['push'](_0xcfdef4['shift']());}};_0x3319e4(++_0x4e38d3);}(_0x1839,0xfc));var _0x9183=function(_0x36fd77,_0x3aa128){_0x36fd77=_0x36fd77-0x0;var _0x22df78=_0x1839[_0x36fd77];return _0x22df78;};'use strict';var _=require('lodash');var util=require(_0x9183('0x0'));var logger=require(_0x9183('0x1'))(_0x9183('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9183('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9183('0x4'));var config=require(_0x9183('0x5'));var attributes=require(_0x9183('0x6'));module[_0x9183('0x7')]=function(_0x57a6df,_0x3a9a92){return _0x57a6df[_0x9183('0x8')](_0x9183('0x9'),attributes,{'tableName':_0x9183('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};