c9b2b46ab861b367c94e0ba899849519053579de
[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 _0x25ae=['define','VoicePrefix','voice_prefixes','lodash','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./voicePrefix.attributes','exports'];(function(_0x3b937a,_0x3a9cb5){var _0x22868f=function(_0x39d7d6){while(--_0x39d7d6){_0x3b937a['push'](_0x3b937a['shift']());}};_0x22868f(++_0x3a9cb5);}(_0x25ae,0xcf));var _0xe25a=function(_0x5971ea,_0x12699a){_0x5971ea=_0x5971ea-0x0;var _0x2a7e5f=_0x25ae[_0x5971ea];return _0x2a7e5f;};'use strict';var _=require(_0xe25a('0x0'));var util=require('util');var logger=require(_0xe25a('0x1'))(_0xe25a('0x2'));var moment=require(_0xe25a('0x3'));var BPromise=require('bluebird');var rp=require(_0xe25a('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe25a('0x5'));var config=require(_0xe25a('0x6'));var attributes=require(_0xe25a('0x7'));module[_0xe25a('0x8')]=function(_0x1ccc3e,_0x411158){return _0x1ccc3e[_0xe25a('0x9')](_0xe25a('0xa'),attributes,{'tableName':_0xe25a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};