66c91f3d5c62dbf5d1753eb0482915601a21cbca
[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 _0x1d2e=['bluebird','request-promise','path','rimraf','../../config/environment','./voicePrefix.attributes','exports','define','voice_prefixes','lodash','../../config/logger','moment'];(function(_0x124a84,_0x23e322){var _0x2b3087=function(_0x1fc1ff){while(--_0x1fc1ff){_0x124a84['push'](_0x124a84['shift']());}};_0x2b3087(++_0x23e322);}(_0x1d2e,0x159));var _0xe1d2=function(_0x31a6b8,_0x51ec83){_0x31a6b8=_0x31a6b8-0x0;var _0x4d7526=_0x1d2e[_0x31a6b8];return _0x4d7526;};'use strict';var _=require(_0xe1d2('0x0'));var util=require('util');var logger=require(_0xe1d2('0x1'))('api');var moment=require(_0xe1d2('0x2'));var BPromise=require(_0xe1d2('0x3'));var rp=require(_0xe1d2('0x4'));var fs=require('fs');var path=require(_0xe1d2('0x5'));var rimraf=require(_0xe1d2('0x6'));var config=require(_0xe1d2('0x7'));var attributes=require(_0xe1d2('0x8'));module[_0xe1d2('0x9')]=function(_0x59c679,_0x338cf4){return _0x59c679[_0xe1d2('0xa')]('VoicePrefix',attributes,{'tableName':_0xe1d2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};