05d2ca5dcf10b1d76a4ebda64b13f0a6d029348a
[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 _0xd964=['../../config/environment','./jscriptyProject.attributes','exports','define','jscripty_projects','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x119705,_0xba9427){var _0x2affc2=function(_0x16f7e2){while(--_0x16f7e2){_0x119705['push'](_0x119705['shift']());}};_0x2affc2(++_0xba9427);}(_0xd964,0x87));var _0x4d96=function(_0x33b49c,_0x173365){_0x33b49c=_0x33b49c-0x0;var _0x544875=_0xd964[_0x33b49c];return _0x544875;};'use strict';var _=require(_0x4d96('0x0'));var util=require(_0x4d96('0x1'));var logger=require(_0x4d96('0x2'))(_0x4d96('0x3'));var moment=require('moment');var BPromise=require(_0x4d96('0x4'));var rp=require(_0x4d96('0x5'));var fs=require('fs');var path=require(_0x4d96('0x6'));var rimraf=require(_0x4d96('0x7'));var config=require(_0x4d96('0x8'));var attributes=require(_0x4d96('0x9'));module[_0x4d96('0xa')]=function(_0xe54643,_0x12b3d2){return _0xe54643[_0x4d96('0xb')]('JscriptyProject',attributes,{'tableName':_0x4d96('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};