Built motion from commit (unavailable).|2.5.15
[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 _0x4156=['bluebird','path','rimraf','./voiceContext.attributes','exports','VoiceContext','voice_contexts','lodash','util','../../config/logger','moment'];(function(_0x4ce46c,_0x3002e5){var _0x132542=function(_0x3e8d5f){while(--_0x3e8d5f){_0x4ce46c['push'](_0x4ce46c['shift']());}};_0x132542(++_0x3002e5);}(_0x4156,0x193));var _0x6415=function(_0x22c68f,_0x3a940e){_0x22c68f=_0x22c68f-0x0;var _0x16de5a=_0x4156[_0x22c68f];return _0x16de5a;};'use strict';var _=require(_0x6415('0x0'));var util=require(_0x6415('0x1'));var logger=require(_0x6415('0x2'))('api');var moment=require(_0x6415('0x3'));var BPromise=require(_0x6415('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6415('0x5'));var rimraf=require(_0x6415('0x6'));var config=require('../../config/environment');var attributes=require(_0x6415('0x7'));module[_0x6415('0x8')]=function(_0x7fdb35,_0x3c72d8){return _0x7fdb35['define'](_0x6415('0x9'),attributes,{'tableName':_0x6415('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};