0bcbf56d2ad8e8f856585118c3baec638fc843cb
[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 _0xd54a=['path','rimraf','../../config/environment','./voicePrefix.attributes','exports','define','voice_prefixes','lodash','util','../../config/logger','api','bluebird','request-promise'];(function(_0x2179f1,_0x21c653){var _0x176ec9=function(_0x4c4a4c){while(--_0x4c4a4c){_0x2179f1['push'](_0x2179f1['shift']());}};_0x176ec9(++_0x21c653);}(_0xd54a,0xd7));var _0xad54=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xd54a[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0xad54('0x0'));var util=require(_0xad54('0x1'));var logger=require(_0xad54('0x2'))(_0xad54('0x3'));var moment=require('moment');var BPromise=require(_0xad54('0x4'));var rp=require(_0xad54('0x5'));var fs=require('fs');var path=require(_0xad54('0x6'));var rimraf=require(_0xad54('0x7'));var config=require(_0xad54('0x8'));var attributes=require(_0xad54('0x9'));module[_0xad54('0xa')]=function(_0x5d84cf,_0x1b6243){return _0x5d84cf[_0xad54('0xb')]('VoicePrefix',attributes,{'tableName':_0xad54('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};