Built motion from commit 3d3e98f2.|2.6.29
[motion2.git] / server / api / teamVoicePrefix / teamVoicePrefix.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 _0x1516=['bluebird','request-promise','path','rimraf','./teamVoicePrefix.attributes','define','TeamVoicePrefix','team_has_voice_prefixes','lodash','util','../../config/logger','moment'];(function(_0x4cf741,_0x2fd254){var _0xfc0b8c=function(_0x361295){while(--_0x361295){_0x4cf741['push'](_0x4cf741['shift']());}};_0xfc0b8c(++_0x2fd254);}(_0x1516,0xb0));var _0x6151=function(_0x1eb51c,_0x4b6468){_0x1eb51c=_0x1eb51c-0x0;var _0x1d0dc7=_0x1516[_0x1eb51c];return _0x1d0dc7;};'use strict';var _=require(_0x6151('0x0'));var util=require(_0x6151('0x1'));var logger=require(_0x6151('0x2'))('api');var moment=require(_0x6151('0x3'));var BPromise=require(_0x6151('0x4'));var rp=require(_0x6151('0x5'));var fs=require('fs');var path=require(_0x6151('0x6'));var rimraf=require(_0x6151('0x7'));var config=require('../../config/environment');var attributes=require(_0x6151('0x8'));module['exports']=function(_0x69f924,_0x2585cd){return _0x69f924[_0x6151('0x9')](_0x6151('0xa'),attributes,{'tableName':_0x6151('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};