Built motion from commit 497d3d92.|2.5.43
[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 _0xae04=['rimraf','./openchannelApplication.attributes','exports','define','openchannel_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0x3d4add,_0x8d0633){var _0x2dbc05=function(_0x4fc60a){while(--_0x4fc60a){_0x3d4add['push'](_0x3d4add['shift']());}};_0x2dbc05(++_0x8d0633);}(_0xae04,0x157));var _0x4ae0=function(_0x767b78,_0x16270b){_0x767b78=_0x767b78-0x0;var _0x5daeed=_0xae04[_0x767b78];return _0x5daeed;};'use strict';var _=require(_0x4ae0('0x0'));var util=require(_0x4ae0('0x1'));var logger=require(_0x4ae0('0x2'))(_0x4ae0('0x3'));var moment=require(_0x4ae0('0x4'));var BPromise=require(_0x4ae0('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4ae0('0x6'));var rimraf=require(_0x4ae0('0x7'));var config=require('../../config/environment');var attributes=require(_0x4ae0('0x8'));module[_0x4ae0('0x9')]=function(_0x2e2177,_0x41a3ac){return _0x2e2177[_0x4ae0('0xa')]('OpenchannelApplication',attributes,{'tableName':_0x4ae0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x4ae0('0xc'),'collate':_0x4ae0('0xd')});};