2efd274ef14a269b816a43049d158c06694de5d2
[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 _0x9bad=['../../config/logger','moment','request-promise','path','rimraf','./jscriptyProject.attributes','exports','define','JscriptyProject','jscripty_projects','lodash','util'];(function(_0x204250,_0x4fc19c){var _0x337748=function(_0x3512d9){while(--_0x3512d9){_0x204250['push'](_0x204250['shift']());}};_0x337748(++_0x4fc19c);}(_0x9bad,0x15a));var _0xd9ba=function(_0x44695b,_0x114b1c){_0x44695b=_0x44695b-0x0;var _0x5bbe4c=_0x9bad[_0x44695b];return _0x5bbe4c;};'use strict';var _=require(_0xd9ba('0x0'));var util=require(_0xd9ba('0x1'));var logger=require(_0xd9ba('0x2'))('api');var moment=require(_0xd9ba('0x3'));var BPromise=require('bluebird');var rp=require(_0xd9ba('0x4'));var fs=require('fs');var path=require(_0xd9ba('0x5'));var rimraf=require(_0xd9ba('0x6'));var config=require('../../config/environment');var attributes=require(_0xd9ba('0x7'));module[_0xd9ba('0x8')]=function(_0x385bfb,_0x3d334d){return _0x385bfb[_0xd9ba('0x9')](_0xd9ba('0xa'),attributes,{'tableName':_0xd9ba('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};