Built motion from commit (unavailable).|2.5.29
[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 _0xcd5b=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts','util','../../config/logger','api'];(function(_0x12c780,_0x2f0567){var _0x382e1b=function(_0x2f8856){while(--_0x2f8856){_0x12c780['push'](_0x12c780['shift']());}};_0x382e1b(++_0x2f0567);}(_0xcd5b,0x1e7));var _0xbcd5=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xcd5b[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var util=require(_0xbcd5('0x0'));var logger=require(_0xbcd5('0x1'))(_0xbcd5('0x2'));var moment=require(_0xbcd5('0x3'));var BPromise=require(_0xbcd5('0x4'));var rp=require(_0xbcd5('0x5'));var fs=require('fs');var path=require(_0xbcd5('0x6'));var rimraf=require(_0xbcd5('0x7'));var config=require(_0xbcd5('0x8'));var attributes=require(_0xbcd5('0x9'));module[_0xbcd5('0xa')]=function(_0x3f6988,_0x1ef514){return _0x3f6988[_0xbcd5('0xb')](_0xbcd5('0xc'),attributes,{'tableName':_0xbcd5('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};