2b1ff9237795249a1b6bf75b286ab4da3bfffa5e
[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 _0x1679=['api','request-promise','path','rimraf','../../config/environment','./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash','util','../../config/logger'];(function(_0x1f5887,_0x2fa1f1){var _0x21774b=function(_0x48a7e5){while(--_0x48a7e5){_0x1f5887['push'](_0x1f5887['shift']());}};_0x21774b(++_0x2fa1f1);}(_0x1679,0x142));var _0x9167=function(_0x2b8c86,_0x49773b){_0x2b8c86=_0x2b8c86-0x0;var _0x4cd662=_0x1679[_0x2b8c86];return _0x4cd662;};'use strict';var _=require(_0x9167('0x0'));var util=require(_0x9167('0x1'));var logger=require(_0x9167('0x2'))(_0x9167('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9167('0x4'));var fs=require('fs');var path=require(_0x9167('0x5'));var rimraf=require(_0x9167('0x6'));var config=require(_0x9167('0x7'));var attributes=require(_0x9167('0x8'));module[_0x9167('0x9')]=function(_0x16ec73,_0x5d1a22){return _0x16ec73[_0x9167('0xa')](_0x9167('0xb'),attributes,{'tableName':_0x9167('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};