Built motion from commit (unavailable).|2.5.15
[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 _0x2023=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','define','OpenchannelApplication','openchannel_applications','utf8mb4','lodash'];(function(_0x57bc73,_0x3884a7){var _0x1af136=function(_0x4564a8){while(--_0x4564a8){_0x57bc73['push'](_0x57bc73['shift']());}};_0x1af136(++_0x3884a7);}(_0x2023,0x1db));var _0x3202=function(_0x53a9b8,_0x5fee81){_0x53a9b8=_0x53a9b8-0x0;var _0x421d1=_0x2023[_0x53a9b8];return _0x421d1;};'use strict';var _=require(_0x3202('0x0'));var util=require(_0x3202('0x1'));var logger=require(_0x3202('0x2'))(_0x3202('0x3'));var moment=require(_0x3202('0x4'));var BPromise=require(_0x3202('0x5'));var rp=require(_0x3202('0x6'));var fs=require('fs');var path=require(_0x3202('0x7'));var rimraf=require(_0x3202('0x8'));var config=require(_0x3202('0x9'));var attributes=require('./openchannelApplication.attributes');module['exports']=function(_0x5c3ac8,_0x13e38d){return _0x5c3ac8[_0x3202('0xa')](_0x3202('0xb'),attributes,{'tableName':_0x3202('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x3202('0xd'),'collate':'utf8mb4_unicode_ci'});};