805ceee77a95f0b053ad8c53a45c0c5d06bc0b25
[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 _0xf5f4=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelApplication.attributes','define','OpenchannelApplication','utf8mb4','utf8mb4_unicode_ci'];(function(_0x5ee562,_0x427582){var _0x15110d=function(_0x29a89d){while(--_0x29a89d){_0x5ee562['push'](_0x5ee562['shift']());}};_0x15110d(++_0x427582);}(_0xf5f4,0x186));var _0x4f5f=function(_0x46fb8a,_0x25c3b8){_0x46fb8a=_0x46fb8a-0x0;var _0x5b10d7=_0xf5f4[_0x46fb8a];return _0x5b10d7;};'use strict';var _=require(_0x4f5f('0x0'));var util=require(_0x4f5f('0x1'));var logger=require(_0x4f5f('0x2'))(_0x4f5f('0x3'));var moment=require(_0x4f5f('0x4'));var BPromise=require(_0x4f5f('0x5'));var rp=require(_0x4f5f('0x6'));var fs=require('fs');var path=require(_0x4f5f('0x7'));var rimraf=require(_0x4f5f('0x8'));var config=require(_0x4f5f('0x9'));var attributes=require(_0x4f5f('0xa'));module['exports']=function(_0x45a31a,_0x52994f){return _0x45a31a[_0x4f5f('0xb')](_0x4f5f('0xc'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x4f5f('0xd'),'collate':_0x4f5f('0xe')});};