Built motion from commit da617fac.|2.6.6
[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 _0xb6a1=['../../config/environment','exports','VoiceContext','lodash','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x297fd3,_0x115406){var _0x2af381=function(_0x1dd31b){while(--_0x1dd31b){_0x297fd3['push'](_0x297fd3['shift']());}};_0x2af381(++_0x115406);}(_0xb6a1,0x14d));var _0x1b6a=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xb6a1[_0x502c7d];return _0x30b7ed;};'use strict';var _=require(_0x1b6a('0x0'));var util=require(_0x1b6a('0x1'));var logger=require(_0x1b6a('0x2'))(_0x1b6a('0x3'));var moment=require('moment');var BPromise=require(_0x1b6a('0x4'));var rp=require(_0x1b6a('0x5'));var fs=require('fs');var path=require(_0x1b6a('0x6'));var rimraf=require('rimraf');var config=require(_0x1b6a('0x7'));var attributes=require('./voiceContext.attributes');module[_0x1b6a('0x8')]=function(_0x464307,_0x27ef3d){return _0x464307['define'](_0x1b6a('0x9'),attributes,{'tableName':'voice_contexts','paranoid':![],'indexes':[],'timestamps':!![]});};