116b629350ba8c7e77baea8f89dd3a134b002ebd
[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 _0xd92f=['exports','define','OpenchannelApplication','openchannel_applications','utf8mb4','lodash','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./openchannelApplication.attributes'];(function(_0xab8124,_0x2d843f){var _0x142ed8=function(_0x34d48f){while(--_0x34d48f){_0xab8124['push'](_0xab8124['shift']());}};_0x142ed8(++_0x2d843f);}(_0xd92f,0x171));var _0xfd92=function(_0xe248ff,_0x2f658b){_0xe248ff=_0xe248ff-0x0;var _0xc45e09=_0xd92f[_0xe248ff];return _0xc45e09;};'use strict';var _=require(_0xfd92('0x0'));var util=require('util');var logger=require(_0xfd92('0x1'))('api');var moment=require(_0xfd92('0x2'));var BPromise=require(_0xfd92('0x3'));var rp=require(_0xfd92('0x4'));var fs=require('fs');var path=require(_0xfd92('0x5'));var rimraf=require('rimraf');var config=require(_0xfd92('0x6'));var attributes=require(_0xfd92('0x7'));module[_0xfd92('0x8')]=function(_0x2727f1,_0x9abc85){return _0x2727f1[_0xfd92('0x9')](_0xfd92('0xa'),attributes,{'tableName':_0xfd92('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xfd92('0xc'),'collate':'utf8mb4_unicode_ci'});};