Built motion from commit (unavailable).|2.4.18
[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 _0x486f=['path','rimraf','./voicePrefix.attributes','exports','define','VoicePrefix','lodash','../../config/logger','moment','bluebird'];(function(_0xdf5462,_0x66522a){var _0x12bcb0=function(_0x467132){while(--_0x467132){_0xdf5462['push'](_0xdf5462['shift']());}};_0x12bcb0(++_0x66522a);}(_0x486f,0x13c));var _0xf486=function(_0x12fc8d,_0x19ee33){_0x12fc8d=_0x12fc8d-0x0;var _0x3f9d04=_0x486f[_0x12fc8d];return _0x3f9d04;};'use strict';var _=require(_0xf486('0x0'));var util=require('util');var logger=require(_0xf486('0x1'))('api');var moment=require(_0xf486('0x2'));var BPromise=require(_0xf486('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf486('0x4'));var rimraf=require(_0xf486('0x5'));var config=require('../../config/environment');var attributes=require(_0xf486('0x6'));module[_0xf486('0x7')]=function(_0x3db21b,_0x4d9bf0){return _0x3db21b[_0xf486('0x8')](_0xf486('0x9'),attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};