bc8e89ad785f92c937c68dcbc41d1465b5359c78
[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 _0xbffa=['define','OpenchannelApplication','openchannel_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./openchannelApplication.attributes','exports'];(function(_0x295651,_0x3861ed){var _0x490173=function(_0x260238){while(--_0x260238){_0x295651['push'](_0x295651['shift']());}};_0x490173(++_0x3861ed);}(_0xbffa,0x9b));var _0xabff=function(_0x568d52,_0x676a64){_0x568d52=_0x568d52-0x0;var _0x211f4a=_0xbffa[_0x568d52];return _0x211f4a;};'use strict';var _=require(_0xabff('0x0'));var util=require(_0xabff('0x1'));var logger=require(_0xabff('0x2'))(_0xabff('0x3'));var moment=require(_0xabff('0x4'));var BPromise=require('bluebird');var rp=require(_0xabff('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xabff('0x6'));var config=require(_0xabff('0x7'));var attributes=require(_0xabff('0x8'));module[_0xabff('0x9')]=function(_0x2462ff,_0x2ce802){return _0x2462ff[_0xabff('0xa')](_0xabff('0xb'),attributes,{'tableName':_0xabff('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xabff('0xd'),'collate':_0xabff('0xe')});};