Built motion from commit 3d6333b4.|2.6.31
[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 _0xaa5f=['VoicePrefix','voice_prefixes','lodash','util','../../config/logger','api','request-promise','path','../../config/environment','./voicePrefix.attributes','exports'];(function(_0x58e17f,_0x35ad3d){var _0xe969b8=function(_0x108b39){while(--_0x108b39){_0x58e17f['push'](_0x58e17f['shift']());}};_0xe969b8(++_0x35ad3d);}(_0xaa5f,0x12b));var _0xfaa5=function(_0x3627b1,_0x227f06){_0x3627b1=_0x3627b1-0x0;var _0x59a0f0=_0xaa5f[_0x3627b1];return _0x59a0f0;};'use strict';var _=require(_0xfaa5('0x0'));var util=require(_0xfaa5('0x1'));var logger=require(_0xfaa5('0x2'))(_0xfaa5('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xfaa5('0x4'));var fs=require('fs');var path=require(_0xfaa5('0x5'));var rimraf=require('rimraf');var config=require(_0xfaa5('0x6'));var attributes=require(_0xfaa5('0x7'));module[_0xfaa5('0x8')]=function(_0x5152be,_0x4269b6){return _0x5152be['define'](_0xfaa5('0x9'),attributes,{'tableName':_0xfaa5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};