Built motion from commit 25580385.|2.6.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 _0x2f2e=['rimraf','../../config/environment','./voiceContext.attributes','VoiceContext','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x2f2e,0x1cc));var _0xe2f2=function(_0x8de54f,_0x271987){_0x8de54f=_0x8de54f-0x0;var _0x14cba4=_0x2f2e[_0x8de54f];return _0x14cba4;};'use strict';var _=require(_0xe2f2('0x0'));var util=require(_0xe2f2('0x1'));var logger=require(_0xe2f2('0x2'))(_0xe2f2('0x3'));var moment=require(_0xe2f2('0x4'));var BPromise=require(_0xe2f2('0x5'));var rp=require(_0xe2f2('0x6'));var fs=require('fs');var path=require(_0xe2f2('0x7'));var rimraf=require(_0xe2f2('0x8'));var config=require(_0xe2f2('0x9'));var attributes=require(_0xe2f2('0xa'));module['exports']=function(_0x2dd91c,_0x5c8bc2){return _0x2dd91c['define'](_0xe2f2('0xb'),attributes,{'tableName':'voice_contexts','paranoid':![],'indexes':[],'timestamps':!![]});};