59de4a20c6efe5e2d4c4cf6c23cc47ff9cd02183
[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 _0x2fa7=['exports','VoiceContext','voice_contexts','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceContext.attributes'];(function(_0x1bbc08,_0x444008){var _0x5d825b=function(_0x522920){while(--_0x522920){_0x1bbc08['push'](_0x1bbc08['shift']());}};_0x5d825b(++_0x444008);}(_0x2fa7,0xe0));var _0x72fa=function(_0x423505,_0x2e01eb){_0x423505=_0x423505-0x0;var _0x54f5e3=_0x2fa7[_0x423505];return _0x54f5e3;};'use strict';var _=require(_0x72fa('0x0'));var util=require('util');var logger=require(_0x72fa('0x1'))(_0x72fa('0x2'));var moment=require(_0x72fa('0x3'));var BPromise=require(_0x72fa('0x4'));var rp=require(_0x72fa('0x5'));var fs=require('fs');var path=require(_0x72fa('0x6'));var rimraf=require(_0x72fa('0x7'));var config=require(_0x72fa('0x8'));var attributes=require(_0x72fa('0x9'));module[_0x72fa('0xa')]=function(_0xd300e8,_0x5d9431){return _0xd300e8['define'](_0x72fa('0xb'),attributes,{'tableName':_0x72fa('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};