b596ca072e9259dbd6d266b887d0ed8e4f21489a
[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 _0xa90f=['api','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceContext.attributes','VoiceContext','lodash','util','../../config/logger'];(function(_0x26747b,_0x501406){var _0x169db1=function(_0x1445c0){while(--_0x1445c0){_0x26747b['push'](_0x26747b['shift']());}};_0x169db1(++_0x501406);}(_0xa90f,0x131));var _0xfa90=function(_0x46bc75,_0x3fda3b){_0x46bc75=_0x46bc75-0x0;var _0x3294c5=_0xa90f[_0x46bc75];return _0x3294c5;};'use strict';var _=require(_0xfa90('0x0'));var util=require(_0xfa90('0x1'));var logger=require(_0xfa90('0x2'))(_0xfa90('0x3'));var moment=require(_0xfa90('0x4'));var BPromise=require(_0xfa90('0x5'));var rp=require(_0xfa90('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfa90('0x7'));var config=require(_0xfa90('0x8'));var attributes=require(_0xfa90('0x9'));module['exports']=function(_0x1816a8,_0x2fd36c){return _0x1816a8['define'](_0xfa90('0xa'),attributes,{'tableName':'voice_contexts','paranoid':![],'indexes':[],'timestamps':!![]});};