Built motion from commit (unavailable).|2.5.30
[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 _0x48c3=['../../config/logger','api','moment','bluebird','path','rimraf','./jscriptyProject.attributes','exports','define','JscriptyProject','util'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x48c3,0xd0));var _0x348c=function(_0x30302a,_0x3945fe){_0x30302a=_0x30302a-0x0;var _0x14f56f=_0x48c3[_0x30302a];return _0x14f56f;};'use strict';var _=require('lodash');var util=require(_0x348c('0x0'));var logger=require(_0x348c('0x1'))(_0x348c('0x2'));var moment=require(_0x348c('0x3'));var BPromise=require(_0x348c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x348c('0x5'));var rimraf=require(_0x348c('0x6'));var config=require('../../config/environment');var attributes=require(_0x348c('0x7'));module[_0x348c('0x8')]=function(_0x3a9fc2,_0x3b9a07){return _0x3a9fc2[_0x348c('0x9')](_0x348c('0xa'),attributes,{'tableName':'jscripty_projects','paranoid':![],'indexes':[],'timestamps':!![]});};