Built motion from commit b0a9a629.|2.6.33
[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 _0xf5b9=['request-promise','rimraf','../../config/environment','./voicePrefix.attributes','VoicePrefix','lodash','util','../../config/logger','api'];(function(_0x26631e,_0x4718a7){var _0x281c99=function(_0x216582){while(--_0x216582){_0x26631e['push'](_0x26631e['shift']());}};_0x281c99(++_0x4718a7);}(_0xf5b9,0x176));var _0x9f5b=function(_0x60ffc8,_0x112ad2){_0x60ffc8=_0x60ffc8-0x0;var _0x8c8428=_0xf5b9[_0x60ffc8];return _0x8c8428;};'use strict';var _=require(_0x9f5b('0x0'));var util=require(_0x9f5b('0x1'));var logger=require(_0x9f5b('0x2'))(_0x9f5b('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9f5b('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9f5b('0x5'));var config=require(_0x9f5b('0x6'));var attributes=require(_0x9f5b('0x7'));module['exports']=function(_0x20df9b,_0xc633a2){return _0x20df9b['define'](_0x9f5b('0x8'),attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};