Built motion from commit (unavailable).|2.5.4
[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 _0xe836=['exports','define','JscriptyProject','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./jscriptyProject.attributes'];(function(_0xc3e090,_0x1cf44f){var _0x4275ad=function(_0x17fd59){while(--_0x17fd59){_0xc3e090['push'](_0xc3e090['shift']());}};_0x4275ad(++_0x1cf44f);}(_0xe836,0x87));var _0x6e83=function(_0x4a1bba,_0x152487){_0x4a1bba=_0x4a1bba-0x0;var _0x52dc0b=_0xe836[_0x4a1bba];return _0x52dc0b;};'use strict';var _=require(_0x6e83('0x0'));var util=require(_0x6e83('0x1'));var logger=require('../../config/logger')(_0x6e83('0x2'));var moment=require(_0x6e83('0x3'));var BPromise=require(_0x6e83('0x4'));var rp=require(_0x6e83('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6e83('0x6'));var config=require(_0x6e83('0x7'));var attributes=require(_0x6e83('0x8'));module[_0x6e83('0x9')]=function(_0x40bef9,_0x184a78){return _0x40bef9[_0x6e83('0xa')](_0x6e83('0xb'),attributes,{'tableName':'jscripty_projects','paranoid':![],'indexes':[],'timestamps':!![]});};