f26cb90629a411383b4bd9e1dd88f64d25f99285
[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 _0xa992=['rimraf','../../config/environment','./jscriptyProject.attributes','exports','define','jscripty_projects','lodash','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x59f591,_0x40d586){var _0x394471=function(_0x43e91f){while(--_0x43e91f){_0x59f591['push'](_0x59f591['shift']());}};_0x394471(++_0x40d586);}(_0xa992,0x18c));var _0x2a99=function(_0x15e6c3,_0x1e9600){_0x15e6c3=_0x15e6c3-0x0;var _0x521606=_0xa992[_0x15e6c3];return _0x521606;};'use strict';var _=require(_0x2a99('0x0'));var util=require(_0x2a99('0x1'));var logger=require(_0x2a99('0x2'))(_0x2a99('0x3'));var moment=require('moment');var BPromise=require(_0x2a99('0x4'));var rp=require(_0x2a99('0x5'));var fs=require('fs');var path=require(_0x2a99('0x6'));var rimraf=require(_0x2a99('0x7'));var config=require(_0x2a99('0x8'));var attributes=require(_0x2a99('0x9'));module[_0x2a99('0xa')]=function(_0x90fbc9,_0x11c36a){return _0x90fbc9[_0x2a99('0xb')]('JscriptyProject',attributes,{'tableName':_0x2a99('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};