3f09e3698e9df774eb755acf1ce87721118b4a75
[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 _0x74f4=['../../config/environment','./teamVoicePrefix.attributes','define','TeamVoicePrefix','team_has_voice_prefixes','lodash','util','api','moment','request-promise','rimraf'];(function(_0x5d7227,_0x12aebe){var _0x15ac55=function(_0x58d13e){while(--_0x58d13e){_0x5d7227['push'](_0x5d7227['shift']());}};_0x15ac55(++_0x12aebe);}(_0x74f4,0xaa));var _0x474f=function(_0x244b99,_0x5f3ad7){_0x244b99=_0x244b99-0x0;var _0x4a7dee=_0x74f4[_0x244b99];return _0x4a7dee;};'use strict';var _=require(_0x474f('0x0'));var util=require(_0x474f('0x1'));var logger=require('../../config/logger')(_0x474f('0x2'));var moment=require(_0x474f('0x3'));var BPromise=require('bluebird');var rp=require(_0x474f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x474f('0x5'));var config=require(_0x474f('0x6'));var attributes=require(_0x474f('0x7'));module['exports']=function(_0x5b6d20,_0x119d22){return _0x5b6d20[_0x474f('0x8')](_0x474f('0x9'),attributes,{'tableName':_0x474f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};