e62bcd964eaa04d10dff241fce6f59713cd88095
[motion2.git] / server / api / voiceExtension / voiceExtension.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 _0x03e0=['../../config/environment','./voiceExtension.attributes','exports','define','VoiceExtension','voice_extensions','lodash','util','../../config/logger','api','moment','path','rimraf'];(function(_0x2f07a5,_0x23b097){var _0x4d1292=function(_0x21cc57){while(--_0x21cc57){_0x2f07a5['push'](_0x2f07a5['shift']());}};_0x4d1292(++_0x23b097);}(_0x03e0,0x172));var _0x003e=function(_0x112e0c,_0x301b86){_0x112e0c=_0x112e0c-0x0;var _0x189222=_0x03e0[_0x112e0c];return _0x189222;};'use strict';var _=require(_0x003e('0x0'));var util=require(_0x003e('0x1'));var logger=require(_0x003e('0x2'))(_0x003e('0x3'));var moment=require(_0x003e('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x003e('0x5'));var rimraf=require(_0x003e('0x6'));var config=require(_0x003e('0x7'));var attributes=require(_0x003e('0x8'));module[_0x003e('0x9')]=function(_0x2897de,_0x2ca7a6){return _0x2897de[_0x003e('0xa')](_0x003e('0xb'),attributes,{'tableName':_0x003e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};