Built motion from commit b5996064.|2.6.21
[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 _0x0c1a=['rimraf','../../config/environment','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts','lodash','util','../../config/logger','bluebird','path'];(function(_0x4fd7e1,_0x55edd2){var _0xd878ae=function(_0x2d9ae4){while(--_0x2d9ae4){_0x4fd7e1['push'](_0x4fd7e1['shift']());}};_0xd878ae(++_0x55edd2);}(_0x0c1a,0x127));var _0xa0c1=function(_0x4263eb,_0xb8fba){_0x4263eb=_0x4263eb-0x0;var _0x5d3fcf=_0x0c1a[_0x4263eb];return _0x5d3fcf;};'use strict';var _=require(_0xa0c1('0x0'));var util=require(_0xa0c1('0x1'));var logger=require(_0xa0c1('0x2'))('api');var moment=require('moment');var BPromise=require(_0xa0c1('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa0c1('0x4'));var rimraf=require(_0xa0c1('0x5'));var config=require(_0xa0c1('0x6'));var attributes=require(_0xa0c1('0x7'));module[_0xa0c1('0x8')]=function(_0x44538a,_0x199950){return _0x44538a[_0xa0c1('0x9')](_0xa0c1('0xa'),attributes,{'tableName':_0xa0c1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};