Built motion from commit (unavailable).|2.4.18
[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 _0x990e=['define','VoiceContext','voice_contexts','lodash','util','../../config/logger','moment','bluebird','rimraf','../../config/environment','./voiceContext.attributes','exports'];(function(_0x164eca,_0x555e28){var _0x2ce562=function(_0x148ca6){while(--_0x148ca6){_0x164eca['push'](_0x164eca['shift']());}};_0x2ce562(++_0x555e28);}(_0x990e,0x13b));var _0xe990=function(_0x4522bb,_0xe330a6){_0x4522bb=_0x4522bb-0x0;var _0x1496ed=_0x990e[_0x4522bb];return _0x1496ed;};'use strict';var _=require(_0xe990('0x0'));var util=require(_0xe990('0x1'));var logger=require(_0xe990('0x2'))('api');var moment=require(_0xe990('0x3'));var BPromise=require(_0xe990('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe990('0x5'));var config=require(_0xe990('0x6'));var attributes=require(_0xe990('0x7'));module[_0xe990('0x8')]=function(_0x470878,_0x5851d9){return _0x470878[_0xe990('0x9')](_0xe990('0xa'),attributes,{'tableName':_0xe990('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};