b55e83f487f95e89d09e565a0eb8141c500287b5
[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 _0xeff6=['bluebird','request-promise','../../config/environment','./voicePrefix.attributes','exports','VoicePrefix','voice_prefixes','../../config/logger'];(function(_0x2edd6d,_0xf1d38){var _0x55a79b=function(_0x205b9c){while(--_0x205b9c){_0x2edd6d['push'](_0x2edd6d['shift']());}};_0x55a79b(++_0xf1d38);}(_0xeff6,0x127));var _0x6eff=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xeff6[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6eff('0x0'))('api');var moment=require('moment');var BPromise=require(_0x6eff('0x1'));var rp=require(_0x6eff('0x2'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6eff('0x3'));var attributes=require(_0x6eff('0x4'));module[_0x6eff('0x5')]=function(_0x2093f1,_0x4cde54){return _0x2093f1['define'](_0x6eff('0x6'),attributes,{'tableName':_0x6eff('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};