b9aecd81bea408e905728a79539b0fb591071c23
[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 _0x2451=['../../config/environment','./voicePrefix.attributes','exports','define','lodash','../../config/logger','api','bluebird','rimraf'];(function(_0x29e093,_0x387479){var _0xb8b3f=function(_0xbe65fa){while(--_0xbe65fa){_0x29e093['push'](_0x29e093['shift']());}};_0xb8b3f(++_0x387479);}(_0x2451,0x199));var _0x1245=function(_0x1a72b8,_0x1e4f4b){_0x1a72b8=_0x1a72b8-0x0;var _0x39f72d=_0x2451[_0x1a72b8];return _0x39f72d;};'use strict';var _=require(_0x1245('0x0'));var util=require('util');var logger=require(_0x1245('0x1'))(_0x1245('0x2'));var moment=require('moment');var BPromise=require(_0x1245('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x1245('0x4'));var config=require(_0x1245('0x5'));var attributes=require(_0x1245('0x6'));module[_0x1245('0x7')]=function(_0x5e4d10,_0x5b61ff){return _0x5e4d10[_0x1245('0x8')]('VoicePrefix',attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};