Built motion from commit 10af8726.|2.6.34
[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 _0xd9ef=['../../config/environment','./jscriptyProject.attributes','exports','define','JscriptyProject','jscripty_projects','lodash','util','api','path','rimraf'];(function(_0x4e84b6,_0x343faa){var _0x3f60e7=function(_0x1be646){while(--_0x1be646){_0x4e84b6['push'](_0x4e84b6['shift']());}};_0x3f60e7(++_0x343faa);}(_0xd9ef,0x95));var _0xfd9e=function(_0x5537e6,_0xddf3dc){_0x5537e6=_0x5537e6-0x0;var _0x44115a=_0xd9ef[_0x5537e6];return _0x44115a;};'use strict';var _=require(_0xfd9e('0x0'));var util=require(_0xfd9e('0x1'));var logger=require('../../config/logger')(_0xfd9e('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xfd9e('0x3'));var rimraf=require(_0xfd9e('0x4'));var config=require(_0xfd9e('0x5'));var attributes=require(_0xfd9e('0x6'));module[_0xfd9e('0x7')]=function(_0x178ceb,_0x2d549f){return _0x178ceb[_0xfd9e('0x8')](_0xfd9e('0x9'),attributes,{'tableName':_0xfd9e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};