Built motion from commit (unavailable).|2.4.2
[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 _0xb14e=['util','api','moment','request-promise','rimraf','../../config/environment','./voiceContext.attributes','exports','VoiceContext','lodash'];(function(_0x53806b,_0x55b843){var _0x104bb9=function(_0x2b46e7){while(--_0x2b46e7){_0x53806b['push'](_0x53806b['shift']());}};_0x104bb9(++_0x55b843);}(_0xb14e,0xd1));var _0xeb14=function(_0x107f95,_0x96070){_0x107f95=_0x107f95-0x0;var _0x5adaf5=_0xb14e[_0x107f95];return _0x5adaf5;};'use strict';var _=require(_0xeb14('0x0'));var util=require(_0xeb14('0x1'));var logger=require('../../config/logger')(_0xeb14('0x2'));var moment=require(_0xeb14('0x3'));var BPromise=require('bluebird');var rp=require(_0xeb14('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xeb14('0x5'));var config=require(_0xeb14('0x6'));var attributes=require(_0xeb14('0x7'));module[_0xeb14('0x8')]=function(_0x93d55f,_0x1c7609){return _0x93d55f['define'](_0xeb14('0x9'),attributes,{'tableName':'voice_contexts','paranoid':![],'indexes':[],'timestamps':!![]});};