Built motion from commit (unavailable).|2.5.23
[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 _0xc4e2=['exports','define','OpenchannelApplication','utf8mb4','utf8mb4_unicode_ci','lodash','util','request-promise','path','rimraf','../../config/environment','./openchannelApplication.attributes'];(function(_0x23315f,_0x25552e){var _0x3f7b55=function(_0x503f20){while(--_0x503f20){_0x23315f['push'](_0x23315f['shift']());}};_0x3f7b55(++_0x25552e);}(_0xc4e2,0x191));var _0x2c4e=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xc4e2[_0x501510];return _0x1e6ee5;};'use strict';var _=require(_0x2c4e('0x0'));var util=require(_0x2c4e('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x2c4e('0x2'));var fs=require('fs');var path=require(_0x2c4e('0x3'));var rimraf=require(_0x2c4e('0x4'));var config=require(_0x2c4e('0x5'));var attributes=require(_0x2c4e('0x6'));module[_0x2c4e('0x7')]=function(_0x397711,_0x184033){return _0x397711[_0x2c4e('0x8')](_0x2c4e('0x9'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x2c4e('0xa'),'collate':_0x2c4e('0xb')});};