b8c4653ca002da7f5fb93b08e5220426487714a6
[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 _0xfdbf=['define','VoicePrefix','voice_prefixes','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./voicePrefix.attributes','exports'];(function(_0x3a07c1,_0x34d57f){var _0x2bbe15=function(_0x5a02fb){while(--_0x5a02fb){_0x3a07c1['push'](_0x3a07c1['shift']());}};_0x2bbe15(++_0x34d57f);}(_0xfdbf,0x17c));var _0xffdb=function(_0x2bf141,_0x31eac7){_0x2bf141=_0x2bf141-0x0;var _0x48277b=_0xfdbf[_0x2bf141];return _0x48277b;};'use strict';var _=require(_0xffdb('0x0'));var util=require(_0xffdb('0x1'));var logger=require('../../config/logger')(_0xffdb('0x2'));var moment=require(_0xffdb('0x3'));var BPromise=require(_0xffdb('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xffdb('0x5'));var rimraf=require(_0xffdb('0x6'));var config=require(_0xffdb('0x7'));var attributes=require(_0xffdb('0x8'));module[_0xffdb('0x9')]=function(_0x2ce7dd,_0x3e22ee){return _0x2ce7dd[_0xffdb('0xa')](_0xffdb('0xb'),attributes,{'tableName':_0xffdb('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};