Built motion from commit (unavailable).|2.5.15
[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 _0x9036=['bluebird','request-promise','path','rimraf','../../config/environment','exports','voice_prefixes','lodash','util','api','moment'];(function(_0x4b9a74,_0x595e90){var _0x6bdd61=function(_0x17eafe){while(--_0x17eafe){_0x4b9a74['push'](_0x4b9a74['shift']());}};_0x6bdd61(++_0x595e90);}(_0x9036,0xb7));var _0x6903=function(_0x455893,_0x909838){_0x455893=_0x455893-0x0;var _0x3851e8=_0x9036[_0x455893];return _0x3851e8;};'use strict';var _=require(_0x6903('0x0'));var util=require(_0x6903('0x1'));var logger=require('../../config/logger')(_0x6903('0x2'));var moment=require(_0x6903('0x3'));var BPromise=require(_0x6903('0x4'));var rp=require(_0x6903('0x5'));var fs=require('fs');var path=require(_0x6903('0x6'));var rimraf=require(_0x6903('0x7'));var config=require(_0x6903('0x8'));var attributes=require('./voicePrefix.attributes');module[_0x6903('0x9')]=function(_0x124ce9,_0x4e9241){return _0x124ce9['define']('VoicePrefix',attributes,{'tableName':_0x6903('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};