4fcce527b8f736c1d8e42e4c9ef7189b72be58d4
[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 _0x7827=['./voiceExtension.attributes','exports','define','VoiceExtension','voice_extensions','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x4ce028,_0x526d4b){var _0x583d0c=function(_0x874178){while(--_0x874178){_0x4ce028['push'](_0x4ce028['shift']());}};_0x583d0c(++_0x526d4b);}(_0x7827,0x164));var _0x7782=function(_0x246779,_0x290e3e){_0x246779=_0x246779-0x0;var _0x4d1c02=_0x7827[_0x246779];return _0x4d1c02;};'use strict';var _=require('lodash');var util=require(_0x7782('0x0'));var logger=require(_0x7782('0x1'))(_0x7782('0x2'));var moment=require(_0x7782('0x3'));var BPromise=require('bluebird');var rp=require(_0x7782('0x4'));var fs=require('fs');var path=require(_0x7782('0x5'));var rimraf=require(_0x7782('0x6'));var config=require(_0x7782('0x7'));var attributes=require(_0x7782('0x8'));module[_0x7782('0x9')]=function(_0x1f60e6,_0x54f7c8){return _0x1f60e6[_0x7782('0xa')](_0x7782('0xb'),attributes,{'tableName':_0x7782('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};