248c5850ada992b5474ad0c872917b90b6782801
[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 _0x988a=['../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./jscriptyProject.attributes','exports','JscriptyProject','jscripty_projects','lodash','util'];(function(_0x5ec2f1,_0x219dc5){var _0x4b60ae=function(_0xed4883){while(--_0xed4883){_0x5ec2f1['push'](_0x5ec2f1['shift']());}};_0x4b60ae(++_0x219dc5);}(_0x988a,0x15a));var _0xa988=function(_0x4075f7,_0x302c7e){_0x4075f7=_0x4075f7-0x0;var _0x236112=_0x988a[_0x4075f7];return _0x236112;};'use strict';var _=require(_0xa988('0x0'));var util=require(_0xa988('0x1'));var logger=require(_0xa988('0x2'))(_0xa988('0x3'));var moment=require('moment');var BPromise=require(_0xa988('0x4'));var rp=require(_0xa988('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa988('0x6'));var config=require(_0xa988('0x7'));var attributes=require(_0xa988('0x8'));module[_0xa988('0x9')]=function(_0x3e1686,_0x3070d9){return _0x3e1686['define'](_0xa988('0xa'),attributes,{'tableName':_0xa988('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};