Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / voicePrefix / voicePrefix.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 _0x7d6a=['define','VoicePrefix','voice_prefixes','lodash','util','../../config/logger','api','request-promise','path','rimraf','./voicePrefix.attributes','exports'];(function(_0x75f869,_0x3690d6){var _0x10af8b=function(_0x22d3ff){while(--_0x22d3ff){_0x75f869['push'](_0x75f869['shift']());}};_0x10af8b(++_0x3690d6);}(_0x7d6a,0x183));var _0xa7d6=function(_0x377191,_0x110979){_0x377191=_0x377191-0x0;var _0x93167=_0x7d6a[_0x377191];return _0x93167;};'use strict';var _=require(_0xa7d6('0x0'));var util=require(_0xa7d6('0x1'));var logger=require(_0xa7d6('0x2'))(_0xa7d6('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa7d6('0x4'));var fs=require('fs');var path=require(_0xa7d6('0x5'));var rimraf=require(_0xa7d6('0x6'));var config=require('../../config/environment');var attributes=require(_0xa7d6('0x7'));module[_0xa7d6('0x8')]=function(_0x2759ee,_0x31cea6){return _0x2759ee[_0xa7d6('0x9')](_0xa7d6('0xa'),attributes,{'tableName':_0xa7d6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};