35797acb0e3fc9b9aefaffd2385c375000cc46b9
[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 _0xaf55=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts'];(function(_0x3a2e4b,_0x1fc1f7){var _0x3697d9=function(_0x45a4fa){while(--_0x45a4fa){_0x3a2e4b['push'](_0x3a2e4b['shift']());}};_0x3697d9(++_0x1fc1f7);}(_0xaf55,0x1e0));var _0x5af5=function(_0x101e7b,_0x4ef05b){_0x101e7b=_0x101e7b-0x0;var _0x4995c0=_0xaf55[_0x101e7b];return _0x4995c0;};'use strict';var _=require(_0x5af5('0x0'));var util=require(_0x5af5('0x1'));var logger=require(_0x5af5('0x2'))(_0x5af5('0x3'));var moment=require(_0x5af5('0x4'));var BPromise=require(_0x5af5('0x5'));var rp=require(_0x5af5('0x6'));var fs=require('fs');var path=require(_0x5af5('0x7'));var rimraf=require(_0x5af5('0x8'));var config=require(_0x5af5('0x9'));var attributes=require(_0x5af5('0xa'));module[_0x5af5('0xb')]=function(_0x16b6a0,_0x872cb0){return _0x16b6a0[_0x5af5('0xc')](_0x5af5('0xd'),attributes,{'tableName':_0x5af5('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};