531fa4598efc04e2576fe6a61a87249673d70f65
[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 _0xbe9d=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./teamVoicePrefix.attributes','exports','TeamVoicePrefix','team_has_voice_prefixes','lodash'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xbe9d,0x99));var _0xdbe9=function(_0x243b2f,_0x30aa15){_0x243b2f=_0x243b2f-0x0;var _0xcb3c2d=_0xbe9d[_0x243b2f];return _0xcb3c2d;};'use strict';var _=require(_0xdbe9('0x0'));var util=require(_0xdbe9('0x1'));var logger=require(_0xdbe9('0x2'))(_0xdbe9('0x3'));var moment=require(_0xdbe9('0x4'));var BPromise=require(_0xdbe9('0x5'));var rp=require(_0xdbe9('0x6'));var fs=require('fs');var path=require(_0xdbe9('0x7'));var rimraf=require(_0xdbe9('0x8'));var config=require(_0xdbe9('0x9'));var attributes=require(_0xdbe9('0xa'));module[_0xdbe9('0xb')]=function(_0x163517,_0x52405e){return _0x163517['define'](_0xdbe9('0xc'),attributes,{'tableName':_0xdbe9('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};