51c9a77da93b0826eacb44cf9c9f896dae139078
[motion2.git] / server / api / sound / sound.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 _0x62c5=['moment','bluebird','request-promise','../../config/environment','exports','define','lodash'];(function(_0x1e8e5a,_0x5554cb){var _0x20f513=function(_0x161947){while(--_0x161947){_0x1e8e5a['push'](_0x1e8e5a['shift']());}};_0x20f513(++_0x5554cb);}(_0x62c5,0xdf));var _0x562c=function(_0x32f9e6,_0x55ed80){_0x32f9e6=_0x32f9e6-0x0;var _0x11a5ea=_0x62c5[_0x32f9e6];return _0x11a5ea;};'use strict';var _=require(_0x562c('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x562c('0x1'));var BPromise=require(_0x562c('0x2'));var rp=require(_0x562c('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x562c('0x4'));var attributes=require('./sound.attributes');module[_0x562c('0x5')]=function(_0x1ef469,_0x57a089){return _0x1ef469[_0x562c('0x6')]('Sound',attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};