Built motion from commit 21186556.|2.6.19
[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 _0x9f81=['moment','bluebird','request-promise','path','../../config/environment','./sound.attributes','../../config/logger','api'];(function(_0x5d27bc,_0x3a7b60){var _0x5734cc=function(_0xcc5c8f){while(--_0xcc5c8f){_0x5d27bc['push'](_0x5d27bc['shift']());}};_0x5734cc(++_0x3a7b60);}(_0x9f81,0x1ee));var _0x19f8=function(_0x4d8311,_0x5dd75d){_0x4d8311=_0x4d8311-0x0;var _0x256440=_0x9f81[_0x4d8311];return _0x256440;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x19f8('0x0'))(_0x19f8('0x1'));var moment=require(_0x19f8('0x2'));var BPromise=require(_0x19f8('0x3'));var rp=require(_0x19f8('0x4'));var fs=require('fs');var path=require(_0x19f8('0x5'));var rimraf=require('rimraf');var config=require(_0x19f8('0x6'));var attributes=require(_0x19f8('0x7'));module['exports']=function(_0x4e715d,_0x10ec4e){return _0x4e715d['define']('Sound',attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};