f8c1249e587405a900389132db3b8f3c5bb4bf09
[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 _0x0be5=['path','rimraf','../../config/environment','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x13e741,_0x5d3c24){var _0x3f8bb3=function(_0x4440a0){while(--_0x4440a0){_0x13e741['push'](_0x13e741['shift']());}};_0x3f8bb3(++_0x5d3c24);}(_0x0be5,0xbc));var _0x50be=function(_0xf8bd98,_0x722df){_0xf8bd98=_0xf8bd98-0x0;var _0x34e8af=_0x0be5[_0xf8bd98];return _0x34e8af;};'use strict';var _=require(_0x50be('0x0'));var util=require(_0x50be('0x1'));var logger=require(_0x50be('0x2'))(_0x50be('0x3'));var moment=require(_0x50be('0x4'));var BPromise=require(_0x50be('0x5'));var rp=require(_0x50be('0x6'));var fs=require('fs');var path=require(_0x50be('0x7'));var rimraf=require(_0x50be('0x8'));var config=require(_0x50be('0x9'));var attributes=require(_0x50be('0xa'));module[_0x50be('0xb')]=function(_0x46f8b8,_0x449357){return _0x46f8b8[_0x50be('0xc')](_0x50be('0xd'),attributes,{'tableName':_0x50be('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};