Built motion from commit 3e059bc2.|2.5.32
[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 _0x73c3=['lodash','util','../../config/logger','api','bluebird','request-promise','../../config/environment','./openchannelApplication.attributes','define','OpenchannelApplication','utf8mb4','utf8mb4_unicode_ci'];(function(_0x5d2041,_0x486811){var _0x32bd07=function(_0x251656){while(--_0x251656){_0x5d2041['push'](_0x5d2041['shift']());}};_0x32bd07(++_0x486811);}(_0x73c3,0x78));var _0x373c=function(_0x3ed7cd,_0x447f97){_0x3ed7cd=_0x3ed7cd-0x0;var _0x891be=_0x73c3[_0x3ed7cd];return _0x891be;};'use strict';var _=require(_0x373c('0x0'));var util=require(_0x373c('0x1'));var logger=require(_0x373c('0x2'))(_0x373c('0x3'));var moment=require('moment');var BPromise=require(_0x373c('0x4'));var rp=require(_0x373c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x373c('0x6'));var attributes=require(_0x373c('0x7'));module['exports']=function(_0x58cd4e,_0x44a78a){return _0x58cd4e[_0x373c('0x8')](_0x373c('0x9'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x373c('0xa'),'collate':_0x373c('0xb')});};