Built motion from commit 775e2a94.|2.6.3
[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 _0x3c34=['utf8mb4_unicode_ci','util','../../config/logger','api','moment','request-promise','path','./openchannelApplication.attributes','define','openchannel_applications','utf8mb4'];(function(_0x439d59,_0x11ccdf){var _0x3670c7=function(_0x11cfcb){while(--_0x11cfcb){_0x439d59['push'](_0x439d59['shift']());}};_0x3670c7(++_0x11ccdf);}(_0x3c34,0xe8));var _0x43c3=function(_0x31cb5f,_0x2df766){_0x31cb5f=_0x31cb5f-0x0;var _0x586042=_0x3c34[_0x31cb5f];return _0x586042;};'use strict';var _=require('lodash');var util=require(_0x43c3('0x0'));var logger=require(_0x43c3('0x1'))(_0x43c3('0x2'));var moment=require(_0x43c3('0x3'));var BPromise=require('bluebird');var rp=require(_0x43c3('0x4'));var fs=require('fs');var path=require(_0x43c3('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x43c3('0x6'));module['exports']=function(_0x4b812f,_0x185b9a){return _0x4b812f[_0x43c3('0x7')]('OpenchannelApplication',attributes,{'tableName':_0x43c3('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x43c3('0x9'),'collate':_0x43c3('0xa')});};