e26ab5a2f911cdb4f052cc1d70cae73c7344334a
[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 _0xbf83=['VoiceContext','voice_contexts','lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./voiceContext.attributes','exports','define'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0xbf83,0xf9));var _0x3bf8=function(_0x514a85,_0x433bf6){_0x514a85=_0x514a85-0x0;var _0x4ece5c=_0xbf83[_0x514a85];return _0x4ece5c;};'use strict';var _=require(_0x3bf8('0x0'));var util=require(_0x3bf8('0x1'));var logger=require(_0x3bf8('0x2'))(_0x3bf8('0x3'));var moment=require('moment');var BPromise=require(_0x3bf8('0x4'));var rp=require(_0x3bf8('0x5'));var fs=require('fs');var path=require(_0x3bf8('0x6'));var rimraf=require('rimraf');var config=require(_0x3bf8('0x7'));var attributes=require(_0x3bf8('0x8'));module[_0x3bf8('0x9')]=function(_0x2f8bc5,_0x11389b){return _0x2f8bc5[_0x3bf8('0xa')](_0x3bf8('0xb'),attributes,{'tableName':_0x3bf8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};