Built motion from commit 3c2ce842.|2.6.31
[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 _0x342e=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts','util','../../config/logger'];(function(_0x4eb044,_0x5e8045){var _0x2c8c50=function(_0x465248){while(--_0x465248){_0x4eb044['push'](_0x4eb044['shift']());}};_0x2c8c50(++_0x5e8045);}(_0x342e,0x19e));var _0xe342=function(_0x5090d4,_0x1950a7){_0x5090d4=_0x5090d4-0x0;var _0x56c310=_0x342e[_0x5090d4];return _0x56c310;};'use strict';var _=require('lodash');var util=require(_0xe342('0x0'));var logger=require(_0xe342('0x1'))('api');var moment=require(_0xe342('0x2'));var BPromise=require(_0xe342('0x3'));var rp=require(_0xe342('0x4'));var fs=require('fs');var path=require(_0xe342('0x5'));var rimraf=require(_0xe342('0x6'));var config=require(_0xe342('0x7'));var attributes=require(_0xe342('0x8'));module[_0xe342('0x9')]=function(_0x134eab,_0x9b1f2d){return _0x134eab[_0xe342('0xa')](_0xe342('0xb'),attributes,{'tableName':_0xe342('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};