Built motion from commit (unavailable).|2.5.22
[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 _0x81e2=['../../config/environment','exports','define','voice_contexts','lodash','util','../../config/logger','api','moment','rimraf'];(function(_0x3b4b1d,_0x15029e){var _0x488c36=function(_0x56c8b3){while(--_0x56c8b3){_0x3b4b1d['push'](_0x3b4b1d['shift']());}};_0x488c36(++_0x15029e);}(_0x81e2,0x7c));var _0x281e=function(_0x2deea2,_0x2cfde3){_0x2deea2=_0x2deea2-0x0;var _0x4d3284=_0x81e2[_0x2deea2];return _0x4d3284;};'use strict';var _=require(_0x281e('0x0'));var util=require(_0x281e('0x1'));var logger=require(_0x281e('0x2'))(_0x281e('0x3'));var moment=require(_0x281e('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x281e('0x5'));var config=require(_0x281e('0x6'));var attributes=require('./voiceContext.attributes');module[_0x281e('0x7')]=function(_0x5b00f2,_0x1d6f2a){return _0x5b00f2[_0x281e('0x8')]('VoiceContext',attributes,{'tableName':_0x281e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};