11a428a032fdd3d04ca0c53defe9e43ecfdfaaa8
[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 _0xe07a=['moment','request-promise','rimraf','../../config/environment','./voicePrefix.attributes','VoicePrefix','voice_prefixes','lodash','api'];(function(_0x569037,_0x370934){var _0x38c42d=function(_0x5bb26a){while(--_0x5bb26a){_0x569037['push'](_0x569037['shift']());}};_0x38c42d(++_0x370934);}(_0xe07a,0x130));var _0xae07=function(_0x5397e4,_0x11150a){_0x5397e4=_0x5397e4-0x0;var _0xae7aa1=_0xe07a[_0x5397e4];return _0xae7aa1;};'use strict';var _=require(_0xae07('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xae07('0x1'));var moment=require(_0xae07('0x2'));var BPromise=require('bluebird');var rp=require(_0xae07('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xae07('0x4'));var config=require(_0xae07('0x5'));var attributes=require(_0xae07('0x6'));module['exports']=function(_0x588506,_0x484c79){return _0x588506['define'](_0xae07('0x7'),attributes,{'tableName':_0xae07('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};