Built motion from commit e6806ed6.|2.6.0
[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 _0x864a=['exports','define','jscripty_projects','lodash','util','../../config/logger','api','path','./jscriptyProject.attributes'];(function(_0x1a14c3,_0x42ea5b){var _0x3d1efa=function(_0x2269bc){while(--_0x2269bc){_0x1a14c3['push'](_0x1a14c3['shift']());}};_0x3d1efa(++_0x42ea5b);}(_0x864a,0x8a));var _0xa864=function(_0x1ebc97,_0x26415b){_0x1ebc97=_0x1ebc97-0x0;var _0x188a41=_0x864a[_0x1ebc97];return _0x188a41;};'use strict';var _=require(_0xa864('0x0'));var util=require(_0xa864('0x1'));var logger=require(_0xa864('0x2'))(_0xa864('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xa864('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa864('0x5'));module[_0xa864('0x6')]=function(_0xcdabc3,_0x37e03d){return _0xcdabc3[_0xa864('0x7')]('JscriptyProject',attributes,{'tableName':_0xa864('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};