d0668138a53aa99ecb128838a03aa045cbf8d8c0
[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 _0xaf15=['bluebird','request-promise','rimraf','../../config/environment','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts','lodash','api','moment'];(function(_0x5746a1,_0x11eab1){var _0x551a43=function(_0x7ddcbe){while(--_0x7ddcbe){_0x5746a1['push'](_0x5746a1['shift']());}};_0x551a43(++_0x11eab1);}(_0xaf15,0xbd));var _0x5af1=function(_0x461756,_0x475750){_0x461756=_0x461756-0x0;var _0x42966f=_0xaf15[_0x461756];return _0x42966f;};'use strict';var _=require(_0x5af1('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x5af1('0x1'));var moment=require(_0x5af1('0x2'));var BPromise=require(_0x5af1('0x3'));var rp=require(_0x5af1('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5af1('0x5'));var config=require(_0x5af1('0x6'));var attributes=require(_0x5af1('0x7'));module[_0x5af1('0x8')]=function(_0x143842,_0x1541e6){return _0x143842[_0x5af1('0x9')](_0x5af1('0xa'),attributes,{'tableName':_0x5af1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};