Built motion from commit (unavailable).|2.5.22
[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 _0x05fd=['utf8mb4_unicode_ci','lodash','moment','bluebird','request-promise','path','rimraf','../../config/environment','define','OpenchannelApplication','utf8mb4'];(function(_0x286548,_0x44e4d1){var _0x496fd6=function(_0x37ec5){while(--_0x37ec5){_0x286548['push'](_0x286548['shift']());}};_0x496fd6(++_0x44e4d1);}(_0x05fd,0x6f));var _0xd05f=function(_0x12e165,_0x166183){_0x12e165=_0x12e165-0x0;var _0x2e5235=_0x05fd[_0x12e165];return _0x2e5235;};'use strict';var _=require(_0xd05f('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xd05f('0x1'));var BPromise=require(_0xd05f('0x2'));var rp=require(_0xd05f('0x3'));var fs=require('fs');var path=require(_0xd05f('0x4'));var rimraf=require(_0xd05f('0x5'));var config=require(_0xd05f('0x6'));var attributes=require('./openchannelApplication.attributes');module['exports']=function(_0xfa5101,_0x57805e){return _0xfa5101[_0xd05f('0x7')](_0xd05f('0x8'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xd05f('0x9'),'collate':_0xd05f('0xa')});};