Built motion from commit (unavailable).|2.5.31
[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 _0xa9e4=['../../config/logger','moment','request-promise','path','rimraf','JscriptyProject','jscripty_projects','lodash','util'];(function(_0xec5bc2,_0x4f8dc5){var _0x4e5442=function(_0xf0e062){while(--_0xf0e062){_0xec5bc2['push'](_0xec5bc2['shift']());}};_0x4e5442(++_0x4f8dc5);}(_0xa9e4,0xbb));var _0x4a9e=function(_0x2aa2e6,_0x2169ce){_0x2aa2e6=_0x2aa2e6-0x0;var _0x550969=_0xa9e4[_0x2aa2e6];return _0x550969;};'use strict';var _=require(_0x4a9e('0x0'));var util=require(_0x4a9e('0x1'));var logger=require(_0x4a9e('0x2'))('api');var moment=require(_0x4a9e('0x3'));var BPromise=require('bluebird');var rp=require(_0x4a9e('0x4'));var fs=require('fs');var path=require(_0x4a9e('0x5'));var rimraf=require(_0x4a9e('0x6'));var config=require('../../config/environment');var attributes=require('./jscriptyProject.attributes');module['exports']=function(_0x590f0,_0x89a592){return _0x590f0['define'](_0x4a9e('0x7'),attributes,{'tableName':_0x4a9e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};