Built motion from commit 14588770.|2.5.38
[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 _0xb6df=['util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash'];(function(_0x46e3f7,_0x52f8c1){var _0x54e9c2=function(_0x220856){while(--_0x220856){_0x46e3f7['push'](_0x46e3f7['shift']());}};_0x54e9c2(++_0x52f8c1);}(_0xb6df,0x1ac));var _0xfb6d=function(_0x384737,_0x4ec400){_0x384737=_0x384737-0x0;var _0x4250a1=_0xb6df[_0x384737];return _0x4250a1;};'use strict';var _=require(_0xfb6d('0x0'));var util=require(_0xfb6d('0x1'));var logger=require(_0xfb6d('0x2'))(_0xfb6d('0x3'));var moment=require('moment');var BPromise=require(_0xfb6d('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfb6d('0x5'));var rimraf=require(_0xfb6d('0x6'));var config=require(_0xfb6d('0x7'));var attributes=require(_0xfb6d('0x8'));module[_0xfb6d('0x9')]=function(_0x551d60,_0x221cf6){return _0x551d60[_0xfb6d('0xa')](_0xfb6d('0xb'),attributes,{'tableName':_0xfb6d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};