634700768a1501ae1422f3024d2030650626d4e2
[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 _0xafe1=['lodash','api','moment','bluebird','request-promise','rimraf','../../config/environment','./jscriptyProject.attributes','exports','define','JscriptyProject'];(function(_0x2554df,_0x573e6b){var _0x8c3f4a=function(_0x331d76){while(--_0x331d76){_0x2554df['push'](_0x2554df['shift']());}};_0x8c3f4a(++_0x573e6b);}(_0xafe1,0x1a2));var _0x1afe=function(_0xa14049,_0x127041){_0xa14049=_0xa14049-0x0;var _0x584efc=_0xafe1[_0xa14049];return _0x584efc;};'use strict';var _=require(_0x1afe('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x1afe('0x1'));var moment=require(_0x1afe('0x2'));var BPromise=require(_0x1afe('0x3'));var rp=require(_0x1afe('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1afe('0x5'));var config=require(_0x1afe('0x6'));var attributes=require(_0x1afe('0x7'));module[_0x1afe('0x8')]=function(_0x2ead21,_0x4338fd){return _0x2ead21[_0x1afe('0x9')](_0x1afe('0xa'),attributes,{'tableName':'jscripty_projects','paranoid':![],'indexes':[],'timestamps':!![]});};