Built motion from commit 10af8726.|2.6.34
[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 _0xf33b=['util','../../config/logger','moment','bluebird','path','rimraf','./openchannelApplication.attributes','exports','define','openchannel_applications','utf8mb4','lodash'];(function(_0x4645bd,_0x1ad4c){var _0x59ebbb=function(_0x42f66f){while(--_0x42f66f){_0x4645bd['push'](_0x4645bd['shift']());}};_0x59ebbb(++_0x1ad4c);}(_0xf33b,0x11f));var _0xbf33=function(_0x58afd5,_0x534a48){_0x58afd5=_0x58afd5-0x0;var _0x3e503b=_0xf33b[_0x58afd5];return _0x3e503b;};'use strict';var _=require(_0xbf33('0x0'));var util=require(_0xbf33('0x1'));var logger=require(_0xbf33('0x2'))('api');var moment=require(_0xbf33('0x3'));var BPromise=require(_0xbf33('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbf33('0x5'));var rimraf=require(_0xbf33('0x6'));var config=require('../../config/environment');var attributes=require(_0xbf33('0x7'));module[_0xbf33('0x8')]=function(_0x7ced7f,_0x3eae03){return _0x7ced7f[_0xbf33('0x9')]('OpenchannelApplication',attributes,{'tableName':_0xbf33('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xbf33('0xb'),'collate':'utf8mb4_unicode_ci'});};