ad7f6685ad6e42ebb4f14276e303794b779b911f
[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 _0x8ce2=['util','api','moment','bluebird','request-promise','path','rimraf','./voiceContext.attributes','exports','define','lodash'];(function(_0x1e6862,_0x337c77){var _0x299056=function(_0x1194b5){while(--_0x1194b5){_0x1e6862['push'](_0x1e6862['shift']());}};_0x299056(++_0x337c77);}(_0x8ce2,0x18b));var _0x28ce=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0x8ce2[_0x1035c1];return _0x308d67;};'use strict';var _=require(_0x28ce('0x0'));var util=require(_0x28ce('0x1'));var logger=require('../../config/logger')(_0x28ce('0x2'));var moment=require(_0x28ce('0x3'));var BPromise=require(_0x28ce('0x4'));var rp=require(_0x28ce('0x5'));var fs=require('fs');var path=require(_0x28ce('0x6'));var rimraf=require(_0x28ce('0x7'));var config=require('../../config/environment');var attributes=require(_0x28ce('0x8'));module[_0x28ce('0x9')]=function(_0x24278a,_0x1a8370){return _0x24278a[_0x28ce('0xa')]('VoiceContext',attributes,{'tableName':'voice_contexts','paranoid':![],'indexes':[],'timestamps':!![]});};