Built motion from commit 9d1906d1.|2.5.40
[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 _0x81be=['define','utf8mb4','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelApplication.attributes','exports'];(function(_0x514b64,_0x54ab07){var _0x1926fc=function(_0x289085){while(--_0x289085){_0x514b64['push'](_0x514b64['shift']());}};_0x1926fc(++_0x54ab07);}(_0x81be,0xb8));var _0xe81b=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x81be[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xe81b('0x0'));var util=require(_0xe81b('0x1'));var logger=require(_0xe81b('0x2'))(_0xe81b('0x3'));var moment=require('moment');var BPromise=require(_0xe81b('0x4'));var rp=require(_0xe81b('0x5'));var fs=require('fs');var path=require(_0xe81b('0x6'));var rimraf=require(_0xe81b('0x7'));var config=require(_0xe81b('0x8'));var attributes=require(_0xe81b('0x9'));module[_0xe81b('0xa')]=function(_0xc815f3,_0x2bb1d3){return _0xc815f3[_0xe81b('0xb')]('OpenchannelApplication',attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xe81b('0xc'),'collate':'utf8mb4_unicode_ci'});};