Built motion from commit (unavailable).|2.5.18
[motion2.git] / server / api / voicePrefix / voicePrefix.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 _0xaf9f=['define','VoicePrefix','voice_prefixes','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./voicePrefix.attributes','exports'];(function(_0x56c6a9,_0x1239ee){var _0xa3ad43=function(_0x386c0a){while(--_0x386c0a){_0x56c6a9['push'](_0x56c6a9['shift']());}};_0xa3ad43(++_0x1239ee);}(_0xaf9f,0x1d7));var _0xfaf9=function(_0x582d5a,_0x3b57c0){_0x582d5a=_0x582d5a-0x0;var _0x5625ef=_0xaf9f[_0x582d5a];return _0x5625ef;};'use strict';var _=require('lodash');var util=require(_0xfaf9('0x0'));var logger=require('../../config/logger')(_0xfaf9('0x1'));var moment=require(_0xfaf9('0x2'));var BPromise=require(_0xfaf9('0x3'));var rp=require(_0xfaf9('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfaf9('0x5'));var config=require(_0xfaf9('0x6'));var attributes=require(_0xfaf9('0x7'));module[_0xfaf9('0x8')]=function(_0x428c40,_0x52b2a8){return _0x428c40[_0xfaf9('0x9')](_0xfaf9('0xa'),attributes,{'tableName':_0xfaf9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};