Built motion from commit bab6f49e.|2.6.17
[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 _0x9ab9=['request-promise','path','../../config/environment','exports','define','TeamVoicePrefix','lodash','util','../../config/logger','api','moment'];(function(_0x54c78b,_0x5db254){var _0x24a6bc=function(_0x4f9c8c){while(--_0x4f9c8c){_0x54c78b['push'](_0x54c78b['shift']());}};_0x24a6bc(++_0x5db254);}(_0x9ab9,0x19d));var _0x99ab=function(_0x7d865e,_0x395f11){_0x7d865e=_0x7d865e-0x0;var _0x2fff82=_0x9ab9[_0x7d865e];return _0x2fff82;};'use strict';var _=require(_0x99ab('0x0'));var util=require(_0x99ab('0x1'));var logger=require(_0x99ab('0x2'))(_0x99ab('0x3'));var moment=require(_0x99ab('0x4'));var BPromise=require('bluebird');var rp=require(_0x99ab('0x5'));var fs=require('fs');var path=require(_0x99ab('0x6'));var rimraf=require('rimraf');var config=require(_0x99ab('0x7'));var attributes=require('./teamVoicePrefix.attributes');module[_0x99ab('0x8')]=function(_0x1042a3,_0x390d41){return _0x1042a3[_0x99ab('0x9')](_0x99ab('0xa'),attributes,{'tableName':'team_has_voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};