Built motion from commit 994c64e1.|2.6.1
[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 _0x9189=['../../config/logger','api','moment','bluebird','path','./teamVoicePrefix.attributes','exports','define','TeamVoicePrefix'];(function(_0x5ea908,_0x341b78){var _0x103d14=function(_0xfee64c){while(--_0xfee64c){_0x5ea908['push'](_0x5ea908['shift']());}};_0x103d14(++_0x341b78);}(_0x9189,0x1b0));var _0x9918=function(_0x52f947,_0x5b444d){_0x52f947=_0x52f947-0x0;var _0x2a1db6=_0x9189[_0x52f947];return _0x2a1db6;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x9918('0x0'))(_0x9918('0x1'));var moment=require(_0x9918('0x2'));var BPromise=require(_0x9918('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9918('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x9918('0x5'));module[_0x9918('0x6')]=function(_0x4a47d4,_0x3ba4a8){return _0x4a47d4[_0x9918('0x7')](_0x9918('0x8'),attributes,{'tableName':'team_has_voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};