a38fa236deebc12fcdf9ec8f0c0dd13c142e1da9
[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 _0x5b0f=['define','VoiceContext','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x50ace0,_0x35a09e){var _0x4a3180=function(_0x1e4f0b){while(--_0x1e4f0b){_0x50ace0['push'](_0x50ace0['shift']());}};_0x4a3180(++_0x35a09e);}(_0x5b0f,0xde));var _0xf5b0=function(_0x4512a5,_0x471f20){_0x4512a5=_0x4512a5-0x0;var _0x540afa=_0x5b0f[_0x4512a5];return _0x540afa;};'use strict';var _=require('lodash');var util=require(_0xf5b0('0x0'));var logger=require('../../config/logger')(_0xf5b0('0x1'));var moment=require(_0xf5b0('0x2'));var BPromise=require(_0xf5b0('0x3'));var rp=require(_0xf5b0('0x4'));var fs=require('fs');var path=require(_0xf5b0('0x5'));var rimraf=require(_0xf5b0('0x6'));var config=require(_0xf5b0('0x7'));var attributes=require('./voiceContext.attributes');module['exports']=function(_0x251e0c,_0x174987){return _0x251e0c[_0xf5b0('0x8')](_0xf5b0('0x9'),attributes,{'tableName':'voice_contexts','paranoid':![],'indexes':[],'timestamps':!![]});};