6d7cab61c44f4efcdd39fdbab46774d25fc98eae
[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 _0x0e20=['util','../../config/logger','api','moment','request-promise','path','rimraf','./voicePrefix.attributes','exports','VoicePrefix','lodash'];(function(_0x4991d6,_0x348deb){var _0x50faf7=function(_0x14c7f8){while(--_0x14c7f8){_0x4991d6['push'](_0x4991d6['shift']());}};_0x50faf7(++_0x348deb);}(_0x0e20,0x99));var _0x00e2=function(_0x326e1b,_0x1ce100){_0x326e1b=_0x326e1b-0x0;var _0x178f67=_0x0e20[_0x326e1b];return _0x178f67;};'use strict';var _=require(_0x00e2('0x0'));var util=require(_0x00e2('0x1'));var logger=require(_0x00e2('0x2'))(_0x00e2('0x3'));var moment=require(_0x00e2('0x4'));var BPromise=require('bluebird');var rp=require(_0x00e2('0x5'));var fs=require('fs');var path=require(_0x00e2('0x6'));var rimraf=require(_0x00e2('0x7'));var config=require('../../config/environment');var attributes=require(_0x00e2('0x8'));module[_0x00e2('0x9')]=function(_0x511379,_0xa28b7e){return _0x511379['define'](_0x00e2('0xa'),attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};