Built motion from commit (unavailable).|2.5.3
[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 _0x8d6b=['./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash','../../config/logger','api','moment','path','rimraf','../../config/environment'];(function(_0x42ca15,_0x193ccb){var _0x1c6ded=function(_0x40989a){while(--_0x40989a){_0x42ca15['push'](_0x42ca15['shift']());}};_0x1c6ded(++_0x193ccb);}(_0x8d6b,0x131));var _0xb8d6=function(_0x18f336,_0x4be5c5){_0x18f336=_0x18f336-0x0;var _0x10fc85=_0x8d6b[_0x18f336];return _0x10fc85;};'use strict';var _=require(_0xb8d6('0x0'));var util=require('util');var logger=require(_0xb8d6('0x1'))(_0xb8d6('0x2'));var moment=require(_0xb8d6('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xb8d6('0x4'));var rimraf=require(_0xb8d6('0x5'));var config=require(_0xb8d6('0x6'));var attributes=require(_0xb8d6('0x7'));module[_0xb8d6('0x8')]=function(_0x398552,_0x58f837){return _0x398552[_0xb8d6('0x9')](_0xb8d6('0xa'),attributes,{'tableName':_0xb8d6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};