Built motion from commit (unavailable).|2.3.3
[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 _0x655c=['lodash','util','api','moment','bluebird','request-promise','exports','define','JscriptyProject','jscripty_projects'];(function(_0xe02c79,_0x2007c9){var _0x2858cc=function(_0x5cd68e){while(--_0x5cd68e){_0xe02c79['push'](_0xe02c79['shift']());}};_0x2858cc(++_0x2007c9);}(_0x655c,0x15e));var _0xc655=function(_0x43565f,_0x4a2e53){_0x43565f=_0x43565f-0x0;var _0x2e7547=_0x655c[_0x43565f];return _0x2e7547;};'use strict';var _=require(_0xc655('0x0'));var util=require(_0xc655('0x1'));var logger=require('../../config/logger')(_0xc655('0x2'));var moment=require(_0xc655('0x3'));var BPromise=require(_0xc655('0x4'));var rp=require(_0xc655('0x5'));var attributes=require('./jscriptyProject.attributes');module[_0xc655('0x6')]=function(_0x27f4fe,_0x1ae7f8){return _0x27f4fe[_0xc655('0x7')](_0xc655('0x8'),attributes,{'tableName':_0xc655('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};