Built motion from commit f7863d46.|2.5.41
[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 _0x58d7=['utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','moment','request-promise','rimraf','../../config/environment','./openchannelApplication.attributes','exports','define'];(function(_0x17730a,_0x362127){var _0x485db1=function(_0x144233){while(--_0x144233){_0x17730a['push'](_0x17730a['shift']());}};_0x485db1(++_0x362127);}(_0x58d7,0x65));var _0x758d=function(_0x441a14,_0x4fdf39){_0x441a14=_0x441a14-0x0;var _0x92f7d2=_0x58d7[_0x441a14];return _0x92f7d2;};'use strict';var _=require(_0x758d('0x0'));var util=require('util');var logger=require(_0x758d('0x1'))('api');var moment=require(_0x758d('0x2'));var BPromise=require('bluebird');var rp=require(_0x758d('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x758d('0x4'));var config=require(_0x758d('0x5'));var attributes=require(_0x758d('0x6'));module[_0x758d('0x7')]=function(_0x5c45eb,_0x1cc3fe){return _0x5c45eb[_0x758d('0x8')]('OpenchannelApplication',attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x758d('0x9'),'collate':_0x758d('0xa')});};