e95db231fd9365d265228b2da7ab75b53d019596
[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 _0x4fd7=['lodash','util','../../config/logger','api','request-promise','path','../../config/environment','exports','define','jscripty_projects'];(function(_0x5a425d,_0x135dec){var _0x41b787=function(_0x53bab6){while(--_0x53bab6){_0x5a425d['push'](_0x5a425d['shift']());}};_0x41b787(++_0x135dec);}(_0x4fd7,0xe6));var _0x74fd=function(_0x36c286,_0x4cf7e9){_0x36c286=_0x36c286-0x0;var _0x3b1408=_0x4fd7[_0x36c286];return _0x3b1408;};'use strict';var _=require(_0x74fd('0x0'));var util=require(_0x74fd('0x1'));var logger=require(_0x74fd('0x2'))(_0x74fd('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x74fd('0x4'));var fs=require('fs');var path=require(_0x74fd('0x5'));var rimraf=require('rimraf');var config=require(_0x74fd('0x6'));var attributes=require('./jscriptyProject.attributes');module[_0x74fd('0x7')]=function(_0x480ec2,_0x1959e1){return _0x480ec2[_0x74fd('0x8')]('JscriptyProject',attributes,{'tableName':_0x74fd('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};