Built motion from commit b0a9a629.|2.6.33
[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 _0x59fe=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','openchannel_applications','utf8mb4','utf8mb4_unicode_ci','util'];(function(_0x4d6562,_0x54b4b6){var _0x55a920=function(_0xc80f8a){while(--_0xc80f8a){_0x4d6562['push'](_0x4d6562['shift']());}};_0x55a920(++_0x54b4b6);}(_0x59fe,0xa7));var _0xe59f=function(_0xe0f347,_0x352a98){_0xe0f347=_0xe0f347-0x0;var _0xe18e3d=_0x59fe[_0xe0f347];return _0xe18e3d;};'use strict';var _=require('lodash');var util=require(_0xe59f('0x0'));var logger=require(_0xe59f('0x1'))(_0xe59f('0x2'));var moment=require(_0xe59f('0x3'));var BPromise=require(_0xe59f('0x4'));var rp=require(_0xe59f('0x5'));var fs=require('fs');var path=require(_0xe59f('0x6'));var rimraf=require(_0xe59f('0x7'));var config=require(_0xe59f('0x8'));var attributes=require('./openchannelApplication.attributes');module[_0xe59f('0x9')]=function(_0x50b532,_0x5f3132){return _0x50b532[_0xe59f('0xa')]('OpenchannelApplication',attributes,{'tableName':_0xe59f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xe59f('0xc'),'collate':_0xe59f('0xd')});};