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 _0xfe8d=['../../config/logger','api','moment','request-promise','path','rimraf','Sound','tools_sounds','lodash','util'];(function(_0x3a9105,_0x4f86a1){var _0x567bac=function(_0x3cdf7d){while(--_0x3cdf7d){_0x3a9105['push'](_0x3a9105['shift']());}};_0x567bac(++_0x4f86a1);}(_0xfe8d,0x184));var _0xdfe8=function(_0x45a713,_0x26b459){_0x45a713=_0x45a713-0x0;var _0x240cc9=_0xfe8d[_0x45a713];return _0x240cc9;};'use strict';var _=require(_0xdfe8('0x0'));var util=require(_0xdfe8('0x1'));var logger=require(_0xdfe8('0x2'))(_0xdfe8('0x3'));var moment=require(_0xdfe8('0x4'));var BPromise=require('bluebird');var rp=require(_0xdfe8('0x5'));var fs=require('fs');var path=require(_0xdfe8('0x6'));var rimraf=require(_0xdfe8('0x7'));var config=require('../../config/environment');var attributes=require('./sound.attributes');module['exports']=function(_0x466f8b,_0x1b7af3){return _0x466f8b['define'](_0xdfe8('0x8'),attributes,{'tableName':_0xdfe8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};