Built motion from commit 0900f080.|2.5.45
[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 _0x6868=['lodash','util','api','moment','bluebird','rimraf','../../config/environment','exports','define','voice_prefixes'];(function(_0xf9bb6a,_0x472270){var _0x59996a=function(_0x2e3356){while(--_0x2e3356){_0xf9bb6a['push'](_0xf9bb6a['shift']());}};_0x59996a(++_0x472270);}(_0x6868,0x186));var _0x8686=function(_0x7e1db7,_0x1f6004){_0x7e1db7=_0x7e1db7-0x0;var _0x22e3fe=_0x6868[_0x7e1db7];return _0x22e3fe;};'use strict';var _=require(_0x8686('0x0'));var util=require(_0x8686('0x1'));var logger=require('../../config/logger')(_0x8686('0x2'));var moment=require(_0x8686('0x3'));var BPromise=require(_0x8686('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x8686('0x5'));var config=require(_0x8686('0x6'));var attributes=require('./voicePrefix.attributes');module[_0x8686('0x7')]=function(_0xf390f3,_0x79e26e){return _0xf390f3[_0x8686('0x8')]('VoicePrefix',attributes,{'tableName':_0x8686('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};