Built motion from commit 449495f6.|2.6.27
[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 _0xa152=['openchannel_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./openchannelApplication.attributes','exports'];(function(_0x10dc60,_0x2fcce1){var _0x47dec5=function(_0x24b5e4){while(--_0x24b5e4){_0x10dc60['push'](_0x10dc60['shift']());}};_0x47dec5(++_0x2fcce1);}(_0xa152,0x161));var _0x2a15=function(_0xad0839,_0x3e37a1){_0xad0839=_0xad0839-0x0;var _0x5b82cc=_0xa152[_0xad0839];return _0x5b82cc;};'use strict';var _=require(_0x2a15('0x0'));var util=require(_0x2a15('0x1'));var logger=require(_0x2a15('0x2'))(_0x2a15('0x3'));var moment=require(_0x2a15('0x4'));var BPromise=require('bluebird');var rp=require(_0x2a15('0x5'));var fs=require('fs');var path=require(_0x2a15('0x6'));var rimraf=require(_0x2a15('0x7'));var config=require(_0x2a15('0x8'));var attributes=require(_0x2a15('0x9'));module[_0x2a15('0xa')]=function(_0x541f59,_0x1d4afd){return _0x541f59['define']('OpenchannelApplication',attributes,{'tableName':_0x2a15('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x2a15('0xc'),'collate':_0x2a15('0xd')});};