cfc9180d25f9d41d165461e169d1d3844a9fb4ff
[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 _0x7f27=['rimraf','../../config/environment','exports','define','jscripty_projects','lodash','util','moment','path'];(function(_0x4dcba3,_0x1087d0){var _0x4e86fb=function(_0x757dfd){while(--_0x757dfd){_0x4dcba3['push'](_0x4dcba3['shift']());}};_0x4e86fb(++_0x1087d0);}(_0x7f27,0x12e));var _0x77f2=function(_0xb937a7,_0xfcd6e5){_0xb937a7=_0xb937a7-0x0;var _0x2ee605=_0x7f27[_0xb937a7];return _0x2ee605;};'use strict';var _=require(_0x77f2('0x0'));var util=require(_0x77f2('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x77f2('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x77f2('0x3'));var rimraf=require(_0x77f2('0x4'));var config=require(_0x77f2('0x5'));var attributes=require('./jscriptyProject.attributes');module[_0x77f2('0x6')]=function(_0x5da5eb,_0x292221){return _0x5da5eb[_0x77f2('0x7')]('JscriptyProject',attributes,{'tableName':_0x77f2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};