ed0ad7eae1c58eb02e845f63668f47fd83c680eb
[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 _0x9ab0=['api','moment','bluebird','request-promise','path','rimraf','define','JscriptyProject','jscripty_projects','lodash','util','../../config/logger'];(function(_0xd02bb,_0x26e2d0){var _0x1cdf23=function(_0x18fd05){while(--_0x18fd05){_0xd02bb['push'](_0xd02bb['shift']());}};_0x1cdf23(++_0x26e2d0);}(_0x9ab0,0x195));var _0x09ab=function(_0x15bb56,_0x12cd39){_0x15bb56=_0x15bb56-0x0;var _0x51b828=_0x9ab0[_0x15bb56];return _0x51b828;};'use strict';var _=require(_0x09ab('0x0'));var util=require(_0x09ab('0x1'));var logger=require(_0x09ab('0x2'))(_0x09ab('0x3'));var moment=require(_0x09ab('0x4'));var BPromise=require(_0x09ab('0x5'));var rp=require(_0x09ab('0x6'));var fs=require('fs');var path=require(_0x09ab('0x7'));var rimraf=require(_0x09ab('0x8'));var config=require('../../config/environment');var attributes=require('./jscriptyProject.attributes');module['exports']=function(_0x3144ec,_0x387ac8){return _0x3144ec[_0x09ab('0x9')](_0x09ab('0xa'),attributes,{'tableName':_0x09ab('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};