Built motion from commit (unavailable).|2.5.16
[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 _0xa2ea=['request-promise','path','rimraf','./jscriptyProject.attributes','exports','JscriptyProject','lodash','util','api','moment','bluebird'];(function(_0x17c8cc,_0x5e5647){var _0x3db4eb=function(_0x2082db){while(--_0x2082db){_0x17c8cc['push'](_0x17c8cc['shift']());}};_0x3db4eb(++_0x5e5647);}(_0xa2ea,0xd7));var _0xaa2e=function(_0x178f27,_0x26e5b0){_0x178f27=_0x178f27-0x0;var _0x1bef17=_0xa2ea[_0x178f27];return _0x1bef17;};'use strict';var _=require(_0xaa2e('0x0'));var util=require(_0xaa2e('0x1'));var logger=require('../../config/logger')(_0xaa2e('0x2'));var moment=require(_0xaa2e('0x3'));var BPromise=require(_0xaa2e('0x4'));var rp=require(_0xaa2e('0x5'));var fs=require('fs');var path=require(_0xaa2e('0x6'));var rimraf=require(_0xaa2e('0x7'));var config=require('../../config/environment');var attributes=require(_0xaa2e('0x8'));module[_0xaa2e('0x9')]=function(_0x469143,_0x20c861){return _0x469143['define'](_0xaa2e('0xa'),attributes,{'tableName':'jscripty_projects','paranoid':![],'indexes':[],'timestamps':!![]});};