Built motion from commit ffdca78c.|2.6.24
[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 _0xa3bb=['VoiceContext','voice_contexts','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./voiceContext.attributes','exports','define'];(function(_0x19b5ec,_0x1ae3b2){var _0x54bd71=function(_0x24f42f){while(--_0x24f42f){_0x19b5ec['push'](_0x19b5ec['shift']());}};_0x54bd71(++_0x1ae3b2);}(_0xa3bb,0xd2));var _0xba3b=function(_0x148f89,_0xe116d7){_0x148f89=_0x148f89-0x0;var _0x22b05d=_0xa3bb[_0x148f89];return _0x22b05d;};'use strict';var _=require(_0xba3b('0x0'));var util=require(_0xba3b('0x1'));var logger=require('../../config/logger')(_0xba3b('0x2'));var moment=require(_0xba3b('0x3'));var BPromise=require(_0xba3b('0x4'));var rp=require(_0xba3b('0x5'));var fs=require('fs');var path=require(_0xba3b('0x6'));var rimraf=require('rimraf');var config=require(_0xba3b('0x7'));var attributes=require(_0xba3b('0x8'));module[_0xba3b('0x9')]=function(_0xbd04d5,_0x371869){return _0xbd04d5[_0xba3b('0xa')](_0xba3b('0xb'),attributes,{'tableName':_0xba3b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};