8f789b178f90d7a625fa84b0df76a4f4ab6e58ec
[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 _0x23f4=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./jscriptyProject.attributes','exports','define','JscriptyProject','util'];(function(_0x4303c1,_0x26c632){var _0x4843a6=function(_0xfb9a5a){while(--_0xfb9a5a){_0x4303c1['push'](_0x4303c1['shift']());}};_0x4843a6(++_0x26c632);}(_0x23f4,0x1ee));var _0x423f=function(_0x50594e,_0xfb09d0){_0x50594e=_0x50594e-0x0;var _0x465e18=_0x23f4[_0x50594e];return _0x465e18;};'use strict';var _=require('lodash');var util=require(_0x423f('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x423f('0x1'));var BPromise=require(_0x423f('0x2'));var rp=require(_0x423f('0x3'));var fs=require('fs');var path=require(_0x423f('0x4'));var rimraf=require(_0x423f('0x5'));var config=require(_0x423f('0x6'));var attributes=require(_0x423f('0x7'));module[_0x423f('0x8')]=function(_0x34a2d9,_0x51066b){return _0x34a2d9[_0x423f('0x9')](_0x423f('0xa'),attributes,{'tableName':'jscripty_projects','paranoid':![],'indexes':[],'timestamps':!![]});};