Built motion from commit (unavailable).|2.4.19
[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 _0xf2ea=['path','../../config/environment','exports','define','voice_contexts','api','moment','bluebird','request-promise'];(function(_0x333220,_0x2d7896){var _0x3b1ad1=function(_0x1a5130){while(--_0x1a5130){_0x333220['push'](_0x333220['shift']());}};_0x3b1ad1(++_0x2d7896);}(_0xf2ea,0xb9));var _0xaf2e=function(_0x42bdad,_0x12836c){_0x42bdad=_0x42bdad-0x0;var _0x122626=_0xf2ea[_0x42bdad];return _0x122626;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xaf2e('0x0'));var moment=require(_0xaf2e('0x1'));var BPromise=require(_0xaf2e('0x2'));var rp=require(_0xaf2e('0x3'));var fs=require('fs');var path=require(_0xaf2e('0x4'));var rimraf=require('rimraf');var config=require(_0xaf2e('0x5'));var attributes=require('./voiceContext.attributes');module[_0xaf2e('0x6')]=function(_0x1e83a9,_0x1fbbfc){return _0x1e83a9[_0xaf2e('0x7')]('VoiceContext',attributes,{'tableName':_0xaf2e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};