22f6e898a82378cd7b111ee6414c3ee900712f05
[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 _0x9dad=['util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./voicePrefix.attributes','exports','define','voice_prefixes','lodash'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x9dad,0x143));var _0xd9da=function(_0x5dc463,_0x195d98){_0x5dc463=_0x5dc463-0x0;var _0x5b558c=_0x9dad[_0x5dc463];return _0x5b558c;};'use strict';var _=require(_0xd9da('0x0'));var util=require(_0xd9da('0x1'));var logger=require('../../config/logger')(_0xd9da('0x2'));var moment=require(_0xd9da('0x3'));var BPromise=require(_0xd9da('0x4'));var rp=require(_0xd9da('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd9da('0x6'));var config=require(_0xd9da('0x7'));var attributes=require(_0xd9da('0x8'));module[_0xd9da('0x9')]=function(_0x101133,_0x1d9c1b){return _0x101133[_0xd9da('0xa')]('VoicePrefix',attributes,{'tableName':_0xd9da('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};