Built motion from commit (unavailable).|2.5.30
[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 _0xd07e=['VoiceContext','voice_contexts','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceContext.attributes','exports'];(function(_0x3b50da,_0x1c7ad3){var _0x350f79=function(_0x2fd583){while(--_0x2fd583){_0x3b50da['push'](_0x3b50da['shift']());}};_0x350f79(++_0x1c7ad3);}(_0xd07e,0x161));var _0xed07=function(_0x5edaf2,_0x2374b9){_0x5edaf2=_0x5edaf2-0x0;var _0x30b502=_0xd07e[_0x5edaf2];return _0x30b502;};'use strict';var _=require('lodash');var util=require(_0xed07('0x0'));var logger=require(_0xed07('0x1'))(_0xed07('0x2'));var moment=require(_0xed07('0x3'));var BPromise=require(_0xed07('0x4'));var rp=require(_0xed07('0x5'));var fs=require('fs');var path=require(_0xed07('0x6'));var rimraf=require(_0xed07('0x7'));var config=require(_0xed07('0x8'));var attributes=require(_0xed07('0x9'));module[_0xed07('0xa')]=function(_0x36e1a2,_0x570402){return _0x36e1a2['define'](_0xed07('0xb'),attributes,{'tableName':_0xed07('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};