Built motion from commit f3da74b7.|2.5.36
[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 _0xa2ac=['lodash','../../config/logger','api','moment','path','rimraf','../../config/environment','./sound.attributes','exports','define'];(function(_0x104c38,_0xc83cf3){var _0x541728=function(_0x73ff1a){while(--_0x73ff1a){_0x104c38['push'](_0x104c38['shift']());}};_0x541728(++_0xc83cf3);}(_0xa2ac,0x172));var _0xca2a=function(_0x28487c,_0x163e6a){_0x28487c=_0x28487c-0x0;var _0x4ef998=_0xa2ac[_0x28487c];return _0x4ef998;};'use strict';var _=require(_0xca2a('0x0'));var util=require('util');var logger=require(_0xca2a('0x1'))(_0xca2a('0x2'));var moment=require(_0xca2a('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xca2a('0x4'));var rimraf=require(_0xca2a('0x5'));var config=require(_0xca2a('0x6'));var attributes=require(_0xca2a('0x7'));module[_0xca2a('0x8')]=function(_0x215a02,_0x4c12a1){return _0x215a02[_0xca2a('0x9')]('Sound',attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};