339fb5f6fce6d9ef7a34a36b8e4efbaaf335d110
[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 _0xd2bf=['lodash','moment','bluebird','path','../../config/environment','./teamVoicePrefix.attributes','exports','TeamVoicePrefix','team_has_voice_prefixes'];(function(_0x204325,_0x2da159){var _0xd7bd97=function(_0x507789){while(--_0x507789){_0x204325['push'](_0x204325['shift']());}};_0xd7bd97(++_0x2da159);}(_0xd2bf,0x1dd));var _0xfd2b=function(_0x1bfe2b,_0x34856e){_0x1bfe2b=_0x1bfe2b-0x0;var _0x1477d4=_0xd2bf[_0x1bfe2b];return _0x1477d4;};'use strict';var _=require(_0xfd2b('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xfd2b('0x1'));var BPromise=require(_0xfd2b('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfd2b('0x3'));var rimraf=require('rimraf');var config=require(_0xfd2b('0x4'));var attributes=require(_0xfd2b('0x5'));module[_0xfd2b('0x6')]=function(_0x1abfd2,_0x443190){return _0x1abfd2['define'](_0xfd2b('0x7'),attributes,{'tableName':_0xfd2b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};