Built motion from commit (unavailable).|2.5.31
[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 _0xdb2f=['path','../../config/environment','JscriptyProject','jscripty_projects','util','../../config/logger','api','bluebird','request-promise'];(function(_0x29a4fd,_0x3bb1e9){var _0x4e810e=function(_0x36e0d3){while(--_0x36e0d3){_0x29a4fd['push'](_0x29a4fd['shift']());}};_0x4e810e(++_0x3bb1e9);}(_0xdb2f,0x1d8));var _0xfdb2=function(_0x2b10c6,_0x185590){_0x2b10c6=_0x2b10c6-0x0;var _0x3789d2=_0xdb2f[_0x2b10c6];return _0x3789d2;};'use strict';var _=require('lodash');var util=require(_0xfdb2('0x0'));var logger=require(_0xfdb2('0x1'))(_0xfdb2('0x2'));var moment=require('moment');var BPromise=require(_0xfdb2('0x3'));var rp=require(_0xfdb2('0x4'));var fs=require('fs');var path=require(_0xfdb2('0x5'));var rimraf=require('rimraf');var config=require(_0xfdb2('0x6'));var attributes=require('./jscriptyProject.attributes');module['exports']=function(_0x300564,_0x180f80){return _0x300564['define'](_0xfdb2('0x7'),attributes,{'tableName':_0xfdb2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};