Built motion from commit 9d1906d1.|2.5.40
[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 _0x5f60=['define','VoiceContext','voice_contexts','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceContext.attributes'];(function(_0x2de072,_0x492805){var _0x33595d=function(_0x341a49){while(--_0x341a49){_0x2de072['push'](_0x2de072['shift']());}};_0x33595d(++_0x492805);}(_0x5f60,0xed));var _0x05f6=function(_0x323c7e,_0x3d16ec){_0x323c7e=_0x323c7e-0x0;var _0x2b0f72=_0x5f60[_0x323c7e];return _0x2b0f72;};'use strict';var _=require(_0x05f6('0x0'));var util=require('util');var logger=require(_0x05f6('0x1'))(_0x05f6('0x2'));var moment=require(_0x05f6('0x3'));var BPromise=require(_0x05f6('0x4'));var rp=require(_0x05f6('0x5'));var fs=require('fs');var path=require(_0x05f6('0x6'));var rimraf=require(_0x05f6('0x7'));var config=require(_0x05f6('0x8'));var attributes=require(_0x05f6('0x9'));module['exports']=function(_0x53b20e,_0x41a88b){return _0x53b20e[_0x05f6('0xa')](_0x05f6('0xb'),attributes,{'tableName':_0x05f6('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};