Built motion from commit 97153652.|2.6.26
[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 _0x3264=['team_has_voice_prefixes','util','../../config/logger','api','moment','path','./teamVoicePrefix.attributes','exports','TeamVoicePrefix'];(function(_0x209fcd,_0x1ecccc){var _0x501d5e=function(_0x8d74fe){while(--_0x8d74fe){_0x209fcd['push'](_0x209fcd['shift']());}};_0x501d5e(++_0x1ecccc);}(_0x3264,0x7f));var _0x4326=function(_0x166742,_0x55520c){_0x166742=_0x166742-0x0;var _0xb7814a=_0x3264[_0x166742];return _0xb7814a;};'use strict';var _=require('lodash');var util=require(_0x4326('0x0'));var logger=require(_0x4326('0x1'))(_0x4326('0x2'));var moment=require(_0x4326('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4326('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x4326('0x5'));module[_0x4326('0x6')]=function(_0xed0465,_0x3f8d4e){return _0xed0465['define'](_0x4326('0x7'),attributes,{'tableName':_0x4326('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};