1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xb647=['../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','exports','define','JscriptyProject','jscripty_projects','lodash','util'];(function(_0x3f187e,_0x5f0839){var _0x4cecd5=function(_0x10ad1c){while(--_0x10ad1c){_0x3f187e['push'](_0x3f187e['shift']());}};_0x4cecd5(++_0x5f0839);}(_0xb647,0xdb));var _0x7b64=function(_0x53de97,_0x2ce26f){_0x53de97=_0x53de97-0x0;var _0x52ed7c=_0xb647[_0x53de97];return _0x52ed7c;};'use strict';var _=require(_0x7b64('0x0'));var util=require(_0x7b64('0x1'));var logger=require(_0x7b64('0x2'))(_0x7b64('0x3'));var moment=require(_0x7b64('0x4'));var BPromise=require(_0x7b64('0x5'));var rp=require(_0x7b64('0x6'));var fs=require('fs');var path=require(_0x7b64('0x7'));var rimraf=require('rimraf');var config=require(_0x7b64('0x8'));var attributes=require('./jscriptyProject.attributes');module[_0x7b64('0x9')]=function(_0x38ebf7,_0x31915b){return _0x38ebf7[_0x7b64('0xa')](_0x7b64('0xb'),attributes,{'tableName':_0x7b64('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};