0c5b9cb50d1afcff6b6bf35aeb1fc2384f1d35eb
[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 _0x9f8a=['exports','define','VoicePrefix','voice_prefixes','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voicePrefix.attributes'];(function(_0x484e36,_0x4482d8){var _0xafc85d=function(_0xaba9c8){while(--_0xaba9c8){_0x484e36['push'](_0x484e36['shift']());}};_0xafc85d(++_0x4482d8);}(_0x9f8a,0x170));var _0xa9f8=function(_0x2b192e,_0x28ec8a){_0x2b192e=_0x2b192e-0x0;var _0x3478b5=_0x9f8a[_0x2b192e];return _0x3478b5;};'use strict';var _=require(_0xa9f8('0x0'));var util=require('util');var logger=require(_0xa9f8('0x1'))(_0xa9f8('0x2'));var moment=require(_0xa9f8('0x3'));var BPromise=require(_0xa9f8('0x4'));var rp=require(_0xa9f8('0x5'));var fs=require('fs');var path=require(_0xa9f8('0x6'));var rimraf=require(_0xa9f8('0x7'));var config=require(_0xa9f8('0x8'));var attributes=require(_0xa9f8('0x9'));module[_0xa9f8('0xa')]=function(_0x468cf9,_0x45a932){return _0x468cf9[_0xa9f8('0xb')](_0xa9f8('0xc'),attributes,{'tableName':_0xa9f8('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};