Built motion from commit (unavailable).|2.5.13
[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 _0x84e1=['../../config/environment','./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash','api','moment','request-promise','path','rimraf'];(function(_0x38c5a9,_0x3db609){var _0x5b7f7d=function(_0x1ecd06){while(--_0x1ecd06){_0x38c5a9['push'](_0x38c5a9['shift']());}};_0x5b7f7d(++_0x3db609);}(_0x84e1,0x1ce));var _0x184e=function(_0x1d1779,_0x284147){_0x1d1779=_0x1d1779-0x0;var _0x2377e9=_0x84e1[_0x1d1779];return _0x2377e9;};'use strict';var _=require(_0x184e('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x184e('0x1'));var moment=require(_0x184e('0x2'));var BPromise=require('bluebird');var rp=require(_0x184e('0x3'));var fs=require('fs');var path=require(_0x184e('0x4'));var rimraf=require(_0x184e('0x5'));var config=require(_0x184e('0x6'));var attributes=require(_0x184e('0x7'));module[_0x184e('0x8')]=function(_0x46b42e,_0x3e6621){return _0x46b42e[_0x184e('0x9')](_0x184e('0xa'),attributes,{'tableName':_0x184e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};