Built motion from commit (unavailable).|2.5.5
[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 _0xfa36=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0xfa36,0x10a));var _0x6fa3=function(_0x8fb035,_0x217b6d){_0x8fb035=_0x8fb035-0x0;var _0x3a678d=_0xfa36[_0x8fb035];return _0x3a678d;};'use strict';var _=require(_0x6fa3('0x0'));var util=require(_0x6fa3('0x1'));var logger=require(_0x6fa3('0x2'))(_0x6fa3('0x3'));var moment=require(_0x6fa3('0x4'));var BPromise=require(_0x6fa3('0x5'));var rp=require(_0x6fa3('0x6'));var fs=require('fs');var path=require(_0x6fa3('0x7'));var rimraf=require(_0x6fa3('0x8'));var config=require('../../config/environment');var attributes=require(_0x6fa3('0x9'));module[_0x6fa3('0xa')]=function(_0x155576,_0x34cc58){return _0x155576[_0x6fa3('0xb')](_0x6fa3('0xc'),attributes,{'tableName':_0x6fa3('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};