Built motion from commit c116dc8b.|2.6.30
[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 _0xd14f=['VoicePrefix','voice_prefixes','util','../../config/logger','api','moment','bluebird','request-promise','path','./voicePrefix.attributes','define'];(function(_0x1cfed0,_0x128b68){var _0x4e7544=function(_0x49a9bc){while(--_0x49a9bc){_0x1cfed0['push'](_0x1cfed0['shift']());}};_0x4e7544(++_0x128b68);}(_0xd14f,0xd3));var _0xfd14=function(_0xdf9cd5,_0x4969f9){_0xdf9cd5=_0xdf9cd5-0x0;var _0x383793=_0xd14f[_0xdf9cd5];return _0x383793;};'use strict';var _=require('lodash');var util=require(_0xfd14('0x0'));var logger=require(_0xfd14('0x1'))(_0xfd14('0x2'));var moment=require(_0xfd14('0x3'));var BPromise=require(_0xfd14('0x4'));var rp=require(_0xfd14('0x5'));var fs=require('fs');var path=require(_0xfd14('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xfd14('0x7'));module['exports']=function(_0x54106d,_0x33ba45){return _0x54106d[_0xfd14('0x8')](_0xfd14('0x9'),attributes,{'tableName':_0xfd14('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};