464cfe77b424c251d60b5e22a8080d0a028ad738
[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 _0x7814=['../../config/environment','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x41e226,_0x5b6d61){var _0x87089d=function(_0x596f57){while(--_0x596f57){_0x41e226['push'](_0x41e226['shift']());}};_0x87089d(++_0x5b6d61);}(_0x7814,0x18e));var _0x4781=function(_0x1ce86c,_0x4e23dd){_0x1ce86c=_0x1ce86c-0x0;var _0x737e56=_0x7814[_0x1ce86c];return _0x737e56;};'use strict';var _=require(_0x4781('0x0'));var util=require(_0x4781('0x1'));var logger=require(_0x4781('0x2'))(_0x4781('0x3'));var moment=require(_0x4781('0x4'));var BPromise=require(_0x4781('0x5'));var rp=require(_0x4781('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4781('0x7'));var config=require(_0x4781('0x8'));var attributes=require(_0x4781('0x9'));module[_0x4781('0xa')]=function(_0x35a32c,_0x33711c){return _0x35a32c[_0x4781('0xb')](_0x4781('0xc'),attributes,{'tableName':_0x4781('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};