1ff68c1b5fa72ab7976ed9ca05db074e5dc72f66
[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 _0x7407=['request-promise','path','rimraf','../../config/environment','./voicePrefix.attributes','define','VoicePrefix','voice_prefixes','lodash','util','../../config/logger','api','moment'];(function(_0x516ffb,_0x5b5b42){var _0x319667=function(_0x250098){while(--_0x250098){_0x516ffb['push'](_0x516ffb['shift']());}};_0x319667(++_0x5b5b42);}(_0x7407,0x18e));var _0x7740=function(_0xe481ef,_0x8ca616){_0xe481ef=_0xe481ef-0x0;var _0x237774=_0x7407[_0xe481ef];return _0x237774;};'use strict';var _=require(_0x7740('0x0'));var util=require(_0x7740('0x1'));var logger=require(_0x7740('0x2'))(_0x7740('0x3'));var moment=require(_0x7740('0x4'));var BPromise=require('bluebird');var rp=require(_0x7740('0x5'));var fs=require('fs');var path=require(_0x7740('0x6'));var rimraf=require(_0x7740('0x7'));var config=require(_0x7740('0x8'));var attributes=require(_0x7740('0x9'));module['exports']=function(_0x1efcf9,_0x2388a3){return _0x1efcf9[_0x7740('0xa')](_0x7740('0xb'),attributes,{'tableName':_0x7740('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};