ecad4af457ed504a301c29886aa824538d2eb638
[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 _0xd062=['../../config/environment','./sound.attributes','define','Sound','tools_sounds','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x440b60,_0xc49fae){var _0x1fd5d4=function(_0x45045f){while(--_0x45045f){_0x440b60['push'](_0x440b60['shift']());}};_0x1fd5d4(++_0xc49fae);}(_0xd062,0x1d9));var _0x2d06=function(_0x46cb62,_0x3fbbb1){_0x46cb62=_0x46cb62-0x0;var _0x4349a9=_0xd062[_0x46cb62];return _0x4349a9;};'use strict';var _=require(_0x2d06('0x0'));var util=require(_0x2d06('0x1'));var logger=require(_0x2d06('0x2'))(_0x2d06('0x3'));var moment=require(_0x2d06('0x4'));var BPromise=require(_0x2d06('0x5'));var rp=require(_0x2d06('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2d06('0x7'));var config=require(_0x2d06('0x8'));var attributes=require(_0x2d06('0x9'));module['exports']=function(_0x5b5d3d,_0x4922cb){return _0x5b5d3d[_0x2d06('0xa')](_0x2d06('0xb'),attributes,{'tableName':_0x2d06('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};