Built motion from commit (unavailable).|2.5.14
[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 _0x901f=['../../config/logger','api','bluebird','request-promise','path','rimraf','./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','util'];(function(_0x2dbbe5,_0xb7c79b){var _0x3af882=function(_0x190eb6){while(--_0x190eb6){_0x2dbbe5['push'](_0x2dbbe5['shift']());}};_0x3af882(++_0xb7c79b);}(_0x901f,0x8f));var _0xf901=function(_0x36b283,_0x438b12){_0x36b283=_0x36b283-0x0;var _0x5da40c=_0x901f[_0x36b283];return _0x5da40c;};'use strict';var _=require('lodash');var util=require(_0xf901('0x0'));var logger=require(_0xf901('0x1'))(_0xf901('0x2'));var moment=require('moment');var BPromise=require(_0xf901('0x3'));var rp=require(_0xf901('0x4'));var fs=require('fs');var path=require(_0xf901('0x5'));var rimraf=require(_0xf901('0x6'));var config=require('../../config/environment');var attributes=require(_0xf901('0x7'));module[_0xf901('0x8')]=function(_0x42cafd,_0x481496){return _0x42cafd[_0xf901('0x9')](_0xf901('0xa'),attributes,{'tableName':_0xf901('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};