Built motion from commit 3e059bc2.|2.5.32
[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 _0xe4a3=['request-promise','path','rimraf','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts','lodash','util','moment','bluebird'];(function(_0x53abe5,_0x33a9e5){var _0xc1c37e=function(_0xd53c6e){while(--_0xd53c6e){_0x53abe5['push'](_0x53abe5['shift']());}};_0xc1c37e(++_0x33a9e5);}(_0xe4a3,0x164));var _0x3e4a=function(_0x46c952,_0x2b1b3f){_0x46c952=_0x46c952-0x0;var _0x3e98b4=_0xe4a3[_0x46c952];return _0x3e98b4;};'use strict';var _=require(_0x3e4a('0x0'));var util=require(_0x3e4a('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x3e4a('0x2'));var BPromise=require(_0x3e4a('0x3'));var rp=require(_0x3e4a('0x4'));var fs=require('fs');var path=require(_0x3e4a('0x5'));var rimraf=require(_0x3e4a('0x6'));var config=require('../../config/environment');var attributes=require(_0x3e4a('0x7'));module[_0x3e4a('0x8')]=function(_0xf16bb6,_0x5be9a5){return _0xf16bb6[_0x3e4a('0x9')](_0x3e4a('0xa'),attributes,{'tableName':_0x3e4a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};