Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / openchannelApplication / openchannelApplication.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 _0x8bb6=['../../config/logger','api','moment','request-promise','exports','OpenchannelApplication','util'];(function(_0x4701fd,_0x4d85aa){var _0x44b225=function(_0x2fe28a){while(--_0x2fe28a){_0x4701fd['push'](_0x4701fd['shift']());}};_0x44b225(++_0x4d85aa);}(_0x8bb6,0xe6));var _0x68bb=function(_0x3809e3,_0x132e51){_0x3809e3=_0x3809e3-0x0;var _0x334579=_0x8bb6[_0x3809e3];return _0x334579;};'use strict';var _=require('lodash');var util=require(_0x68bb('0x0'));var logger=require(_0x68bb('0x1'))(_0x68bb('0x2'));var moment=require(_0x68bb('0x3'));var BPromise=require('bluebird');var rp=require(_0x68bb('0x4'));var attributes=require('./openchannelApplication.attributes');module[_0x68bb('0x5')]=function(_0x16d312,_0x264796){return _0x16d312['define'](_0x68bb('0x6'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![]});};