Built motion from commit (unavailable).|2.4.0
[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 _0xef1e=['request-promise','path','rimraf','exports','define','VoicePrefix','voice_prefixes','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x43160f,_0x2b7d08){var _0x4d1e9d=function(_0x497136){while(--_0x497136){_0x43160f['push'](_0x43160f['shift']());}};_0x4d1e9d(++_0x2b7d08);}(_0xef1e,0x125));var _0xeef1=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xef1e[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0xeef1('0x0'));var util=require(_0xeef1('0x1'));var logger=require(_0xeef1('0x2'))(_0xeef1('0x3'));var moment=require(_0xeef1('0x4'));var BPromise=require(_0xeef1('0x5'));var rp=require(_0xeef1('0x6'));var fs=require('fs');var path=require(_0xeef1('0x7'));var rimraf=require(_0xeef1('0x8'));var config=require('../../config/environment');var attributes=require('./voicePrefix.attributes');module[_0xeef1('0x9')]=function(_0x46b4cb,_0x35e6b1){return _0x46b4cb[_0xeef1('0xa')](_0xeef1('0xb'),attributes,{'tableName':_0xeef1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};