a78558a12f82a321aac49ed1c171eb6fcf5a8938
[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 _0x0509=['../../config/logger','moment','bluebird','path','rimraf','./openchannelApplication.attributes','exports','OpenchannelApplication','lodash','util'];(function(_0x4bdac2,_0x3de611){var _0x1db253=function(_0x5f51dc){while(--_0x5f51dc){_0x4bdac2['push'](_0x4bdac2['shift']());}};_0x1db253(++_0x3de611);}(_0x0509,0x12a));var _0x9050=function(_0x4ea571,_0x524bc2){_0x4ea571=_0x4ea571-0x0;var _0x122eba=_0x0509[_0x4ea571];return _0x122eba;};'use strict';var _=require(_0x9050('0x0'));var util=require(_0x9050('0x1'));var logger=require(_0x9050('0x2'))('api');var moment=require(_0x9050('0x3'));var BPromise=require(_0x9050('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9050('0x5'));var rimraf=require(_0x9050('0x6'));var config=require('../../config/environment');var attributes=require(_0x9050('0x7'));module[_0x9050('0x8')]=function(_0x419dcf,_0x2d6ef0){return _0x419dcf['define'](_0x9050('0x9'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};