Built motion from commit d1eab355.|2.6.28
[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 _0x29d7=['api','moment','request-promise','./sound.attributes','define','Sound','lodash','../../config/logger'];(function(_0x55e08b,_0x421620){var _0xd1a7ff=function(_0x58c7ff){while(--_0x58c7ff){_0x55e08b['push'](_0x55e08b['shift']());}};_0xd1a7ff(++_0x421620);}(_0x29d7,0xbe));var _0x729d=function(_0x364196,_0x43391c){_0x364196=_0x364196-0x0;var _0xfc5500=_0x29d7[_0x364196];return _0xfc5500;};'use strict';var _=require(_0x729d('0x0'));var util=require('util');var logger=require(_0x729d('0x1'))(_0x729d('0x2'));var moment=require(_0x729d('0x3'));var BPromise=require('bluebird');var rp=require(_0x729d('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x729d('0x5'));module['exports']=function(_0x5ae761,_0x2b2405){return _0x5ae761[_0x729d('0x6')](_0x729d('0x7'),attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};