Built motion from commit da617fac.|2.6.6
[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 _0xaa33=['../../config/logger','api','moment','rimraf','../../config/environment','Sound','tools_sounds','lodash','util'];(function(_0x4ef4e2,_0x4faf5f){var _0x3a96a4=function(_0x4694b0){while(--_0x4694b0){_0x4ef4e2['push'](_0x4ef4e2['shift']());}};_0x3a96a4(++_0x4faf5f);}(_0xaa33,0x97));var _0x3aa3=function(_0x3b95e8,_0x400cb8){_0x3b95e8=_0x3b95e8-0x0;var _0x3363a9=_0xaa33[_0x3b95e8];return _0x3363a9;};'use strict';var _=require(_0x3aa3('0x0'));var util=require(_0x3aa3('0x1'));var logger=require(_0x3aa3('0x2'))(_0x3aa3('0x3'));var moment=require(_0x3aa3('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x3aa3('0x5'));var config=require(_0x3aa3('0x6'));var attributes=require('./sound.attributes');module['exports']=function(_0x2e78e1,_0x39b8d7){return _0x2e78e1['define'](_0x3aa3('0x7'),attributes,{'tableName':_0x3aa3('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};