786a7de5e3441f70510d07ea26844f73dfccbc03
[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 _0xcecf=['request-promise','path','rimraf','../../config/environment','./voicePrefix.attributes','exports','VoicePrefix','voice_prefixes','util','../../config/logger','api','moment','bluebird'];(function(_0x5b3c61,_0x3eb2aa){var _0x153389=function(_0x2a1a99){while(--_0x2a1a99){_0x5b3c61['push'](_0x5b3c61['shift']());}};_0x153389(++_0x3eb2aa);}(_0xcecf,0x140));var _0xfcec=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xcecf[_0x3ab51d];return _0x29a04e;};'use strict';var _=require('lodash');var util=require(_0xfcec('0x0'));var logger=require(_0xfcec('0x1'))(_0xfcec('0x2'));var moment=require(_0xfcec('0x3'));var BPromise=require(_0xfcec('0x4'));var rp=require(_0xfcec('0x5'));var fs=require('fs');var path=require(_0xfcec('0x6'));var rimraf=require(_0xfcec('0x7'));var config=require(_0xfcec('0x8'));var attributes=require(_0xfcec('0x9'));module[_0xfcec('0xa')]=function(_0x55a6f1,_0x45fb8f){return _0x55a6f1['define'](_0xfcec('0xb'),attributes,{'tableName':_0xfcec('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};