7dac9f53f603ba6176a3232b2f12552bd40fe07f
[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 _0xbc55=['lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./openchannelApplication.attributes','OpenchannelApplication','openchannel_applications','utf8mb4','utf8mb4_unicode_ci'];(function(_0x40f0e1,_0x5de1cb){var _0x367039=function(_0x32e16c){while(--_0x32e16c){_0x40f0e1['push'](_0x40f0e1['shift']());}};_0x367039(++_0x5de1cb);}(_0xbc55,0x152));var _0x5bc5=function(_0xb9b76,_0x1c074f){_0xb9b76=_0xb9b76-0x0;var _0x2fa909=_0xbc55[_0xb9b76];return _0x2fa909;};'use strict';var _=require(_0x5bc5('0x0'));var util=require(_0x5bc5('0x1'));var logger=require(_0x5bc5('0x2'))(_0x5bc5('0x3'));var moment=require(_0x5bc5('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x5bc5('0x5'));var rimraf=require(_0x5bc5('0x6'));var config=require(_0x5bc5('0x7'));var attributes=require(_0x5bc5('0x8'));module['exports']=function(_0x1f0707,_0x3f0d4e){return _0x1f0707['define'](_0x5bc5('0x9'),attributes,{'tableName':_0x5bc5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x5bc5('0xb'),'collate':_0x5bc5('0xc')});};