b4844075e86454925b80913e9c19f093a12f75c8
[motion2.git] / server / api / voiceContext / voiceContext.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 _0x9f05=['VoiceContext','voice_contexts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./voiceContext.attributes','exports'];(function(_0x140202,_0x4245c7){var _0x3037c2=function(_0x525d19){while(--_0x525d19){_0x140202['push'](_0x140202['shift']());}};_0x3037c2(++_0x4245c7);}(_0x9f05,0xf9));var _0x59f0=function(_0x40abe5,_0x5f2033){_0x40abe5=_0x40abe5-0x0;var _0xb0be50=_0x9f05[_0x40abe5];return _0xb0be50;};'use strict';var _=require(_0x59f0('0x0'));var util=require(_0x59f0('0x1'));var logger=require(_0x59f0('0x2'))(_0x59f0('0x3'));var moment=require(_0x59f0('0x4'));var BPromise=require(_0x59f0('0x5'));var rp=require(_0x59f0('0x6'));var fs=require('fs');var path=require(_0x59f0('0x7'));var rimraf=require(_0x59f0('0x8'));var config=require('../../config/environment');var attributes=require(_0x59f0('0x9'));module[_0x59f0('0xa')]=function(_0x3a45ef,_0x339d9a){return _0x3a45ef['define'](_0x59f0('0xb'),attributes,{'tableName':_0x59f0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};