6912c94cbb1c8a46bd287219d6f3049709c55129
[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 _0xacff=['api','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','lodash','../../config/logger'];(function(_0x177c8d,_0x15a8af){var _0x2a771b=function(_0x3b2763){while(--_0x3b2763){_0x177c8d['push'](_0x177c8d['shift']());}};_0x2a771b(++_0x15a8af);}(_0xacff,0x13e));var _0xfacf=function(_0x4cdcd3,_0x23e289){_0x4cdcd3=_0x4cdcd3-0x0;var _0x139a3b=_0xacff[_0x4cdcd3];return _0x139a3b;};'use strict';var _=require(_0xfacf('0x0'));var util=require('util');var logger=require(_0xfacf('0x1'))(_0xfacf('0x2'));var moment=require('moment');var BPromise=require(_0xfacf('0x3'));var rp=require(_0xfacf('0x4'));var fs=require('fs');var path=require(_0xfacf('0x5'));var rimraf=require(_0xfacf('0x6'));var config=require(_0xfacf('0x7'));var attributes=require('./voicePrefix.attributes');module[_0xfacf('0x8')]=function(_0x2e3a19,_0x445eef){return _0x2e3a19[_0xfacf('0x9')]('VoicePrefix',attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};