fe36a1589313c51b63e07fb0e0c6841bdac1786d
[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 _0xae74=['../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash','util'];(function(_0x3a723e,_0x59d99a){var _0x3e9c03=function(_0x4a6947){while(--_0x4a6947){_0x3a723e['push'](_0x3a723e['shift']());}};_0x3e9c03(++_0x59d99a);}(_0xae74,0xa7));var _0x4ae7=function(_0x586b54,_0x3b019b){_0x586b54=_0x586b54-0x0;var _0x432452=_0xae74[_0x586b54];return _0x432452;};'use strict';var _=require(_0x4ae7('0x0'));var util=require(_0x4ae7('0x1'));var logger=require(_0x4ae7('0x2'))(_0x4ae7('0x3'));var moment=require(_0x4ae7('0x4'));var BPromise=require(_0x4ae7('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x4ae7('0x6'));var config=require(_0x4ae7('0x7'));var attributes=require(_0x4ae7('0x8'));module[_0x4ae7('0x9')]=function(_0x13f62b,_0x2f2c17){return _0x13f62b[_0x4ae7('0xa')](_0x4ae7('0xb'),attributes,{'tableName':_0x4ae7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};