f0c19113ca2e27d15e229cac8f4497feea051832
[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 _0x0b00=['rimraf','../../config/environment','define','voice_contexts','lodash','util','../../config/logger','moment'];(function(_0x1d5458,_0x3acf09){var _0x9bf6f=function(_0x8d948c){while(--_0x8d948c){_0x1d5458['push'](_0x1d5458['shift']());}};_0x9bf6f(++_0x3acf09);}(_0x0b00,0x1ac));var _0x00b0=function(_0x5bdd92,_0x1ee25f){_0x5bdd92=_0x5bdd92-0x0;var _0x31242d=_0x0b00[_0x5bdd92];return _0x31242d;};'use strict';var _=require(_0x00b0('0x0'));var util=require(_0x00b0('0x1'));var logger=require(_0x00b0('0x2'))('api');var moment=require(_0x00b0('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x00b0('0x4'));var config=require(_0x00b0('0x5'));var attributes=require('./voiceContext.attributes');module['exports']=function(_0x35dfcf,_0x48dc35){return _0x35dfcf[_0x00b0('0x6')]('VoiceContext',attributes,{'tableName':_0x00b0('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};