592062309a1f0c6788ba802c14aa447c5b8518a1
[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 _0x0136=['VoicePrefix','voice_prefixes','lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./voicePrefix.attributes','exports'];(function(_0x47e7d0,_0x36c59d){var _0x24995f=function(_0x36b084){while(--_0x36b084){_0x47e7d0['push'](_0x47e7d0['shift']());}};_0x24995f(++_0x36c59d);}(_0x0136,0xf2));var _0x6013=function(_0xa11a8c,_0x27343e){_0xa11a8c=_0xa11a8c-0x0;var _0x1d0273=_0x0136[_0xa11a8c];return _0x1d0273;};'use strict';var _=require(_0x6013('0x0'));var util=require(_0x6013('0x1'));var logger=require(_0x6013('0x2'))(_0x6013('0x3'));var moment=require('moment');var BPromise=require(_0x6013('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6013('0x5'));var rimraf=require(_0x6013('0x6'));var config=require(_0x6013('0x7'));var attributes=require(_0x6013('0x8'));module[_0x6013('0x9')]=function(_0x7f78f7,_0x572c37){return _0x7f78f7['define'](_0x6013('0xa'),attributes,{'tableName':_0x6013('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};