e9bcfe014663b646a15b579a5bda38f3401be71a
[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 _0x421f=['path','rimraf','../../config/environment','./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash','util','api','moment','bluebird','request-promise'];(function(_0x2aee14,_0x974b63){var _0xd65548=function(_0x56700b){while(--_0x56700b){_0x2aee14['push'](_0x2aee14['shift']());}};_0xd65548(++_0x974b63);}(_0x421f,0x94));var _0xf421=function(_0x2cf818,_0x1cd613){_0x2cf818=_0x2cf818-0x0;var _0x4c1fc7=_0x421f[_0x2cf818];return _0x4c1fc7;};'use strict';var _=require(_0xf421('0x0'));var util=require(_0xf421('0x1'));var logger=require('../../config/logger')(_0xf421('0x2'));var moment=require(_0xf421('0x3'));var BPromise=require(_0xf421('0x4'));var rp=require(_0xf421('0x5'));var fs=require('fs');var path=require(_0xf421('0x6'));var rimraf=require(_0xf421('0x7'));var config=require(_0xf421('0x8'));var attributes=require(_0xf421('0x9'));module[_0xf421('0xa')]=function(_0xc528b0,_0x4df4d9){return _0xc528b0[_0xf421('0xb')](_0xf421('0xc'),attributes,{'tableName':_0xf421('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};