7ea36f1e86088ee168eaf7ee43777baf54258eef
[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 _0xb4c2=['voice_contexts','lodash','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./voiceContext.attributes','exports','define','VoiceContext'];(function(_0x2e476a,_0x1c655d){var _0x188142=function(_0x4936ef){while(--_0x4936ef){_0x2e476a['push'](_0x2e476a['shift']());}};_0x188142(++_0x1c655d);}(_0xb4c2,0x1d5));var _0x2b4c=function(_0x75e61,_0x222c08){_0x75e61=_0x75e61-0x0;var _0xaae9f9=_0xb4c2[_0x75e61];return _0xaae9f9;};'use strict';var _=require(_0x2b4c('0x0'));var util=require('util');var logger=require(_0x2b4c('0x1'))(_0x2b4c('0x2'));var moment=require(_0x2b4c('0x3'));var BPromise=require(_0x2b4c('0x4'));var rp=require(_0x2b4c('0x5'));var fs=require('fs');var path=require(_0x2b4c('0x6'));var rimraf=require('rimraf');var config=require(_0x2b4c('0x7'));var attributes=require(_0x2b4c('0x8'));module[_0x2b4c('0x9')]=function(_0x4a9f76,_0x3e608d){return _0x4a9f76[_0x2b4c('0xa')](_0x2b4c('0xb'),attributes,{'tableName':_0x2b4c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};