c4035ec7328a507ea8cb4222e503880b7acc0a9f
[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 _0x1304=['exports','define','VoicePrefix','util','api','bluebird','request-promise','path','rimraf','./voicePrefix.attributes'];(function(_0x4611bb,_0x16f2a7){var _0x4ab34a=function(_0x2f28c6){while(--_0x2f28c6){_0x4611bb['push'](_0x4611bb['shift']());}};_0x4ab34a(++_0x16f2a7);}(_0x1304,0xa3));var _0x4130=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x1304[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require(_0x4130('0x0'));var logger=require('../../config/logger')(_0x4130('0x1'));var moment=require('moment');var BPromise=require(_0x4130('0x2'));var rp=require(_0x4130('0x3'));var fs=require('fs');var path=require(_0x4130('0x4'));var rimraf=require(_0x4130('0x5'));var config=require('../../config/environment');var attributes=require(_0x4130('0x6'));module[_0x4130('0x7')]=function(_0x1954af,_0x31b481){return _0x1954af[_0x4130('0x8')](_0x4130('0x9'),attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};