27f481fe58cbe0eaae0452e9508b532ddb853e75
[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 _0xef2b=['moment','request-promise','rimraf','../../config/environment','./voiceContext.attributes','exports','VoiceContext','voice_contexts','lodash','util','../../config/logger','api'];(function(_0x2bfe0b,_0x2f8965){var _0x44e266=function(_0x118cc3){while(--_0x118cc3){_0x2bfe0b['push'](_0x2bfe0b['shift']());}};_0x44e266(++_0x2f8965);}(_0xef2b,0x164));var _0xbef2=function(_0x160254,_0x2726cd){_0x160254=_0x160254-0x0;var _0x35eb61=_0xef2b[_0x160254];return _0x35eb61;};'use strict';var _=require(_0xbef2('0x0'));var util=require(_0xbef2('0x1'));var logger=require(_0xbef2('0x2'))(_0xbef2('0x3'));var moment=require(_0xbef2('0x4'));var BPromise=require('bluebird');var rp=require(_0xbef2('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbef2('0x6'));var config=require(_0xbef2('0x7'));var attributes=require(_0xbef2('0x8'));module[_0xbef2('0x9')]=function(_0x5e4f61,_0x3a90fa){return _0x5e4f61['define'](_0xbef2('0xa'),attributes,{'tableName':_0xbef2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};