b0b47ae0512da4d320b15b6f19ab7db20842f0d6
[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 _0x6220=['request-promise','exports','define','jscripty_projects','util','../../config/logger','api','moment','bluebird'];(function(_0x4887ef,_0xf947c1){var _0x44dd61=function(_0x22e6e9){while(--_0x22e6e9){_0x4887ef['push'](_0x4887ef['shift']());}};_0x44dd61(++_0xf947c1);}(_0x6220,0xee));var _0x0622=function(_0x4b055c,_0x4b870b){_0x4b055c=_0x4b055c-0x0;var _0x4b62bb=_0x6220[_0x4b055c];return _0x4b62bb;};'use strict';var _=require('lodash');var util=require(_0x0622('0x0'));var logger=require(_0x0622('0x1'))(_0x0622('0x2'));var moment=require(_0x0622('0x3'));var BPromise=require(_0x0622('0x4'));var rp=require(_0x0622('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./jscriptyProject.attributes');module[_0x0622('0x6')]=function(_0x4b5782,_0x4e2039){return _0x4b5782[_0x0622('0x7')]('JscriptyProject',attributes,{'tableName':_0x0622('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};