ffd8cfd160c3f9e60becd1328a54de85cd1a71a0
[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 _0xb4ed=['../../config/logger','api','moment','request-promise','path','./openchannelApplication.attributes','define','OpenchannelApplication','utf8mb4','utf8mb4_unicode_ci','lodash','util'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0xb4ed,0x166));var _0xdb4e=function(_0x529296,_0x1a6a23){_0x529296=_0x529296-0x0;var _0x1796bf=_0xb4ed[_0x529296];return _0x1796bf;};'use strict';var _=require(_0xdb4e('0x0'));var util=require(_0xdb4e('0x1'));var logger=require(_0xdb4e('0x2'))(_0xdb4e('0x3'));var moment=require(_0xdb4e('0x4'));var BPromise=require('bluebird');var rp=require(_0xdb4e('0x5'));var fs=require('fs');var path=require(_0xdb4e('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xdb4e('0x7'));module['exports']=function(_0x1f7734,_0x5b516a){return _0x1f7734[_0xdb4e('0x8')](_0xdb4e('0x9'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xdb4e('0xa'),'collate':_0xdb4e('0xb')});};