Built motion from commit (unavailable).|2.5.12
[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 _0xa0b0=['lodash','util','../../config/logger','bluebird','../../config/environment','./jscriptyProject.attributes','exports','define','jscripty_projects'];(function(_0x38f0e9,_0x4c026a){var _0x1cd115=function(_0x4a4a11){while(--_0x4a4a11){_0x38f0e9['push'](_0x38f0e9['shift']());}};_0x1cd115(++_0x4c026a);}(_0xa0b0,0x19e));var _0x0a0b=function(_0x56768f,_0x29f3bf){_0x56768f=_0x56768f-0x0;var _0x44261e=_0xa0b0[_0x56768f];return _0x44261e;};'use strict';var _=require(_0x0a0b('0x0'));var util=require(_0x0a0b('0x1'));var logger=require(_0x0a0b('0x2'))('api');var moment=require('moment');var BPromise=require(_0x0a0b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x0a0b('0x4'));var attributes=require(_0x0a0b('0x5'));module[_0x0a0b('0x6')]=function(_0x5341b8,_0x107476){return _0x5341b8[_0x0a0b('0x7')]('JscriptyProject',attributes,{'tableName':_0x0a0b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};